PHP Class DoraRPC\Monitor

Show file Open project: xcl3721/dora-rpc

Protected Properties

Property Type Description
$_config
$_ip
$_port
$_server

Public Methods

Method Description
__construct ( $ip = "0.0.0.0", $port = 9569, $config = [] )
discovery ( array $config ) server report
onPacket ( swoole_server $server, $data, $client_info )
start ( )

Method Details

__construct() public method

public __construct ( $ip = "0.0.0.0", $port = 9569, $config = [] )

discovery() final public method

server report
final public discovery ( array $config )
$config array

onPacket() public method

public onPacket ( swoole_server $server, $data, $client_info )
$server swoole_server

start() public method

public start ( )

Property Details

$_config protected property

protected $_config

$_ip protected property

protected $_ip

$_port protected property

protected $_port

$_server protected property

protected $_server