The shell service, provides a remotely accessible shell available via Telnet or SSH according to the
see |
configuration. The shell service will expose commands using @see \io\vertx\jphp\ext\shell\command\CommandResolver on the classpath and the shared command registry for the Vert.x instance. |
---|---|
package |
Default |
__construct()
create( $arg0, $arg1 = null) : \io\vertx\jphp\ext\shell\ShellService
param $vertx [Vertx] create($vertx)
Create a new shell service.
param $vertx [Vertx] the Vert.x instance param $options [ShellServiceOptions | array] the service config options create($vertx, $options)
Vertx
ShellServiceOptions | array
\io\vertx\jphp\ext\shell\ShellService
server() : \io\vertx\jphp\ext\shell\ShellServer
start( $arg0 = null) : void
start()
Start the shell service, this is an asynchronous start.
param $startHandler [callable] handler for getting notified when service is started start($startHandler)
callable
stop( $arg0 = null) : void
stop()
Stop the shell service, this is an asynchronous start.
param $stopHandler [callable] handler for getting notified when service is stopped stop($stopHandler)
callable