protected function attachReadStream()
    {
        $this->ThrowOnConnectionInvalid();
        $this->loop->addReadStream($this->connection, function () {
            $this->readToBuffer();
        });
    }
protected function attachReadStream()
    {
        $this->ThrowOnConnectionInvalid();
        $this->loop->addReadStream($this->connection, function () {
            $this->readToBuffer();
        });
    }
protected function attachReadStream ( ) { $ this -> ThrowOnConnectionInvalid ( ) ; $ this -> loop -> addReadStream ( $ this -> connection , function ( ) { $ this -> readToBuffer ( ) ; } ) ; }
setup the readStream event
setup the readStream event