AsyncStatus ConnectRequestHandler::sendAsyncRequest(const ProxyOutgoingAsyncBasePtr& out) { { Lock sync(*this); if(!_initialized) { out->cancelable(ICE_SHARED_FROM_THIS); // This will throw if the request is canceled } if(!initialized()) { _requests.push_back(out); return AsyncStatusQueued; } } return out->invokeRemote(_connection, _compress, _response); }
AsyncStatus CollocatedRequestHandler::sendAsyncRequest(const ProxyOutgoingAsyncBasePtr& outAsync) { return outAsync->invokeCollocated(this); }
AsyncStatus ConnectionRequestHandler::sendAsyncRequest(const ProxyOutgoingAsyncBasePtr& out) { return out->invokeRemote(_connection, _compress, _response); }