PHP 클래스 MyQEE\Server\Clusters\TaskServer

파일 보기 프로젝트 열기: myqee/server

보호된 프로퍼티들

프로퍼티 타입 설명
$id
$server Swoole\Server

공개 메소드들

메소드 설명
__construct ( ) TaskServer constructor.
onReceive ( $server, $fd, $fromId, $data )
onStart ( )
start ( $ip, $port )

메소드 상세

__construct() 공개 메소드

TaskServer constructor.
public __construct ( )

onReceive() 공개 메소드

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

onStart() 공개 메소드

public onStart ( )

start() 공개 메소드

public start ( $ip, $port )

프로퍼티 상세

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

protected $id

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

protected Server,Swoole $server
리턴 Swoole\Server