PHP Class AppserverIo\Appserver\Core\Consoles\Telnet

Inheritance: extends Thread, implements AppserverIo\Appserver\Core\Consoles\ConsoleInterface
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$logo string appserver.io written in ASCII art.

Méthodes publiques

Méthode Description
__construct ( AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer, AppserverIo\Appserver\Core\Api\Node\ConsoleNodeInterface $consoleNode ) : void Initialize and start the management console.
getName ( ) : string Return's the console name.
run ( ) : void The thread's run() method that runs asynchronously.
shutdown ( ) : void Shutdown handler that checks for fatal/user errors.
stop ( ) : void Stop the console and closes all connections.

Méthodes protégées

Méthode Description
getAddress ( ) : integer Returns the IP address to listen to.
getPort ( ) : integer Returns the port to listen to.

Method Details

__construct() public méthode

Initialize and start the management console.
public __construct ( AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer, AppserverIo\Appserver\Core\Api\Node\ConsoleNodeInterface $consoleNode ) : void
$applicationServer AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface The reference to the server
$consoleNode AppserverIo\Appserver\Core\Api\Node\ConsoleNodeInterface The console configuration
Résultat void

getAddress() protected méthode

Returns the IP address to listen to.
protected getAddress ( ) : integer
Résultat integer The IP address to listen to

getName() public méthode

Return's the console name.
public getName ( ) : string
Résultat string The console name

getPort() protected méthode

Returns the port to listen to.
protected getPort ( ) : integer
Résultat integer The port to listen to

run() public méthode

The thread's run() method that runs asynchronously.
public run ( ) : void
Résultat void

shutdown() public méthode

Shutdown handler that checks for fatal/user errors.
public shutdown ( ) : void
Résultat void

stop() public méthode

Stop the console and closes all connections.
public stop ( ) : void
Résultat void

Property Details