'apiV1Worker';
// apiv1进程数
$apiV1Worker->count = $config['workerCount']['api_v1'];
// apiv1的回调类
$apiV1Callbackredis']['url']);
$log = new LogService();
}
/**
* 当客户端与Workerman建立连接时(TCP三次握手完成后)触发的回调函数global $log;
$log->record("{$time}: {$ip} connected to ApiV1.");
}
/**
* 当客户端通过连接发来数据时(Workerman收到数据时)触发的回调函数
*
* @author Aaron <chenqiang@h024.cn>
*
* @param [type] $@param [type] $data
*/
public function onMessage($connection, $request)
{
// 请求数量计数