public class ShellService extends Object
ShellServiceOptions
configuration.
The shell service will expose commands using CommandResolver
on the classpath and
the shared command registry for the Vert.x instance.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Constructor and Description |
---|
ShellService(ShellService delegate) |
Modifier and Type | Method and Description |
---|---|
static ShellService |
create(Vertx vertx)
Like
create(io.vertx.rxjava.core.Vertx) , with default options. |
static ShellService |
create(Vertx vertx,
ShellServiceOptions options)
Create a new shell service.
|
Object |
getDelegate() |
static ShellService |
newInstance(ShellService arg) |
ShellServer |
server() |
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.
|
Observable<Void> |
startObservable()
Start the shell service, this is an asynchronous start.
|
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.
|
Observable<Void> |
stopObservable()
Stop the shell service, this is an asynchronous start.
|
public ShellService(ShellService delegate)
public Object getDelegate()
public static ShellService create(Vertx vertx)
create(io.vertx.rxjava.core.Vertx)
, with default options.vertx
- public static ShellService create(Vertx vertx, ShellServiceOptions options)
vertx
- the Vert.x instanceoptions
- the service config optionspublic void start()
public void start(Handler<AsyncResult<Void>> startHandler)
startHandler
- handler for getting notified when service is startedpublic Observable<Void> startObservable()
public ShellServer server()
public void stop()
public void stop(Handler<AsyncResult<Void>> stopHandler)
stopHandler
- handler for getting notified when service is stoppedpublic Observable<Void> stopObservable()
public static ShellService newInstance(ShellService arg)
Copyright © 2016. All rights reserved.