Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shenzhe committed Dec 31, 2015
1 parent e60d5c0 commit 22a11bf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions todpole/apps/socket/WebSocket.php
Expand Up @@ -114,14 +114,6 @@ public function onMessage($server, $frame)

public function onTask($server, $taskId, $fromId, $data)
{
// $apn = Config::getField('project', 'ctrl_name', 'a');
// $mpn = Config::getField('project', 'method_name', 'm');
// Request::parse([
// $apn => 'todpole',
// $mpn => $data['cmd'],
// 'data' => $data
// ]);
// ZRoute::route();
switch ($data['cmd']) {
case 'open':
$this->ulist[$data['fd']] = $data['uid'];
Expand Down Expand Up @@ -209,7 +201,6 @@ public function getMime($filename)
public function onWorkerStart($server, $workerId)
{
parent::onWorkerStart($server, $workerId);
Request::setSocket($server);
}

}

0 comments on commit 22a11bf

Please sign in to comment.