protected function _initEvents() { parent::_initEvents(); $this->_objServer->on('request', array($this, 'onRequest')); $this->_objServer->on('close', array($this, 'onClose')); return $this; }
protected function _initEvents() { parent::_initEvents(); //UDP $this->_objServer->on('packet', array($this, 'onPacket')); return $this; }