PHP Class MyQEE\Server\Clusters\TaskServer

Mostra file Open project: myqee/server

Protected Properties

Property Type Description
$id
$server Swoole\Server

Public Methods

Method Description
__construct ( ) TaskServer constructor.
onReceive ( $server, $fd, $fromId, $data )
onStart ( )
start ( $ip, $port )

Method Details

__construct() public method

TaskServer constructor.
public __construct ( )

onReceive() public method

public onReceive ( $server, $fd, $fromId, $data )

onStart() public method

public onStart ( )

start() public method

public start ( $ip, $port )

Property Details

$id protected_oe property

protected $id

$server protected_oe property

protected Server,Swoole $server
return Swoole\Server