Ice 3.7 C++11 API Reference
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.10
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>
32 #include <Ice/FactoryTableInit.h>
33 #include <IceUtil/ScopedArray.h>
34 #include <Ice/Optional.h>
35 #include <Ice/Identity.h>
36 #include <IceUtil/UndefSysMacros.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 < 10
46 # error Ice patch level mismatch!
47 # endif
48 #endif
49 
50 #ifdef ICE_CPP11_MAPPING // C++11 mapping
51 
52 namespace IceDiscovery
53 {
54 
55 class LookupReply;
56 class LookupReplyPrx;
57 class Lookup;
58 class LookupPrx;
59 
60 }
61 
62 namespace IceDiscovery
63 {
64 
70 class LookupReply : public virtual ::Ice::Object
71 {
72 public:
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 
139 class Lookup : public virtual ::Ice::Object
140 {
141 public:
142 
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 
208 namespace IceDiscovery
209 {
210 
216 class LookupReplyPrx : public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
217 {
218 public:
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,
261  {
262  return _makeLamdaOutgoing<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,
319  {
320  return _makeLamdaOutgoing<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 
333 protected:
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 
348 class LookupPrx : public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
349 {
350 public:
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,
402  {
403  return _makeLamdaOutgoing<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,
460  {
461  return _makeLamdaOutgoing<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 
474 protected:
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 
487 namespace Ice
488 {
489 
490 }
492 
494 namespace IceDiscovery
495 {
496 
497 using LookupReplyPtr = ::std::shared_ptr<LookupReply>;
498 using LookupReplyPrxPtr = ::std::shared_ptr<LookupReplyPrx>;
499 
500 using LookupPtr = ::std::shared_ptr<Lookup>;
501 using LookupPrxPtr = ::std::shared_ptr<LookupPrx>;
502 
503 }
505 
506 #else // C++98 mapping
507 
508 namespace IceProxy
509 {
510 
511 namespace IceDiscovery
512 {
513 
514 class LookupReply;
516 void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LookupReply>&);
517 ::IceProxy::Ice::Object* upCast(LookupReply*);
519 
520 class Lookup;
522 void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Lookup>&);
523 ::IceProxy::Ice::Object* upCast(Lookup*);
525 
526 }
527 
528 }
529 
530 namespace IceDiscovery
531 {
532 
533 class LookupReply;
535 ::Ice::Object* upCast(LookupReply*);
537 typedef ::IceInternal::Handle< LookupReply> LookupReplyPtr;
538 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply> LookupReplyPrx;
539 typedef LookupReplyPrx LookupReplyPrxPtr;
541 void _icePatchObjectPtr(LookupReplyPtr&, const ::Ice::ObjectPtr&);
543 
544 class Lookup;
546 ::Ice::Object* upCast(Lookup*);
548 typedef ::IceInternal::Handle< Lookup> LookupPtr;
549 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup> LookupPrx;
550 typedef LookupPrx LookupPrxPtr;
552 void _icePatchObjectPtr(LookupPtr&, const ::Ice::ObjectPtr&);
554 
555 }
556 
557 namespace IceDiscovery
558 {
559 
565 class Callback_LookupReply_foundObjectById_Base : public virtual ::IceInternal::CallbackBase { };
566 typedef ::IceUtil::Handle< Callback_LookupReply_foundObjectById_Base> Callback_LookupReply_foundObjectByIdPtr;
567 
573 class Callback_LookupReply_foundAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
574 typedef ::IceUtil::Handle< Callback_LookupReply_foundAdapterById_Base> Callback_LookupReply_foundAdapterByIdPtr;
575 
581 class Callback_Lookup_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
582 typedef ::IceUtil::Handle< Callback_Lookup_findObjectById_Base> Callback_Lookup_findObjectByIdPtr;
583 
589 class Callback_Lookup_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
590 typedef ::IceUtil::Handle< Callback_Lookup_findAdapterById_Base> Callback_Lookup_findAdapterByIdPtr;
591 
592 }
593 
594 namespace IceProxy
595 {
596 
597 namespace IceDiscovery
598 {
599 
600 class LookupReply : public virtual ::Ice::Proxy<LookupReply, ::IceProxy::Ice::Object>
601 {
602 public:
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 
687 private:
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 
691 public:
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 
794 private:
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 
798 public:
799 
804  static const ::std::string& ice_staticId();
805 
806 protected:
808 
809  virtual ::IceProxy::Ice::Object* _newInstance() const;
811 };
812 
813 class Lookup : public virtual ::Ice::Proxy<Lookup, ::IceProxy::Ice::Object>
814 {
815 public:
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 
918 private:
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 
922 public:
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 
1025 private:
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 
1029 public:
1030 
1035  static const ::std::string& ice_staticId();
1036 
1037 protected:
1039 
1040  virtual ::IceProxy::Ice::Object* _newInstance() const;
1042 };
1043 
1044 }
1045 
1046 }
1047 
1048 namespace IceDiscovery
1049 {
1050 
1056 class LookupReply : public virtual ::Ice::Object
1057 {
1058 public:
1059 
1060  typedef LookupReplyPrx ProxyType;
1061  typedef LookupReplyPtr PointerType;
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 
1128 protected:
1129 
1131  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1132  virtual void _iceReadImpl(::Ice::InputStream*);
1134 };
1135 
1137 inline 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 
1142 inline 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 
1153 class Lookup : public virtual ::Ice::Object
1154 {
1155 public:
1156 
1157  typedef LookupPrx ProxyType;
1158  typedef LookupPtr PointerType;
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 
1228 protected:
1229 
1231  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1232  virtual void _iceReadImpl(::Ice::InputStream*);
1234 };
1235 
1237 inline 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 
1242 inline 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 
1251 namespace Ice
1252 {
1253 
1254 }
1256 
1257 namespace IceDiscovery
1258 {
1259 
1265 template<class T>
1266 class CallbackNC_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
1267 {
1268 public:
1269 
1270  typedef IceUtil::Handle<T> TPtr;
1271 
1272  typedef void (T::*Exception)(const ::Ice::Exception&);
1273  typedef void (T::*Sent)(bool);
1274  typedef void (T::*Response)();
1275 
1276  CallbackNC_LookupReply_foundObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1277  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1278  {
1279  }
1280 };
1281 
1290 template<class T> Callback_LookupReply_foundObjectByIdPtr
1291 newCallback_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 
1303 template<class T> Callback_LookupReply_foundObjectByIdPtr
1304 newCallback_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 
1317 template<class T> Callback_LookupReply_foundObjectByIdPtr
1318 newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1319 {
1320  return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
1321 }
1322 
1330 template<class T> Callback_LookupReply_foundObjectByIdPtr
1331 newCallback_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 
1341 template<class T, typename CT>
1342 class Callback_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
1343 {
1344 public:
1345 
1346  typedef IceUtil::Handle<T> TPtr;
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 
1352  Callback_LookupReply_foundObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1353  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1354  {
1355  }
1356 };
1357 
1367 template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1368 newCallback_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 
1381 template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1382 newCallback_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 
1396 template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1397 newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1398 {
1399  return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
1400 }
1401 
1410 template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
1411 newCallback_LookupReply_foundObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1412 {
1413  return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
1414 }
1415 
1421 template<class T>
1422 class CallbackNC_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
1423 {
1424 public:
1425 
1426  typedef IceUtil::Handle<T> TPtr;
1427 
1428  typedef void (T::*Exception)(const ::Ice::Exception&);
1429  typedef void (T::*Sent)(bool);
1430  typedef void (T::*Response)();
1431 
1432  CallbackNC_LookupReply_foundAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1433  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1434  {
1435  }
1436 };
1437 
1446 template<class T> Callback_LookupReply_foundAdapterByIdPtr
1447 newCallback_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 
1459 template<class T> Callback_LookupReply_foundAdapterByIdPtr
1460 newCallback_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 
1473 template<class T> Callback_LookupReply_foundAdapterByIdPtr
1474 newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1475 {
1476  return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
1477 }
1478 
1486 template<class T> Callback_LookupReply_foundAdapterByIdPtr
1487 newCallback_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 
1497 template<class T, typename CT>
1498 class Callback_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
1499 {
1500 public:
1501 
1502  typedef IceUtil::Handle<T> TPtr;
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 
1508  Callback_LookupReply_foundAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1509  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1510  {
1511  }
1512 };
1513 
1523 template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1524 newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1525 {
1526  return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1527 }
1528 
1537 template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1538 newCallback_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 
1552 template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1553 newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1554 {
1555  return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
1556 }
1557 
1566 template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
1567 newCallback_LookupReply_foundAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1568 {
1569  return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
1570 }
1571 
1577 template<class T>
1578 class CallbackNC_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
1579 {
1580 public:
1581 
1582  typedef IceUtil::Handle<T> TPtr;
1583 
1584  typedef void (T::*Exception)(const ::Ice::Exception&);
1585  typedef void (T::*Sent)(bool);
1586  typedef void (T::*Response)();
1587 
1588  CallbackNC_Lookup_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1589  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1590  {
1591  }
1592 };
1593 
1602 template<class T> Callback_Lookup_findObjectByIdPtr
1603 newCallback_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 
1615 template<class T> Callback_Lookup_findObjectByIdPtr
1616 newCallback_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 
1629 template<class T> Callback_Lookup_findObjectByIdPtr
1630 newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1631 {
1632  return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
1633 }
1634 
1642 template<class T> Callback_Lookup_findObjectByIdPtr
1643 newCallback_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 
1653 template<class T, typename CT>
1654 class Callback_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
1655 {
1656 public:
1657 
1658  typedef IceUtil::Handle<T> TPtr;
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 
1664  Callback_Lookup_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1665  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1666  {
1667  }
1668 };
1669 
1679 template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1680 newCallback_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 
1693 template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1694 newCallback_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 
1708 template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1709 newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1710 {
1711  return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
1712 }
1713 
1722 template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
1723 newCallback_Lookup_findObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1724 {
1725  return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
1726 }
1727 
1733 template<class T>
1734 class CallbackNC_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
1735 {
1736 public:
1737 
1738  typedef IceUtil::Handle<T> TPtr;
1739 
1740  typedef void (T::*Exception)(const ::Ice::Exception&);
1741  typedef void (T::*Sent)(bool);
1742  typedef void (T::*Response)();
1743 
1744  CallbackNC_Lookup_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1745  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
1746  {
1747  }
1748 };
1749 
1758 template<class T> Callback_Lookup_findAdapterByIdPtr
1759 newCallback_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 
1771 template<class T> Callback_Lookup_findAdapterByIdPtr
1772 newCallback_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 
1785 template<class T> Callback_Lookup_findAdapterByIdPtr
1786 newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1787 {
1788  return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
1789 }
1790 
1798 template<class T> Callback_Lookup_findAdapterByIdPtr
1799 newCallback_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 
1809 template<class T, typename CT>
1810 class Callback_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
1811 {
1812 public:
1813 
1814  typedef IceUtil::Handle<T> TPtr;
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 
1820  Callback_Lookup_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1821  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
1822  {
1823  }
1824 };
1825 
1835 template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1836 newCallback_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 
1849 template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1850 newCallback_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 
1864 template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1865 newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1866 {
1867  return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1868 }
1869 
1878 template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
1879 newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1880 {
1881  return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);
1882 }
1883 
1884 }
1885 
1886 #endif
1887 
1889 #endif
IceDiscovery::LookupReply::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
IceDiscovery
Definition: IceDiscovery.h:53
IceDiscovery::LookupReplyPrx::foundAdapterByIdAsync
auto foundAdapterByIdAsync(const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Reply to the findAdpaterById request.
Definition: IceDiscovery.h:294
IceDiscovery::LookupPrx::findObjectByIdAsync
::std::function< void()> findObjectByIdAsync(const ::std::string &domainId, const ::Ice::Identity &id, const ::std::shared_ptr< LookupReplyPrx > &reply, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an Ice object.
Definition: IceDiscovery.h:397
Ice::LocalObjectPtr
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
Optional.h
Ice::Context
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
Ice::InputStream
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition: InputStream.h:50
IceDiscovery::LookupPrx
The Lookup interface is used by IceDiscovery clients to look for objects and adapters using UDP multi...
Definition: IceDiscovery.h:349
Ice::emptyCurrent
const Current emptyCurrent
A default-initialized Current instance.
IceDiscovery::Lookup::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
IceDiscovery::Lookup::ProxyType
LookupPrx ProxyType
Definition: IceDiscovery.h:143
StreamHelpers.h
Ice::Object
The base class for servants.
Definition: Object.h:91
Ice::operator==
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:184
Ice::Exception
IceUtil::Exception Exception
Definition: Exception.h:20
GCObject.h
IceDiscovery::LookupReply
The LookupReply interface is used by IceDiscovery clients to answer requests received on the Lookup i...
Definition: IceDiscovery.h:71
IceDiscovery::LookupPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceDiscovery::LookupReply::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Incoming.h
IceDiscovery::LookupReplyPrx::foundObjectById
void foundObjectById(const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findObjectById request.
Definition: IceDiscovery.h:226
IceDiscovery::LookupPrx::findObjectByIdAsync
auto findObjectByIdAsync(const ::std::string &domainId, const ::Ice::Identity &id, const ::std::shared_ptr< LookupReplyPrx > &reply, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Request to find an Ice object.
Definition: IceDiscovery.h:377
FactoryTableInit.h
IceDiscovery::LookupPrx::findObjectById
void findObjectById(const ::std::string &domainId, const ::Ice::Identity &id, const ::std::shared_ptr< LookupReplyPrx > &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an Ice object.
Definition: IceDiscovery.h:361
IceDiscovery::LookupReply::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceDiscovery::LookupReply::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
LocalObject.h
PushDisableWarnings.h
IceDiscovery::LookupReplyPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceDiscovery::Lookup::findAdapterById
virtual void findAdapterById(::std::string domainId, ::std::string id, ::std::shared_ptr< LookupReplyPrx > reply, const ::Ice::Current &current)=0
Request to find an object adapter.
ProxyF.h
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
Object.h
Proxy.h
UndefSysMacros.h
Ice::OutputStream
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
IceDiscovery::LookupReplyPrx
The LookupReply interface is used by IceDiscovery clients to answer requests received on the Lookup i...
Definition: IceDiscovery.h:217
IceDiscovery::LookupReplyPrx::foundAdapterByIdAsync
::std::function< void()> foundAdapterByIdAsync(const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findAdpaterById request.
Definition: IceDiscovery.h:314
IceDiscovery::Lookup::findObjectById
virtual void findObjectById(::std::string domainId, ::Ice::Identity id, ::std::shared_ptr< LookupReplyPrx > reply, const ::Ice::Current &current)=0
Request to find an Ice object.
ObjectF.h
Ice
Definition: BuiltinSequences.h:56
IceDiscovery::Lookup::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
IceDiscovery::LookupPrx::findAdapterByIdAsync
auto findAdapterByIdAsync(const ::std::string &domainId, const ::std::string &id, const ::std::shared_ptr< LookupReplyPrx > &reply, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Request to find an object adapter.
Definition: IceDiscovery.h:435
Identity.h
IceUtil::Handle
Definition: Handle.h:143
IceDiscovery::LookupReply::ProxyType
LookupReplyPrx ProxyType
Definition: IceDiscovery.h:74
IceDiscovery::Lookup
The Lookup interface is used by IceDiscovery clients to look for objects and adapters using UDP multi...
Definition: IceDiscovery.h:140
IceDiscovery::LookupPrx::findAdapterByIdAsync
::std::function< void()> findAdapterByIdAsync(const ::std::string &domainId, const ::std::string &id, const ::std::shared_ptr< LookupReplyPrx > &reply, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an object adapter.
Definition: IceDiscovery.h:455
IceDiscovery::LookupPrx::findAdapterById
void findAdapterById(const ::std::string &domainId, const ::std::string &id, const ::std::shared_ptr< LookupReplyPrx > &reply, const ::Ice::Context &context=::Ice::noExplicitContext)
Request to find an object adapter.
Definition: IceDiscovery.h:419
IceDiscovery::LookupReplyPrx::foundObjectByIdAsync
::std::function< void()> foundObjectByIdAsync(const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findObjectById request.
Definition: IceDiscovery.h:256
Comparable.h
ScopedArray.h
IceDiscovery::Lookup::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Ice::Proxy
Helper template that supplies proxy factory functions.
Definition: Proxy.h:1204
Ice::Identity
The identity of an Ice object.
Definition: Identity.h:67
Exception.h
ValueF.h
IceDiscovery::LookupReplyPrx::foundObjectByIdAsync
auto foundObjectByIdAsync(const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Reply to the findObjectById request.
Definition: IceDiscovery.h:239
IceDiscovery::LookupReplyPrx::foundAdapterById
void foundAdapterById(const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext)
Reply to the findAdpaterById request.
Definition: IceDiscovery.h:278
IceDiscovery::LookupReply::foundObjectById
virtual void foundObjectById(::Ice::Identity id, ::std::shared_ptr<::Ice::ObjectPrx > prx, const ::Ice::Current &current)=0
Reply to the findObjectById request.
IceDiscovery::LookupReply::foundAdapterById
virtual void foundAdapterById(::std::string id, ::std::shared_ptr<::Ice::ObjectPrx > prx, bool isReplicaGroup, const ::Ice::Current &current)=0
Reply to the findAdpaterById request.
Ice::noExplicitContext
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Value.h
IceDiscovery::Lookup::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
PopDisableWarnings.h