Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
IceDiscovery.h
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4//
5// Ice version 3.7.11
6//
7// <auto-generated>
8//
9// Generated from file `IceDiscovery.ice'
10//
11// Warning: do not edit this file.
12//
13// </auto-generated>
14//
15
16#ifndef __IceDiscovery_IceDiscovery_h__
17#define __IceDiscovery_IceDiscovery_h__
18
20#include <Ice/ProxyF.h>
21#include <Ice/ObjectF.h>
22#include <Ice/ValueF.h>
23#include <Ice/Exception.h>
24#include <Ice/LocalObject.h>
25#include <Ice/StreamHelpers.h>
26#include <Ice/Comparable.h>
27#include <Ice/Proxy.h>
28#include <Ice/Object.h>
29#include <Ice/GCObject.h>
30#include <Ice/Value.h>
31#include <Ice/Incoming.h>
33#include <IceUtil/ScopedArray.h>
34#include <Ice/Optional.h>
35#include <Ice/Identity.h>
37
38#ifndef ICE_IGNORE_VERSION
39# if ICE_INT_VERSION / 100 != 307
40# error Ice version mismatch!
41# endif
42# if ICE_INT_VERSION % 100 >= 50
43# error Beta header file detected
44# endif
45# if ICE_INT_VERSION % 100 < 11
46# error Ice patch level mismatch!
47# endif
48#endif
49
50#ifdef ICE_CPP11_MAPPING // C++11 mapping
51
52namespace IceDiscovery
53{
54
55class LookupReply;
56class LookupReplyPrx;
57class Lookup;
58class LookupPrx;
59
60}
61
62namespace IceDiscovery
63{
64
70class LookupReply : public virtual ::Ice::Object
71{
72public:
73
75
82 virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
83
89 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
90
96 virtual ::std::string ice_id(const ::Ice::Current& current) const override;
97
102 static const ::std::string& ice_staticId();
103
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&);
114
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&);
128
130 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
132};
133
139class Lookup : public virtual ::Ice::Object
140{
141public:
142
143 using ProxyType = LookupPrx;
144
151 virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
152
158 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
159
165 virtual ::std::string ice_id(const ::Ice::Current& current) const override;
166
171 static const ::std::string& ice_staticId();
172
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&);
186
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&);
200
202 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
204};
205
206}
207
208namespace IceDiscovery
209{
210
216class LookupReplyPrx : public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
217{
218public:
219
226 void foundObjectById(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
227 {
228 _makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context).get();
229 }
230
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())
241 {
242 return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
243 }
244
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,
260 const ::Ice::Context& context = ::Ice::noExplicitContext)
261 {
262 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
263 }
264
266 void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
268
278 void foundAdapterById(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
279 {
280 _makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context).get();
281 }
282
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())
296 {
297 return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
298 }
299
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,
318 const ::Ice::Context& context = ::Ice::noExplicitContext)
319 {
320 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
321 }
322
324 void _iceI_foundAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&, bool, const ::Ice::Context&);
326
331 static const ::std::string& ice_staticId();
332
333protected:
334
336 LookupReplyPrx() = default;
337 friend ::std::shared_ptr<LookupReplyPrx> IceInternal::createProxy<LookupReplyPrx>();
338
339 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
341};
342
348class LookupPrx : public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
349{
350public:
351
361 void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
362 {
363 _makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context).get();
364 }
365
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())
379 {
380 return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
381 }
382
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,
401 const ::Ice::Context& context = ::Ice::noExplicitContext)
402 {
403 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
404 }
405
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&);
409
419 void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
420 {
421 _makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context).get();
422 }
423
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())
437 {
438 return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
439 }
440
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,
459 const ::Ice::Context& context = ::Ice::noExplicitContext)
460 {
461 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
462 }
463
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&);
467
472 static const ::std::string& ice_staticId();
473
474protected:
475
477 LookupPrx() = default;
478 friend ::std::shared_ptr<LookupPrx> IceInternal::createProxy<LookupPrx>();
479
480 virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
482};
483
484}
485
487namespace Ice
488{
489
490}
492
494namespace IceDiscovery
495{
496
497using LookupReplyPtr = ::std::shared_ptr<LookupReply>;
498using LookupReplyPrxPtr = ::std::shared_ptr<LookupReplyPrx>;
499
500using LookupPtr = ::std::shared_ptr<Lookup>;
501using LookupPrxPtr = ::std::shared_ptr<LookupPrx>;
502
503}
505
506#else // C++98 mapping
507
508namespace IceProxy
509{
510
512{
513
514class LookupReply;
516void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LookupReply>&);
519
520class Lookup;
522void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Lookup>&);
525
526}
527
528}
529
531{
532
533class LookupReply;
535::Ice::Object* upCast(LookupReply*);
537typedef ::IceInternal::Handle< LookupReply> LookupReplyPtr;
538typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply> LookupReplyPrx;
541void _icePatchObjectPtr(LookupReplyPtr&, const ::Ice::ObjectPtr&);
543
544class Lookup;
546::Ice::Object* upCast(Lookup*);
548typedef ::IceInternal::Handle< Lookup> LookupPtr;
549typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup> LookupPrx;
552void _icePatchObjectPtr(LookupPtr&, const ::Ice::ObjectPtr&);
554
555}
556
557namespace IceDiscovery
558{
559
565class Callback_LookupReply_foundObjectById_Base : public virtual ::IceInternal::CallbackBase { };
566typedef ::IceUtil::Handle< Callback_LookupReply_foundObjectById_Base> Callback_LookupReply_foundObjectByIdPtr;
567
573class Callback_LookupReply_foundAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
574typedef ::IceUtil::Handle< Callback_LookupReply_foundAdapterById_Base> Callback_LookupReply_foundAdapterByIdPtr;
575
581class Callback_Lookup_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
582typedef ::IceUtil::Handle< Callback_Lookup_findObjectById_Base> Callback_Lookup_findObjectByIdPtr;
583
589class Callback_Lookup_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
590typedef ::IceUtil::Handle< Callback_Lookup_findAdapterById_Base> Callback_Lookup_findAdapterByIdPtr;
591
592}
593
594namespace IceProxy
595{
596
597namespace IceDiscovery
598{
599
600class LookupReply : public virtual ::Ice::Proxy<LookupReply, ::IceProxy::Ice::Object>
601{
602public:
603
610 void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
611 {
612 end_foundObjectById(_iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0, true));
613 }
614
622 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
623 {
624 return _iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0);
625 }
626
635 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
636 {
637 return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
638 }
639
649 ::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)
650 {
651 return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
652 }
653
662 ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
663 {
664 return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
665 }
666
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)
677 {
678 return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
679 }
680
685 void end_foundObjectById(const ::Ice::AsyncResultPtr& result);
686
687private:
688
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);
690
691public:
692
702 void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
703 {
704 end_foundAdapterById(_iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0, true));
705 }
706
717 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
718 {
719 return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
720 }
721
733 ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
734 {
735 return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
736 }
737
750 ::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)
751 {
752 return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
753 }
754
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)
767 {
768 return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
769 }
770
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)
784 {
785 return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
786 }
787
792 void end_foundAdapterById(const ::Ice::AsyncResultPtr& result);
793
794private:
795
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);
797
798public:
799
804 static const ::std::string& ice_staticId();
805
806protected:
808
809 virtual ::IceProxy::Ice::Object* _newInstance() const;
811};
812
813class Lookup : public virtual ::Ice::Proxy<Lookup, ::IceProxy::Ice::Object>
814{
815public:
816
826 void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
827 {
828 end_findObjectById(_iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
829 }
830
841 ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
842 {
843 return _iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
844 }
845
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)
858 {
859 return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
860 }
861
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)
875 {
876 return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
877 }
878
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)
891 {
892 return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
893 }
894
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)
908 {
909 return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
910 }
911
916 void end_findObjectById(const ::Ice::AsyncResultPtr& result);
917
918private:
919
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);
921
922public:
923
933 void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
934 {
935 end_findAdapterById(_iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
936 }
937
948 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
949 {
950 return _iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
951 }
952
964 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
965 {
966 return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
967 }
968
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)
982 {
983 return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
984 }
985
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)
998 {
999 return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
1000 }
1001
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)
1015 {
1016 return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
1017 }
1018
1023 void end_findAdapterById(const ::Ice::AsyncResultPtr& result);
1024
1025private:
1026
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);
1028
1029public:
1030
1035 static const ::std::string& ice_staticId();
1036
1037protected:
1039
1040 virtual ::IceProxy::Ice::Object* _newInstance() const;
1042};
1043
1044}
1045
1046}
1047
1048namespace IceDiscovery
1049{
1050
1056class LookupReply : public virtual ::Ice::Object
1057{
1058public:
1059
1062
1063 virtual ~LookupReply();
1064
1065#ifdef ICE_CPP11_COMPILER
1066 LookupReply() = default;
1067 LookupReply(const LookupReply&) = default;
1068 LookupReply& operator=(const LookupReply&) = default;
1069#endif
1070
1077 virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1078
1084 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1085
1091 virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1092
1097 static const ::std::string& ice_staticId();
1098
1105 virtual void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1107 bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1109
1119 virtual void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1121 bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1123
1125 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1127
1128protected:
1129
1131 virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1132 virtual void _iceReadImpl(::Ice::InputStream*);
1134};
1135
1137inline bool operator==(const LookupReply& lhs, const LookupReply& rhs)
1138{
1139 return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
1140}
1141
1142inline bool operator<(const LookupReply& lhs, const LookupReply& rhs)
1143{
1144 return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
1145}
1147
1153class Lookup : public virtual ::Ice::Object
1154{
1155public:
1156
1159
1160 virtual ~Lookup();
1161
1162#ifdef ICE_CPP11_COMPILER
1163 Lookup() = default;
1164 Lookup(const Lookup&) = default;
1165 Lookup& operator=(const Lookup&) = default;
1166#endif
1167
1174 virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1175
1181 virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1182
1188 virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1189
1194 static const ::std::string& ice_staticId();
1195
1205 virtual void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1207 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
1209
1219 virtual void findAdapterById(const ::std::string& domainId, const ::std::string& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1221 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
1223
1225 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1227
1228protected:
1229
1231 virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1232 virtual void _iceReadImpl(::Ice::InputStream*);
1234};
1235
1237inline bool operator==(const Lookup& lhs, const Lookup& rhs)
1238{
1239 return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
1240}
1241
1242inline bool operator<(const Lookup& lhs, const Lookup& rhs)
1243{
1244 return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
1245}
1247
1248}
1249
1251namespace Ice
1252{
1253
1254}
1256
1257namespace IceDiscovery
1258{
1259
1265template<class T>
1266class CallbackNC_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
1267{
1268public:
1269
1271
1272 typedef void (T::*Exception)(const ::Ice::Exception&);
1273 typedef void (T::*Sent)(bool);
1274 typedef void (T::*Response)();
1275
1277 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1278 {
1279 }
1280};
1281
1291newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1292{
1293 return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
1294}
1295
1304newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1305{
1306 return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
1307}
1308
1318newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1319{
1320 return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
1321}
1322
1331newCallback_LookupReply_foundObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1332{
1333 return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
1334}
1335
1341template<class T, typename CT>
1342class Callback_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
1343{
1344public:
1345
1347
1348 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1349 typedef void (T::*Sent)(bool , const CT&);
1350 typedef void (T::*Response)(const CT&);
1351
1353 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1354 {
1355 }
1356};
1357
1367template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1368newCallback_LookupReply_foundObjectById(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)
1369{
1370 return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
1371}
1372
1381template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1382newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1383{
1384 return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
1385}
1386
1396template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1397newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1398{
1399 return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
1400}
1401
1410template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1411newCallback_LookupReply_foundObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1412{
1413 return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
1414}
1415
1421template<class T>
1422class CallbackNC_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
1423{
1424public:
1425
1427
1428 typedef void (T::*Exception)(const ::Ice::Exception&);
1429 typedef void (T::*Sent)(bool);
1430 typedef void (T::*Response)();
1431
1433 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1434 {
1435 }
1436};
1437
1447newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1448{
1449 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
1450}
1451
1460newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1461{
1462 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
1463}
1464
1474newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1475{
1476 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
1477}
1478
1487newCallback_LookupReply_foundAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1488{
1489 return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
1490}
1491
1497template<class T, typename CT>
1498class Callback_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
1499{
1500public:
1501
1503
1504 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1505 typedef void (T::*Sent)(bool , const CT&);
1506 typedef void (T::*Response)(const CT&);
1507
1509 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1510 {
1511 }
1512};
1513
1523template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1524newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1525{
1526 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1527}
1528
1537template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1538newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1539{
1540 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
1541}
1542
1552template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1553newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1554{
1555 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1556}
1557
1566template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1567newCallback_LookupReply_foundAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1568{
1569 return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
1570}
1571
1577template<class T>
1578class CallbackNC_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
1579{
1580public:
1581
1583
1584 typedef void (T::*Exception)(const ::Ice::Exception&);
1585 typedef void (T::*Sent)(bool);
1586 typedef void (T::*Response)();
1587
1589 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1590 {
1591 }
1592};
1593
1602template<class T> Callback_Lookup_findObjectByIdPtr
1603newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1604{
1605 return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
1606}
1607
1615template<class T> Callback_Lookup_findObjectByIdPtr
1616newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1617{
1618 return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
1619}
1620
1629template<class T> Callback_Lookup_findObjectByIdPtr
1630newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1631{
1632 return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
1633}
1634
1642template<class T> Callback_Lookup_findObjectByIdPtr
1643newCallback_Lookup_findObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1644{
1645 return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
1646}
1647
1653template<class T, typename CT>
1654class Callback_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
1655{
1656public:
1657
1659
1660 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1661 typedef void (T::*Sent)(bool , const CT&);
1662 typedef void (T::*Response)(const CT&);
1663
1665 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1666 {
1667 }
1668};
1669
1679template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1680newCallback_Lookup_findObjectById(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)
1681{
1682 return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
1683}
1684
1693template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1694newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1695{
1696 return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
1697}
1698
1708template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1709newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1710{
1711 return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
1712}
1713
1722template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1723newCallback_Lookup_findObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1724{
1725 return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
1726}
1727
1733template<class T>
1734class CallbackNC_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
1735{
1736public:
1737
1739
1740 typedef void (T::*Exception)(const ::Ice::Exception&);
1741 typedef void (T::*Sent)(bool);
1742 typedef void (T::*Response)();
1743
1745 : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1746 {
1747 }
1748};
1749
1758template<class T> Callback_Lookup_findAdapterByIdPtr
1759newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1760{
1761 return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
1762}
1763
1771template<class T> Callback_Lookup_findAdapterByIdPtr
1772newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1773{
1774 return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
1775}
1776
1785template<class T> Callback_Lookup_findAdapterByIdPtr
1786newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1787{
1788 return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
1789}
1790
1798template<class T> Callback_Lookup_findAdapterByIdPtr
1799newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1800{
1801 return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
1802}
1803
1809template<class T, typename CT>
1810class Callback_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
1811{
1812public:
1813
1815
1816 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1817 typedef void (T::*Sent)(bool , const CT&);
1818 typedef void (T::*Response)(const CT&);
1819
1821 : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1822 {
1823 }
1824};
1825
1835template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1836newCallback_Lookup_findAdapterById(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)
1837{
1838 return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1839}
1840
1849template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1850newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1851{
1852 return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);
1853}
1854
1864template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1865newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1866{
1867 return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1868}
1869
1878template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1879newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1880{
1881 return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);
1882}
1883
1884}
1885
1886#endif
1887
1889#endif
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 &current=::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 &current=::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 &current=::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 &current=::Ice::emptyCurrent)=0
Reply to the findAdpaterById request.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current &current=::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 &current=::Ice::emptyCurrent)=0
Request to find an Ice object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current &current=::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 &current=::Ice::emptyCurrent)=0
Request to find an object adapter.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current &current=::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 &current=::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
Definition Handle.h:143
Shared & operator=(const Shared &)
Definition Shared.h:94
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition InputStream.h:50
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 Metrics.h:211
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