16#ifndef __IceDiscovery_IceDiscovery_h__
17#define __IceDiscovery_IceDiscovery_h__
38#ifndef ICE_IGNORE_VERSION
39# if ICE_INT_VERSION / 100 != 307
40# error Ice version mismatch!
42# if ICE_INT_VERSION % 100 >= 50
43# error Beta header file detected
45# if ICE_INT_VERSION % 100 < 11
46# error Ice patch level mismatch!
50#ifdef ICE_CPP11_MAPPING
82 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
89 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
96 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
110 virtual void foundObjectById(::Ice::Identity
id, ::std::shared_ptr<::Ice::ObjectPrx> prx, const ::Ice::Current& current) = 0;
112 bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
124 virtual void foundAdapterById(::std::string
id, ::std::shared_ptr<::Ice::ObjectPrx> prx,
bool isReplicaGroup, const ::Ice::Current& current) = 0;
126 bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
130 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
139class Lookup :
public virtual ::Ice::Object
151 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
158 virtual ::std::vector<::std::string>
ice_ids(const ::Ice::Current& current)
const override;
165 virtual ::std::string
ice_id(const ::Ice::Current& current)
const override;
182 virtual void findObjectById(::std::string domainId, ::Ice::Identity
id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
184 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
196 virtual void findAdapterById(::std::string domainId, ::std::string
id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
198 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
202 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
216class LookupReplyPrx :
public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
226 void foundObjectById(const ::Ice::Identity&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context =
::Ice::noExplicitContext)
228 _makePromiseOutgoing<void>(
true,
this, &LookupReplyPrx::_iceI_foundObjectById,
id, prx, context).get();
238 template<
template<
typename>
class P = ::std::promise>
239 auto foundObjectByIdAsync(const ::Ice::Identity&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context =
::Ice::noExplicitContext)
240 ->
decltype(::std::declval<P<void>>().get_future())
242 return _makePromiseOutgoing<void, P>(
false,
this, &LookupReplyPrx::_iceI_foundObjectById,
id, prx, context);
255 ::std::function<void()>
256 foundObjectByIdAsync(const ::Ice::Identity&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
257 ::std::function<
void()> response,
258 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
259 ::std::function<
void(
bool)> sent =
nullptr,
262 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById,
id, prx, context);
266 void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
278 void foundAdapterById(const ::std::string&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
bool isReplicaGroup, const ::Ice::Context& context =
::Ice::noExplicitContext)
280 _makePromiseOutgoing<void>(
true,
this, &LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context).get();
293 template<
template<
typename>
class P = ::std::promise>
294 auto foundAdapterByIdAsync(const ::std::string&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
bool isReplicaGroup, const ::Ice::Context& context =
::Ice::noExplicitContext)
295 ->
decltype(::std::declval<P<void>>().get_future())
297 return _makePromiseOutgoing<void, P>(
false,
this, &LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context);
313 ::std::function<void()>
314 foundAdapterByIdAsync(const ::std::string&
id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
bool isReplicaGroup,
315 ::std::function<
void()> response,
316 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
317 ::std::function<
void(
bool)> sent =
nullptr,
320 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById,
id, prx, isReplicaGroup, context);
324 void _iceI_foundAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&,
bool, const ::Ice::Context&);
331 static const ::std::string& ice_staticId();
337 friend ::std::shared_ptr<LookupReplyPrx> IceInternal::createProxy<LookupReplyPrx>();
339 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
348class LookupPrx :
public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
361 void findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context =
::Ice::noExplicitContext)
363 _makePromiseOutgoing<void>(
true,
this, &LookupPrx::_iceI_findObjectById, domainId,
id, reply, context).get();
376 template<
template<
typename>
class P = ::std::promise>
377 auto findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity&
id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context =
::Ice::noExplicitContext)
378 ->
decltype(::std::declval<P<void>>().get_future())
380 return _makePromiseOutgoing<void, P>(
false,
this, &LookupPrx::_iceI_findObjectById, domainId,
id, reply, context);
396 ::std::function<void()>
397 findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity&
id, const ::std::shared_ptr<LookupReplyPrx>& reply,
398 ::std::function<
void()> response,
399 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
400 ::std::function<
void(
bool)> sent =
nullptr,
403 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId,
id, reply, context);
407 void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Identity&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
419 void findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context =
::Ice::noExplicitContext)
421 _makePromiseOutgoing<void>(
true,
this, &LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context).get();
434 template<
template<
typename>
class P = ::std::promise>
435 auto findAdapterByIdAsync(const ::std::string& domainId, const ::std::string&
id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context =
::Ice::noExplicitContext)
436 ->
decltype(::std::declval<P<void>>().get_future())
438 return _makePromiseOutgoing<void, P>(
false,
this, &LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context);
454 ::std::function<void()>
455 findAdapterByIdAsync(const ::std::string& domainId, const ::std::string&
id, const ::std::shared_ptr<LookupReplyPrx>& reply,
456 ::std::function<
void()> response,
457 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
458 ::std::function<
void(
bool)> sent =
nullptr,
461 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId,
id, reply, context);
465 void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
472 static const ::std::string& ice_staticId();
478 friend ::std::shared_ptr<LookupPrx> IceInternal::createProxy<LookupPrx>();
480 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
500using LookupPtr = ::std::shared_ptr<Lookup>;
538typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply>
LookupReplyPrx;
549typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup>
LookupPrx;
552void _icePatchObjectPtr(
LookupPtr&, const ::Ice::ObjectPtr&);
612 end_foundObjectById(_iceI_begin_foundObjectById(
id, prx, context, ::IceInternal::dummyCallback, 0,
true));
624 return _iceI_begin_foundObjectById(
id, prx, context, ::IceInternal::dummyCallback, 0);
651 return _iceI_begin_foundObjectById(
id, prx, context, cb, cookie);
676 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity&
id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
678 return _iceI_begin_foundObjectById(
id, prx, context, cb, cookie);
689 ::Ice::AsyncResultPtr _iceI_begin_foundObjectById(const ::Ice::Identity&, const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
704 end_foundAdapterById(_iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0,
true));
719 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
752 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, cb, cookie);
766 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
783 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string&
id, const ::Ice::ObjectPrx& prx,
bool isReplicaGroup, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
785 return _iceI_begin_foundAdapterById(
id, prx, isReplicaGroup, context, cb, cookie);
796 ::Ice::AsyncResultPtr _iceI_begin_foundAdapterById(const ::std::string&, const ::Ice::ObjectPrx&,
bool, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
809 virtual ::IceProxy::Ice::Object* _newInstance()
const;
828 end_findObjectById(_iceI_begin_findObjectById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0,
true));
843 return _iceI_begin_findObjectById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0);
857 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
874 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
876 return _iceI_begin_findObjectById(domainId,
id, reply, context, cb, cookie);
890 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
907 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
909 return _iceI_begin_findObjectById(domainId,
id, reply, context, cb, cookie);
920 ::Ice::AsyncResultPtr _iceI_begin_findObjectById(const ::std::string&, const ::Ice::Identity&, const ::IceDiscovery::LookupReplyPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
935 end_findAdapterById(_iceI_begin_findAdapterById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0,
true));
950 return _iceI_begin_findAdapterById(domainId,
id, reply, context, ::IceInternal::dummyCallback, 0);
981 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
983 return _iceI_begin_findAdapterById(domainId,
id, reply, context, cb, cookie);
997 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1014 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string&
id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1016 return _iceI_begin_findAdapterById(domainId,
id, reply, context, cb, cookie);
1027 ::Ice::AsyncResultPtr _iceI_begin_findAdapterById(const ::std::string&, const ::std::string&, const ::IceDiscovery::LookupReplyPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0,
bool sync =
false);
1040 virtual ::IceProxy::Ice::Object* _newInstance()
const;
1065#ifdef ICE_CPP11_COMPILER
1107 bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1121 bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1125 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1142inline bool operator<(
const LookupReply& lhs,
const LookupReply& rhs)
1162#ifdef ICE_CPP11_COMPILER
1207 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1221 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1225 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1237inline bool operator==(
const Lookup& lhs,
const Lookup& rhs)
1242inline bool operator<(
const Lookup& lhs,
const Lookup& rhs)
1277 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1341template<
class T,
typename CT>
1348 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
1349 typedef void (T::*
Sent)(bool ,
const CT&);
1353 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1433 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1497template<
class T,
typename CT>
1504 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
1505 typedef void (T::*
Sent)(bool ,
const CT&);
1509 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1589 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1653template<
class T,
typename CT>
1660 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
1661 typedef void (T::*
Sent)(bool ,
const CT&);
1665 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1745 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1809template<
class T,
typename CT>
1816 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
1817 typedef void (T::*
Sent)(bool ,
const CT&);
1821 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceDiscovery::LookupReply::...
Definition IceDiscovery.h:1423
void(T::* Response)()
Definition IceDiscovery.h:1430
CallbackNC_LookupReply_foundAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1432
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1426
void(T::* Exception)(const ::Ice::Exception &)
Definition IceDiscovery.h:1428
void(T::* Sent)(bool)
Definition IceDiscovery.h:1429
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceDiscovery::LookupReply::...
Definition IceDiscovery.h:1267
void(T::* Sent)(bool)
Definition IceDiscovery.h:1273
CallbackNC_LookupReply_foundObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1276
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1270
void(T::* Exception)(const ::Ice::Exception &)
Definition IceDiscovery.h:1272
void(T::* Response)()
Definition IceDiscovery.h:1274
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceDiscovery::Lookup::begin...
Definition IceDiscovery.h:1735
CallbackNC_Lookup_findAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1744
void(T::* Sent)(bool)
Definition IceDiscovery.h:1741
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1738
void(T::* Response)()
Definition IceDiscovery.h:1742
void(T::* Exception)(const ::Ice::Exception &)
Definition IceDiscovery.h:1740
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceDiscovery::Lookup::begin...
Definition IceDiscovery.h:1579
void(T::* Response)()
Definition IceDiscovery.h:1586
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1582
void(T::* Exception)(const ::Ice::Exception &)
Definition IceDiscovery.h:1584
void(T::* Sent)(bool)
Definition IceDiscovery.h:1585
CallbackNC_Lookup_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1588
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceDiscovery::Lookup...
Definition IceDiscovery.h:573
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceDisc...
Definition IceDiscovery.h:1499
void(T::* Response)(const CT &)
Definition IceDiscovery.h:1506
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1502
void(T::* Sent)(bool, const CT &)
Definition IceDiscovery.h:1505
Callback_LookupReply_foundAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1508
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceDiscovery.h:1504
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceDiscovery::Lookup...
Definition IceDiscovery.h:565
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceDisc...
Definition IceDiscovery.h:1343
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceDiscovery.h:1348
Callback_LookupReply_foundObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1352
void(T::* Response)(const CT &)
Definition IceDiscovery.h:1350
void(T::* Sent)(bool, const CT &)
Definition IceDiscovery.h:1349
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1346
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceDiscovery::Lookup...
Definition IceDiscovery.h:589
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceDisc...
Definition IceDiscovery.h:1811
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceDiscovery.h:1816
void(T::* Response)(const CT &)
Definition IceDiscovery.h:1818
void(T::* Sent)(bool, const CT &)
Definition IceDiscovery.h:1817
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1814
Callback_Lookup_findAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1820
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceDiscovery::Lookup...
Definition IceDiscovery.h:581
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceDisc...
Definition IceDiscovery.h:1655
IceUtil::Handle< T > TPtr
Definition IceDiscovery.h:1658
Callback_Lookup_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition IceDiscovery.h:1664
void(T::* Response)(const CT &)
Definition IceDiscovery.h:1662
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition IceDiscovery.h:1660
void(T::* Sent)(bool, const CT &)
Definition IceDiscovery.h:1661
The LookupReply interface is used by IceDiscovery clients to answer requests received on the Lookup i...
Definition IceDiscovery.h:1057
LookupReplyPrx ProxyType
Definition IceDiscovery.h:1060
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual void foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Reply to the findObjectById request.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
LookupReplyPtr PointerType
Definition IceDiscovery.h:1061
virtual void foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Reply to the findAdpaterById request.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
The Lookup interface is used by IceDiscovery clients to look for objects and adapters using UDP multi...
Definition IceDiscovery.h:1154
virtual void findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const LookupReplyPrx &reply, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Request to find an Ice object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual void findAdapterById(const ::std::string &domainId, const ::std::string &id, const LookupReplyPrx &reply, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Request to find an object adapter.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
LookupPtr PointerType
Definition IceDiscovery.h:1158
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
LookupPrx ProxyType
Definition IceDiscovery.h:1157
Definition IceDiscovery.h:601
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:717
void end_foundAdapterById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_foundAdapterById.
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:733
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
void foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:702
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::Context &context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findObjectById request.
Definition IceDiscovery.h:676
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:766
void end_foundObjectById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_foundObjectById.
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findObjectById request.
Definition IceDiscovery.h:649
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::Context &context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:783
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findObjectById request.
Definition IceDiscovery.h:662
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findObjectById request.
Definition IceDiscovery.h:622
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string &id, const ::Ice::ObjectPrx &prx, bool isReplicaGroup, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findAdpaterById request.
Definition IceDiscovery.h:750
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Reply to the findObjectById request.
Definition IceDiscovery.h:635
void foundObjectById(const ::Ice::Identity &id, const ::Ice::ObjectPrx &prx, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findObjectById request.
Definition IceDiscovery.h:610
Definition IceDiscovery.h:814
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an Ice object.
Definition IceDiscovery.h:841
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an object adapter.
Definition IceDiscovery.h:964
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an Ice object.
Definition IceDiscovery.h:857
void end_findAdapterById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findAdapterById.
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an Ice object.
Definition IceDiscovery.h:890
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an object adapter.
Definition IceDiscovery.h:981
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
void end_findObjectById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findObjectById.
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an object adapter.
Definition IceDiscovery.h:948
void findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an object adapter.
Definition IceDiscovery.h:933
void findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an Ice object.
Definition IceDiscovery.h:826
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an object adapter.
Definition IceDiscovery.h:997
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an Ice object.
Definition IceDiscovery.h:907
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an Ice object.
Definition IceDiscovery.h:874
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::IceDiscovery::LookupReplyPrx &reply, const ::Ice::Context &context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Request to find an object adapter.
Definition IceDiscovery.h:1014
Base class of all object proxies.
Definition Proxy.h:1757
Shared & operator=(const Shared &)
Definition Shared.h:94
The base class for servants.
Definition Object.h:193
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
Helper template that supplies proxy factory functions.
Definition Proxy.h:2904
Definition IceDiscovery.h:531
LookupPrx LookupPrxPtr
Definition IceDiscovery.h:550
::IceUtil::Handle< Callback_LookupReply_foundAdapterById_Base > Callback_LookupReply_foundAdapterByIdPtr
Definition IceDiscovery.h:574
::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply > LookupReplyPrx
Definition IceDiscovery.h:538
::IceUtil::Handle< Callback_Lookup_findAdapterById_Base > Callback_Lookup_findAdapterByIdPtr
Definition IceDiscovery.h:590
Callback_Lookup_findObjectByIdPtr newCallback_Lookup_findObjectById(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition IceDiscovery.h:1603
LookupReplyPrx LookupReplyPrxPtr
Definition IceDiscovery.h:539
Callback_LookupReply_foundAdapterByIdPtr newCallback_LookupReply_foundAdapterById(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition IceDiscovery.h:1447
Callback_LookupReply_foundObjectByIdPtr newCallback_LookupReply_foundObjectById(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition IceDiscovery.h:1291
::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup > LookupPrx
Definition IceDiscovery.h:549
::IceInternal::Handle< Lookup > LookupPtr
Definition IceDiscovery.h:548
::IceInternal::Handle< LookupReply > LookupReplyPtr
Definition IceDiscovery.h:537
::IceUtil::Handle< Callback_Lookup_findObjectById_Base > Callback_Lookup_findObjectByIdPtr
Definition IceDiscovery.h:582
Callback_Lookup_findAdapterByIdPtr newCallback_Lookup_findAdapterById(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition IceDiscovery.h:1759
::IceUtil::Handle< Callback_LookupReply_foundObjectById_Base > Callback_LookupReply_foundObjectByIdPtr
Definition IceDiscovery.h:566
Definition BuiltinSequences.h:113
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
const Current emptyCurrent
A default-initialized Current instance.
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18