Properties

$instance

$instance : 

Type

$b_server_pool

$b_server_pool : 

Type

$client_pool

$client_pool : 

Type

$client_a

$client_a : 

Type

$application

$application : 

Type

$table

$table : 

Type

$localip

$localip : 

Type

$connectioninfo

$connectioninfo : 

Type

$curpath

$curpath : 

Type

$filesizes

$filesizes : 

Type

$tmpdata

$tmpdata : 

Type

$oldpath

$oldpath : 

Type

Methods

__construct()

__construct() 

onStart()

onStart(  $serv) 

Parameters

$serv

onWorkerStart()

onWorkerStart(  $serv,   $worker_id) 

Parameters

$serv
$worker_id

onConnect()

onConnect(  $serv,   $fd) 

Parameters

$serv
$fd

onReceive()

onReceive(  $serv,   $fd,   $from_id,   $data) 

Parameters

$serv
$fd
$from_id
$data

onClose()

onClose(  $server,   $fd,   $from_id) 

服务器断开连接

Parameters

$server
$fd
$from_id

onManagerStop()

onManagerStop(  $serv) 

Parameters

$serv

onWorkerError()

onWorkerError(  $serv,   $worker_id,   $worker_pid,   $exit_code) 

Parameters

$serv
$worker_id
$worker_pid
$exit_code

onTask()

onTask(  $serv,   $task_id,   $from_id,   $data) 

Parameters

$serv
$task_id
$from_id
$data

onFinish()

onFinish(  $serv,   $task_id,   $data) 

Parameters

$serv
$task_id
$data

onTimer()

onTimer(  $timer_id,   $params = null) 

Parameters

$timer_id
$params

getInstance()

getInstance()