public interface ShellService
ShellServiceOptions configuration.| Modifier and Type | Method and Description |
|---|---|
static ShellService |
create(Vertx vertx,
ShellServiceOptions options) |
CommandRegistry |
getCommandRegistry() |
default void |
start()
Start the shell service, this is an asynchronous start.
|
void |
start(Handler<AsyncResult<Void>> startHandler)
Start the shell service, this is an asynchronous start.
|
default void |
stop()
Stop the shell service, this is an asynchronous stop.
|
void |
stop(Handler<AsyncResult<Void>> stopHandler)
Stop the shell service, this is an asynchronous start.
|
static ShellService create(Vertx vertx, ShellServiceOptions options)
CommandRegistry getCommandRegistry()
default void start()
void start(Handler<AsyncResult<Void>> startHandler)
startHandler - handler for getting notified when service is starteddefault void stop()
void stop(Handler<AsyncResult<Void>> stopHandler)
stopHandler - handler for getting notified when service is stoppedCopyright © 2015. All rights reserved.