5#ifndef ICE_COMMUNICATOR_ASYNC_H
6#define ICE_COMMUNICATOR_ASYNC_H
8#ifndef ICE_CPP11_MAPPING
23 public ::IceInternal::OnewayCallbackNC<T>
29 typedef void (T::*
Exception)(const ::Ice::Exception&);
30 typedef void (T::*
Sent)(bool);
33 : ::IceInternal::OnewayCallbackNC<T>(obj, 0, excb, sentcb)
38 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
44 communicator->end_flushBatchRequests(result);
47 catch(const ::Ice::Exception& ex)
49 ::IceInternal::CallbackNC<T>::exception(result, ex);
65 void (T::*excb)(const ::Ice::Exception&),
66 void (T::*sentcb)(
bool) = 0)
81 void (T::*sentcb)(
bool) = 0)
92template<
class T,
typename CT>
94 public ::IceInternal::OnewayCallback<T, CT>
100 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
101 typedef void (T::*
Sent)(bool ,
const CT&);
104 : ::IceInternal::OnewayCallback<T, CT>(obj, 0, excb, sentcb)
109 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
112 assert(communicator);
115 communicator->end_flushBatchRequests(result);
118 catch(const ::Ice::Exception& ex)
120 ::IceInternal::Callback<T, CT>::exception(result, ex);
133 void (T::*excb)(const ::Ice::Exception&,
const CT&),
134 void (T::*sentcb)(
bool,
const CT&) = 0)
146 void (T::*sentcb)(
bool,
const CT&) = 0)
Type-safe asynchronous callback wrapper class used for calls to Ice::Communicator::begin_flushBatchRe...
Definition CommunicatorAsync.h:24
IceUtil::Handle< T > TPtr
Definition CommunicatorAsync.h:27
void(T::* Exception)(const ::Ice::Exception &)
Definition CommunicatorAsync.h:29
void(T::* Sent)(bool)
Definition CommunicatorAsync.h:30
CallbackNC_Communicator_flushBatchRequests(const TPtr &obj, Exception excb, Sent sentcb)
Definition CommunicatorAsync.h:32
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Communicator::b...
Definition Communicator.h:660
Type-safe asynchronous callback wrapper class used for calls to Ice::Communicator::begin_flushBatchRe...
Definition CommunicatorAsync.h:95
void(T::* Sent)(bool, const CT &)
Definition CommunicatorAsync.h:101
IceUtil::Handle< T > TPtr
Definition CommunicatorAsync.h:98
Callback_Communicator_flushBatchRequests(const TPtr &obj, Exception excb, Sent sentcb)
Definition CommunicatorAsync.h:103
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition CommunicatorAsync.h:100
Definition BuiltinSequences.h:113
Callback_Communicator_flushBatchRequestsPtr newCallback_Communicator_flushBatchRequests(const IceUtil::Handle< T > &instance, void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition CommunicatorAsync.h:64
::IceInternal::Handle< Communicator > CommunicatorPtr
Definition Communicator.h:608
::IceUtil::Handle< Callback_Communicator_flushBatchRequests_Base > Callback_Communicator_flushBatchRequestsPtr
Definition Communicator.h:661