public function onClose($server, $fd) { $this->application->execute(array('swoole_socket', 'removefd'), $fd); }