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.rxjava.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) |
Single<Void> |
rxStart()
Start the shell service, this is an asynchronous start.
|
Single<Void> |
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.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(Handler<AsyncResult<Void>> startHandler)
startHandler
- handler for getting notified when service is startedpublic void start()
public Single<Void> rxStart()
public ShellServer server()
public void stop(Handler<AsyncResult<Void>> stopHandler)
stopHandler
- handler for getting notified when service is stoppedpublic void stop()
public static ShellService newInstance(ShellService arg)
Copyright © 2023 Eclipse. All rights reserved.