ShellService

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

Methods

__construct

__construct() 

Like @see \io\vertx\jphp\ext\shell\ShellService::create, with default options.

create( $arg0,  $arg1 = null) : \io\vertx\jphp\ext\shell\ShellService
static

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)

Arguments

$arg0

Vertx

$arg1

ShellServiceOptions | array

Response

\io\vertx\jphp\ext\shell\ShellService

server

server() : \io\vertx\jphp\ext\shell\ShellServer

Response

\io\vertx\jphp\ext\shell\ShellServer

the shell server

Start the shell service, this is an asynchronous start.

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)

Arguments

$arg0

callable

Stop the shell service, this is an asynchronous stop.

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)

Arguments

$arg0

callable