src/wcmf/lib/service/RemotingServer.php
public function doCall($serverKey, $request) {
    $client = $this->getClient($serverKey);
    if ($client) {
      $response = $client->call($request);
      return $response;
    }
    return ObjectFactory::getNewInstance('response');
  }
public function doCall($serverKey, $request) {
    $client = $this->getClient($serverKey);
    if ($client) {
      $response = $client->call($request);
      return $response;
    }
    return ObjectFactory::getNewInstance('response');
  }
public function doCall ( $ serverKey , $ request ) { $ client = $ this -> getClient ( $ serverKey ) ; if ( $ client ) { $ response = $ client -> call ( $ request ) ; return $ response ; } return ObjectFactory :: getNewInstance ( 'response' ) ; }
Send a request to the server identified by serverKey.
@param $serverKey An entry in the configuration section 'remoteserver'
@param $request A Request instance
@return A Response instance
Send a request to the server identified by serverKey .