Package io.vertx.reactivex.ext.shell
Class ShellService
- java.lang.Object
-
- io.vertx.reactivex.ext.shell.ShellService
-
public class ShellService extends Object
The shell service, provides a remotely accessible shell available via Telnet or SSH according to theShellServiceOptionsconfiguration. The shell service will expose commands usingCommandResolveron the classpath and the shared command registry for the Vert.x instance. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ShellService>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ShellService(ShellService delegate)ShellService(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShellServicecreate(Vertx vertx)Likecreate(io.vertx.reactivex.core.Vertx), with default options.static ShellServicecreate(Vertx vertx, ShellServiceOptions options)Create a new shell service.booleanequals(Object o)ShellServicegetDelegate()inthashCode()static ShellServicenewInstance(ShellService arg)io.reactivex.CompletablerxStart()Start the shell service, this is an asynchronous start.io.reactivex.CompletablerxStop()Stop the shell service, this is an asynchronous start.ShellServerserver()voidstart()Start the shell service, this is an asynchronous start.voidstart(Handler<AsyncResult<Void>> startHandler)Start the shell service, this is an asynchronous start.voidstop()Stop the shell service, this is an asynchronous start.voidstop(Handler<AsyncResult<Void>> stopHandler)Stop the shell service, this is an asynchronous start.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ShellService> __TYPE_ARG
-
-
Constructor Detail
-
ShellService
public ShellService(ShellService delegate)
-
ShellService
public ShellService(Object delegate)
-
-
Method Detail
-
getDelegate
public ShellService getDelegate()
-
create
public static ShellService create(Vertx vertx)
Likecreate(io.vertx.reactivex.core.Vertx), with default options.- Parameters:
vertx-- Returns:
-
create
public static ShellService create(Vertx vertx, ShellServiceOptions options)
Create a new shell service.- Parameters:
vertx- the Vert.x instanceoptions- the service config options- Returns:
- the shell service
-
start
public void start(Handler<AsyncResult<Void>> startHandler)
Start the shell service, this is an asynchronous start.- Parameters:
startHandler- handler for getting notified when service is started
-
start
public void start()
Start the shell service, this is an asynchronous start.
-
rxStart
public io.reactivex.Completable rxStart()
Start the shell service, this is an asynchronous start.- Returns:
-
server
public ShellServer server()
- Returns:
- the shell server
-
stop
public void stop(Handler<AsyncResult<Void>> stopHandler)
Stop the shell service, this is an asynchronous start.- Parameters:
stopHandler- handler for getting notified when service is stopped
-
stop
public void stop()
Stop the shell service, this is an asynchronous start.
-
rxStop
public io.reactivex.Completable rxStop()
Stop the shell service, this is an asynchronous start.- Returns:
-
newInstance
public static ShellService newInstance(ShellService arg)
-
-