Метод | Описание | |
---|---|---|
__construct ( string $address = "127.0.0.1", integer $port = 8181 ) | Constructor | |
handleClose ( |
Handle process on close connection | |
handleConnection ( |
Handle process on open new connection | |
handleData ( mixed $data, |
Handle process reveiced data | |
startTransportProvider ( Thruway\Peer\ClientInterface $client, React\EventLoop\LoopInterface $loop ) | Start transport provider |
public __construct ( string $address = "127.0.0.1", integer $port = 8181 ) | ||
$address | string | |
$port | integer |
public handleClose ( |
||
$conn |
public handleConnection ( |
||
$conn |
public handleData ( mixed $data, |
||
$data | mixed | |
$conn |
public startTransportProvider ( Thruway\Peer\ClientInterface $client, React\EventLoop\LoopInterface $loop ) | ||
$client | Thruway\Peer\ClientInterface | |
$loop | React\EventLoop\LoopInterface |