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 instance.
|
config, deploymentID, getVertx, init, processArgs, start, start, stop, stop
public void start(Promise<Void> startFuture) throws Exception
Verticle
Vert.x calls this method when deploying the instance. You do not call it yourself.
A promise is passed into the method, and when deployment is complete the verticle should either call
Promise.complete(T)
or Promise.fail(java.lang.Throwable)
the future.
startFuture
- the futureException
Copyright © 2023 Eclipse. All rights reserved.