16 #ifndef __IceGrid_Registry_h__
17 #define __IceGrid_Registry_h__
45 #ifndef ICE_IGNORE_VERSION
46 # if ICE_INT_VERSION / 100 != 307
47 # error Ice version mismatch!
49 # if ICE_INT_VERSION % 100 >= 50
50 # error Beta header file detected
52 # if ICE_INT_VERSION % 100 < 10
53 # error Ice patch level mismatch!
58 # if defined(ICE_STATIC_LIBS)
60 # elif defined(ICEGRID_API_EXPORTS)
61 # define ICEGRID_API ICE_DECLSPEC_EXPORT
63 # define ICEGRID_API ICE_DECLSPEC_IMPORT
67 #ifdef ICE_CPP11_MAPPING // C++11 mapping
125 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
132 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
139 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
155 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&)
const;
166 virtual ::std::shared_ptr<::Ice::ObjectPrx>
findObjectByType(::std::string type, const ::Ice::Current& current)
const = 0;
168 bool _iceD_findObjectByType(::IceInternal::Incoming&, const ::Ice::Current&)
const;
184 bool _iceD_findObjectByTypeOnLeastLoadedNode(::IceInternal::Incoming&, const ::Ice::Current&)
const;
196 bool _iceD_findAllObjectsByType(::IceInternal::Incoming&, const ::Ice::Current&)
const;
210 bool _iceD_findAllReplicas(::IceInternal::Incoming&, const ::Ice::Current&)
const;
214 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
237 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
244 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
251 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
269 virtual ::std::shared_ptr<SessionPrx>
createSession(::std::string userId, ::std::string password, const ::Ice::Current& current) = 0;
271 bool _iceD_createSession(::IceInternal::Incoming&, const ::Ice::Current&);
284 virtual ::std::shared_ptr<AdminSessionPrx>
createAdminSession(::std::string userId, ::std::string password, const ::Ice::Current& current) = 0;
286 bool _iceD_createAdminSession(::IceInternal::Incoming&, const ::Ice::Current&);
299 bool _iceD_createSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
312 bool _iceD_createAdminSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
326 bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&)
const;
340 bool _iceD_getACMTimeout(::IceInternal::Incoming&, const ::Ice::Current&)
const;
344 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
367 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
374 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
381 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
395 virtual ::std::shared_ptr<RegistryPrx>
getLocalRegistry(const ::Ice::Current& current)
const = 0;
397 bool _iceD_getLocalRegistry(::IceInternal::Incoming&, const ::Ice::Current&)
const;
406 virtual ::std::shared_ptr<QueryPrx>
getLocalQuery(const ::Ice::Current& current)
const = 0;
408 bool _iceD_getLocalQuery(::IceInternal::Incoming&, const ::Ice::Current&)
const;
412 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
438 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(
true,
this, &QueryPrx::_iceI_findObjectById, id, context).get();
447 template<
template<
typename>
class P = ::std::promise>
449 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
451 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(
false,
this, &QueryPrx::_iceI_findObjectById, id, context);
463 ::std::function<void()>
465 ::std::function<
void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
466 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
467 ::std::function<
void(
bool)> sent =
nullptr,
470 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::QueryPrx::_iceI_findObjectById, id, context);
487 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(
true,
this, &QueryPrx::_iceI_findObjectByType, type, context).get();
498 template<
template<
typename>
class P = ::std::promise>
500 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
502 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(
false,
this, &QueryPrx::_iceI_findObjectByType, type, context);
516 ::std::function<void()>
518 ::std::function<
void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
519 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
520 ::std::function<
void(
bool)> sent =
nullptr,
523 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::QueryPrx::_iceI_findObjectByType, type, context);
543 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(
true,
this, &QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context).get();
557 template<
template<
typename>
class P = ::std::promise>
559 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
561 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(
false,
this, &QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context);
578 ::std::function<void()>
580 ::std::function<
void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
581 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
582 ::std::function<
void(
bool)> sent =
nullptr,
585 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context);
601 return _makePromiseOutgoing<::Ice::ObjectProxySeq>(
true,
this, &QueryPrx::_iceI_findAllObjectsByType, type, context).get();
610 template<
template<
typename>
class P = ::std::promise>
612 -> decltype(::std::declval<P<::Ice::ObjectProxySeq>>().get_future())
614 return _makePromiseOutgoing<::Ice::ObjectProxySeq, P>(
false,
this, &QueryPrx::_iceI_findAllObjectsByType, type, context);
626 ::std::function<void()>
629 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
630 ::std::function<
void(
bool)> sent =
nullptr,
633 return _makeLamdaOutgoing<::Ice::ObjectProxySeq>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::QueryPrx::_iceI_findAllObjectsByType, type, context);
651 return _makePromiseOutgoing<::Ice::ObjectProxySeq>(
true,
this, &QueryPrx::_iceI_findAllReplicas, proxy, context).get();
662 template<
template<
typename>
class P = ::std::promise>
664 -> decltype(::std::declval<P<::Ice::ObjectProxySeq>>().get_future())
666 return _makePromiseOutgoing<::Ice::ObjectProxySeq, P>(
false,
this, &QueryPrx::_iceI_findAllReplicas, proxy, context);
680 ::std::function<void()>
683 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
684 ::std::function<
void(
bool)> sent =
nullptr,
687 return _makeLamdaOutgoing<::Ice::ObjectProxySeq>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::QueryPrx::_iceI_findAllReplicas, proxy, context);
704 friend ::std::shared_ptr<QueryPrx> IceInternal::createProxy<QueryPrx>();
733 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(
true,
this, &RegistryPrx::_iceI_createSession, userId, password, context).get();
743 template<
template<
typename>
class P = ::std::promise>
745 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::SessionPrx>>>().get_future())
747 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>, P>(
false,
this, &RegistryPrx::_iceI_createSession, userId, password, context);
760 ::std::function<void()>
762 ::std::function<
void(::std::shared_ptr<::IceGrid::SessionPrx>)> response,
763 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
764 ::std::function<
void(
bool)> sent =
nullptr,
767 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_createSession, userId, password, context);
771 ICE_MEMBER(
ICEGRID_API)
void _iceI_createSession(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::SessionPrx>>>&, const ::std::string&, const ::std::string&,
const ::Ice::Context&);
786 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(
true,
this, &RegistryPrx::_iceI_createAdminSession, userId, password, context).get();
796 template<
template<
typename>
class P = ::std::promise>
798 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>().get_future())
800 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>, P>(
false,
this, &RegistryPrx::_iceI_createAdminSession, userId, password, context);
813 ::std::function<void()>
815 ::std::function<
void(::std::shared_ptr<::IceGrid::AdminSessionPrx>)> response,
816 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
817 ::std::function<
void(
bool)> sent =
nullptr,
820 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_createAdminSession, userId, password, context);
824 ICE_MEMBER(
ICEGRID_API)
void _iceI_createAdminSession(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>&, const ::std::string&, const ::std::string&,
const ::Ice::Context&);
837 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(
true,
this, &RegistryPrx::_iceI_createSessionFromSecureConnection, context).get();
845 template<
template<
typename>
class P = ::std::promise>
847 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::SessionPrx>>>().get_future())
849 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>, P>(
false,
this, &RegistryPrx::_iceI_createSessionFromSecureConnection, context);
860 ::std::function<void()>
862 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
863 ::std::function<
void(
bool)> sent =
nullptr,
866 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_createSessionFromSecureConnection, context);
883 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(
true,
this, &RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context).get();
891 template<
template<
typename>
class P = ::std::promise>
893 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>().get_future())
895 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>, P>(
false,
this, &RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context);
906 ::std::function<void()>
908 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
909 ::std::function<
void(
bool)> sent =
nullptr,
912 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context);
916 ICE_MEMBER(
ICEGRID_API)
void _iceI_createAdminSessionFromSecureConnection(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>&,
const ::Ice::Context&);
930 return _makePromiseOutgoing<int>(
true,
this, &RegistryPrx::_iceI_getSessionTimeout, context).get();
942 template<
template<
typename>
class P = ::std::promise>
944 -> decltype(::std::declval<P<int>>().get_future())
946 return _makePromiseOutgoing<int, P>(
false,
this, &RegistryPrx::_iceI_getSessionTimeout, context);
961 ::std::function<void()>
963 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
964 ::std::function<
void(
bool)> sent =
nullptr,
967 return _makeLamdaOutgoing<int>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_getSessionTimeout, context);
985 return _makePromiseOutgoing<int>(
true,
this, &RegistryPrx::_iceI_getACMTimeout, context).get();
997 template<
template<
typename>
class P = ::std::promise>
999 -> decltype(::std::declval<P<int>>().get_future())
1001 return _makePromiseOutgoing<int, P>(
false,
this, &RegistryPrx::_iceI_getACMTimeout, context);
1016 ::std::function<void()>
1018 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1019 ::std::function<
void(
bool)> sent =
nullptr,
1022 return _makeLamdaOutgoing<int>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::RegistryPrx::_iceI_getACMTimeout, context);
1039 friend ::std::shared_ptr<RegistryPrx> IceInternal::createProxy<RegistryPrx>();
1064 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>>(
true,
this, &LocatorPrx::_iceI_getLocalRegistry, context).get();
1073 template<
template<
typename>
class P = ::std::promise>
1075 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::RegistryPrx>>>().get_future())
1077 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>, P>(
false,
this, &LocatorPrx::_iceI_getLocalRegistry, context);
1089 ::std::function<void()>
1091 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1092 ::std::function<
void(
bool)> sent =
nullptr,
1095 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::LocatorPrx::_iceI_getLocalRegistry, context);
1110 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>>(
true,
this, &LocatorPrx::_iceI_getLocalQuery, context).get();
1119 template<
template<
typename>
class P = ::std::promise>
1121 -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::QueryPrx>>>().get_future())
1123 return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>, P>(
false,
this, &LocatorPrx::_iceI_getLocalQuery, context);
1135 ::std::function<void()>
1137 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1138 ::std::function<
void(
bool)> sent =
nullptr,
1141 return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &IceGrid::LocatorPrx::_iceI_getLocalQuery, context);
1158 friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
1173 static const StreamHelperCategory helper = StreamHelperCategoryEnum;
1174 static const int minValue = 0;
1175 static const int maxValue = 2;
1176 static const int minWireSize = 1;
1177 static const bool fixedLength =
false;
1187 using QueryPtr = ::std::shared_ptr<Query>;
1188 using QueryPrxPtr = ::std::shared_ptr<QueryPrx>;
1190 using RegistryPtr = ::std::shared_ptr<Registry>;
1191 using RegistryPrxPtr = ::std::shared_ptr<RegistryPrx>;
1193 using LocatorPtr = ::std::shared_ptr<Locator>;
1194 using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
1199 #else // C++98 mapping
1210 ICEGRID_API ::IceProxy::Ice::Object* upCast(Query*);
1216 ICEGRID_API ::IceProxy::Ice::Object* upCast(Registry*);
1222 ICEGRID_API ::IceProxy::Ice::Object* upCast(Locator*);
1234 ICEGRID_API ::Ice::Object* upCast(Query*);
1236 typedef ::IceInternal::Handle< Query> QueryPtr;
1237 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Query> QueryPrx;
1238 typedef QueryPrx QueryPrxPtr;
1240 ICEGRID_API void _icePatchObjectPtr(QueryPtr&, const ::Ice::ObjectPtr&);
1245 ICEGRID_API ::Ice::Object* upCast(Registry*);
1247 typedef ::IceInternal::Handle< Registry> RegistryPtr;
1248 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Registry> RegistryPrx;
1249 typedef RegistryPrx RegistryPrxPtr;
1251 ICEGRID_API void _icePatchObjectPtr(RegistryPtr&, const ::Ice::ObjectPtr&);
1256 ICEGRID_API ::Ice::Object* upCast(Locator*);
1258 typedef ::IceInternal::Handle< Locator> LocatorPtr;
1259 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Locator> LocatorPrx;
1260 typedef LocatorPrx LocatorPrxPtr;
1262 ICEGRID_API void _icePatchObjectPtr(LocatorPtr&, const ::Ice::ObjectPtr&);
1306 class Callback_Query_findObjectById_Base :
public virtual ::IceInternal::CallbackBase { };
1307 typedef ::IceUtil::Handle< Callback_Query_findObjectById_Base> Callback_Query_findObjectByIdPtr;
1314 class Callback_Query_findObjectByType_Base :
public virtual ::IceInternal::CallbackBase { };
1315 typedef ::IceUtil::Handle< Callback_Query_findObjectByType_Base> Callback_Query_findObjectByTypePtr;
1322 class Callback_Query_findObjectByTypeOnLeastLoadedNode_Base :
public virtual ::IceInternal::CallbackBase { };
1323 typedef ::IceUtil::Handle< Callback_Query_findObjectByTypeOnLeastLoadedNode_Base> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr;
1330 class Callback_Query_findAllObjectsByType_Base :
public virtual ::IceInternal::CallbackBase { };
1331 typedef ::IceUtil::Handle< Callback_Query_findAllObjectsByType_Base> Callback_Query_findAllObjectsByTypePtr;
1338 class Callback_Query_findAllReplicas_Base :
public virtual ::IceInternal::CallbackBase { };
1339 typedef ::IceUtil::Handle< Callback_Query_findAllReplicas_Base> Callback_Query_findAllReplicasPtr;
1346 class Callback_Registry_createSession_Base :
public virtual ::IceInternal::CallbackBase { };
1347 typedef ::IceUtil::Handle< Callback_Registry_createSession_Base> Callback_Registry_createSessionPtr;
1354 class Callback_Registry_createAdminSession_Base :
public virtual ::IceInternal::CallbackBase { };
1355 typedef ::IceUtil::Handle< Callback_Registry_createAdminSession_Base> Callback_Registry_createAdminSessionPtr;
1362 class Callback_Registry_createSessionFromSecureConnection_Base :
public virtual ::IceInternal::CallbackBase { };
1363 typedef ::IceUtil::Handle< Callback_Registry_createSessionFromSecureConnection_Base> Callback_Registry_createSessionFromSecureConnectionPtr;
1370 class Callback_Registry_createAdminSessionFromSecureConnection_Base :
public virtual ::IceInternal::CallbackBase { };
1371 typedef ::IceUtil::Handle< Callback_Registry_createAdminSessionFromSecureConnection_Base> Callback_Registry_createAdminSessionFromSecureConnectionPtr;
1378 class Callback_Registry_getSessionTimeout_Base :
public virtual ::IceInternal::CallbackBase { };
1379 typedef ::IceUtil::Handle< Callback_Registry_getSessionTimeout_Base> Callback_Registry_getSessionTimeoutPtr;
1386 class Callback_Registry_getACMTimeout_Base :
public virtual ::IceInternal::CallbackBase { };
1387 typedef ::IceUtil::Handle< Callback_Registry_getACMTimeout_Base> Callback_Registry_getACMTimeoutPtr;
1394 class Callback_Locator_getLocalRegistry_Base :
public virtual ::IceInternal::CallbackBase { };
1395 typedef ::IceUtil::Handle< Callback_Locator_getLocalRegistry_Base> Callback_Locator_getLocalRegistryPtr;
1402 class Callback_Locator_getLocalQuery_Base :
public virtual ::IceInternal::CallbackBase { };
1403 typedef ::IceUtil::Handle< Callback_Locator_getLocalQuery_Base> Callback_Locator_getLocalQueryPtr;
1413 class ICE_CLASS(ICEGRID_API) Query :
public virtual ::Ice::Proxy<Query, ::IceProxy::Ice::Object>
1425 return end_findObjectById(_iceI_begin_findObjectById(
id, context, ::IceInternal::dummyCallback, 0,
true));
1436 return _iceI_begin_findObjectById(
id, context, ::IceInternal::dummyCallback, 0);
1446 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity&
id, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1461 return _iceI_begin_findObjectById(
id, context, cb, cookie);
1471 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity&
id, const ::IceGrid::Callback_Query_findObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1486 return _iceI_begin_findObjectById(
id, context, cb, cookie);
1512 return end_findObjectByType(_iceI_begin_findObjectByType(type, context, ::IceInternal::dummyCallback, 0,
true));
1525 return _iceI_begin_findObjectByType(type, context, ::IceInternal::dummyCallback, 0);
1537 ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1554 return _iceI_begin_findObjectByType(type, context, cb, cookie);
1566 ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::IceGrid::Callback_Query_findObjectByTypePtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1583 return _iceI_begin_findObjectByType(type, context, cb, cookie);
1612 return end_findObjectByTypeOnLeastLoadedNode(_iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, ::IceInternal::dummyCallback, 0,
true));
1628 return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, ::IceInternal::dummyCallback, 0);
1645 return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, ::
Ice::noExplicitContext, cb, cookie);
1663 return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, cb, cookie);
1678 ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::
IceGrid::LoadSample sample, const ::IceGrid::Callback_Query_findObjectByTypeOnLeastLoadedNodePtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1680 return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, ::
Ice::noExplicitContext, cb, cookie);
1698 return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, cb, cookie);
1723 return end_findAllObjectsByType(_iceI_begin_findAllObjectsByType(type, context, ::IceInternal::dummyCallback, 0,
true));
1734 return _iceI_begin_findAllObjectsByType(type, context, ::IceInternal::dummyCallback, 0);
1744 ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1759 return _iceI_begin_findAllObjectsByType(type, context, cb, cookie);
1769 ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::IceGrid::Callback_Query_findAllObjectsByTypePtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1784 return _iceI_begin_findAllObjectsByType(type, context, cb, cookie);
1812 return end_findAllReplicas(_iceI_begin_findAllReplicas(proxy, context, ::IceInternal::dummyCallback, 0,
true));
1825 return _iceI_begin_findAllReplicas(proxy, context, ::IceInternal::dummyCallback, 0);
1837 ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1854 return _iceI_begin_findAllReplicas(proxy, context, cb, cookie);
1866 ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::IceGrid::Callback_Query_findAllReplicasPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1883 return _iceI_begin_findAllReplicas(proxy, context, cb, cookie);
1913 class ICE_CLASS(ICEGRID_API) Registry :
public virtual ::Ice::Proxy<Registry, ::IceProxy::Ice::Object>
1929 return end_createSession(_iceI_begin_createSession(userId, password, context, ::IceInternal::dummyCallback, 0,
true));
1941 return _iceI_begin_createSession(userId, password, context, ::IceInternal::dummyCallback, 0);
1952 ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1968 return _iceI_begin_createSession(userId, password, context, cb, cookie);
1979 ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::IceGrid::Callback_Registry_createSessionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1993 ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password,
const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createSessionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1995 return _iceI_begin_createSession(userId, password, context, cb, cookie);
2026 return end_createAdminSession(_iceI_begin_createAdminSession(userId, password, context, ::IceInternal::dummyCallback, 0,
true));
2038 return _iceI_begin_createAdminSession(userId, password, context, ::IceInternal::dummyCallback, 0);
2049 ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2065 return _iceI_begin_createAdminSession(userId, password, context, cb, cookie);
2076 ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::IceGrid::Callback_Registry_createAdminSessionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2090 ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password,
const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createAdminSessionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2092 return _iceI_begin_createAdminSession(userId, password, context, cb, cookie);
2121 return end_createSessionFromSecureConnection(_iceI_begin_createSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0,
true));
2131 return _iceI_begin_createSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0);
2140 ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2154 return _iceI_begin_createSessionFromSecureConnection(context, cb, cookie);
2163 ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createSessionFromSecureConnectionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2177 return _iceI_begin_createSessionFromSecureConnection(context, cb, cookie);
2206 return end_createAdminSessionFromSecureConnection(_iceI_begin_createAdminSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0,
true));
2216 return _iceI_begin_createAdminSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0);
2225 ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2239 return _iceI_begin_createAdminSessionFromSecureConnection(context, cb, cookie);
2248 ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createAdminSessionFromSecureConnectionPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2262 return _iceI_begin_createAdminSessionFromSecureConnection(context, cb, cookie);
2292 return end_getSessionTimeout(_iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0,
true));
2306 return _iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0);
2337 return _iceI_begin_getSessionTimeout(context, cb, cookie);
2350 ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::IceGrid::Callback_Registry_getSessionTimeoutPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2368 return _iceI_begin_getSessionTimeout(context, cb, cookie);
2395 return end_getACMTimeout(_iceI_begin_getACMTimeout(context, ::IceInternal::dummyCallback, 0,
true));
2409 return _iceI_begin_getACMTimeout(context, ::IceInternal::dummyCallback, 0);
2440 return _iceI_begin_getACMTimeout(context, cb, cookie);
2453 ::Ice::AsyncResultPtr begin_getACMTimeout(const ::IceGrid::Callback_Registry_getACMTimeoutPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2471 return _iceI_begin_getACMTimeout(context, cb, cookie);
2500 class ICE_CLASS(ICEGRID_API) Locator :
public virtual ::Ice::Proxy<Locator, ::IceProxy::Ice::Locator>
2512 return end_getLocalRegistry(_iceI_begin_getLocalRegistry(context, ::IceInternal::dummyCallback, 0,
true));
2523 return _iceI_begin_getLocalRegistry(context, ::IceInternal::dummyCallback, 0);
2548 return _iceI_begin_getLocalRegistry(context, cb, cookie);
2558 ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::IceGrid::Callback_Locator_getLocalRegistryPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2573 return _iceI_begin_getLocalRegistry(context, cb, cookie);
2597 return end_getLocalQuery(_iceI_begin_getLocalQuery(context, ::IceInternal::dummyCallback, 0,
true));
2608 return _iceI_begin_getLocalQuery(context, ::IceInternal::dummyCallback, 0);
2633 return _iceI_begin_getLocalQuery(context, cb, cookie);
2643 ::Ice::AsyncResultPtr begin_getLocalQuery(const ::IceGrid::Callback_Locator_getLocalQueryPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2658 return _iceI_begin_getLocalQuery(context, cb, cookie);
2703 typedef QueryPrx ProxyType;
2704 typedef QueryPtr PointerType;
2708 #ifdef ICE_CPP11_COMPILER
2710 Query(
const Query&) =
default;
2711 Query& operator=(
const Query&) =
default;
2720 virtual bool ice_isA(const ::std::string&
id, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2727 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2734 virtual const ::std::string& ice_id(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2740 static const ::std::string& ice_staticId();
2748 virtual ::Ice::ObjectPrx findObjectById(const ::Ice::Identity&
id, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const = 0;
2750 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2761 virtual ::Ice::ObjectPrx findObjectByType(const ::std::string& type, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const = 0;
2763 bool _iceD_findObjectByType(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2777 virtual ::Ice::ObjectPrx findObjectByTypeOnLeastLoadedNode(const ::std::string& type,
LoadSample sample, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const = 0;
2779 bool _iceD_findObjectByTypeOnLeastLoadedNode(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2791 bool _iceD_findAllObjectsByType(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2805 bool _iceD_findAllReplicas(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2809 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2821 inline bool operator==(
const Query& lhs,
const Query& rhs)
2826 inline bool operator<(
const Query& lhs,
const Query& rhs)
2843 typedef RegistryPrx ProxyType;
2844 typedef RegistryPtr PointerType;
2846 virtual ~Registry();
2848 #ifdef ICE_CPP11_COMPILER
2849 Registry() =
default;
2850 Registry(
const Registry&) =
default;
2851 Registry& operator=(
const Registry&) =
default;
2860 virtual bool ice_isA(const ::std::string&
id, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2867 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2874 virtual const ::std::string& ice_id(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
2880 static const ::std::string& ice_staticId();
2892 virtual SessionPrx createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
2894 bool _iceD_createSession(::IceInternal::Incoming&, const ::Ice::Current&);
2907 virtual AdminSessionPrx createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
2909 bool _iceD_createAdminSession(::IceInternal::Incoming&, const ::Ice::Current&);
2920 virtual SessionPrx createSessionFromSecureConnection(const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
2922 bool _iceD_createSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
2933 virtual AdminSessionPrx createAdminSessionFromSecureConnection(const ::Ice::Current& current = ::
Ice::emptyCurrent) = 0;
2935 bool _iceD_createAdminSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
2949 bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2963 bool _iceD_getACMTimeout(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2967 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2979 inline bool operator==(
const Registry& lhs,
const Registry& rhs)
2984 inline bool operator<(
const Registry& lhs,
const Registry& rhs)
3001 typedef LocatorPrx ProxyType;
3002 typedef LocatorPtr PointerType;
3006 #ifdef ICE_CPP11_COMPILER
3007 Locator() =
default;
3008 Locator(
const Locator&) =
default;
3009 Locator& operator=(
const Locator&) =
default;
3018 virtual bool ice_isA(const ::std::string&
id, const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
3025 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
3032 virtual const ::std::string& ice_id(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const;
3038 static const ::std::string& ice_staticId();
3046 virtual RegistryPrx getLocalRegistry(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const = 0;
3048 bool _iceD_getLocalRegistry(::IceInternal::Incoming&, const ::Ice::Current&)
const;
3057 virtual QueryPrx getLocalQuery(const ::Ice::Current& current = ::
Ice::emptyCurrent)
const = 0;
3059 bool _iceD_getLocalQuery(::IceInternal::Incoming&, const ::Ice::Current&)
const;
3063 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3075 inline bool operator==(
const Locator& lhs,
const Locator& rhs)
3080 inline bool operator<(
const Locator& lhs,
const Locator& rhs)
3095 static const StreamHelperCategory helper = StreamHelperCategoryEnum;
3096 static const int minValue = 0;
3097 static const int maxValue = 2;
3098 static const int minWireSize = 1;
3099 static const bool fixedLength =
false;
3114 class CallbackNC_Query_findObjectById :
public Callback_Query_findObjectById_Base,
public ::IceInternal::TwowayCallbackNC<T>
3121 typedef void (T::*Sent)(bool);
3122 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3124 CallbackNC_Query_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3125 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3130 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3136 ret = proxy->end_findObjectById(result);
3140 ::IceInternal::CallbackNC<T>::exception(result, ex);
3145 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3163 template<
class T> Callback_Query_findObjectByIdPtr
3166 return new CallbackNC_Query_findObjectById<T>(instance, cb, excb, sentcb);
3177 template<
class T> Callback_Query_findObjectByIdPtr
3178 newCallback_Query_findObjectById(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3180 return new CallbackNC_Query_findObjectById<T>(instance, cb, excb, sentcb);
3188 template<
class T,
typename CT>
3189 class Callback_Query_findObjectById :
public Callback_Query_findObjectById_Base,
public ::IceInternal::TwowayCallback<T, CT>
3196 typedef void (T::*Sent)(bool ,
const CT&);
3197 typedef void (T::*Response)(const ::Ice::ObjectPrx&,
const CT&);
3199 Callback_Query_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3200 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3205 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3211 ret = proxy->end_findObjectById(result);
3215 ::IceInternal::Callback<T, CT>::exception(result, ex);
3220 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3239 template<
class T,
typename CT> Callback_Query_findObjectByIdPtr
3240 newCallback_Query_findObjectById(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3242 return new Callback_Query_findObjectById<T, CT>(instance, cb, excb, sentcb);
3254 template<
class T,
typename CT> Callback_Query_findObjectByIdPtr
3255 newCallback_Query_findObjectById(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3257 return new Callback_Query_findObjectById<T, CT>(instance, cb, excb, sentcb);
3266 class CallbackNC_Query_findObjectByType :
public Callback_Query_findObjectByType_Base,
public ::IceInternal::TwowayCallbackNC<T>
3273 typedef void (T::*Sent)(bool);
3274 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3276 CallbackNC_Query_findObjectByType(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3277 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3282 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3288 ret = proxy->end_findObjectByType(result);
3292 ::IceInternal::CallbackNC<T>::exception(result, ex);
3297 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3315 template<
class T> Callback_Query_findObjectByTypePtr
3318 return new CallbackNC_Query_findObjectByType<T>(instance, cb, excb, sentcb);
3329 template<
class T> Callback_Query_findObjectByTypePtr
3330 newCallback_Query_findObjectByType(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3332 return new CallbackNC_Query_findObjectByType<T>(instance, cb, excb, sentcb);
3340 template<
class T,
typename CT>
3341 class Callback_Query_findObjectByType :
public Callback_Query_findObjectByType_Base,
public ::IceInternal::TwowayCallback<T, CT>
3348 typedef void (T::*Sent)(bool ,
const CT&);
3349 typedef void (T::*Response)(const ::Ice::ObjectPrx&,
const CT&);
3351 Callback_Query_findObjectByType(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3352 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3357 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3363 ret = proxy->end_findObjectByType(result);
3367 ::IceInternal::Callback<T, CT>::exception(result, ex);
3372 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3391 template<
class T,
typename CT> Callback_Query_findObjectByTypePtr
3392 newCallback_Query_findObjectByType(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3394 return new Callback_Query_findObjectByType<T, CT>(instance, cb, excb, sentcb);
3406 template<
class T,
typename CT> Callback_Query_findObjectByTypePtr
3407 newCallback_Query_findObjectByType(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3409 return new Callback_Query_findObjectByType<T, CT>(instance, cb, excb, sentcb);
3418 class CallbackNC_Query_findObjectByTypeOnLeastLoadedNode :
public Callback_Query_findObjectByTypeOnLeastLoadedNode_Base,
public ::IceInternal::TwowayCallbackNC<T>
3425 typedef void (T::*Sent)(bool);
3426 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3428 CallbackNC_Query_findObjectByTypeOnLeastLoadedNode(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3429 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3434 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3440 ret = proxy->end_findObjectByTypeOnLeastLoadedNode(result);
3444 ::IceInternal::CallbackNC<T>::exception(result, ex);
3449 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3467 template<
class T> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3468 newCallback_Query_findObjectByTypeOnLeastLoadedNode(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3470 return new CallbackNC_Query_findObjectByTypeOnLeastLoadedNode<T>(instance, cb, excb, sentcb);
3481 template<
class T> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3482 newCallback_Query_findObjectByTypeOnLeastLoadedNode(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3484 return new CallbackNC_Query_findObjectByTypeOnLeastLoadedNode<T>(instance, cb, excb, sentcb);
3492 template<
class T,
typename CT>
3493 class Callback_Query_findObjectByTypeOnLeastLoadedNode :
public Callback_Query_findObjectByTypeOnLeastLoadedNode_Base,
public ::IceInternal::TwowayCallback<T, CT>
3500 typedef void (T::*Sent)(bool ,
const CT&);
3501 typedef void (T::*Response)(const ::Ice::ObjectPrx&,
const CT&);
3503 Callback_Query_findObjectByTypeOnLeastLoadedNode(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3504 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3509 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3515 ret = proxy->end_findObjectByTypeOnLeastLoadedNode(result);
3519 ::IceInternal::Callback<T, CT>::exception(result, ex);
3524 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3543 template<
class T,
typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3544 newCallback_Query_findObjectByTypeOnLeastLoadedNode(
const IceUtil::Handle<T>& instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3546 return new Callback_Query_findObjectByTypeOnLeastLoadedNode<T, CT>(instance, cb, excb, sentcb);
3558 template<
class T,
typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3559 newCallback_Query_findObjectByTypeOnLeastLoadedNode(T* instance,
void (T::*cb)(const ::Ice::ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3561 return new Callback_Query_findObjectByTypeOnLeastLoadedNode<T, CT>(instance, cb, excb, sentcb);
3570 class CallbackNC_Query_findAllObjectsByType :
public Callback_Query_findAllObjectsByType_Base,
public ::IceInternal::TwowayCallbackNC<T>
3577 typedef void (T::*Sent)(bool);
3580 CallbackNC_Query_findAllObjectsByType(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3581 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3586 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3592 ret = proxy->end_findAllObjectsByType(result);
3596 ::IceInternal::CallbackNC<T>::exception(result, ex);
3601 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3619 template<
class T> Callback_Query_findAllObjectsByTypePtr
3622 return new CallbackNC_Query_findAllObjectsByType<T>(instance, cb, excb, sentcb);
3633 template<
class T> Callback_Query_findAllObjectsByTypePtr
3636 return new CallbackNC_Query_findAllObjectsByType<T>(instance, cb, excb, sentcb);
3644 template<
class T,
typename CT>
3645 class Callback_Query_findAllObjectsByType :
public Callback_Query_findAllObjectsByType_Base,
public ::IceInternal::TwowayCallback<T, CT>
3652 typedef void (T::*Sent)(bool ,
const CT&);
3655 Callback_Query_findAllObjectsByType(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3656 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3661 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3667 ret = proxy->end_findAllObjectsByType(result);
3671 ::IceInternal::Callback<T, CT>::exception(result, ex);
3676 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3695 template<
class T,
typename CT> Callback_Query_findAllObjectsByTypePtr
3698 return new Callback_Query_findAllObjectsByType<T, CT>(instance, cb, excb, sentcb);
3710 template<
class T,
typename CT> Callback_Query_findAllObjectsByTypePtr
3713 return new Callback_Query_findAllObjectsByType<T, CT>(instance, cb, excb, sentcb);
3722 class CallbackNC_Query_findAllReplicas :
public Callback_Query_findAllReplicas_Base,
public ::IceInternal::TwowayCallbackNC<T>
3729 typedef void (T::*Sent)(bool);
3732 CallbackNC_Query_findAllReplicas(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3733 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3738 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3744 ret = proxy->end_findAllReplicas(result);
3748 ::IceInternal::CallbackNC<T>::exception(result, ex);
3753 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3771 template<
class T> Callback_Query_findAllReplicasPtr
3774 return new CallbackNC_Query_findAllReplicas<T>(instance, cb, excb, sentcb);
3785 template<
class T> Callback_Query_findAllReplicasPtr
3788 return new CallbackNC_Query_findAllReplicas<T>(instance, cb, excb, sentcb);
3796 template<
class T,
typename CT>
3797 class Callback_Query_findAllReplicas :
public Callback_Query_findAllReplicas_Base,
public ::IceInternal::TwowayCallback<T, CT>
3804 typedef void (T::*Sent)(bool ,
const CT&);
3807 Callback_Query_findAllReplicas(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3808 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3813 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3819 ret = proxy->end_findAllReplicas(result);
3823 ::IceInternal::Callback<T, CT>::exception(result, ex);
3828 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3847 template<
class T,
typename CT> Callback_Query_findAllReplicasPtr
3850 return new Callback_Query_findAllReplicas<T, CT>(instance, cb, excb, sentcb);
3862 template<
class T,
typename CT> Callback_Query_findAllReplicasPtr
3865 return new Callback_Query_findAllReplicas<T, CT>(instance, cb, excb, sentcb);
3874 class CallbackNC_Registry_createSession :
public Callback_Registry_createSession_Base,
public ::IceInternal::TwowayCallbackNC<T>
3881 typedef void (T::*Sent)(bool);
3882 typedef void (T::*Response)(
const SessionPrx&);
3884 CallbackNC_Registry_createSession(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3885 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3890 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3896 ret = proxy->end_createSession(result);
3900 ::IceInternal::CallbackNC<T>::exception(result, ex);
3905 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3923 template<
class T> Callback_Registry_createSessionPtr
3926 return new CallbackNC_Registry_createSession<T>(instance, cb, excb, sentcb);
3937 template<
class T> Callback_Registry_createSessionPtr
3938 newCallback_Registry_createSession(T* instance,
void (T::*cb)(
const SessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3940 return new CallbackNC_Registry_createSession<T>(instance, cb, excb, sentcb);
3948 template<
class T,
typename CT>
3949 class Callback_Registry_createSession :
public Callback_Registry_createSession_Base,
public ::IceInternal::TwowayCallback<T, CT>
3956 typedef void (T::*Sent)(bool ,
const CT&);
3957 typedef void (T::*Response)(
const SessionPrx&,
const CT&);
3959 Callback_Registry_createSession(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3960 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3965 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3971 ret = proxy->end_createSession(result);
3975 ::IceInternal::Callback<T, CT>::exception(result, ex);
3980 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3999 template<
class T,
typename CT> Callback_Registry_createSessionPtr
4000 newCallback_Registry_createSession(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const SessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4002 return new Callback_Registry_createSession<T, CT>(instance, cb, excb, sentcb);
4014 template<
class T,
typename CT> Callback_Registry_createSessionPtr
4015 newCallback_Registry_createSession(T* instance,
void (T::*cb)(
const SessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4017 return new Callback_Registry_createSession<T, CT>(instance, cb, excb, sentcb);
4026 class CallbackNC_Registry_createAdminSession :
public Callback_Registry_createAdminSession_Base,
public ::IceInternal::TwowayCallbackNC<T>
4033 typedef void (T::*Sent)(bool);
4034 typedef void (T::*Response)(
const AdminSessionPrx&);
4036 CallbackNC_Registry_createAdminSession(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4037 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4042 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4045 AdminSessionPrx ret;
4048 ret = proxy->end_createAdminSession(result);
4052 ::IceInternal::CallbackNC<T>::exception(result, ex);
4057 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4075 template<
class T> Callback_Registry_createAdminSessionPtr
4078 return new CallbackNC_Registry_createAdminSession<T>(instance, cb, excb, sentcb);
4089 template<
class T> Callback_Registry_createAdminSessionPtr
4090 newCallback_Registry_createAdminSession(T* instance,
void (T::*cb)(
const AdminSessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4092 return new CallbackNC_Registry_createAdminSession<T>(instance, cb, excb, sentcb);
4100 template<
class T,
typename CT>
4101 class Callback_Registry_createAdminSession :
public Callback_Registry_createAdminSession_Base,
public ::IceInternal::TwowayCallback<T, CT>
4108 typedef void (T::*Sent)(bool ,
const CT&);
4109 typedef void (T::*Response)(
const AdminSessionPrx&,
const CT&);
4111 Callback_Registry_createAdminSession(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4112 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4117 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4120 AdminSessionPrx ret;
4123 ret = proxy->end_createAdminSession(result);
4127 ::IceInternal::Callback<T, CT>::exception(result, ex);
4132 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4151 template<
class T,
typename CT> Callback_Registry_createAdminSessionPtr
4152 newCallback_Registry_createAdminSession(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const AdminSessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4154 return new Callback_Registry_createAdminSession<T, CT>(instance, cb, excb, sentcb);
4166 template<
class T,
typename CT> Callback_Registry_createAdminSessionPtr
4167 newCallback_Registry_createAdminSession(T* instance,
void (T::*cb)(
const AdminSessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4169 return new Callback_Registry_createAdminSession<T, CT>(instance, cb, excb, sentcb);
4178 class CallbackNC_Registry_createSessionFromSecureConnection :
public Callback_Registry_createSessionFromSecureConnection_Base,
public ::IceInternal::TwowayCallbackNC<T>
4185 typedef void (T::*Sent)(bool);
4186 typedef void (T::*Response)(
const SessionPrx&);
4188 CallbackNC_Registry_createSessionFromSecureConnection(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4189 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4194 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4200 ret = proxy->end_createSessionFromSecureConnection(result);
4204 ::IceInternal::CallbackNC<T>::exception(result, ex);
4209 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4227 template<
class T> Callback_Registry_createSessionFromSecureConnectionPtr
4228 newCallback_Registry_createSessionFromSecureConnection(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const SessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4230 return new CallbackNC_Registry_createSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4241 template<
class T> Callback_Registry_createSessionFromSecureConnectionPtr
4242 newCallback_Registry_createSessionFromSecureConnection(T* instance,
void (T::*cb)(
const SessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4244 return new CallbackNC_Registry_createSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4252 template<
class T,
typename CT>
4253 class Callback_Registry_createSessionFromSecureConnection :
public Callback_Registry_createSessionFromSecureConnection_Base,
public ::IceInternal::TwowayCallback<T, CT>
4260 typedef void (T::*Sent)(bool ,
const CT&);
4261 typedef void (T::*Response)(
const SessionPrx&,
const CT&);
4263 Callback_Registry_createSessionFromSecureConnection(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4264 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4269 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4275 ret = proxy->end_createSessionFromSecureConnection(result);
4279 ::IceInternal::Callback<T, CT>::exception(result, ex);
4284 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4303 template<
class T,
typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4304 newCallback_Registry_createSessionFromSecureConnection(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const SessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4306 return new Callback_Registry_createSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4318 template<
class T,
typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4319 newCallback_Registry_createSessionFromSecureConnection(T* instance,
void (T::*cb)(
const SessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4321 return new Callback_Registry_createSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4330 class CallbackNC_Registry_createAdminSessionFromSecureConnection :
public Callback_Registry_createAdminSessionFromSecureConnection_Base,
public ::IceInternal::TwowayCallbackNC<T>
4337 typedef void (T::*Sent)(bool);
4338 typedef void (T::*Response)(
const AdminSessionPrx&);
4340 CallbackNC_Registry_createAdminSessionFromSecureConnection(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4341 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4346 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4349 AdminSessionPrx ret;
4352 ret = proxy->end_createAdminSessionFromSecureConnection(result);
4356 ::IceInternal::CallbackNC<T>::exception(result, ex);
4361 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4379 template<
class T> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4380 newCallback_Registry_createAdminSessionFromSecureConnection(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const AdminSessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4382 return new CallbackNC_Registry_createAdminSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4393 template<
class T> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4394 newCallback_Registry_createAdminSessionFromSecureConnection(T* instance,
void (T::*cb)(
const AdminSessionPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4396 return new CallbackNC_Registry_createAdminSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4404 template<
class T,
typename CT>
4405 class Callback_Registry_createAdminSessionFromSecureConnection :
public Callback_Registry_createAdminSessionFromSecureConnection_Base,
public ::IceInternal::TwowayCallback<T, CT>
4412 typedef void (T::*Sent)(bool ,
const CT&);
4413 typedef void (T::*Response)(
const AdminSessionPrx&,
const CT&);
4415 Callback_Registry_createAdminSessionFromSecureConnection(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4416 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4421 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4424 AdminSessionPrx ret;
4427 ret = proxy->end_createAdminSessionFromSecureConnection(result);
4431 ::IceInternal::Callback<T, CT>::exception(result, ex);
4436 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4455 template<
class T,
typename CT> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4456 newCallback_Registry_createAdminSessionFromSecureConnection(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const AdminSessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4458 return new Callback_Registry_createAdminSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4470 template<
class T,
typename CT> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4471 newCallback_Registry_createAdminSessionFromSecureConnection(T* instance,
void (T::*cb)(
const AdminSessionPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4473 return new Callback_Registry_createAdminSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4482 class CallbackNC_Registry_getSessionTimeout :
public Callback_Registry_getSessionTimeout_Base,
public ::IceInternal::TwowayCallbackNC<T>
4489 typedef void (T::*Sent)(bool);
4492 CallbackNC_Registry_getSessionTimeout(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4493 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4498 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4504 ret = proxy->end_getSessionTimeout(result);
4508 ::IceInternal::CallbackNC<T>::exception(result, ex);
4513 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4531 template<
class T> Callback_Registry_getSessionTimeoutPtr
4534 return new CallbackNC_Registry_getSessionTimeout<T>(instance, cb, excb, sentcb);
4545 template<
class T> Callback_Registry_getSessionTimeoutPtr
4546 newCallback_Registry_getSessionTimeout(T* instance,
void (T::*cb)(::
Ice::Int),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4548 return new CallbackNC_Registry_getSessionTimeout<T>(instance, cb, excb, sentcb);
4556 template<
class T,
typename CT>
4557 class Callback_Registry_getSessionTimeout :
public Callback_Registry_getSessionTimeout_Base,
public ::IceInternal::TwowayCallback<T, CT>
4564 typedef void (T::*Sent)(bool ,
const CT&);
4565 typedef void (T::*Response)(
::Ice::Int,
const CT&);
4567 Callback_Registry_getSessionTimeout(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4568 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4573 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4579 ret = proxy->end_getSessionTimeout(result);
4583 ::IceInternal::Callback<T, CT>::exception(result, ex);
4588 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4607 template<
class T,
typename CT> Callback_Registry_getSessionTimeoutPtr
4610 return new Callback_Registry_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
4622 template<
class T,
typename CT> Callback_Registry_getSessionTimeoutPtr
4623 newCallback_Registry_getSessionTimeout(T* instance,
void (T::*cb)(::
Ice::Int,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4625 return new Callback_Registry_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
4634 class CallbackNC_Registry_getACMTimeout :
public Callback_Registry_getACMTimeout_Base,
public ::IceInternal::TwowayCallbackNC<T>
4641 typedef void (T::*Sent)(bool);
4644 CallbackNC_Registry_getACMTimeout(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4645 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4650 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4656 ret = proxy->end_getACMTimeout(result);
4660 ::IceInternal::CallbackNC<T>::exception(result, ex);
4665 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4683 template<
class T> Callback_Registry_getACMTimeoutPtr
4686 return new CallbackNC_Registry_getACMTimeout<T>(instance, cb, excb, sentcb);
4697 template<
class T> Callback_Registry_getACMTimeoutPtr
4698 newCallback_Registry_getACMTimeout(T* instance,
void (T::*cb)(::
Ice::Int),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4700 return new CallbackNC_Registry_getACMTimeout<T>(instance, cb, excb, sentcb);
4708 template<
class T,
typename CT>
4709 class Callback_Registry_getACMTimeout :
public Callback_Registry_getACMTimeout_Base,
public ::IceInternal::TwowayCallback<T, CT>
4716 typedef void (T::*Sent)(bool ,
const CT&);
4717 typedef void (T::*Response)(
::Ice::Int,
const CT&);
4719 Callback_Registry_getACMTimeout(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4720 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4725 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4731 ret = proxy->end_getACMTimeout(result);
4735 ::IceInternal::Callback<T, CT>::exception(result, ex);
4740 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4759 template<
class T,
typename CT> Callback_Registry_getACMTimeoutPtr
4762 return new Callback_Registry_getACMTimeout<T, CT>(instance, cb, excb, sentcb);
4774 template<
class T,
typename CT> Callback_Registry_getACMTimeoutPtr
4775 newCallback_Registry_getACMTimeout(T* instance,
void (T::*cb)(::
Ice::Int,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4777 return new Callback_Registry_getACMTimeout<T, CT>(instance, cb, excb, sentcb);
4786 class CallbackNC_Locator_getLocalRegistry :
public Callback_Locator_getLocalRegistry_Base,
public ::IceInternal::TwowayCallbackNC<T>
4793 typedef void (T::*Sent)(bool);
4794 typedef void (T::*Response)(
const RegistryPrx&);
4796 CallbackNC_Locator_getLocalRegistry(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4797 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4802 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4808 ret = proxy->end_getLocalRegistry(result);
4812 ::IceInternal::CallbackNC<T>::exception(result, ex);
4817 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4835 template<
class T> Callback_Locator_getLocalRegistryPtr
4838 return new CallbackNC_Locator_getLocalRegistry<T>(instance, cb, excb, sentcb);
4849 template<
class T> Callback_Locator_getLocalRegistryPtr
4850 newCallback_Locator_getLocalRegistry(T* instance,
void (T::*cb)(
const RegistryPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
4852 return new CallbackNC_Locator_getLocalRegistry<T>(instance, cb, excb, sentcb);
4860 template<
class T,
typename CT>
4861 class Callback_Locator_getLocalRegistry :
public Callback_Locator_getLocalRegistry_Base,
public ::IceInternal::TwowayCallback<T, CT>
4868 typedef void (T::*Sent)(bool ,
const CT&);
4869 typedef void (T::*Response)(
const RegistryPrx&,
const CT&);
4871 Callback_Locator_getLocalRegistry(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4872 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4877 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4883 ret = proxy->end_getLocalRegistry(result);
4887 ::IceInternal::Callback<T, CT>::exception(result, ex);
4892 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4911 template<
class T,
typename CT> Callback_Locator_getLocalRegistryPtr
4912 newCallback_Locator_getLocalRegistry(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const RegistryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4914 return new Callback_Locator_getLocalRegistry<T, CT>(instance, cb, excb, sentcb);
4926 template<
class T,
typename CT> Callback_Locator_getLocalRegistryPtr
4927 newCallback_Locator_getLocalRegistry(T* instance,
void (T::*cb)(
const RegistryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
4929 return new Callback_Locator_getLocalRegistry<T, CT>(instance, cb, excb, sentcb);
4938 class CallbackNC_Locator_getLocalQuery :
public Callback_Locator_getLocalQuery_Base,
public ::IceInternal::TwowayCallbackNC<T>
4945 typedef void (T::*Sent)(bool);
4946 typedef void (T::*Response)(
const QueryPrx&);
4948 CallbackNC_Locator_getLocalQuery(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
4949 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4954 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4960 ret = proxy->end_getLocalQuery(result);
4964 ::IceInternal::CallbackNC<T>::exception(result, ex);
4969 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4987 template<
class T> Callback_Locator_getLocalQueryPtr
4990 return new CallbackNC_Locator_getLocalQuery<T>(instance, cb, excb, sentcb);
5001 template<
class T> Callback_Locator_getLocalQueryPtr
5002 newCallback_Locator_getLocalQuery(T* instance,
void (T::*cb)(
const QueryPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
5004 return new CallbackNC_Locator_getLocalQuery<T>(instance, cb, excb, sentcb);
5012 template<
class T,
typename CT>
5013 class Callback_Locator_getLocalQuery :
public Callback_Locator_getLocalQuery_Base,
public ::IceInternal::TwowayCallback<T, CT>
5020 typedef void (T::*Sent)(bool ,
const CT&);
5021 typedef void (T::*Response)(
const QueryPrx&,
const CT&);
5023 Callback_Locator_getLocalQuery(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
5024 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5029 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
5035 ret = proxy->end_getLocalQuery(result);
5039 ::IceInternal::Callback<T, CT>::exception(result, ex);
5044 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5063 template<
class T,
typename CT> Callback_Locator_getLocalQueryPtr
5064 newCallback_Locator_getLocalQuery(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const QueryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
5066 return new Callback_Locator_getLocalQuery<T, CT>(instance, cb, excb, sentcb);
5078 template<
class T,
typename CT> Callback_Locator_getLocalQueryPtr
5079 newCallback_Locator_getLocalQuery(T* instance,
void (T::*cb)(
const QueryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
5081 return new Callback_Locator_getLocalQuery<T, CT>(instance, cb, excb, sentcb);