PHP Класс AppserverIo\Appserver\Core\Consoles\Telnet

Автор: Tim Wagner ([email protected])
Наследование: extends Thread, implements AppserverIo\Appserver\Core\Consoles\ConsoleInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$logo string appserver.io written in ASCII art.

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
getAddress ( ) : integer Returns the IP address to listen to.
getPort ( ) : integer Returns the port to listen to.

Описание методов

__construct() публичный метод

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
Результат void

getAddress() защищенный метод

Returns the IP address to listen to.
protected getAddress ( ) : integer
Результат integer The IP address to listen to

getName() публичный метод

Return's the console name.
public getName ( ) : string
Результат string The console name

getPort() защищенный метод

Returns the port to listen to.
protected getPort ( ) : integer
Результат integer The port to listen to

run() публичный метод

The thread's run() method that runs asynchronously.
public run ( ) : void
Результат void

shutdown() публичный метод

Shutdown handler that checks for fatal/user errors.
public shutdown ( ) : void
Результат void

stop() публичный метод

Stop the console and closes all connections.
public stop ( ) : void
Результат void

Описание свойств