A server for terminal based applications.
package |
Default |
---|
__construct()
actualPort() : integer
integer
the actual port the server is listening on.
authProvider( $arg0) : $this
AuthProvider
$this
this object
close( $arg0 = null) : void
close()
Like @see \io\vertx\jphp\ext\shell\term\TermServer::close but supplying a handler that will be notified when close is complete.
param $completionHandler [callable] the handler to be notified when the term server is closed close($completionHandler)
callable
createHttpTermServer( $arg0, $arg1 = null, $arg2 = null) : \io\vertx\jphp\ext\shell\term\TermServer
param $vertx [Vertx] the vertx instance createHttpTermServer($vertx)
Create a term server for the HTTP protocol.
param $vertx [Vertx] the vertx instance param $options [HttpTermOptions | array] the term options createHttpTermServer($vertx, $options)
Create a term server for the HTTP protocol, using an existing router.
param $vertx [Vertx] the vertx instance param $router [Router] the router createHttpTermServer($vertx, $router)
Create a term server for the HTTP protocol, using an existing router.
param $vertx [Vertx] the vertx instance param $router [Router] the router param $options [HttpTermOptions | array] the term options createHttpTermServer($vertx, $router, $options)
Vertx
HttpTermOptions | array | Router
HttpTermOptions | array
\io\vertx\jphp\ext\shell\term\TermServer
the term server
createSSHTermServer( $arg0, $arg1 = null) : \io\vertx\jphp\ext\shell\term\TermServer
param $vertx [Vertx] the vertx instance createSSHTermServer($vertx)
Create a term server for the SSH protocol.
param $vertx [Vertx] the vertx instance param $options [SSHTermOptions | array] the ssh options createSSHTermServer($vertx, $options)
Vertx
array | SSHTermOptions
\io\vertx\jphp\ext\shell\term\TermServer
the term server
createTelnetTermServer( $arg0, $arg1 = null) : \io\vertx\jphp\ext\shell\term\TermServer
param $vertx [Vertx] the vertx instance createTelnetTermServer($vertx)
Create a term server for the Telnet protocol.
param $vertx [Vertx] the vertx instance param $options [TelnetTermOptions | array] the term options createTelnetTermServer($vertx, $options)
Vertx
TelnetTermOptions | array
\io\vertx\jphp\ext\shell\term\TermServer
the term server
listen( $arg0 = null) : $this
listen()
Bind the term server, the @see \io\vertx\jphp\ext\shell\term\TermServer::termHandler must be set before.
param $listenHandler [callable] the listen handler listen($listenHandler)
callable
$this
this object
termHandler( $arg0) : $this
callable
$this
this object