protected function setTimeout()
    {
        $this->timeoutTimer = $this->loop->addTimer(
            self::CONNECTION_TIMEOUT,
            function () {
                $this->close();
            }
        );
    }
protected function setTimeout()
    {
        $this->timeoutTimer = $this->loop->addTimer(
            self::CONNECTION_TIMEOUT,
            function () {
                $this->close();
            }
        );
    }
protected function setTimeout ( ) { $ this -> timeoutTimer = $ this -> loop -> addTimer ( self :: CONNECTION_TIMEOUT , function ( ) { $ this -> close ( ) ; } ) ; }
Set a timeout that disconnects the client when it's idle for to long
Set a timeout that disconnects the client when it s idle for to long