public function setRequest($request, $waitForResult = true)
    {
        $this->previousRequest = $this->request;
        $this->request = $request;
        $this->waitForResult = $waitForResult;
        $this->bucket->refresh($this);

        return $this;
    }
public function setRequest($request, $waitForResult = true)
    {
        $this->previousRequest = $this->request;
        $this->request = $request;
        $this->waitForResult = $waitForResult;
        $this->bucket->refresh($this);

        return $this;
    }
public function setRequest ( $ request , $ waitForResult = true ) { $ this -> previousRequest = $ this -> request ; $ this -> request = $ request ; $ this -> waitForResult = $ waitForResult ; $ this -> bucket -> refresh ( $ this ) ; return $ this ; }
Sets the request the client is interested in.

@param string  $request
@param boolean $waitForResult

@return \AlphaRPC\Manager\ClientHandler\Client
Sets the request the client is interested in .