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.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ShellService> |
__TYPE_ARG |
Constructor and Description |
---|
ShellService(Object delegate) |
ShellService(ShellService delegate) |
Modifier and Type | Method and Description |
---|---|
static ShellService |
create(Vertx vertx)
Like
create(io.vertx.reactivex.core.Vertx) , with default options. |
static ShellService |
create(Vertx vertx,
ShellServiceOptions options)
Create a new shell service.
|
boolean |
equals(Object o) |
ShellService |
getDelegate() |
int |
hashCode() |
static ShellService |
newInstance(ShellService arg) |
Completable |
rxStart()
Start the shell service, this is an asynchronous start.
|
Completable |
rxStop()
Stop the shell service, this is an asynchronous start.
|
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.
|
void |
stop()
Stop the shell service, this is an asynchronous start.
|
void |
stop(Handler<AsyncResult<Void>> stopHandler)
Stop the shell service, this is an asynchronous start.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<ShellService> __TYPE_ARG
public ShellService(ShellService delegate)
public ShellService(Object delegate)
public ShellService getDelegate()
public static ShellService create(Vertx vertx)
create(io.vertx.reactivex.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(Handler<AsyncResult<Void>> startHandler)
startHandler
- handler for getting notified when service is startedpublic void start()
public Completable rxStart()
public ShellServer server()
public void stop(Handler<AsyncResult<Void>> stopHandler)
stopHandler
- handler for getting notified when service is stoppedpublic void stop()
public Completable rxStop()
public static ShellService newInstance(ShellService arg)
Copyright © 2024 Eclipse. All rights reserved.