PHP Class PHPPM\React\Server

Overwrites React\Socket\Server
See also: React\Socket\Server Version of https://github.com/reactphp/socket/pull/17/
Inheritance: extends Evenement\EventEmitter, implements React\Socket\ServerInterface
Exibir arquivo Open project: php-pm/php-pm Class Usage Examples

Public Properties

Property Type Description
$master

Public Methods

Method Description
__construct ( React\EventLoop\LoopInterface $loop )
createConnection ( $socket )
getPort ( )
handleConnection ( $socket )
listen ( $port, $host = '127.0.0.1' )
shutdown ( )

Method Details

__construct() public method

public __construct ( React\EventLoop\LoopInterface $loop )
$loop React\EventLoop\LoopInterface

createConnection() public method

public createConnection ( $socket )

getPort() public method

public getPort ( )

handleConnection() public method

public handleConnection ( $socket )

listen() public method

public listen ( $port, $host = '127.0.0.1' )

shutdown() public method

public shutdown ( )

Property Details

$master public_oe property

public $master