PHP 클래스 DoraRPC\Monitor

파일 보기 프로젝트 열기: xcl3721/dora-rpc

보호된 프로퍼티들

프로퍼티 타입 설명
$_config
$_ip
$_port
$_server

공개 메소드들

메소드 설명
__construct ( $ip = "0.0.0.0", $port = 9569, $config = [] )
discovery ( array $config ) server report
onPacket ( swoole_server $server, $data, $client_info )
start ( )

메소드 상세

__construct() 공개 메소드

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

discovery() 최종 공개 메소드

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

onPacket() 공개 메소드

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

start() 공개 메소드

public start ( )

프로퍼티 상세

$_config 보호되어 있는 프로퍼티

protected $_config

$_ip 보호되어 있는 프로퍼티

protected $_ip

$_port 보호되어 있는 프로퍼티

protected $_port

$_server 보호되어 있는 프로퍼티

protected $_server