5#ifndef ICE_ASYNC_RESULT_H
6#define ICE_ASYNC_RESULT_H
8#ifndef ICE_CPP11_MAPPING
122 virtual bool _waitForResponse() = 0;
124 virtual void _endReadParams() = 0;
125 virtual void _readEmptyParams() = 0;
126 virtual void _readParamEncaps(const ::Ice::Byte*&,
::Ice::Int&) = 0;
127 virtual void _throwUserException() = 0;
129 static void _check(
const AsyncResultPtr&, const ::IceProxy::Ice::Object*, const ::std::string&);
137 virtual void run() = 0;
141 virtual void _scheduleCallback(
const CallbackPtr&) = 0;
#define ICE_API
Definition Config.h:197
Represents the result of an asynchronous invocation using the C++98 mapping.
Definition AsyncResult.h:26
virtual ConnectionPtr getConnection() const =0
Obtains the connection that was used for the invocation.
virtual void throwLocalException() const =0
Throws the local exception that caused the invocation to fail.
virtual CommunicatorPtr getCommunicator() const =0
Obtains the communicator that sent the invocation.
virtual bool isSent() const =0
Obtains the sent status of the invocation.
virtual void waitForSent()=0
Blocks the calling thread until a request has been written to the client-side transport,...
virtual bool isCompleted() const =0
Obtains the completion status of the invocation.
virtual void cancel()=0
Prevents a queued invocation from being sent or, if the invocation has already been sent,...
virtual void waitForCompleted()=0
Blocks the caller until the result of an invocation becomes available.
virtual bool sentSynchronously() const =0
Determines whether the request was sent synchronously.
virtual const std::string & getOperation() const =0
Obtains the name of the operation.
virtual Int getHash() const =0
Allows you to create ordered or hashed collections of pending asynchronous invocations.
virtual LocalObjectPtr getCookie() const =0
Obtains the cookie that was passed to the begin_ method.
virtual ObjectPrxPtr getProxy() const =0
Obtains the proxy that was used to call the begin_ method, or nil if the AsyncResult object was not o...
The central object in Ice.
Definition Communicator.h:684
The user-level interface to a connection.
Definition Connection.h:1179
Base class for local Slice classes and interfaces.
Definition LocalObject.h:25
Definition BuiltinSequences.h:113
int Int
The mapping for the Slice int type.
Definition Config.h:54
IceUtil::Handle< ::IceInternal::GenericCallbackBase > CallbackPtr
Definition OutgoingAsync.h:822
::IceInternal::Handle< Connection > ConnectionPtr
Definition Connection.h:767
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition LocalObjectF.h:17
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
::IceInternal::Handle< Communicator > CommunicatorPtr
Definition Communicator.h:608
ObjectPrx ObjectPrxPtr
Definition ProxyF.h:48