Ice::ConnectionI* ConnectRequestHandler::sendRequest(Outgoing* out) { // Must be called first, _compress might not be initialized before this returns. Ice::ConnectionIPtr connection = getConnection(true); assert(connection); if(!connection->sendRequest(out, _compress, _response) || _response) { return _connection.get(); // The request hasn't been sent or we're expecting a response. } else { return 0; // The request has been sent. } }
bool Outgoing::send(const Ice::ConnectionIPtr& connection, bool compress, bool response) { return connection->sendRequest(this, compress, response); }
bool ProxyFlushBatch::invokeRemote(const Ice::ConnectionIPtr& connection, bool compress, bool response) { return connection->sendRequest(this, compress, response, _batchRequestNum); }
bool Outgoing::invokeRemote(const Ice::ConnectionIPtr& connection, bool compress, bool response) { return connection->sendRequest(this, compress, response, 0); }