16 #ifndef __Ice_Locator_h__
17 #define __Ice_Locator_h__
41 #ifndef ICE_IGNORE_VERSION
42 # if ICE_INT_VERSION / 100 != 307
43 # error Ice version mismatch!
45 # if ICE_INT_VERSION % 100 >= 50
46 # error Beta header file detected
48 # if ICE_INT_VERSION % 100 < 10
49 # error Ice patch level mismatch!
54 # if defined(ICE_STATIC_LIBS)
56 # elif defined(ICE_API_EXPORTS)
57 # define ICE_API ICE_DECLSPEC_EXPORT
59 # define ICE_API ICE_DECLSPEC_IMPORT
63 #ifdef ICE_CPP11_MAPPING // C++11 mapping
68 class LocatorRegistry;
69 class LocatorRegistryPrx;
73 class LocatorFinderPrx;
271 virtual ::std::vector<::std::string>
ice_ids(
const Current& current)
const override;
297 virtual void findObjectByIdAsync(
Identity id, ::std::function<
void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<
void(::std::exception_ptr)> exception,
const Current& current)
const = 0;
299 bool _iceD_findObjectById(::IceInternal::Incoming&,
const Current&)
const;
312 virtual void findAdapterByIdAsync(::std::string
id, ::std::function<
void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<
void(::std::exception_ptr)> exception,
const Current& current)
const = 0;
314 bool _iceD_findAdapterById(::IceInternal::Incoming&,
const Current&)
const;
324 bool _iceD_getRegistry(::IceInternal::Incoming&,
const Current&)
const;
328 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&)
override;
361 virtual ::std::vector<::std::string>
ice_ids(
const Current& current)
const override;
392 virtual void setAdapterDirectProxyAsync(::std::string
id, ::std::shared_ptr<ObjectPrx> proxy, ::std::function<
void()> response, ::std::function<
void(::std::exception_ptr)> exception,
const Current& current) = 0;
394 bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&,
const Current&);
417 virtual void setReplicatedAdapterDirectProxyAsync(::std::string adapterId, ::std::string replicaGroupId, ::std::shared_ptr<ObjectPrx> p, ::std::function<
void()> response, ::std::function<
void(::std::exception_ptr)> exception,
const Current& current) = 0;
419 bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&,
const Current&);
432 virtual void setServerProcessProxyAsync(::std::string
id, ::std::shared_ptr<ProcessPrx> proxy, ::std::function<
void()> response, ::std::function<
void(::std::exception_ptr)> exception,
const Current& current) = 0;
434 bool _iceD_setServerProcessProxy(::IceInternal::Incoming&,
const Current&);
438 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&)
override;
469 virtual ::std::vector<::std::string>
ice_ids(
const Current& current)
const override;
492 bool _iceD_getLocator(::IceInternal::Incoming&,
const Current&);
496 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&)
override;
532 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(
true,
this, &LocatorPrx::_iceI_findObjectById, id, context).get();
543 template<
template<
typename>
class P = ::std::promise>
545 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
547 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(
false,
this, &LocatorPrx::_iceI_findObjectById, id, context);
561 ::std::function<void()>
563 ::std::function<
void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
564 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
565 ::std::function<
void(
bool)> sent =
nullptr,
568 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorPrx::_iceI_findObjectById, id, context);
572 ICE_MEMBER(
ICE_API)
void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&,
const Identity&,
const Context&);
586 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(
true,
this, &LocatorPrx::_iceI_findAdapterById, id, context).get();
596 template<
template<
typename>
class P = ::std::promise>
598 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
600 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(
false,
this, &LocatorPrx::_iceI_findAdapterById, id, context);
613 ::std::function<void()>
615 ::std::function<
void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
616 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
617 ::std::function<
void(
bool)> sent =
nullptr,
620 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorPrx::_iceI_findAdapterById, id, context);
624 ICE_MEMBER(
ICE_API)
void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&,
const Context&);
634 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(
true,
this, &LocatorPrx::_iceI_getRegistry, context).get();
642 template<
template<
typename>
class P = ::std::promise>
644 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>().get_future())
646 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>, P>(
false,
this, &LocatorPrx::_iceI_getRegistry, context);
657 ::std::function<void()>
658 getRegistryAsync(::std::function<
void(::std::shared_ptr<::Ice::LocatorRegistryPrx>)> response,
659 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
660 ::std::function<
void(
bool)> sent =
nullptr,
663 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorPrx::_iceI_getRegistry, context);
667 ICE_MEMBER(
ICE_API)
void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>&,
const Context&);
680 friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
682 ICE_MEMBER(
ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance()
const override;
716 _makePromiseOutgoing<void>(
true,
this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy,
id, proxy, context).get();
728 template<
template<
typename>
class P = ::std::promise>
730 -> decltype(::std::declval<P<void>>().get_future())
732 return _makePromiseOutgoing<void, P>(
false,
this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy,
id, proxy, context);
747 ::std::function<void()>
749 ::std::function<
void()> response,
750 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
751 ::std::function<
void(
bool)> sent =
nullptr,
754 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy,
id, proxy, context);
758 ICE_MEMBER(
ICE_API)
void _iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&,
const Context&);
781 _makePromiseOutgoing<void>(
true,
this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context).get();
794 template<
template<
typename>
class P = ::std::promise>
796 -> decltype(::std::declval<P<void>>().get_future())
798 return _makePromiseOutgoing<void, P>(
false,
this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
814 ::std::function<void()>
816 ::std::function<
void()> response,
817 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
818 ::std::function<
void(
bool)> sent =
nullptr,
821 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
825 ICE_MEMBER(
ICE_API)
void _iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&,
const Context&);
838 _makePromiseOutgoing<void>(
true,
this, &LocatorRegistryPrx::_iceI_setServerProcessProxy,
id, proxy, context).get();
848 template<
template<
typename>
class P = ::std::promise>
850 -> decltype(::std::declval<P<void>>().get_future())
852 return _makePromiseOutgoing<void, P>(
false,
this, &LocatorRegistryPrx::_iceI_setServerProcessProxy,
id, proxy, context);
865 ::std::function<void()>
867 ::std::function<
void()> response,
868 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
869 ::std::function<
void(
bool)> sent =
nullptr,
872 return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy,
id, proxy, context);
876 ICE_MEMBER(
ICE_API)
void _iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ProcessPrx>&,
const Context&);
889 friend ::std::shared_ptr<LocatorRegistryPrx> IceInternal::createProxy<LocatorRegistryPrx>();
891 ICE_MEMBER(
ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance()
const override;
915 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(
true,
this, &LocatorFinderPrx::_iceI_getLocator, context).get();
924 template<
template<
typename>
class P = ::std::promise>
926 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorPrx>>>().get_future())
928 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>, P>(
false,
this, &LocatorFinderPrx::_iceI_getLocator, context);
940 ::std::function<void()>
942 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
943 ::std::function<
void(
bool)> sent =
nullptr,
946 return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(std::move(response), std::move(ex), std::move(sent),
this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
950 ICE_MEMBER(
ICE_API)
void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>&,
const Context&);
963 friend ::std::shared_ptr<LocatorFinderPrx> IceInternal::createProxy<LocatorFinderPrx>();
965 ICE_MEMBER(
ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance()
const override;
982 using LocatorRegistryPtr = ::std::shared_ptr<LocatorRegistry>;
983 using LocatorRegistryPrxPtr = ::std::shared_ptr<LocatorRegistryPrx>;
985 using LocatorPtr = ::std::shared_ptr<Locator>;
986 using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
988 using LocatorFinderPtr = ::std::shared_ptr<LocatorFinder>;
989 using LocatorFinderPrxPtr = ::std::shared_ptr<LocatorFinderPrx>;
994 #else // C++98 mapping
1002 class LocatorRegistry;
1005 ICE_API ::IceProxy::Ice::Object*
upCast(LocatorRegistry*);
1011 ICE_API ::IceProxy::Ice::Object*
upCast(Locator*);
1014 class LocatorFinder;
1017 ICE_API ::IceProxy::Ice::Object*
upCast(LocatorFinder*);
1027 class LocatorRegistry;
1031 typedef ::IceInternal::Handle< LocatorRegistry> LocatorRegistryPtr;
1032 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
1033 typedef LocatorRegistryPrx LocatorRegistryPrxPtr;
1035 ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&,
const ObjectPtr&);
1042 typedef ::IceInternal::Handle< Locator> LocatorPtr;
1043 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
1044 typedef LocatorPrx LocatorPrxPtr;
1046 ICE_API void _icePatchObjectPtr(LocatorPtr&,
const ObjectPtr&);
1049 class LocatorFinder;
1053 typedef ::IceInternal::Handle< LocatorFinder> LocatorFinderPtr;
1054 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder> LocatorFinderPrx;
1055 typedef LocatorFinderPrx LocatorFinderPrxPtr;
1057 ICE_API void _icePatchObjectPtr(LocatorFinderPtr&,
const ObjectPtr&);
1069 class ICE_API AdapterNotFoundException :
public UserException
1073 AdapterNotFoundException() {}
1075 #ifdef ICE_CPP11_COMPILER
1076 AdapterNotFoundException(
const AdapterNotFoundException&) =
default;
1077 virtual ~AdapterNotFoundException();
1079 virtual ~AdapterNotFoundException() throw();
1086 virtual ::std::string ice_id()
const;
1091 virtual AdapterNotFoundException* ice_clone()
const;
1095 virtual void ice_throw()
const;
1100 virtual void _writeImpl(OutputStream*)
const;
1101 virtual void _readImpl(InputStream*);
1106 static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
1114 class ICE_API InvalidReplicaGroupIdException :
public UserException
1118 InvalidReplicaGroupIdException() {}
1120 #ifdef ICE_CPP11_COMPILER
1121 InvalidReplicaGroupIdException(
const InvalidReplicaGroupIdException&) =
default;
1122 virtual ~InvalidReplicaGroupIdException();
1124 virtual ~InvalidReplicaGroupIdException() throw();
1131 virtual ::std::string ice_id()
const;
1136 virtual InvalidReplicaGroupIdException* ice_clone()
const;
1140 virtual void ice_throw()
const;
1145 virtual void _writeImpl(OutputStream*)
const;
1146 virtual void _readImpl(InputStream*);
1155 class ICE_API AdapterAlreadyActiveException :
public UserException
1159 AdapterAlreadyActiveException() {}
1161 #ifdef ICE_CPP11_COMPILER
1162 AdapterAlreadyActiveException(
const AdapterAlreadyActiveException&) =
default;
1163 virtual ~AdapterAlreadyActiveException();
1165 virtual ~AdapterAlreadyActiveException() throw();
1172 virtual ::std::string ice_id()
const;
1177 virtual AdapterAlreadyActiveException* ice_clone()
const;
1181 virtual void ice_throw()
const;
1186 virtual void _writeImpl(OutputStream*)
const;
1187 virtual void _readImpl(InputStream*);
1195 class ICE_API ObjectNotFoundException :
public UserException
1199 ObjectNotFoundException() {}
1201 #ifdef ICE_CPP11_COMPILER
1202 ObjectNotFoundException(
const ObjectNotFoundException&) =
default;
1203 virtual ~ObjectNotFoundException();
1205 virtual ~ObjectNotFoundException() throw();
1212 virtual ::std::string ice_id()
const;
1217 virtual ObjectNotFoundException* ice_clone()
const;
1221 virtual void ice_throw()
const;
1226 virtual void _writeImpl(OutputStream*)
const;
1227 virtual void _readImpl(InputStream*);
1235 class ICE_API ServerNotFoundException :
public UserException
1239 ServerNotFoundException() {}
1241 #ifdef ICE_CPP11_COMPILER
1242 ServerNotFoundException(
const ServerNotFoundException&) =
default;
1243 virtual ~ServerNotFoundException();
1245 virtual ~ServerNotFoundException() throw();
1252 virtual ::std::string ice_id()
const;
1257 virtual ServerNotFoundException* ice_clone()
const;
1261 virtual void ice_throw()
const;
1266 virtual void _writeImpl(OutputStream*)
const;
1267 virtual void _readImpl(InputStream*);
1281 class ICE_API AMD_Locator_findObjectById :
public virtual AMDCallback
1285 virtual ~AMD_Locator_findObjectById();
1291 virtual void ice_response(
const ObjectPrx& result) = 0;
1294 typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findObjectById> AMD_Locator_findObjectByIdPtr;
1301 class ICE_API AMD_Locator_findAdapterById :
public virtual AMDCallback
1305 virtual ~AMD_Locator_findAdapterById();
1311 virtual void ice_response(
const ObjectPrx& result) = 0;
1314 typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findAdapterById> AMD_Locator_findAdapterByIdPtr;
1321 class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy :
public virtual AMDCallback
1325 virtual ~AMD_LocatorRegistry_setAdapterDirectProxy();
1330 virtual void ice_response() = 0;
1333 typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy> AMD_LocatorRegistry_setAdapterDirectProxyPtr;
1340 class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy :
public virtual AMDCallback
1344 virtual ~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy();
1349 virtual void ice_response() = 0;
1352 typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy> AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
1359 class ICE_API AMD_LocatorRegistry_setServerProcessProxy :
public virtual AMDCallback
1363 virtual ~AMD_LocatorRegistry_setServerProcessProxy();
1368 virtual void ice_response() = 0;
1371 typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setServerProcessProxy> AMD_LocatorRegistry_setServerProcessProxyPtr;
1382 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1383 # pragma warning(push)
1384 # pragma warning(disable:4239)
1387 class ICE_API AMD_Locator_findObjectById :
public ::Ice::AMD_Locator_findObjectById,
public ::IceInternal::IncomingAsync
1391 AMD_Locator_findObjectById(::IceInternal::Incoming&);
1393 virtual void ice_response(const ::Ice::ObjectPrx&);
1396 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1397 # pragma warning(pop)
1400 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1401 # pragma warning(push)
1402 # pragma warning(disable:4239)
1405 class ICE_API AMD_Locator_findAdapterById :
public ::Ice::AMD_Locator_findAdapterById,
public ::IceInternal::IncomingAsync
1409 AMD_Locator_findAdapterById(::IceInternal::Incoming&);
1411 virtual void ice_response(const ::Ice::ObjectPrx&);
1414 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1415 # pragma warning(pop)
1418 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1419 # pragma warning(push)
1420 # pragma warning(disable:4239)
1423 class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy :
public ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy,
public ::IceInternal::IncomingAsync
1427 AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming&);
1429 virtual void ice_response();
1432 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1433 # pragma warning(pop)
1436 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1437 # pragma warning(push)
1438 # pragma warning(disable:4239)
1441 class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy :
public ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy,
public ::IceInternal::IncomingAsync
1445 AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&);
1447 virtual void ice_response();
1450 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1451 # pragma warning(pop)
1454 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1455 # pragma warning(push)
1456 # pragma warning(disable:4239)
1459 class ICE_API AMD_LocatorRegistry_setServerProcessProxy :
public ::Ice::AMD_LocatorRegistry_setServerProcessProxy,
public ::IceInternal::IncomingAsync
1463 AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming&);
1465 virtual void ice_response();
1468 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1469 # pragma warning(pop)
1485 class Callback_Locator_findObjectById_Base :
public virtual ::IceInternal::CallbackBase { };
1486 typedef ::IceUtil::Handle< Callback_Locator_findObjectById_Base> Callback_Locator_findObjectByIdPtr;
1493 class Callback_Locator_findAdapterById_Base :
public virtual ::IceInternal::CallbackBase { };
1494 typedef ::IceUtil::Handle< Callback_Locator_findAdapterById_Base> Callback_Locator_findAdapterByIdPtr;
1501 class Callback_Locator_getRegistry_Base :
public virtual ::IceInternal::CallbackBase { };
1502 typedef ::IceUtil::Handle< Callback_Locator_getRegistry_Base> Callback_Locator_getRegistryPtr;
1509 class Callback_LocatorRegistry_setAdapterDirectProxy_Base :
public virtual ::IceInternal::CallbackBase { };
1510 typedef ::IceUtil::Handle< Callback_LocatorRegistry_setAdapterDirectProxy_Base> Callback_LocatorRegistry_setAdapterDirectProxyPtr;
1517 class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base :
public virtual ::IceInternal::CallbackBase { };
1518 typedef ::IceUtil::Handle< Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
1525 class Callback_LocatorRegistry_setServerProcessProxy_Base :
public virtual ::IceInternal::CallbackBase { };
1526 typedef ::IceUtil::Handle< Callback_LocatorRegistry_setServerProcessProxy_Base> Callback_LocatorRegistry_setServerProcessProxyPtr;
1533 class Callback_LocatorFinder_getLocator_Base :
public virtual ::IceInternal::CallbackBase { };
1534 typedef ::IceUtil::Handle< Callback_LocatorFinder_getLocator_Base> Callback_LocatorFinder_getLocatorPtr;
1544 class ICE_CLASS(ICE_API) Locator :
public virtual ::Ice::Proxy<Locator, ::IceProxy::Ice::Object>
1560 return end_findObjectById(_iceI_begin_findObjectById(
id, context, ::IceInternal::dummyCallback, 0,
true));
1573 return _iceI_begin_findObjectById(
id, context, ::IceInternal::dummyCallback, 0);
1585 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity&
id, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1602 return _iceI_begin_findObjectById(
id, context, cb, cookie);
1614 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity&
id, const ::Ice::Callback_Locator_findObjectByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1631 return _iceI_begin_findObjectById(
id, context, cb, cookie);
1660 return end_findAdapterById(_iceI_begin_findAdapterById(
id, context, ::IceInternal::dummyCallback, 0,
true));
1672 return _iceI_begin_findAdapterById(
id, context, ::IceInternal::dummyCallback, 0);
1683 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string&
id, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1699 return _iceI_begin_findAdapterById(
id, context, cb, cookie);
1710 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string&
id, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1726 return _iceI_begin_findAdapterById(
id, context, cb, cookie);
1751 return end_getRegistry(_iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0,
true));
1761 return _iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0);
1784 return _iceI_begin_getRegistry(context, cb, cookie);
1793 ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1807 return _iceI_begin_getRegistry(context, cb, cookie);
1836 class ICE_CLASS(ICE_API) LocatorRegistry :
public virtual ::Ice::Proxy<LocatorRegistry, ::IceProxy::Ice::Object>
1856 end_setAdapterDirectProxy(_iceI_begin_setAdapterDirectProxy(
id, proxy, context, ::IceInternal::dummyCallback, 0,
true));
1870 return _iceI_begin_setAdapterDirectProxy(
id, proxy, context, ::IceInternal::dummyCallback, 0);
1883 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string&
id, const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1901 return _iceI_begin_setAdapterDirectProxy(
id, proxy, context, cb, cookie);
1914 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string&
id, const ::Ice::ObjectPrx& proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1930 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string&
id, const ::Ice::ObjectPrx& proxy,
const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
1932 return _iceI_begin_setAdapterDirectProxy(
id, proxy, context, cb, cookie);
1945 ICE_MEMBER(
ICE_API)
void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
1949 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_setAdapterDirectProxy(const ::std::string&, const ::
Ice::ObjectPrx&, const ::
Ice::
Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::
LocalObjectPtr& cookie = 0, bool sync = false);
1973 end_setReplicatedAdapterDirectProxy(_iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0,
true));
1986 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p,
const ::Ice::Context& context = ::
Ice::noExplicitContext)
1988 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0);
2002 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2004 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::
Ice::noExplicitContext, cb, cookie);
2019 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p,
const ::Ice::Context& context, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2021 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
2035 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2037 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::
Ice::noExplicitContext, cb, cookie);
2052 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p,
const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2054 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
2070 ICE_MEMBER(
ICE_API)
void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
2074 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_setReplicatedAdapterDirectProxy(const ::std::string&, const ::std::string&, const ::
Ice::ObjectPrx&, const ::
Ice::
Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::
LocalObjectPtr& cookie = 0, bool sync = false);
2088 end_setServerProcessProxy(_iceI_begin_setServerProcessProxy(
id, proxy, context, ::IceInternal::dummyCallback, 0,
true));
2100 return _iceI_begin_setServerProcessProxy(
id, proxy, context, ::IceInternal::dummyCallback, 0);
2111 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string&
id, const ::Ice::ProcessPrx& proxy, const ::Ice::CallbackPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2127 return _iceI_begin_setServerProcessProxy(
id, proxy, context, cb, cookie);
2138 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string&
id, const ::Ice::ProcessPrx& proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2152 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string&
id, const ::Ice::ProcessPrx& proxy,
const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2154 return _iceI_begin_setServerProcessProxy(
id, proxy, context, cb, cookie);
2163 ICE_MEMBER(
ICE_API)
void end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result);
2167 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_setServerProcessProxy(const ::std::string&, const ::
Ice::ProcessPrx&, const ::
Ice::
Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::
LocalObjectPtr& cookie = 0, bool sync = false);
2184 class ICE_CLASS(ICE_API) LocatorFinder :
public virtual ::Ice::Proxy<LocatorFinder, ::IceProxy::Ice::Object>
2196 return end_getLocator(_iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0,
true));
2207 return _iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0);
2232 return _iceI_begin_getLocator(context, cb, cookie);
2242 ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb,
const ::Ice::LocalObjectPtr& cookie = 0)
2257 return _iceI_begin_getLocator(context, cb, cookie);
2304 class ICE_API Locator :
public virtual Object
2308 typedef LocatorPrx ProxyType;
2309 typedef LocatorPtr PointerType;
2313 #ifdef ICE_CPP11_COMPILER
2314 Locator() =
default;
2315 Locator(
const Locator&) =
default;
2316 Locator& operator=(
const Locator&) =
default;
2325 virtual bool ice_isA(const ::std::string&
id,
const Current& current =
emptyCurrent)
const;
2332 virtual ::std::vector< ::std::string> ice_ids(
const Current& current =
emptyCurrent)
const;
2339 virtual const ::std::string& ice_id(
const Current& current =
emptyCurrent)
const;
2345 static const ::std::string& ice_staticId();
2357 virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr& cb,
const Identity&
id,
const Current& current =
emptyCurrent)
const = 0;
2359 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2371 virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr& cb, const ::std::string&
id,
const Current& current =
emptyCurrent)
const = 0;
2373 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2381 virtual LocatorRegistryPrx getRegistry(
const Current& current =
emptyCurrent)
const = 0;
2383 bool _iceD_getRegistry(::IceInternal::Incoming&, const ::Ice::Current&)
const;
2387 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&);
2393 virtual void _iceWriteImpl(OutputStream*)
const;
2394 virtual void _iceReadImpl(InputStream*);
2399 inline bool operator==(
const Locator& lhs,
const Locator& rhs)
2401 return static_cast<const Object&
>(lhs) ==
static_cast<const Object&
>(rhs);
2404 inline bool operator<(
const Locator& lhs,
const Locator& rhs)
2406 return static_cast<const Object&
>(lhs) <
static_cast<const Object&
>(rhs);
2420 class ICE_API LocatorRegistry :
public virtual Object
2424 typedef LocatorRegistryPrx ProxyType;
2425 typedef LocatorRegistryPtr PointerType;
2427 virtual ~LocatorRegistry();
2429 #ifdef ICE_CPP11_COMPILER
2430 LocatorRegistry() =
default;
2431 LocatorRegistry(
const LocatorRegistry&) =
default;
2432 LocatorRegistry& operator=(
const LocatorRegistry&) =
default;
2441 virtual bool ice_isA(const ::std::string&
id,
const Current& current =
emptyCurrent)
const;
2448 virtual ::std::vector< ::std::string> ice_ids(
const Current& current =
emptyCurrent)
const;
2455 virtual const ::std::string& ice_id(
const Current& current =
emptyCurrent)
const;
2461 static const ::std::string& ice_staticId();
2478 virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::std::string&
id,
const ObjectPrx& proxy,
const Current& current =
emptyCurrent) = 0;
2480 bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2502 virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::std::string& adapterId, const ::std::string& replicaGroupId,
const ObjectPrx& p,
const Current& current =
emptyCurrent) = 0;
2504 bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2516 virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr& cb, const ::std::string&
id,
const ProcessPrx& proxy,
const Current& current =
emptyCurrent) = 0;
2518 bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2522 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&);
2528 virtual void _iceWriteImpl(OutputStream*)
const;
2529 virtual void _iceReadImpl(InputStream*);
2534 inline bool operator==(
const LocatorRegistry& lhs,
const LocatorRegistry& rhs)
2536 return static_cast<const Object&
>(lhs) ==
static_cast<const Object&
>(rhs);
2539 inline bool operator<(
const LocatorRegistry& lhs,
const LocatorRegistry& rhs)
2541 return static_cast<const Object&
>(lhs) <
static_cast<const Object&
>(rhs);
2553 class ICE_API LocatorFinder :
public virtual Object
2557 typedef LocatorFinderPrx ProxyType;
2558 typedef LocatorFinderPtr PointerType;
2560 virtual ~LocatorFinder();
2562 #ifdef ICE_CPP11_COMPILER
2563 LocatorFinder() =
default;
2564 LocatorFinder(
const LocatorFinder&) =
default;
2565 LocatorFinder& operator=(
const LocatorFinder&) =
default;
2574 virtual bool ice_isA(const ::std::string&
id,
const Current& current =
emptyCurrent)
const;
2581 virtual ::std::vector< ::std::string> ice_ids(
const Current& current =
emptyCurrent)
const;
2588 virtual const ::std::string& ice_id(
const Current& current =
emptyCurrent)
const;
2594 static const ::std::string& ice_staticId();
2602 virtual LocatorPrx getLocator(
const Current& current =
emptyCurrent) = 0;
2604 bool _iceD_getLocator(::IceInternal::Incoming&, const ::Ice::Current&);
2608 virtual bool _iceDispatch(::IceInternal::Incoming&,
const Current&);
2614 virtual void _iceWriteImpl(OutputStream*)
const;
2615 virtual void _iceReadImpl(InputStream*);
2620 inline bool operator==(
const LocatorFinder& lhs,
const LocatorFinder& rhs)
2622 return static_cast<const Object&
>(lhs) ==
static_cast<const Object&
>(rhs);
2625 inline bool operator<(
const LocatorFinder& lhs,
const LocatorFinder& rhs)
2627 return static_cast<const Object&
>(lhs) <
static_cast<const Object&
>(rhs);
2640 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2646 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2652 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2658 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2664 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2679 class CallbackNC_Locator_findObjectById :
public Callback_Locator_findObjectById_Base,
public ::IceInternal::TwowayCallbackNC<T>
2686 typedef void (T::*Sent)(bool);
2687 typedef void (T::*Response)(
const ObjectPrx&);
2689 CallbackNC_Locator_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
2690 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2695 virtual void completed(
const AsyncResultPtr& result)
const
2701 ret = proxy->end_findObjectById(result);
2705 ::IceInternal::CallbackNC<T>::exception(result, ex);
2710 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2728 template<
class T> Callback_Locator_findObjectByIdPtr
2731 return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
2742 template<
class T> Callback_Locator_findObjectByIdPtr
2743 newCallback_Locator_findObjectById(T* instance,
void (T::*cb)(
const ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2745 return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
2753 template<
class T,
typename CT>
2754 class Callback_Locator_findObjectById :
public Callback_Locator_findObjectById_Base,
public ::IceInternal::TwowayCallback<T, CT>
2761 typedef void (T::*Sent)(bool ,
const CT&);
2762 typedef void (T::*Response)(
const ObjectPrx&,
const CT&);
2764 Callback_Locator_findObjectById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
2765 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2770 virtual void completed(
const AsyncResultPtr& result)
const
2776 ret = proxy->end_findObjectById(result);
2780 ::IceInternal::Callback<T, CT>::exception(result, ex);
2785 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2804 template<
class T,
typename CT> Callback_Locator_findObjectByIdPtr
2805 newCallback_Locator_findObjectById(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2807 return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
2819 template<
class T,
typename CT> Callback_Locator_findObjectByIdPtr
2820 newCallback_Locator_findObjectById(T* instance,
void (T::*cb)(
const ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2822 return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
2831 class CallbackNC_Locator_findAdapterById :
public Callback_Locator_findAdapterById_Base,
public ::IceInternal::TwowayCallbackNC<T>
2838 typedef void (T::*Sent)(bool);
2839 typedef void (T::*Response)(
const ObjectPrx&);
2841 CallbackNC_Locator_findAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
2842 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2847 virtual void completed(
const AsyncResultPtr& result)
const
2853 ret = proxy->end_findAdapterById(result);
2857 ::IceInternal::CallbackNC<T>::exception(result, ex);
2862 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2880 template<
class T> Callback_Locator_findAdapterByIdPtr
2883 return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
2894 template<
class T> Callback_Locator_findAdapterByIdPtr
2895 newCallback_Locator_findAdapterById(T* instance,
void (T::*cb)(
const ObjectPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
2897 return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
2905 template<
class T,
typename CT>
2906 class Callback_Locator_findAdapterById :
public Callback_Locator_findAdapterById_Base,
public ::IceInternal::TwowayCallback<T, CT>
2913 typedef void (T::*Sent)(bool ,
const CT&);
2914 typedef void (T::*Response)(
const ObjectPrx&,
const CT&);
2916 Callback_Locator_findAdapterById(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
2917 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2922 virtual void completed(
const AsyncResultPtr& result)
const
2928 ret = proxy->end_findAdapterById(result);
2932 ::IceInternal::Callback<T, CT>::exception(result, ex);
2937 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2956 template<
class T,
typename CT> Callback_Locator_findAdapterByIdPtr
2957 newCallback_Locator_findAdapterById(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2959 return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
2971 template<
class T,
typename CT> Callback_Locator_findAdapterByIdPtr
2972 newCallback_Locator_findAdapterById(T* instance,
void (T::*cb)(
const ObjectPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
2974 return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
2983 class CallbackNC_Locator_getRegistry :
public Callback_Locator_getRegistry_Base,
public ::IceInternal::TwowayCallbackNC<T>
2990 typedef void (T::*Sent)(bool);
2991 typedef void (T::*Response)(
const LocatorRegistryPrx&);
2993 CallbackNC_Locator_getRegistry(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
2994 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2999 virtual void completed(
const AsyncResultPtr& result)
const
3002 LocatorRegistryPrx ret;
3005 ret = proxy->end_getRegistry(result);
3009 ::IceInternal::CallbackNC<T>::exception(result, ex);
3014 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3032 template<
class T> Callback_Locator_getRegistryPtr
3035 return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
3046 template<
class T> Callback_Locator_getRegistryPtr
3047 newCallback_Locator_getRegistry(T* instance,
void (T::*cb)(
const LocatorRegistryPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3049 return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
3057 template<
class T,
typename CT>
3058 class Callback_Locator_getRegistry :
public Callback_Locator_getRegistry_Base,
public ::IceInternal::TwowayCallback<T, CT>
3065 typedef void (T::*Sent)(bool ,
const CT&);
3066 typedef void (T::*Response)(
const LocatorRegistryPrx&,
const CT&);
3068 Callback_Locator_getRegistry(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3069 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3074 virtual void completed(
const AsyncResultPtr& result)
const
3077 LocatorRegistryPrx ret;
3080 ret = proxy->end_getRegistry(result);
3084 ::IceInternal::Callback<T, CT>::exception(result, ex);
3089 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3108 template<
class T,
typename CT> Callback_Locator_getRegistryPtr
3109 newCallback_Locator_getRegistry(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const LocatorRegistryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3111 return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
3123 template<
class T,
typename CT> Callback_Locator_getRegistryPtr
3124 newCallback_Locator_getRegistry(T* instance,
void (T::*cb)(
const LocatorRegistryPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3126 return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
3135 class CallbackNC_LocatorRegistry_setAdapterDirectProxy :
public Callback_LocatorRegistry_setAdapterDirectProxy_Base,
public ::IceInternal::TwowayCallbackNC<T>
3142 typedef void (T::*Sent)(bool);
3143 typedef void (T::*Response)();
3145 CallbackNC_LocatorRegistry_setAdapterDirectProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3146 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3151 virtual void completed(
const AsyncResultPtr& result)
const
3156 proxy->end_setAdapterDirectProxy(result);
3160 ::IceInternal::CallbackNC<T>::exception(result, ex);
3165 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3183 template<
class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3186 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3196 template<
class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3199 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3210 template<
class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3211 newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3213 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3223 template<
class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3224 newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3226 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3234 template<
class T,
typename CT>
3235 class Callback_LocatorRegistry_setAdapterDirectProxy :
public Callback_LocatorRegistry_setAdapterDirectProxy_Base,
public ::IceInternal::TwowayCallback<T, CT>
3242 typedef void (T::*Sent)(bool ,
const CT&);
3243 typedef void (T::*Response)(
const CT&);
3245 Callback_LocatorRegistry_setAdapterDirectProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3246 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3251 virtual void completed(
const AsyncResultPtr& result)
const
3256 proxy->end_setAdapterDirectProxy(result);
3260 ::IceInternal::Callback<T, CT>::exception(result, ex);
3265 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3284 template<
class T,
typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3285 newCallback_LocatorRegistry_setAdapterDirectProxy(
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)
3287 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3298 template<
class T,
typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3301 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3313 template<
class T,
typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3314 newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3316 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3327 template<
class T,
typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3328 newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3330 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3339 class CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy :
public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base,
public ::IceInternal::TwowayCallbackNC<T>
3346 typedef void (T::*Sent)(bool);
3347 typedef void (T::*Response)();
3349 CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3350 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3355 virtual void completed(
const AsyncResultPtr& result)
const
3360 proxy->end_setReplicatedAdapterDirectProxy(result);
3364 ::IceInternal::CallbackNC<T>::exception(result, ex);
3369 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3387 template<
class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3390 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3400 template<
class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3403 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3414 template<
class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3415 newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3417 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3427 template<
class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3428 newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3430 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3438 template<
class T,
typename CT>
3439 class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy :
public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base,
public ::IceInternal::TwowayCallback<T, CT>
3446 typedef void (T::*Sent)(bool ,
const CT&);
3447 typedef void (T::*Response)(
const CT&);
3449 Callback_LocatorRegistry_setReplicatedAdapterDirectProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3450 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3455 virtual void completed(
const AsyncResultPtr& result)
const
3460 proxy->end_setReplicatedAdapterDirectProxy(result);
3464 ::IceInternal::Callback<T, CT>::exception(result, ex);
3469 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3488 template<
class T,
typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3489 newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(
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)
3491 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3502 template<
class T,
typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3505 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3517 template<
class T,
typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3518 newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3520 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3531 template<
class T,
typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3532 newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3534 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3543 class CallbackNC_LocatorRegistry_setServerProcessProxy :
public Callback_LocatorRegistry_setServerProcessProxy_Base,
public ::IceInternal::TwowayCallbackNC<T>
3550 typedef void (T::*Sent)(bool);
3551 typedef void (T::*Response)();
3553 CallbackNC_LocatorRegistry_setServerProcessProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3554 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3559 virtual void completed(
const AsyncResultPtr& result)
const
3564 proxy->end_setServerProcessProxy(result);
3568 ::IceInternal::CallbackNC<T>::exception(result, ex);
3573 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3591 template<
class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3594 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
3604 template<
class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3607 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
3618 template<
class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3619 newCallback_LocatorRegistry_setServerProcessProxy(T* instance,
void (T::*cb)(),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3621 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
3631 template<
class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3632 newCallback_LocatorRegistry_setServerProcessProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3634 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
3642 template<
class T,
typename CT>
3643 class Callback_LocatorRegistry_setServerProcessProxy :
public Callback_LocatorRegistry_setServerProcessProxy_Base,
public ::IceInternal::TwowayCallback<T, CT>
3650 typedef void (T::*Sent)(bool ,
const CT&);
3651 typedef void (T::*Response)(
const CT&);
3653 Callback_LocatorRegistry_setServerProcessProxy(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3654 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3659 virtual void completed(
const AsyncResultPtr& result)
const
3664 proxy->end_setServerProcessProxy(result);
3668 ::IceInternal::Callback<T, CT>::exception(result, ex);
3673 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3692 template<
class T,
typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3693 newCallback_LocatorRegistry_setServerProcessProxy(
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)
3695 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
3706 template<
class T,
typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3709 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
3721 template<
class T,
typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3722 newCallback_LocatorRegistry_setServerProcessProxy(T* instance,
void (T::*cb)(
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3724 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
3735 template<
class T,
typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3736 newCallback_LocatorRegistry_setServerProcessProxy(T* instance,
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3738 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
3747 class CallbackNC_LocatorFinder_getLocator :
public Callback_LocatorFinder_getLocator_Base,
public ::IceInternal::TwowayCallbackNC<T>
3754 typedef void (T::*Sent)(bool);
3755 typedef void (T::*Response)(
const LocatorPrx&);
3757 CallbackNC_LocatorFinder_getLocator(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3758 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3763 virtual void completed(
const AsyncResultPtr& result)
const
3769 ret = proxy->end_getLocator(result);
3773 ::IceInternal::CallbackNC<T>::exception(result, ex);
3778 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3796 template<
class T> Callback_LocatorFinder_getLocatorPtr
3799 return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
3810 template<
class T> Callback_LocatorFinder_getLocatorPtr
3811 newCallback_LocatorFinder_getLocator(T* instance,
void (T::*cb)(
const LocatorPrx&),
void (T::*excb)(
const ::Ice::Exception&),
void (T::*sentcb)(
bool) = 0)
3813 return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
3821 template<
class T,
typename CT>
3822 class Callback_LocatorFinder_getLocator :
public Callback_LocatorFinder_getLocator_Base,
public ::IceInternal::TwowayCallback<T, CT>
3829 typedef void (T::*Sent)(bool ,
const CT&);
3830 typedef void (T::*Response)(
const LocatorPrx&,
const CT&);
3832 Callback_LocatorFinder_getLocator(
const TPtr& obj, Response cb,
Exception excb, Sent sentcb)
3833 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3838 virtual void completed(
const AsyncResultPtr& result)
const
3844 ret = proxy->end_getLocator(result);
3848 ::IceInternal::Callback<T, CT>::exception(result, ex);
3853 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3872 template<
class T,
typename CT> Callback_LocatorFinder_getLocatorPtr
3873 newCallback_LocatorFinder_getLocator(
const IceUtil::Handle<T>& instance,
void (T::*cb)(
const LocatorPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3875 return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
3887 template<
class T,
typename CT> Callback_LocatorFinder_getLocatorPtr
3888 newCallback_LocatorFinder_getLocator(T* instance,
void (T::*cb)(
const LocatorPrx&,
const CT&),
void (T::*excb)(
const ::Ice::Exception&,
const CT&),
void (T::*sentcb)(
bool,
const CT&) = 0)
3890 return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);