public function pauseAccept()
    {
        if (static::$globalEvent && false === $this->_pauseAccept && $this->_mainSocket) {
            static::$globalEvent->del($this->_mainSocket, EventInterface::EV_READ);
            $this->_pauseAccept = true;
        }
    }
public function pauseAccept()
    {
        if (static::$globalEvent && false === $this->_pauseAccept && $this->_mainSocket) {
            static::$globalEvent->del($this->_mainSocket, EventInterface::EV_READ);
            $this->_pauseAccept = true;
        }
    }
public function pauseAccept ( ) { if ( static :: $ globalEvent && false === $ this -> _pauseAccept && $ this -> _mainSocket ) { static :: $ globalEvent -> del ( $ this -> _mainSocket , EventInterface :: EV_READ ) ; $ this -> _pauseAccept = true ; } }
Pause accept new connections.

@return void
Pause accept new connections .