public class ShellVerticle extends AbstractVerticle
context, vertx
Constructor and Description |
---|
ShellVerticle() |
Modifier and Type | Method and Description |
---|---|
void |
start(Promise<Void> startFuture)
Start the verticle.
|
config, deploymentID, getVertx, init, processArgs, start, stop, stop
public void start(Promise<Void> startFuture) throws Exception
AbstractVerticle
This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
If your verticle does things in its startup which take some time then you can override this method and call the startFuture some time later when start up is complete.
start
in interface Verticle
start
in class AbstractVerticle
startFuture
- a promise which should be called when verticle start-up is complete.Exception
Copyright © 2023 Eclipse. All rights reserved.