5#ifndef ICE_CONNECTION_ASYNC_H
6#define ICE_CONNECTION_ASYNC_H
8#ifndef ICE_CPP11_MAPPING
24 public ::IceInternal::OnewayCallbackNC<T>
30 typedef void (T::*
Exception)(const ::Ice::Exception&);
31 typedef void (T::*
Sent)(bool);
34 : ::IceInternal::OnewayCallbackNC<T>(obj, 0, excb, sentcb)
39 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
45 connection->end_flushBatchRequests(result);
48 catch(const ::Ice::Exception& ex)
50 ::IceInternal::CallbackNC<T>::exception(result, ex);
66 void (T::*excb)(const ::Ice::Exception&),
67 void (T::*sentcb)(
bool) = 0)
82 void (T::*sentcb)(
bool) = 0)
93template<
class T,
typename CT>
95 public ::IceInternal::OnewayCallback<T, CT>
101 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
102 typedef void (T::*
Sent)(bool ,
const CT&);
105 : ::IceInternal::OnewayCallback<T, CT>(obj, 0, excb, sentcb)
110 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
116 connection->end_flushBatchRequests(result);
119 catch(const ::Ice::Exception& ex)
121 ::IceInternal::Callback<T, CT>::exception(result, ex);
137 void (T::*excb)(const ::Ice::Exception&,
const CT&),
138 void (T::*sentcb)(
bool,
const CT&) = 0)
153 void (T::*sentcb)(
bool,
const CT&) = 0)
166 public ::IceInternal::OnewayCallbackNC<T>
176 : ::IceInternal::OnewayCallbackNC<T>(obj, 0, excb, sentcb)
181 virtual void completed(const ::Ice::AsyncResultPtr& __result)
const
187 __con->end_heartbeat(__result);
190 catch(const ::Ice::Exception& ex)
192 ::IceInternal::CallbackNC<T>::exception(__result, ex);
208 void (T::*excb)(const ::Ice::Exception&),
209 void (T::*sentcb)(
bool) = 0)
234template<
class T,
typename CT>
236 public ::IceInternal::OnewayCallback<T, CT>
242 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
243 typedef void (T::*
Sent)(bool ,
const CT&);
246 : ::IceInternal::OnewayCallback<T, CT>(obj, 0, excb, sentcb)
251 virtual void completed(const ::Ice::AsyncResultPtr& __result)
const
257 __con->end_heartbeat(__result);
260 catch(const ::Ice::Exception& ex)
262 ::IceInternal::Callback<T, CT>::exception(__result, ex);
278 void (T::*excb)(const ::Ice::Exception&,
const CT&),
279 void (T::*sentcb)(
bool,
const CT&) = 0)
294 void (T::*sentcb)(
bool,
const CT&) = 0)
Type-safe asynchronous callback wrapper class used for calls to Ice::Connection::begin_flushBatchRequ...
Definition ConnectionAsync.h:25
void(T::* Exception)(const ::Ice::Exception &)
Definition ConnectionAsync.h:30
IceUtil::Handle< T > TPtr
Definition ConnectionAsync.h:28
void(T::* Sent)(bool)
Definition ConnectionAsync.h:31
CallbackNC_Connection_flushBatchRequests(const TPtr &obj, Exception excb, Sent sentcb)
Definition ConnectionAsync.h:33
Type-safe asynchronous callback wrapper class used for calls to Ice::Connection::begin_heartbeat.
Definition ConnectionAsync.h:167
void(T::* Exception)(const ::Ice::Exception &)
Definition ConnectionAsync.h:172
void(T::* Sent)(bool)
Definition ConnectionAsync.h:173
IceUtil::Handle< T > TPtr
Definition ConnectionAsync.h:170
CallbackNC_Connection_heartbeat(const TPtr &obj, Exception excb, Sent sentcb)
Definition ConnectionAsync.h:175
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Connection::beg...
Definition Connection.h:1009
Type-safe asynchronous callback wrapper class used for calls to Ice::Connection::begin_flushBatchRequ...
Definition ConnectionAsync.h:96
void(T::* Sent)(bool, const CT &)
Definition ConnectionAsync.h:102
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition ConnectionAsync.h:101
Callback_Connection_flushBatchRequests(const TPtr &obj, Exception excb, Sent sentcb)
Definition ConnectionAsync.h:104
IceUtil::Handle< T > TPtr
Definition ConnectionAsync.h:99
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Connection::beg...
Definition Connection.h:1017
Type-safe asynchronous callback wrapper class used for calls to Ice::Connection::begin_heartbeat.
Definition ConnectionAsync.h:237
Callback_Connection_heartbeat(const TPtr &obj, Exception excb, Sent sentcb)
Definition ConnectionAsync.h:245
void(T::* Sent)(bool, const CT &)
Definition ConnectionAsync.h:243
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition ConnectionAsync.h:242
IceUtil::Handle< T > TPtr
Definition ConnectionAsync.h:240
Definition BuiltinSequences.h:113
::IceInternal::Handle< Connection > ConnectionPtr
Definition Connection.h:767
Callback_Connection_heartbeatPtr newCallback_Connection_heartbeat(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 ConnectionAsync.h:207
::IceUtil::Handle< Callback_Connection_flushBatchRequests_Base > Callback_Connection_flushBatchRequestsPtr
Definition Connection.h:1010
Callback_Connection_flushBatchRequestsPtr newCallback_Connection_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 ConnectionAsync.h:65
::IceUtil::Handle< Callback_Connection_heartbeat_Base > Callback_Connection_heartbeatPtr
Definition Connection.h:1018