16 #ifndef __IceDiscovery_IceDiscovery_h__
17 #define __IceDiscovery_IceDiscovery_h__
38 #ifndef ICE_IGNORE_VERSION
39 # if ICE_INT_VERSION / 100 != 307
40 # error Ice version mismatch!
42 # if ICE_INT_VERSION % 100 >= 50
43 # error Beta header file detected
45 # if ICE_INT_VERSION % 100 < 10
46 # error Ice patch level mismatch!
50 #ifdef ICE_CPP11_MAPPING // C++11 mapping
82 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
89 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
96 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
112 bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
124 virtual void foundAdapterById(::std::string
id, ::std::shared_ptr<::Ice::ObjectPrx> prx,
bool isReplicaGroup, const ::Ice::Current& current) = 0;
126 bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
130 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
151 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
158 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
165 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
182 virtual void findObjectById(::std::string domainId, ::
Ice::Identity id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
184 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
196 virtual void findAdapterById(::std::string domainId, ::std::string
id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
198 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
202 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
228 _makePromiseOutgoing<void>(
true,
this, &LookupReplyPrx::_iceI_foundObjectById,
id, prx, context).get();
238 template<
template<
typename>
class P = ::std::promise>
240 -> decltype(::std::declval<P<void>>().get_future())
242 return _makePromiseOutgoing<void, P>(
false,
this, &LookupReplyPrx::_iceI_foundObjectById,
id, prx, context);
255 ::std::function<void()>
257 ::std::function<
void()> response,
258 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
259 ::std::function<
void(
bool)> sent =
nullptr,
262 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById,
id, prx, context);
266 void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&,
const ::Ice::Context&);
280 _makePromiseOutgoing<void>(
true,
this, &LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context).get();
293 template<
template<
typename>
class P = ::std::promise>
295 -> decltype(::std::declval<P<void>>().get_future())
297 return _makePromiseOutgoing<void, P>(
false,
this, &LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context);
313 ::std::function<void()>
315 ::std::function<
void()> response,
316 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
317 ::std::function<
void(
bool)> sent =
nullptr,
320 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context);
324 void _iceI_foundAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&,
bool,
const ::Ice::Context&);
337 friend ::std::shared_ptr<LookupReplyPrx> IceInternal::createProxy<LookupReplyPrx>();
339 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
363 _makePromiseOutgoing<void>(
true,
this, &LookupPrx::_iceI_findObjectById, domainId,
id, reply, context).get();
376 template<
template<
typename>
class P = ::std::promise>
378 -> decltype(::std::declval<P<void>>().get_future())
380 return _makePromiseOutgoing<void, P>(
false,
this, &LookupPrx::_iceI_findObjectById, domainId,
id, reply, context);
396 ::std::function<void()>
397 findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity&
id, const ::std::shared_ptr<LookupReplyPrx>& reply,
398 ::std::function<
void()> response,
399 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
400 ::std::function<
void(
bool)> sent =
nullptr,
403 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId,
id, reply, context);
407 void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Identity&, const ::std::shared_ptr<LookupReplyPrx>&,
const ::Ice::Context&);
421 _makePromiseOutgoing<void>(
true,
this, &LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context).get();
434 template<
template<
typename>
class P = ::std::promise>
436 -> decltype(::std::declval<P<void>>().get_future())
438 return _makePromiseOutgoing<void, P>(
false,
this, &LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context);
454 ::std::function<void()>
455 findAdapterByIdAsync(const ::std::string& domainId, const ::std::string&
id, const ::std::shared_ptr<LookupReplyPrx>& reply,
456 ::std::function<
void()> response,
457 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
458 ::std::function<
void(
bool)> sent =
nullptr,
461 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context);
465 void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<LookupReplyPrx>&,
const ::Ice::Context&);
478 friend ::std::shared_ptr<LookupPrx> IceInternal::createProxy<LookupPrx>();
480 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
497 using LookupReplyPtr = ::std::shared_ptr<LookupReply>;
498 using LookupReplyPrxPtr = ::std::shared_ptr<LookupReplyPrx>;
500 using LookupPtr = ::std::shared_ptr<Lookup>;
501 using LookupPrxPtr = ::std::shared_ptr<LookupPrx>;
506 #else // C++98 mapping
516 void _readProxy(::
Ice::InputStream*, ::IceInternal::ProxyHandle< LookupReply>&);
517 ::IceProxy::Ice::Object* upCast(LookupReply*);
523 ::IceProxy::Ice::Object* upCast(Lookup*);
537 typedef ::IceInternal::Handle< LookupReply> LookupReplyPtr;
538 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply> LookupReplyPrx;
539 typedef LookupReplyPrx LookupReplyPrxPtr;
541 void _icePatchObjectPtr(LookupReplyPtr&, const ::Ice::ObjectPtr&);
548 typedef ::IceInternal::Handle< Lookup> LookupPtr;
549 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup> LookupPrx;
550 typedef LookupPrx LookupPrxPtr;
552 void _icePatchObjectPtr(LookupPtr&, const ::Ice::ObjectPtr&);
565 class Callback_LookupReply_foundObjectById_Base :
public virtual ::IceInternal::CallbackBase { };
566 typedef ::IceUtil::Handle< Callback_LookupReply_foundObjectById_Base> Callback_LookupReply_foundObjectByIdPtr;
573 class Callback_LookupReply_foundAdapterById_Base :
public virtual ::IceInternal::CallbackBase { };
574 typedef ::IceUtil::Handle< Callback_LookupReply_foundAdapterById_Base> Callback_LookupReply_foundAdapterByIdPtr;
581 class Callback_Lookup_findObjectById_Base :
public virtual ::IceInternal::CallbackBase { };
582 typedef ::IceUtil::Handle< Callback_Lookup_findObjectById_Base> Callback_Lookup_findObjectByIdPtr;
589 class Callback_Lookup_findAdapterById_Base :
public virtual ::IceInternal::CallbackBase { };
590 typedef ::IceUtil::Handle< Callback_Lookup_findAdapterById_Base> Callback_Lookup_findAdapterByIdPtr;
600 class LookupReply :
public virtual ::Ice::Proxy<LookupReply, ::IceProxy::Ice::Object>
612 end_foundObjectById(_iceI_begin_foundObjectById(
id, prx, context, ::IceInternal::dummyCallback, 0,
true));
624 return _iceI_begin_foundObjectById(
id, prx, context, ::IceInternal::dummyCallback, 0);
635 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity&
id, const ::Ice::ObjectPrx& prx, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
651 return _iceI_begin_foundObjectById(
id, prx, context, cb, cookie);
662 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity&
id, const ::Ice::ObjectPrx& prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
676 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity&
id, const ::Ice::ObjectPrx& prx,
const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
678 return _iceI_begin_foundObjectById(
id, prx, context, cb, cookie);
685 void end_foundObjectById(const ::Ice::AsyncResultPtr& result);
704 end_foundAdapterById(_iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0,
true));
719 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
733 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
752 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, cb, cookie);
766 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
783 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup,
const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
785 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, cb, cookie);
792 void end_foundAdapterById(const ::Ice::AsyncResultPtr& result);
804 static const ::std::string& ice_staticId();
809 virtual ::IceProxy::Ice::Object* _newInstance()
const;
813 class Lookup :
public virtual ::Ice::Proxy<Lookup, ::IceProxy::Ice::Object>
828 end_findObjectById(_iceI_begin_findObjectById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0,
true));
843 return _iceI_begin_findObjectById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0);
857 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
874 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply,
const ::Ice::Context& context, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
876 return _iceI_begin_findObjectById(domainId,
id, reply, context, cb, cookie);
890 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
907 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply,
const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
909 return _iceI_begin_findObjectById(domainId,
id, reply, context, cb, cookie);
916 void end_findObjectById(const ::Ice::AsyncResultPtr& result);
920 ::Ice::AsyncResultPtr _iceI_begin_findObjectById(const ::std::string&, const ::Ice::Identity&, const ::IceDiscovery::LookupReplyPrx&,
const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&,
const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
935 end_findAdapterById(_iceI_begin_findAdapterById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0,
true));
950 return _iceI_begin_findAdapterById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0);
964 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
981 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply,
const ::Ice::Context& context, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
983 return _iceI_begin_findAdapterById(domainId,
id, reply, context, cb, cookie);
997 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1014 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply,
const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1016 return _iceI_begin_findAdapterById(domainId,
id, reply, context, cb, cookie);
1023 void end_findAdapterById(const ::Ice::AsyncResultPtr& result);
1027 ::Ice::AsyncResultPtr _iceI_begin_findAdapterById(const ::std::string&, const ::std::string&, const ::IceDiscovery::LookupReplyPrx&,
const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&,
const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
1035 static const ::std::string& ice_staticId();
1040 virtual ::IceProxy::Ice::Object* _newInstance()
const;
1061 typedef LookupReplyPtr PointerType;
1063 virtual ~LookupReply();
1065 #ifdef ICE_CPP11_COMPILER
1066 LookupReply() =
default;
1067 LookupReply(
const LookupReply&) =
default;
1068 LookupReply& operator=(
const LookupReply&) =
default;
1107 bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1119 virtual void foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup, const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
1121 bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1125 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1137 inline bool operator==(
const LookupReply& lhs,
const LookupReply& rhs)
1142 inline bool operator<(
const LookupReply& lhs,
const LookupReply& rhs)
1158 typedef LookupPtr PointerType;
1162 #ifdef ICE_CPP11_COMPILER
1164 Lookup(
const Lookup&) =
default;
1165 Lookup& operator=(
const Lookup&) =
default;
1205 virtual void findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id,
const LookupReplyPrx& reply, const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
1207 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1219 virtual void findAdapterById(const ::std::string& domainId, const ::std::string&
id,
const LookupReplyPrx& reply, const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
1221 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1225 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1237 inline bool operator==(
const Lookup& lhs,
const Lookup& rhs)
1242 inline bool operator<(
const Lookup& lhs,
const Lookup& rhs)
1266 class CallbackNC_LookupReply_foundObjectById :
public Callback_LookupReply_foundObjectById_Base,
public ::IceInternal::OnewayCallbackNC<T>
1273 typedef void (T::*Sent)(bool);
1274 typedef void (T::*Response)();
1276 CallbackNC_LookupReply_foundObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1277 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1290 template<
class T> Callback_LookupReply_foundObjectByIdPtr
1293 return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
1303 template<
class T> Callback_LookupReply_foundObjectByIdPtr
1306 return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
1317 template<
class T> Callback_LookupReply_foundObjectByIdPtr
1318 newCallback_LookupReply_foundObjectById(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1320 return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
1330 template<
class T> Callback_LookupReply_foundObjectByIdPtr
1331 newCallback_LookupReply_foundObjectById(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1333 return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
1341 template<
class T,
typename CT>
1342 class Callback_LookupReply_foundObjectById :
public Callback_LookupReply_foundObjectById_Base,
public ::IceInternal::OnewayCallback<T, CT>
1349 typedef void (T::*Sent)(bool ,
const CT&);
1350 typedef void (T::*Response)(
const CT&);
1352 Callback_LookupReply_foundObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1353 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1367 template<
class T,
typename CT> Callback_LookupReply_foundObjectByIdPtr
1370 return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
1381 template<
class T,
typename CT> Callback_LookupReply_foundObjectByIdPtr
1384 return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
1396 template<
class T,
typename CT> Callback_LookupReply_foundObjectByIdPtr
1397 newCallback_LookupReply_foundObjectById(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1399 return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
1410 template<
class T,
typename CT> Callback_LookupReply_foundObjectByIdPtr
1411 newCallback_LookupReply_foundObjectById(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1413 return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
1422 class CallbackNC_LookupReply_foundAdapterById :
public Callback_LookupReply_foundAdapterById_Base,
public ::IceInternal::OnewayCallbackNC<T>
1429 typedef void (T::*Sent)(bool);
1430 typedef void (T::*Response)();
1432 CallbackNC_LookupReply_foundAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1433 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1446 template<
class T> Callback_LookupReply_foundAdapterByIdPtr
1449 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
1459 template<
class T> Callback_LookupReply_foundAdapterByIdPtr
1462 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
1473 template<
class T> Callback_LookupReply_foundAdapterByIdPtr
1474 newCallback_LookupReply_foundAdapterById(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1476 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
1486 template<
class T> Callback_LookupReply_foundAdapterByIdPtr
1487 newCallback_LookupReply_foundAdapterById(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1489 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
1497 template<
class T,
typename CT>
1498 class Callback_LookupReply_foundAdapterById :
public Callback_LookupReply_foundAdapterById_Base,
public ::IceInternal::OnewayCallback<T, CT>
1505 typedef void (T::*Sent)(bool ,
const CT&);
1506 typedef void (T::*Response)(
const CT&);
1508 Callback_LookupReply_foundAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1509 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1523 template<
class T,
typename CT> Callback_LookupReply_foundAdapterByIdPtr
1524 newCallback_LookupReply_foundAdapterById(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1526 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1537 template<
class T,
typename CT> Callback_LookupReply_foundAdapterByIdPtr
1540 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
1552 template<
class T,
typename CT> Callback_LookupReply_foundAdapterByIdPtr
1553 newCallback_LookupReply_foundAdapterById(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1555 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1566 template<
class T,
typename CT> Callback_LookupReply_foundAdapterByIdPtr
1567 newCallback_LookupReply_foundAdapterById(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1569 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
1578 class CallbackNC_Lookup_findObjectById :
public Callback_Lookup_findObjectById_Base,
public ::IceInternal::OnewayCallbackNC<T>
1585 typedef void (T::*Sent)(bool);
1586 typedef void (T::*Response)();
1588 CallbackNC_Lookup_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1589 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1602 template<
class T> Callback_Lookup_findObjectByIdPtr
1605 return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
1615 template<
class T> Callback_Lookup_findObjectByIdPtr
1618 return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
1629 template<
class T> Callback_Lookup_findObjectByIdPtr
1630 newCallback_Lookup_findObjectById(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1632 return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
1642 template<
class T> Callback_Lookup_findObjectByIdPtr
1643 newCallback_Lookup_findObjectById(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1645 return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
1653 template<
class T,
typename CT>
1654 class Callback_Lookup_findObjectById :
public Callback_Lookup_findObjectById_Base,
public ::IceInternal::OnewayCallback<T, CT>
1661 typedef void (T::*Sent)(bool ,
const CT&);
1662 typedef void (T::*Response)(
const CT&);
1664 Callback_Lookup_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1665 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1679 template<
class T,
typename CT> Callback_Lookup_findObjectByIdPtr
1682 return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
1693 template<
class T,
typename CT> Callback_Lookup_findObjectByIdPtr
1696 return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
1708 template<
class T,
typename CT> Callback_Lookup_findObjectByIdPtr
1709 newCallback_Lookup_findObjectById(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1711 return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
1722 template<
class T,
typename CT> Callback_Lookup_findObjectByIdPtr
1723 newCallback_Lookup_findObjectById(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1725 return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
1734 class CallbackNC_Lookup_findAdapterById :
public Callback_Lookup_findAdapterById_Base,
public ::IceInternal::OnewayCallbackNC<T>
1741 typedef void (T::*Sent)(bool);
1742 typedef void (T::*Response)();
1744 CallbackNC_Lookup_findAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1745 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1758 template<
class T> Callback_Lookup_findAdapterByIdPtr
1761 return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
1771 template<
class T> Callback_Lookup_findAdapterByIdPtr
1774 return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
1785 template<
class T> Callback_Lookup_findAdapterByIdPtr
1786 newCallback_Lookup_findAdapterById(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1788 return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
1798 template<
class T> Callback_Lookup_findAdapterByIdPtr
1799 newCallback_Lookup_findAdapterById(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
1801 return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
1809 template<
class T,
typename CT>
1810 class Callback_Lookup_findAdapterById :
public Callback_Lookup_findAdapterById_Base,
public ::IceInternal::OnewayCallback<T, CT>
1817 typedef void (T::*Sent)(bool ,
const CT&);
1818 typedef void (T::*Response)(
const CT&);
1820 Callback_Lookup_findAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
1821 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1835 template<
class T,
typename CT> Callback_Lookup_findAdapterByIdPtr
1838 return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1849 template<
class T,
typename CT> Callback_Lookup_findAdapterByIdPtr
1852 return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);
1864 template<
class T,
typename CT> Callback_Lookup_findAdapterByIdPtr
1865 newCallback_Lookup_findAdapterById(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1867 return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1878 template<
class T,
typename CT> Callback_Lookup_findAdapterByIdPtr
1879 newCallback_Lookup_findAdapterById(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
1881 return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);