use of org.vertx.java.platform.PlatformManager in project chuidiang-ejemplos by chuidiang.
the class MainVerticle method main.
/**
* It starts vertx and deploys this project module
*/
public static void main(String[] args) throws InterruptedException, IOException {
PlatformManager pm = PlatformLocator.factory.createPlatformManager(5558, "localhost");
pm.deployModule("com.chuidiang.examples~vertx~1.0.0", null, 1, new Handler<AsyncResult<String>>() {
@Override
public void handle(AsyncResult<String> arg0) {
System.out.println("module deploying result " + arg0.result());
}
});
}
Aggregations