Ice 3.7 C++11 API Reference
Registry.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 `Registry.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __IceGrid_Registry_h__
17 #define __IceGrid_Registry_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/IncomingAsync.h>
33 #include <Ice/FactoryTableInit.h>
34 #include <IceUtil/ScopedArray.h>
35 #include <Ice/Optional.h>
36 #include <Ice/ExceptionHelpers.h>
37 #include <Ice/SlicedDataF.h>
38 #include <IceGrid/Exception.h>
39 #include <IceGrid/Session.h>
40 #include <IceGrid/Admin.h>
41 #include <Ice/Locator.h>
42 #include <IceUtil/UndefSysMacros.h>
43 #include <IceGrid/Config.h>
44 
45 #ifndef ICE_IGNORE_VERSION
46 # if ICE_INT_VERSION / 100 != 307
47 # error Ice version mismatch!
48 # endif
49 # if ICE_INT_VERSION % 100 >= 50
50 # error Beta header file detected
51 # endif
52 # if ICE_INT_VERSION % 100 < 10
53 # error Ice patch level mismatch!
54 # endif
55 #endif
56 
57 #ifndef ICEGRID_API
58 # if defined(ICE_STATIC_LIBS)
59 # define ICEGRID_API
60 # elif defined(ICEGRID_API_EXPORTS)
61 # define ICEGRID_API ICE_DECLSPEC_EXPORT
62 # else
63 # define ICEGRID_API ICE_DECLSPEC_IMPORT
64 # endif
65 #endif
66 
67 #ifdef ICE_CPP11_MAPPING // C++11 mapping
68 
69 namespace IceGrid
70 {
71 
72 class Query;
73 class QueryPrx;
74 class Registry;
75 class RegistryPrx;
76 class Locator;
77 class LocatorPrx;
78 
79 }
80 
81 namespace IceGrid
82 {
83 
87 enum class LoadSample : unsigned char
88 {
92  LoadSample1,
96  LoadSample5,
101 };
102 
103 }
104 
105 namespace IceGrid
106 {
107 
113 class ICEGRID_API Query : public virtual ::Ice::Object
114 {
115 public:
116 
118 
125  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
126 
132  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
133 
139  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
140 
145  static const ::std::string& ice_staticId();
146 
153  virtual ::std::shared_ptr<::Ice::ObjectPrx> findObjectById(::Ice::Identity id, const ::Ice::Current& current) const = 0;
155  bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
157 
166  virtual ::std::shared_ptr<::Ice::ObjectPrx> findObjectByType(::std::string type, const ::Ice::Current& current) const = 0;
168  bool _iceD_findObjectByType(::IceInternal::Incoming&, const ::Ice::Current&) const;
170 
182  virtual ::std::shared_ptr<::Ice::ObjectPrx> findObjectByTypeOnLeastLoadedNode(::std::string type, LoadSample sample, const ::Ice::Current& current) const = 0;
184  bool _iceD_findObjectByTypeOnLeastLoadedNode(::IceInternal::Incoming&, const ::Ice::Current&) const;
186 
194  virtual ::Ice::ObjectProxySeq findAllObjectsByType(::std::string type, const ::Ice::Current& current) const = 0;
196  bool _iceD_findAllObjectsByType(::IceInternal::Incoming&, const ::Ice::Current&) const;
198 
208  virtual ::Ice::ObjectProxySeq findAllReplicas(::std::shared_ptr<::Ice::ObjectPrx> proxy, const ::Ice::Current& current) const = 0;
210  bool _iceD_findAllReplicas(::IceInternal::Incoming&, const ::Ice::Current&) const;
212 
214  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
216 };
217 
225 class ICEGRID_API Registry : public virtual ::Ice::Object
226 {
227 public:
228 
230 
237  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
238 
244  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
245 
251  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
252 
257  static const ::std::string& ice_staticId();
258 
269  virtual ::std::shared_ptr<SessionPrx> createSession(::std::string userId, ::std::string password, const ::Ice::Current& current) = 0;
271  bool _iceD_createSession(::IceInternal::Incoming&, const ::Ice::Current&);
273 
284  virtual ::std::shared_ptr<AdminSessionPrx> createAdminSession(::std::string userId, ::std::string password, const ::Ice::Current& current) = 0;
286  bool _iceD_createAdminSession(::IceInternal::Incoming&, const ::Ice::Current&);
288 
297  virtual ::std::shared_ptr<SessionPrx> createSessionFromSecureConnection(const ::Ice::Current& current) = 0;
299  bool _iceD_createSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
301 
310  virtual ::std::shared_ptr<AdminSessionPrx> createAdminSessionFromSecureConnection(const ::Ice::Current& current) = 0;
312  bool _iceD_createAdminSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
314 
324  virtual int getSessionTimeout(const ::Ice::Current& current) const = 0;
326  bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&) const;
328 
338  virtual int getACMTimeout(const ::Ice::Current& current) const = 0;
340  bool _iceD_getACMTimeout(::IceInternal::Incoming&, const ::Ice::Current&) const;
342 
344  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
346 };
347 
355 class ICEGRID_API Locator : public virtual ::Ice::Locator
356 {
357 public:
358 
360 
367  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
368 
374  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
375 
381  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
382 
387  static const ::std::string& ice_staticId();
388 
395  virtual ::std::shared_ptr<RegistryPrx> getLocalRegistry(const ::Ice::Current& current) const = 0;
397  bool _iceD_getLocalRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
399 
406  virtual ::std::shared_ptr<QueryPrx> getLocalQuery(const ::Ice::Current& current) const = 0;
408  bool _iceD_getLocalQuery(::IceInternal::Incoming&, const ::Ice::Current&) const;
410 
412  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
414 };
415 
416 }
417 
418 namespace IceGrid
419 {
420 
426 class ICE_CLASS(ICEGRID_API) QueryPrx : public virtual ::Ice::Proxy<QueryPrx, ::Ice::ObjectPrx>
427 {
428 public:
429 
436  ::std::shared_ptr<::Ice::ObjectPrx> findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
437  {
438  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &QueryPrx::_iceI_findObjectById, id, context).get();
439  }
440 
447  template<template<typename> class P = ::std::promise>
448  auto findObjectByIdAsync(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
449  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
450  {
451  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &QueryPrx::_iceI_findObjectById, id, context);
452  }
453 
463  ::std::function<void()>
464  findObjectByIdAsync(const ::Ice::Identity& id,
465  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
466  ::std::function<void(::std::exception_ptr)> ex = nullptr,
467  ::std::function<void(bool)> sent = nullptr,
469  {
470  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::QueryPrx::_iceI_findObjectById, id, context);
471  }
472 
474  ICE_MEMBER(ICEGRID_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::Ice::Identity&, const ::Ice::Context&);
476 
485  ::std::shared_ptr<::Ice::ObjectPrx> findObjectByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
486  {
487  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &QueryPrx::_iceI_findObjectByType, type, context).get();
488  }
489 
498  template<template<typename> class P = ::std::promise>
499  auto findObjectByTypeAsync(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
500  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
501  {
502  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &QueryPrx::_iceI_findObjectByType, type, context);
503  }
504 
516  ::std::function<void()>
517  findObjectByTypeAsync(const ::std::string& type,
518  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
519  ::std::function<void(::std::exception_ptr)> ex = nullptr,
520  ::std::function<void(bool)> sent = nullptr,
522  {
523  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::QueryPrx::_iceI_findObjectByType, type, context);
524  }
525 
527  ICE_MEMBER(ICEGRID_API) void _iceI_findObjectByType(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, const ::Ice::Context&);
529 
541  ::std::shared_ptr<::Ice::ObjectPrx> findObjectByTypeOnLeastLoadedNode(const ::std::string& type, LoadSample sample, const ::Ice::Context& context = ::Ice::noExplicitContext)
542  {
543  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context).get();
544  }
545 
557  template<template<typename> class P = ::std::promise>
559  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
560  {
561  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context);
562  }
563 
578  ::std::function<void()>
579  findObjectByTypeOnLeastLoadedNodeAsync(const ::std::string& type, LoadSample sample,
580  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
581  ::std::function<void(::std::exception_ptr)> ex = nullptr,
582  ::std::function<void(bool)> sent = nullptr,
584  {
585  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::QueryPrx::_iceI_findObjectByTypeOnLeastLoadedNode, type, sample, context);
586  }
587 
589  ICE_MEMBER(ICEGRID_API) void _iceI_findObjectByTypeOnLeastLoadedNode(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, LoadSample, const ::Ice::Context&);
591 
600  {
601  return _makePromiseOutgoing<::Ice::ObjectProxySeq>(true, this, &QueryPrx::_iceI_findAllObjectsByType, type, context).get();
602  }
603 
610  template<template<typename> class P = ::std::promise>
611  auto findAllObjectsByTypeAsync(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
612  -> decltype(::std::declval<P<::Ice::ObjectProxySeq>>().get_future())
613  {
614  return _makePromiseOutgoing<::Ice::ObjectProxySeq, P>(false, this, &QueryPrx::_iceI_findAllObjectsByType, type, context);
615  }
616 
626  ::std::function<void()>
627  findAllObjectsByTypeAsync(const ::std::string& type,
628  ::std::function<void(::Ice::ObjectProxySeq)> response,
629  ::std::function<void(::std::exception_ptr)> ex = nullptr,
630  ::std::function<void(bool)> sent = nullptr,
632  {
633  return _makeLamdaOutgoing<::Ice::ObjectProxySeq>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::QueryPrx::_iceI_findAllObjectsByType, type, context);
634  }
635 
637  ICE_MEMBER(ICEGRID_API) void _iceI_findAllObjectsByType(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::ObjectProxySeq>>&, const ::std::string&, const ::Ice::Context&);
639 
649  ::Ice::ObjectProxySeq findAllReplicas(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
650  {
651  return _makePromiseOutgoing<::Ice::ObjectProxySeq>(true, this, &QueryPrx::_iceI_findAllReplicas, proxy, context).get();
652  }
653 
662  template<template<typename> class P = ::std::promise>
663  auto findAllReplicasAsync(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
664  -> decltype(::std::declval<P<::Ice::ObjectProxySeq>>().get_future())
665  {
666  return _makePromiseOutgoing<::Ice::ObjectProxySeq, P>(false, this, &QueryPrx::_iceI_findAllReplicas, proxy, context);
667  }
668 
680  ::std::function<void()>
681  findAllReplicasAsync(const ::std::shared_ptr<::Ice::ObjectPrx>& proxy,
682  ::std::function<void(::Ice::ObjectProxySeq)> response,
683  ::std::function<void(::std::exception_ptr)> ex = nullptr,
684  ::std::function<void(bool)> sent = nullptr,
686  {
687  return _makeLamdaOutgoing<::Ice::ObjectProxySeq>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::QueryPrx::_iceI_findAllReplicas, proxy, context);
688  }
689 
691  ICE_MEMBER(ICEGRID_API) void _iceI_findAllReplicas(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::ObjectProxySeq>>&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
693 
698  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
699 
700 protected:
701 
703  QueryPrx() = default;
704  friend ::std::shared_ptr<QueryPrx> IceInternal::createProxy<QueryPrx>();
705 
706  ICE_MEMBER(ICEGRID_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
708 };
709 
717 class ICE_CLASS(ICEGRID_API) RegistryPrx : public virtual ::Ice::Proxy<RegistryPrx, ::Ice::ObjectPrx>
718 {
719 public:
720 
731  ::std::shared_ptr<SessionPrx> createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
732  {
733  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(true, this, &RegistryPrx::_iceI_createSession, userId, password, context).get();
734  }
735 
743  template<template<typename> class P = ::std::promise>
744  auto createSessionAsync(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
745  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::SessionPrx>>>().get_future())
746  {
747  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>, P>(false, this, &RegistryPrx::_iceI_createSession, userId, password, context);
748  }
749 
760  ::std::function<void()>
761  createSessionAsync(const ::std::string& userId, const ::std::string& password,
762  ::std::function<void(::std::shared_ptr<::IceGrid::SessionPrx>)> response,
763  ::std::function<void(::std::exception_ptr)> ex = nullptr,
764  ::std::function<void(bool)> sent = nullptr,
766  {
767  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_createSession, userId, password, context);
768  }
769 
771  ICE_MEMBER(ICEGRID_API) void _iceI_createSession(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::SessionPrx>>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
773 
784  ::std::shared_ptr<AdminSessionPrx> createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
785  {
786  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(true, this, &RegistryPrx::_iceI_createAdminSession, userId, password, context).get();
787  }
788 
796  template<template<typename> class P = ::std::promise>
797  auto createAdminSessionAsync(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
798  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>().get_future())
799  {
800  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>, P>(false, this, &RegistryPrx::_iceI_createAdminSession, userId, password, context);
801  }
802 
813  ::std::function<void()>
814  createAdminSessionAsync(const ::std::string& userId, const ::std::string& password,
815  ::std::function<void(::std::shared_ptr<::IceGrid::AdminSessionPrx>)> response,
816  ::std::function<void(::std::exception_ptr)> ex = nullptr,
817  ::std::function<void(bool)> sent = nullptr,
819  {
820  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_createAdminSession, userId, password, context);
821  }
822 
824  ICE_MEMBER(ICEGRID_API) void _iceI_createAdminSession(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
826 
836  {
837  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(true, this, &RegistryPrx::_iceI_createSessionFromSecureConnection, context).get();
838  }
839 
845  template<template<typename> class P = ::std::promise>
847  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::SessionPrx>>>().get_future())
848  {
849  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>, P>(false, this, &RegistryPrx::_iceI_createSessionFromSecureConnection, context);
850  }
851 
860  ::std::function<void()>
861  createSessionFromSecureConnectionAsync(::std::function<void(::std::shared_ptr<::IceGrid::SessionPrx>)> response,
862  ::std::function<void(::std::exception_ptr)> ex = nullptr,
863  ::std::function<void(bool)> sent = nullptr,
865  {
866  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::SessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_createSessionFromSecureConnection, context);
867  }
868 
870  ICE_MEMBER(ICEGRID_API) void _iceI_createSessionFromSecureConnection(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::SessionPrx>>>&, const ::Ice::Context&);
872 
882  {
883  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(true, this, &RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context).get();
884  }
885 
891  template<template<typename> class P = ::std::promise>
893  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>().get_future())
894  {
895  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>, P>(false, this, &RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context);
896  }
897 
906  ::std::function<void()>
907  createAdminSessionFromSecureConnectionAsync(::std::function<void(::std::shared_ptr<::IceGrid::AdminSessionPrx>)> response,
908  ::std::function<void(::std::exception_ptr)> ex = nullptr,
909  ::std::function<void(bool)> sent = nullptr,
911  {
912  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::AdminSessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_createAdminSessionFromSecureConnection, context);
913  }
914 
916  ICE_MEMBER(ICEGRID_API) void _iceI_createAdminSessionFromSecureConnection(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::AdminSessionPrx>>>&, const ::Ice::Context&);
918 
929  {
930  return _makePromiseOutgoing<int>(true, this, &RegistryPrx::_iceI_getSessionTimeout, context).get();
931  }
932 
942  template<template<typename> class P = ::std::promise>
944  -> decltype(::std::declval<P<int>>().get_future())
945  {
946  return _makePromiseOutgoing<int, P>(false, this, &RegistryPrx::_iceI_getSessionTimeout, context);
947  }
948 
961  ::std::function<void()>
962  getSessionTimeoutAsync(::std::function<void(int)> response,
963  ::std::function<void(::std::exception_ptr)> ex = nullptr,
964  ::std::function<void(bool)> sent = nullptr,
966  {
967  return _makeLamdaOutgoing<int>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_getSessionTimeout, context);
968  }
969 
971  ICE_MEMBER(ICEGRID_API) void _iceI_getSessionTimeout(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<int>>&, const ::Ice::Context&);
973 
984  {
985  return _makePromiseOutgoing<int>(true, this, &RegistryPrx::_iceI_getACMTimeout, context).get();
986  }
987 
997  template<template<typename> class P = ::std::promise>
999  -> decltype(::std::declval<P<int>>().get_future())
1000  {
1001  return _makePromiseOutgoing<int, P>(false, this, &RegistryPrx::_iceI_getACMTimeout, context);
1002  }
1003 
1016  ::std::function<void()>
1017  getACMTimeoutAsync(::std::function<void(int)> response,
1018  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1019  ::std::function<void(bool)> sent = nullptr,
1021  {
1022  return _makeLamdaOutgoing<int>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::RegistryPrx::_iceI_getACMTimeout, context);
1023  }
1024 
1026  ICE_MEMBER(ICEGRID_API) void _iceI_getACMTimeout(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<int>>&, const ::Ice::Context&);
1028 
1033  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
1034 
1035 protected:
1036 
1038  RegistryPrx() = default;
1039  friend ::std::shared_ptr<RegistryPrx> IceInternal::createProxy<RegistryPrx>();
1040 
1041  ICE_MEMBER(ICEGRID_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1043 };
1044 
1052 class ICE_CLASS(ICEGRID_API) LocatorPrx : public virtual ::Ice::Proxy<LocatorPrx, ::Ice::LocatorPrx>
1053 {
1054 public:
1055 
1062  ::std::shared_ptr<RegistryPrx> getLocalRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
1063  {
1064  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>>(true, this, &LocatorPrx::_iceI_getLocalRegistry, context).get();
1065  }
1066 
1073  template<template<typename> class P = ::std::promise>
1075  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::RegistryPrx>>>().get_future())
1076  {
1077  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>, P>(false, this, &LocatorPrx::_iceI_getLocalRegistry, context);
1078  }
1079 
1089  ::std::function<void()>
1090  getLocalRegistryAsync(::std::function<void(::std::shared_ptr<::IceGrid::RegistryPrx>)> response,
1091  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1092  ::std::function<void(bool)> sent = nullptr,
1094  {
1095  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::RegistryPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::LocatorPrx::_iceI_getLocalRegistry, context);
1096  }
1097 
1099  ICE_MEMBER(ICEGRID_API) void _iceI_getLocalRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::RegistryPrx>>>&, const ::Ice::Context&);
1101 
1108  ::std::shared_ptr<QueryPrx> getLocalQuery(const ::Ice::Context& context = ::Ice::noExplicitContext)
1109  {
1110  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>>(true, this, &LocatorPrx::_iceI_getLocalQuery, context).get();
1111  }
1112 
1119  template<template<typename> class P = ::std::promise>
1121  -> decltype(::std::declval<P<::std::shared_ptr<::IceGrid::QueryPrx>>>().get_future())
1122  {
1123  return _makePromiseOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>, P>(false, this, &LocatorPrx::_iceI_getLocalQuery, context);
1124  }
1125 
1135  ::std::function<void()>
1136  getLocalQueryAsync(::std::function<void(::std::shared_ptr<::IceGrid::QueryPrx>)> response,
1137  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1138  ::std::function<void(bool)> sent = nullptr,
1140  {
1141  return _makeLamdaOutgoing<::std::shared_ptr<::IceGrid::QueryPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceGrid::LocatorPrx::_iceI_getLocalQuery, context);
1142  }
1143 
1145  ICE_MEMBER(ICEGRID_API) void _iceI_getLocalQuery(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceGrid::QueryPrx>>>&, const ::Ice::Context&);
1147 
1152  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
1153 
1154 protected:
1155 
1157  LocatorPrx() = default;
1158  friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
1159 
1160  ICE_MEMBER(ICEGRID_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1162 };
1163 
1164 }
1165 
1167 namespace Ice
1168 {
1169 
1170 template<>
1171 struct StreamableTraits< ::IceGrid::LoadSample>
1172 {
1173  static const StreamHelperCategory helper = StreamHelperCategoryEnum;
1174  static const int minValue = 0;
1175  static const int maxValue = 2;
1176  static const int minWireSize = 1;
1177  static const bool fixedLength = false;
1178 };
1179 
1180 }
1182 
1184 namespace IceGrid
1185 {
1186 
1187 using QueryPtr = ::std::shared_ptr<Query>;
1188 using QueryPrxPtr = ::std::shared_ptr<QueryPrx>;
1189 
1190 using RegistryPtr = ::std::shared_ptr<Registry>;
1191 using RegistryPrxPtr = ::std::shared_ptr<RegistryPrx>;
1192 
1193 using LocatorPtr = ::std::shared_ptr<Locator>;
1194 using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
1195 
1196 }
1198 
1199 #else // C++98 mapping
1200 
1201 namespace IceProxy
1202 {
1203 
1204 namespace IceGrid
1205 {
1206 
1207 class Query;
1209 ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Query>&);
1210 ICEGRID_API ::IceProxy::Ice::Object* upCast(Query*);
1212 
1213 class Registry;
1215 ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Registry>&);
1216 ICEGRID_API ::IceProxy::Ice::Object* upCast(Registry*);
1218 
1219 class Locator;
1221 ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Locator>&);
1222 ICEGRID_API ::IceProxy::Ice::Object* upCast(Locator*);
1224 
1225 }
1226 
1227 }
1228 
1229 namespace IceGrid
1230 {
1231 
1232 class Query;
1234 ICEGRID_API ::Ice::Object* upCast(Query*);
1236 typedef ::IceInternal::Handle< Query> QueryPtr;
1237 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Query> QueryPrx;
1238 typedef QueryPrx QueryPrxPtr;
1240 ICEGRID_API void _icePatchObjectPtr(QueryPtr&, const ::Ice::ObjectPtr&);
1242 
1243 class Registry;
1245 ICEGRID_API ::Ice::Object* upCast(Registry*);
1247 typedef ::IceInternal::Handle< Registry> RegistryPtr;
1248 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Registry> RegistryPrx;
1249 typedef RegistryPrx RegistryPrxPtr;
1251 ICEGRID_API void _icePatchObjectPtr(RegistryPtr&, const ::Ice::ObjectPtr&);
1253 
1254 class Locator;
1256 ICEGRID_API ::Ice::Object* upCast(Locator*);
1258 typedef ::IceInternal::Handle< Locator> LocatorPtr;
1259 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Locator> LocatorPrx;
1260 typedef LocatorPrx LocatorPrxPtr;
1262 ICEGRID_API void _icePatchObjectPtr(LocatorPtr&, const ::Ice::ObjectPtr&);
1264 
1265 }
1266 
1267 namespace IceGrid
1268 {
1269 
1273 enum LoadSample
1274 {
1278  LoadSample1,
1282  LoadSample5,
1286  LoadSample15
1287 };
1288 
1289 }
1290 
1292 namespace IceAsync
1293 {
1294 
1295 }
1297 
1298 namespace IceGrid
1299 {
1300 
1306 class Callback_Query_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
1307 typedef ::IceUtil::Handle< Callback_Query_findObjectById_Base> Callback_Query_findObjectByIdPtr;
1308 
1314 class Callback_Query_findObjectByType_Base : public virtual ::IceInternal::CallbackBase { };
1315 typedef ::IceUtil::Handle< Callback_Query_findObjectByType_Base> Callback_Query_findObjectByTypePtr;
1316 
1322 class Callback_Query_findObjectByTypeOnLeastLoadedNode_Base : public virtual ::IceInternal::CallbackBase { };
1323 typedef ::IceUtil::Handle< Callback_Query_findObjectByTypeOnLeastLoadedNode_Base> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr;
1324 
1330 class Callback_Query_findAllObjectsByType_Base : public virtual ::IceInternal::CallbackBase { };
1331 typedef ::IceUtil::Handle< Callback_Query_findAllObjectsByType_Base> Callback_Query_findAllObjectsByTypePtr;
1332 
1338 class Callback_Query_findAllReplicas_Base : public virtual ::IceInternal::CallbackBase { };
1339 typedef ::IceUtil::Handle< Callback_Query_findAllReplicas_Base> Callback_Query_findAllReplicasPtr;
1340 
1346 class Callback_Registry_createSession_Base : public virtual ::IceInternal::CallbackBase { };
1347 typedef ::IceUtil::Handle< Callback_Registry_createSession_Base> Callback_Registry_createSessionPtr;
1348 
1354 class Callback_Registry_createAdminSession_Base : public virtual ::IceInternal::CallbackBase { };
1355 typedef ::IceUtil::Handle< Callback_Registry_createAdminSession_Base> Callback_Registry_createAdminSessionPtr;
1356 
1362 class Callback_Registry_createSessionFromSecureConnection_Base : public virtual ::IceInternal::CallbackBase { };
1363 typedef ::IceUtil::Handle< Callback_Registry_createSessionFromSecureConnection_Base> Callback_Registry_createSessionFromSecureConnectionPtr;
1364 
1370 class Callback_Registry_createAdminSessionFromSecureConnection_Base : public virtual ::IceInternal::CallbackBase { };
1371 typedef ::IceUtil::Handle< Callback_Registry_createAdminSessionFromSecureConnection_Base> Callback_Registry_createAdminSessionFromSecureConnectionPtr;
1372 
1378 class Callback_Registry_getSessionTimeout_Base : public virtual ::IceInternal::CallbackBase { };
1379 typedef ::IceUtil::Handle< Callback_Registry_getSessionTimeout_Base> Callback_Registry_getSessionTimeoutPtr;
1380 
1386 class Callback_Registry_getACMTimeout_Base : public virtual ::IceInternal::CallbackBase { };
1387 typedef ::IceUtil::Handle< Callback_Registry_getACMTimeout_Base> Callback_Registry_getACMTimeoutPtr;
1388 
1394 class Callback_Locator_getLocalRegistry_Base : public virtual ::IceInternal::CallbackBase { };
1395 typedef ::IceUtil::Handle< Callback_Locator_getLocalRegistry_Base> Callback_Locator_getLocalRegistryPtr;
1396 
1402 class Callback_Locator_getLocalQuery_Base : public virtual ::IceInternal::CallbackBase { };
1403 typedef ::IceUtil::Handle< Callback_Locator_getLocalQuery_Base> Callback_Locator_getLocalQueryPtr;
1404 
1405 }
1406 
1407 namespace IceProxy
1408 {
1409 
1410 namespace IceGrid
1411 {
1412 
1413 class ICE_CLASS(ICEGRID_API) Query : public virtual ::Ice::Proxy<Query, ::IceProxy::Ice::Object>
1414 {
1415 public:
1416 
1423  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1424  {
1425  return end_findObjectById(_iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0, true));
1426  }
1427 
1434  ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1435  {
1436  return _iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0);
1437  }
1438 
1446  ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1447  {
1448  return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1449  }
1450 
1459  ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1460  {
1461  return _iceI_begin_findObjectById(id, context, cb, cookie);
1462  }
1463 
1471  ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::IceGrid::Callback_Query_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1472  {
1473  return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1474  }
1475 
1484  ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::IceGrid::Callback_Query_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1485  {
1486  return _iceI_begin_findObjectById(id, context, cb, cookie);
1487  }
1488 
1494  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr& result);
1495 
1496 private:
1497 
1498  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_findObjectById(const ::Ice::Identity&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1499 
1500 public:
1501 
1510  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx findObjectByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
1511  {
1512  return end_findObjectByType(_iceI_begin_findObjectByType(type, context, ::IceInternal::dummyCallback, 0, true));
1513  }
1514 
1523  ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
1524  {
1525  return _iceI_begin_findObjectByType(type, context, ::IceInternal::dummyCallback, 0);
1526  }
1527 
1537  ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1538  {
1539  return _iceI_begin_findObjectByType(type, ::Ice::noExplicitContext, cb, cookie);
1540  }
1541 
1552  ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1553  {
1554  return _iceI_begin_findObjectByType(type, context, cb, cookie);
1555  }
1556 
1566  ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::IceGrid::Callback_Query_findObjectByTypePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1567  {
1568  return _iceI_begin_findObjectByType(type, ::Ice::noExplicitContext, cb, cookie);
1569  }
1570 
1581  ::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string& type, const ::Ice::Context& context, const ::IceGrid::Callback_Query_findObjectByTypePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1582  {
1583  return _iceI_begin_findObjectByType(type, context, cb, cookie);
1584  }
1585 
1591  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx end_findObjectByType(const ::Ice::AsyncResultPtr& result);
1592 
1593 private:
1594 
1595  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_findObjectByType(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1596 
1597 public:
1598 
1610  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::Ice::Context& context = ::Ice::noExplicitContext)
1611  {
1612  return end_findObjectByTypeOnLeastLoadedNode(_iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, ::IceInternal::dummyCallback, 0, true));
1613  }
1614 
1626  ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::Ice::Context& context = ::Ice::noExplicitContext)
1627  {
1628  return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, ::IceInternal::dummyCallback, 0);
1629  }
1630 
1643  ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1644  {
1645  return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, ::Ice::noExplicitContext, cb, cookie);
1646  }
1647 
1661  ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1662  {
1663  return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, cb, cookie);
1664  }
1665 
1678  ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::IceGrid::Callback_Query_findObjectByTypeOnLeastLoadedNodePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1679  {
1680  return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, ::Ice::noExplicitContext, cb, cookie);
1681  }
1682 
1696  ::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string& type, ::IceGrid::LoadSample sample, const ::Ice::Context& context, const ::IceGrid::Callback_Query_findObjectByTypeOnLeastLoadedNodePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1697  {
1698  return _iceI_begin_findObjectByTypeOnLeastLoadedNode(type, sample, context, cb, cookie);
1699  }
1700 
1706  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectPrx end_findObjectByTypeOnLeastLoadedNode(const ::Ice::AsyncResultPtr& result);
1707 
1708 private:
1709 
1710  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_findObjectByTypeOnLeastLoadedNode(const ::std::string&, ::IceGrid::LoadSample, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1711 
1712 public:
1713 
1721  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectProxySeq findAllObjectsByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
1722  {
1723  return end_findAllObjectsByType(_iceI_begin_findAllObjectsByType(type, context, ::IceInternal::dummyCallback, 0, true));
1724  }
1725 
1732  ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
1733  {
1734  return _iceI_begin_findAllObjectsByType(type, context, ::IceInternal::dummyCallback, 0);
1735  }
1736 
1744  ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1745  {
1746  return _iceI_begin_findAllObjectsByType(type, ::Ice::noExplicitContext, cb, cookie);
1747  }
1748 
1757  ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1758  {
1759  return _iceI_begin_findAllObjectsByType(type, context, cb, cookie);
1760  }
1761 
1769  ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::IceGrid::Callback_Query_findAllObjectsByTypePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1770  {
1771  return _iceI_begin_findAllObjectsByType(type, ::Ice::noExplicitContext, cb, cookie);
1772  }
1773 
1782  ::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string& type, const ::Ice::Context& context, const ::IceGrid::Callback_Query_findAllObjectsByTypePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1783  {
1784  return _iceI_begin_findAllObjectsByType(type, context, cb, cookie);
1785  }
1786 
1793  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectProxySeq end_findAllObjectsByType(const ::Ice::AsyncResultPtr& result);
1794 
1795 private:
1796 
1797  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_findAllObjectsByType(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1798 
1799 public:
1800 
1810  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectProxySeq findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1811  {
1812  return end_findAllReplicas(_iceI_begin_findAllReplicas(proxy, context, ::IceInternal::dummyCallback, 0, true));
1813  }
1814 
1823  ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1824  {
1825  return _iceI_begin_findAllReplicas(proxy, context, ::IceInternal::dummyCallback, 0);
1826  }
1827 
1837  ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1838  {
1839  return _iceI_begin_findAllReplicas(proxy, ::Ice::noExplicitContext, cb, cookie);
1840  }
1841 
1852  ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1853  {
1854  return _iceI_begin_findAllReplicas(proxy, context, cb, cookie);
1855  }
1856 
1866  ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::IceGrid::Callback_Query_findAllReplicasPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1867  {
1868  return _iceI_begin_findAllReplicas(proxy, ::Ice::noExplicitContext, cb, cookie);
1869  }
1870 
1881  ::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::IceGrid::Callback_Query_findAllReplicasPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1882  {
1883  return _iceI_begin_findAllReplicas(proxy, context, cb, cookie);
1884  }
1885 
1892  ICE_MEMBER(ICEGRID_API) ::Ice::ObjectProxySeq end_findAllReplicas(const ::Ice::AsyncResultPtr& result);
1893 
1894 private:
1895 
1896  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_findAllReplicas(const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1897 
1898 public:
1899 
1904  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
1905 
1906 protected:
1908 
1909  ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1911 };
1912 
1913 class ICE_CLASS(ICEGRID_API) Registry : public virtual ::Ice::Proxy<Registry, ::IceProxy::Ice::Object>
1914 {
1915 public:
1916 
1927  ICE_MEMBER(ICEGRID_API) ::IceGrid::SessionPrx createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
1928  {
1929  return end_createSession(_iceI_begin_createSession(userId, password, context, ::IceInternal::dummyCallback, 0, true));
1930  }
1931 
1939  ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
1940  {
1941  return _iceI_begin_createSession(userId, password, context, ::IceInternal::dummyCallback, 0);
1942  }
1943 
1952  ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1953  {
1954  return _iceI_begin_createSession(userId, password, ::Ice::noExplicitContext, cb, cookie);
1955  }
1956 
1966  ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1967  {
1968  return _iceI_begin_createSession(userId, password, context, cb, cookie);
1969  }
1970 
1979  ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::IceGrid::Callback_Registry_createSessionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1980  {
1981  return _iceI_begin_createSession(userId, password, ::Ice::noExplicitContext, cb, cookie);
1982  }
1983 
1993  ::Ice::AsyncResultPtr begin_createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createSessionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1994  {
1995  return _iceI_begin_createSession(userId, password, context, cb, cookie);
1996  }
1997 
2006  ICE_MEMBER(ICEGRID_API) ::IceGrid::SessionPrx end_createSession(const ::Ice::AsyncResultPtr& result);
2007 
2008 private:
2009 
2010  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_createSession(const ::std::string&, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2011 
2012 public:
2013 
2024  ICE_MEMBER(ICEGRID_API) ::IceGrid::AdminSessionPrx createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
2025  {
2026  return end_createAdminSession(_iceI_begin_createAdminSession(userId, password, context, ::IceInternal::dummyCallback, 0, true));
2027  }
2028 
2036  ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context = ::Ice::noExplicitContext)
2037  {
2038  return _iceI_begin_createAdminSession(userId, password, context, ::IceInternal::dummyCallback, 0);
2039  }
2040 
2049  ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2050  {
2051  return _iceI_begin_createAdminSession(userId, password, ::Ice::noExplicitContext, cb, cookie);
2052  }
2053 
2063  ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2064  {
2065  return _iceI_begin_createAdminSession(userId, password, context, cb, cookie);
2066  }
2067 
2076  ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::IceGrid::Callback_Registry_createAdminSessionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2077  {
2078  return _iceI_begin_createAdminSession(userId, password, ::Ice::noExplicitContext, cb, cookie);
2079  }
2080 
2090  ::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createAdminSessionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2091  {
2092  return _iceI_begin_createAdminSession(userId, password, context, cb, cookie);
2093  }
2094 
2103  ICE_MEMBER(ICEGRID_API) ::IceGrid::AdminSessionPrx end_createAdminSession(const ::Ice::AsyncResultPtr& result);
2104 
2105 private:
2106 
2107  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_createAdminSession(const ::std::string&, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2108 
2109 public:
2110 
2119  ICE_MEMBER(ICEGRID_API) ::IceGrid::SessionPrx createSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
2120  {
2121  return end_createSessionFromSecureConnection(_iceI_begin_createSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0, true));
2122  }
2123 
2129  ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
2130  {
2131  return _iceI_begin_createSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0);
2132  }
2133 
2140  ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2141  {
2142  return _iceI_begin_createSessionFromSecureConnection(::Ice::noExplicitContext, cb, cookie);
2143  }
2144 
2152  ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2153  {
2154  return _iceI_begin_createSessionFromSecureConnection(context, cb, cookie);
2155  }
2156 
2163  ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createSessionFromSecureConnectionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2164  {
2165  return _iceI_begin_createSessionFromSecureConnection(::Ice::noExplicitContext, cb, cookie);
2166  }
2167 
2175  ::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createSessionFromSecureConnectionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2176  {
2177  return _iceI_begin_createSessionFromSecureConnection(context, cb, cookie);
2178  }
2179 
2188  ICE_MEMBER(ICEGRID_API) ::IceGrid::SessionPrx end_createSessionFromSecureConnection(const ::Ice::AsyncResultPtr& result);
2189 
2190 private:
2191 
2192  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_createSessionFromSecureConnection(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2193 
2194 public:
2195 
2204  ICE_MEMBER(ICEGRID_API) ::IceGrid::AdminSessionPrx createAdminSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
2205  {
2206  return end_createAdminSessionFromSecureConnection(_iceI_begin_createAdminSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0, true));
2207  }
2208 
2214  ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
2215  {
2216  return _iceI_begin_createAdminSessionFromSecureConnection(context, ::IceInternal::dummyCallback, 0);
2217  }
2218 
2225  ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2226  {
2227  return _iceI_begin_createAdminSessionFromSecureConnection(::Ice::noExplicitContext, cb, cookie);
2228  }
2229 
2237  ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2238  {
2239  return _iceI_begin_createAdminSessionFromSecureConnection(context, cb, cookie);
2240  }
2241 
2248  ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createAdminSessionFromSecureConnectionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2249  {
2250  return _iceI_begin_createAdminSessionFromSecureConnection(::Ice::noExplicitContext, cb, cookie);
2251  }
2252 
2260  ::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context& context, const ::IceGrid::Callback_Registry_createAdminSessionFromSecureConnectionPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2261  {
2262  return _iceI_begin_createAdminSessionFromSecureConnection(context, cb, cookie);
2263  }
2264 
2273  ICE_MEMBER(ICEGRID_API) ::IceGrid::AdminSessionPrx end_createAdminSessionFromSecureConnection(const ::Ice::AsyncResultPtr& result);
2274 
2275 private:
2276 
2277  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_createAdminSessionFromSecureConnection(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2278 
2279 public:
2280 
2290  ICE_MEMBER(ICEGRID_API) ::Ice::Int getSessionTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2291  {
2292  return end_getSessionTimeout(_iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0, true));
2293  }
2294 
2304  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2305  {
2306  return _iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0);
2307  }
2308 
2319  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2320  {
2321  return _iceI_begin_getSessionTimeout(::Ice::noExplicitContext, cb, cookie);
2322  }
2323 
2335  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2336  {
2337  return _iceI_begin_getSessionTimeout(context, cb, cookie);
2338  }
2339 
2350  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::IceGrid::Callback_Registry_getSessionTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2351  {
2352  return _iceI_begin_getSessionTimeout(::Ice::noExplicitContext, cb, cookie);
2353  }
2354 
2366  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context, const ::IceGrid::Callback_Registry_getSessionTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2367  {
2368  return _iceI_begin_getSessionTimeout(context, cb, cookie);
2369  }
2370 
2376  ICE_MEMBER(ICEGRID_API) ::Ice::Int end_getSessionTimeout(const ::Ice::AsyncResultPtr& result);
2377 
2378 private:
2379 
2380  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_getSessionTimeout(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2381 
2382 public:
2383 
2393  ICE_MEMBER(ICEGRID_API) ::Ice::Int getACMTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2394  {
2395  return end_getACMTimeout(_iceI_begin_getACMTimeout(context, ::IceInternal::dummyCallback, 0, true));
2396  }
2397 
2407  ::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2408  {
2409  return _iceI_begin_getACMTimeout(context, ::IceInternal::dummyCallback, 0);
2410  }
2411 
2422  ::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2423  {
2424  return _iceI_begin_getACMTimeout(::Ice::noExplicitContext, cb, cookie);
2425  }
2426 
2438  ::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2439  {
2440  return _iceI_begin_getACMTimeout(context, cb, cookie);
2441  }
2442 
2453  ::Ice::AsyncResultPtr begin_getACMTimeout(const ::IceGrid::Callback_Registry_getACMTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2454  {
2455  return _iceI_begin_getACMTimeout(::Ice::noExplicitContext, cb, cookie);
2456  }
2457 
2469  ::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context& context, const ::IceGrid::Callback_Registry_getACMTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2470  {
2471  return _iceI_begin_getACMTimeout(context, cb, cookie);
2472  }
2473 
2479  ICE_MEMBER(ICEGRID_API) ::Ice::Int end_getACMTimeout(const ::Ice::AsyncResultPtr& result);
2480 
2481 private:
2482 
2483  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_getACMTimeout(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2484 
2485 public:
2486 
2491  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
2492 
2493 protected:
2495 
2496  ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2498 };
2499 
2500 class ICE_CLASS(ICEGRID_API) Locator : public virtual ::Ice::Proxy<Locator, ::IceProxy::Ice::Locator>
2501 {
2502 public:
2503 
2510  ICE_MEMBER(ICEGRID_API) ::IceGrid::RegistryPrx getLocalRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
2511  {
2512  return end_getLocalRegistry(_iceI_begin_getLocalRegistry(context, ::IceInternal::dummyCallback, 0, true));
2513  }
2514 
2521  ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
2522  {
2523  return _iceI_begin_getLocalRegistry(context, ::IceInternal::dummyCallback, 0);
2524  }
2525 
2533  ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2534  {
2535  return _iceI_begin_getLocalRegistry(::Ice::noExplicitContext, cb, cookie);
2536  }
2537 
2546  ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2547  {
2548  return _iceI_begin_getLocalRegistry(context, cb, cookie);
2549  }
2550 
2558  ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::IceGrid::Callback_Locator_getLocalRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2559  {
2560  return _iceI_begin_getLocalRegistry(::Ice::noExplicitContext, cb, cookie);
2561  }
2562 
2571  ::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context& context, const ::IceGrid::Callback_Locator_getLocalRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2572  {
2573  return _iceI_begin_getLocalRegistry(context, cb, cookie);
2574  }
2575 
2581  ICE_MEMBER(ICEGRID_API) ::IceGrid::RegistryPrx end_getLocalRegistry(const ::Ice::AsyncResultPtr& result);
2582 
2583 private:
2584 
2585  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_getLocalRegistry(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2586 
2587 public:
2588 
2595  ICE_MEMBER(ICEGRID_API) ::IceGrid::QueryPrx getLocalQuery(const ::Ice::Context& context = ::Ice::noExplicitContext)
2596  {
2597  return end_getLocalQuery(_iceI_begin_getLocalQuery(context, ::IceInternal::dummyCallback, 0, true));
2598  }
2599 
2606  ::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context& context = ::Ice::noExplicitContext)
2607  {
2608  return _iceI_begin_getLocalQuery(context, ::IceInternal::dummyCallback, 0);
2609  }
2610 
2618  ::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2619  {
2620  return _iceI_begin_getLocalQuery(::Ice::noExplicitContext, cb, cookie);
2621  }
2622 
2631  ::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2632  {
2633  return _iceI_begin_getLocalQuery(context, cb, cookie);
2634  }
2635 
2643  ::Ice::AsyncResultPtr begin_getLocalQuery(const ::IceGrid::Callback_Locator_getLocalQueryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2644  {
2645  return _iceI_begin_getLocalQuery(::Ice::noExplicitContext, cb, cookie);
2646  }
2647 
2656  ::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context& context, const ::IceGrid::Callback_Locator_getLocalQueryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2657  {
2658  return _iceI_begin_getLocalQuery(context, cb, cookie);
2659  }
2660 
2666  ICE_MEMBER(ICEGRID_API) ::IceGrid::QueryPrx end_getLocalQuery(const ::Ice::AsyncResultPtr& result);
2667 
2668 private:
2669 
2670  ICE_MEMBER(ICEGRID_API) ::Ice::AsyncResultPtr _iceI_begin_getLocalQuery(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2671 
2672 public:
2673 
2678  ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
2679 
2680 protected:
2682 
2683  ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2685 };
2686 
2687 }
2688 
2689 }
2690 
2691 namespace IceGrid
2692 {
2693 
2699 class ICEGRID_API Query : public virtual ::Ice::Object
2700 {
2701 public:
2702 
2703  typedef QueryPrx ProxyType;
2704  typedef QueryPtr PointerType;
2705 
2706  virtual ~Query();
2707 
2708 #ifdef ICE_CPP11_COMPILER
2709  Query() = default;
2710  Query(const Query&) = default;
2711  Query& operator=(const Query&) = default;
2712 #endif
2713 
2720  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2721 
2727  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2728 
2734  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2735 
2740  static const ::std::string& ice_staticId();
2741 
2748  virtual ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2750  bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
2752 
2761  virtual ::Ice::ObjectPrx findObjectByType(const ::std::string& type, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2763  bool _iceD_findObjectByType(::IceInternal::Incoming&, const ::Ice::Current&) const;
2765 
2777  virtual ::Ice::ObjectPrx findObjectByTypeOnLeastLoadedNode(const ::std::string& type, LoadSample sample, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2779  bool _iceD_findObjectByTypeOnLeastLoadedNode(::IceInternal::Incoming&, const ::Ice::Current&) const;
2781 
2789  virtual ::Ice::ObjectProxySeq findAllObjectsByType(const ::std::string& type, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2791  bool _iceD_findAllObjectsByType(::IceInternal::Incoming&, const ::Ice::Current&) const;
2793 
2803  virtual ::Ice::ObjectProxySeq findAllReplicas(const ::Ice::ObjectPrx& proxy, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2805  bool _iceD_findAllReplicas(::IceInternal::Incoming&, const ::Ice::Current&) const;
2807 
2809  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2811 
2812 protected:
2813 
2815  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2816  virtual void _iceReadImpl(::Ice::InputStream*);
2818 };
2819 
2821 inline bool operator==(const Query& lhs, const Query& rhs)
2822 {
2823  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2824 }
2825 
2826 inline bool operator<(const Query& lhs, const Query& rhs)
2827 {
2828  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2829 }
2831 
2839 class ICEGRID_API Registry : public virtual ::Ice::Object
2840 {
2841 public:
2842 
2843  typedef RegistryPrx ProxyType;
2844  typedef RegistryPtr PointerType;
2845 
2846  virtual ~Registry();
2847 
2848 #ifdef ICE_CPP11_COMPILER
2849  Registry() = default;
2850  Registry(const Registry&) = default;
2851  Registry& operator=(const Registry&) = default;
2852 #endif
2853 
2860  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2861 
2867  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2868 
2874  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2875 
2880  static const ::std::string& ice_staticId();
2881 
2892  virtual SessionPrx createSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2894  bool _iceD_createSession(::IceInternal::Incoming&, const ::Ice::Current&);
2896 
2907  virtual AdminSessionPrx createAdminSession(const ::std::string& userId, const ::std::string& password, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2909  bool _iceD_createAdminSession(::IceInternal::Incoming&, const ::Ice::Current&);
2911 
2920  virtual SessionPrx createSessionFromSecureConnection(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2922  bool _iceD_createSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
2924 
2933  virtual AdminSessionPrx createAdminSessionFromSecureConnection(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2935  bool _iceD_createAdminSessionFromSecureConnection(::IceInternal::Incoming&, const ::Ice::Current&);
2937 
2947  virtual ::Ice::Int getSessionTimeout(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2949  bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&) const;
2951 
2961  virtual ::Ice::Int getACMTimeout(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
2963  bool _iceD_getACMTimeout(::IceInternal::Incoming&, const ::Ice::Current&) const;
2965 
2967  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2969 
2970 protected:
2971 
2973  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2974  virtual void _iceReadImpl(::Ice::InputStream*);
2976 };
2977 
2979 inline bool operator==(const Registry& lhs, const Registry& rhs)
2980 {
2981  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2982 }
2983 
2984 inline bool operator<(const Registry& lhs, const Registry& rhs)
2985 {
2986  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2987 }
2989 
2997 class ICEGRID_API Locator : virtual public ::Ice::Locator
2998 {
2999 public:
3000 
3001  typedef LocatorPrx ProxyType;
3002  typedef LocatorPtr PointerType;
3003 
3004  virtual ~Locator();
3005 
3006 #ifdef ICE_CPP11_COMPILER
3007  Locator() = default;
3008  Locator(const Locator&) = default;
3009  Locator& operator=(const Locator&) = default;
3010 #endif
3011 
3018  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3019 
3025  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3026 
3032  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3033 
3038  static const ::std::string& ice_staticId();
3039 
3046  virtual RegistryPrx getLocalRegistry(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3048  bool _iceD_getLocalRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
3050 
3057  virtual QueryPrx getLocalQuery(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3059  bool _iceD_getLocalQuery(::IceInternal::Incoming&, const ::Ice::Current&) const;
3061 
3063  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3065 
3066 protected:
3067 
3069  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3070  virtual void _iceReadImpl(::Ice::InputStream*);
3072 };
3073 
3075 inline bool operator==(const Locator& lhs, const Locator& rhs)
3076 {
3077  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3078 }
3079 
3080 inline bool operator<(const Locator& lhs, const Locator& rhs)
3081 {
3082  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3083 }
3085 
3086 }
3087 
3089 namespace Ice
3090 {
3091 
3092 template<>
3093 struct StreamableTraits< ::IceGrid::LoadSample>
3094 {
3095  static const StreamHelperCategory helper = StreamHelperCategoryEnum;
3096  static const int minValue = 0;
3097  static const int maxValue = 2;
3098  static const int minWireSize = 1;
3099  static const bool fixedLength = false;
3100 };
3101 
3102 }
3104 
3105 namespace IceGrid
3106 {
3107 
3113 template<class T>
3114 class CallbackNC_Query_findObjectById : public Callback_Query_findObjectById_Base, public ::IceInternal::TwowayCallbackNC<T>
3115 {
3116 public:
3117 
3118  typedef IceUtil::Handle<T> TPtr;
3119 
3120  typedef void (T::*Exception)(const ::Ice::Exception&);
3121  typedef void (T::*Sent)(bool);
3122  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3123 
3124  CallbackNC_Query_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3125  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3126  {
3127  }
3128 
3130  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3131  {
3132  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3133  ::Ice::ObjectPrx ret;
3134  try
3135  {
3136  ret = proxy->end_findObjectById(result);
3137  }
3138  catch(const ::Ice::Exception& ex)
3139  {
3140  ::IceInternal::CallbackNC<T>::exception(result, ex);
3141  return;
3142  }
3143  if(_response)
3144  {
3145  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3146  }
3147  }
3149 
3150 private:
3151 
3152  Response _response;
3153 };
3154 
3163 template<class T> Callback_Query_findObjectByIdPtr
3164 newCallback_Query_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3165 {
3166  return new CallbackNC_Query_findObjectById<T>(instance, cb, excb, sentcb);
3167 }
3168 
3177 template<class T> Callback_Query_findObjectByIdPtr
3178 newCallback_Query_findObjectById(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3179 {
3180  return new CallbackNC_Query_findObjectById<T>(instance, cb, excb, sentcb);
3181 }
3182 
3188 template<class T, typename CT>
3189 class Callback_Query_findObjectById : public Callback_Query_findObjectById_Base, public ::IceInternal::TwowayCallback<T, CT>
3190 {
3191 public:
3192 
3193  typedef IceUtil::Handle<T> TPtr;
3194 
3195  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3196  typedef void (T::*Sent)(bool , const CT&);
3197  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
3198 
3199  Callback_Query_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3200  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3201  {
3202  }
3203 
3205  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3206  {
3207  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3208  ::Ice::ObjectPrx ret;
3209  try
3210  {
3211  ret = proxy->end_findObjectById(result);
3212  }
3213  catch(const ::Ice::Exception& ex)
3214  {
3215  ::IceInternal::Callback<T, CT>::exception(result, ex);
3216  return;
3217  }
3218  if(_response)
3219  {
3220  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3221  }
3222  }
3224 
3225 private:
3226 
3227  Response _response;
3228 };
3229 
3239 template<class T, typename CT> Callback_Query_findObjectByIdPtr
3240 newCallback_Query_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3241 {
3242  return new Callback_Query_findObjectById<T, CT>(instance, cb, excb, sentcb);
3243 }
3244 
3254 template<class T, typename CT> Callback_Query_findObjectByIdPtr
3255 newCallback_Query_findObjectById(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3256 {
3257  return new Callback_Query_findObjectById<T, CT>(instance, cb, excb, sentcb);
3258 }
3259 
3265 template<class T>
3266 class CallbackNC_Query_findObjectByType : public Callback_Query_findObjectByType_Base, public ::IceInternal::TwowayCallbackNC<T>
3267 {
3268 public:
3269 
3270  typedef IceUtil::Handle<T> TPtr;
3271 
3272  typedef void (T::*Exception)(const ::Ice::Exception&);
3273  typedef void (T::*Sent)(bool);
3274  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3275 
3276  CallbackNC_Query_findObjectByType(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3277  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3278  {
3279  }
3280 
3282  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3283  {
3284  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3285  ::Ice::ObjectPrx ret;
3286  try
3287  {
3288  ret = proxy->end_findObjectByType(result);
3289  }
3290  catch(const ::Ice::Exception& ex)
3291  {
3292  ::IceInternal::CallbackNC<T>::exception(result, ex);
3293  return;
3294  }
3295  if(_response)
3296  {
3297  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3298  }
3299  }
3301 
3302 private:
3303 
3304  Response _response;
3305 };
3306 
3315 template<class T> Callback_Query_findObjectByTypePtr
3316 newCallback_Query_findObjectByType(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3317 {
3318  return new CallbackNC_Query_findObjectByType<T>(instance, cb, excb, sentcb);
3319 }
3320 
3329 template<class T> Callback_Query_findObjectByTypePtr
3330 newCallback_Query_findObjectByType(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3331 {
3332  return new CallbackNC_Query_findObjectByType<T>(instance, cb, excb, sentcb);
3333 }
3334 
3340 template<class T, typename CT>
3341 class Callback_Query_findObjectByType : public Callback_Query_findObjectByType_Base, public ::IceInternal::TwowayCallback<T, CT>
3342 {
3343 public:
3344 
3345  typedef IceUtil::Handle<T> TPtr;
3346 
3347  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3348  typedef void (T::*Sent)(bool , const CT&);
3349  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
3350 
3351  Callback_Query_findObjectByType(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3352  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3353  {
3354  }
3355 
3357  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3358  {
3359  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3360  ::Ice::ObjectPrx ret;
3361  try
3362  {
3363  ret = proxy->end_findObjectByType(result);
3364  }
3365  catch(const ::Ice::Exception& ex)
3366  {
3367  ::IceInternal::Callback<T, CT>::exception(result, ex);
3368  return;
3369  }
3370  if(_response)
3371  {
3372  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3373  }
3374  }
3376 
3377 private:
3378 
3379  Response _response;
3380 };
3381 
3391 template<class T, typename CT> Callback_Query_findObjectByTypePtr
3392 newCallback_Query_findObjectByType(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3393 {
3394  return new Callback_Query_findObjectByType<T, CT>(instance, cb, excb, sentcb);
3395 }
3396 
3406 template<class T, typename CT> Callback_Query_findObjectByTypePtr
3407 newCallback_Query_findObjectByType(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3408 {
3409  return new Callback_Query_findObjectByType<T, CT>(instance, cb, excb, sentcb);
3410 }
3411 
3417 template<class T>
3418 class CallbackNC_Query_findObjectByTypeOnLeastLoadedNode : public Callback_Query_findObjectByTypeOnLeastLoadedNode_Base, public ::IceInternal::TwowayCallbackNC<T>
3419 {
3420 public:
3421 
3422  typedef IceUtil::Handle<T> TPtr;
3423 
3424  typedef void (T::*Exception)(const ::Ice::Exception&);
3425  typedef void (T::*Sent)(bool);
3426  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3427 
3428  CallbackNC_Query_findObjectByTypeOnLeastLoadedNode(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3429  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3430  {
3431  }
3432 
3434  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3435  {
3436  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3437  ::Ice::ObjectPrx ret;
3438  try
3439  {
3440  ret = proxy->end_findObjectByTypeOnLeastLoadedNode(result);
3441  }
3442  catch(const ::Ice::Exception& ex)
3443  {
3444  ::IceInternal::CallbackNC<T>::exception(result, ex);
3445  return;
3446  }
3447  if(_response)
3448  {
3449  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3450  }
3451  }
3453 
3454 private:
3455 
3456  Response _response;
3457 };
3458 
3467 template<class T> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3468 newCallback_Query_findObjectByTypeOnLeastLoadedNode(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3469 {
3470  return new CallbackNC_Query_findObjectByTypeOnLeastLoadedNode<T>(instance, cb, excb, sentcb);
3471 }
3472 
3481 template<class T> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3482 newCallback_Query_findObjectByTypeOnLeastLoadedNode(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3483 {
3484  return new CallbackNC_Query_findObjectByTypeOnLeastLoadedNode<T>(instance, cb, excb, sentcb);
3485 }
3486 
3492 template<class T, typename CT>
3493 class Callback_Query_findObjectByTypeOnLeastLoadedNode : public Callback_Query_findObjectByTypeOnLeastLoadedNode_Base, public ::IceInternal::TwowayCallback<T, CT>
3494 {
3495 public:
3496 
3497  typedef IceUtil::Handle<T> TPtr;
3498 
3499  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3500  typedef void (T::*Sent)(bool , const CT&);
3501  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
3502 
3503  Callback_Query_findObjectByTypeOnLeastLoadedNode(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3504  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3505  {
3506  }
3507 
3509  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3510  {
3511  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3512  ::Ice::ObjectPrx ret;
3513  try
3514  {
3515  ret = proxy->end_findObjectByTypeOnLeastLoadedNode(result);
3516  }
3517  catch(const ::Ice::Exception& ex)
3518  {
3519  ::IceInternal::Callback<T, CT>::exception(result, ex);
3520  return;
3521  }
3522  if(_response)
3523  {
3524  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3525  }
3526  }
3528 
3529 private:
3530 
3531  Response _response;
3532 };
3533 
3543 template<class T, typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3544 newCallback_Query_findObjectByTypeOnLeastLoadedNode(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3545 {
3546  return new Callback_Query_findObjectByTypeOnLeastLoadedNode<T, CT>(instance, cb, excb, sentcb);
3547 }
3548 
3558 template<class T, typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3559 newCallback_Query_findObjectByTypeOnLeastLoadedNode(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3560 {
3561  return new Callback_Query_findObjectByTypeOnLeastLoadedNode<T, CT>(instance, cb, excb, sentcb);
3562 }
3563 
3569 template<class T>
3570 class CallbackNC_Query_findAllObjectsByType : public Callback_Query_findAllObjectsByType_Base, public ::IceInternal::TwowayCallbackNC<T>
3571 {
3572 public:
3573 
3574  typedef IceUtil::Handle<T> TPtr;
3575 
3576  typedef void (T::*Exception)(const ::Ice::Exception&);
3577  typedef void (T::*Sent)(bool);
3578  typedef void (T::*Response)(const ::Ice::ObjectProxySeq&);
3579 
3580  CallbackNC_Query_findAllObjectsByType(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3581  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3582  {
3583  }
3584 
3586  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3587  {
3588  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3590  try
3591  {
3592  ret = proxy->end_findAllObjectsByType(result);
3593  }
3594  catch(const ::Ice::Exception& ex)
3595  {
3596  ::IceInternal::CallbackNC<T>::exception(result, ex);
3597  return;
3598  }
3599  if(_response)
3600  {
3601  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3602  }
3603  }
3605 
3606 private:
3607 
3608  Response _response;
3609 };
3610 
3619 template<class T> Callback_Query_findAllObjectsByTypePtr
3620 newCallback_Query_findAllObjectsByType(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectProxySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3621 {
3622  return new CallbackNC_Query_findAllObjectsByType<T>(instance, cb, excb, sentcb);
3623 }
3624 
3633 template<class T> Callback_Query_findAllObjectsByTypePtr
3634 newCallback_Query_findAllObjectsByType(T* instance, void (T::*cb)(const ::Ice::ObjectProxySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3635 {
3636  return new CallbackNC_Query_findAllObjectsByType<T>(instance, cb, excb, sentcb);
3637 }
3638 
3644 template<class T, typename CT>
3645 class Callback_Query_findAllObjectsByType : public Callback_Query_findAllObjectsByType_Base, public ::IceInternal::TwowayCallback<T, CT>
3646 {
3647 public:
3648 
3649  typedef IceUtil::Handle<T> TPtr;
3650 
3651  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3652  typedef void (T::*Sent)(bool , const CT&);
3653  typedef void (T::*Response)(const ::Ice::ObjectProxySeq&, const CT&);
3654 
3655  Callback_Query_findAllObjectsByType(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3656  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3657  {
3658  }
3659 
3661  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3662  {
3663  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3665  try
3666  {
3667  ret = proxy->end_findAllObjectsByType(result);
3668  }
3669  catch(const ::Ice::Exception& ex)
3670  {
3671  ::IceInternal::Callback<T, CT>::exception(result, ex);
3672  return;
3673  }
3674  if(_response)
3675  {
3676  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3677  }
3678  }
3680 
3681 private:
3682 
3683  Response _response;
3684 };
3685 
3695 template<class T, typename CT> Callback_Query_findAllObjectsByTypePtr
3696 newCallback_Query_findAllObjectsByType(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectProxySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3697 {
3698  return new Callback_Query_findAllObjectsByType<T, CT>(instance, cb, excb, sentcb);
3699 }
3700 
3710 template<class T, typename CT> Callback_Query_findAllObjectsByTypePtr
3711 newCallback_Query_findAllObjectsByType(T* instance, void (T::*cb)(const ::Ice::ObjectProxySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3712 {
3713  return new Callback_Query_findAllObjectsByType<T, CT>(instance, cb, excb, sentcb);
3714 }
3715 
3721 template<class T>
3722 class CallbackNC_Query_findAllReplicas : public Callback_Query_findAllReplicas_Base, public ::IceInternal::TwowayCallbackNC<T>
3723 {
3724 public:
3725 
3726  typedef IceUtil::Handle<T> TPtr;
3727 
3728  typedef void (T::*Exception)(const ::Ice::Exception&);
3729  typedef void (T::*Sent)(bool);
3730  typedef void (T::*Response)(const ::Ice::ObjectProxySeq&);
3731 
3732  CallbackNC_Query_findAllReplicas(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3733  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3734  {
3735  }
3736 
3738  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3739  {
3740  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3742  try
3743  {
3744  ret = proxy->end_findAllReplicas(result);
3745  }
3746  catch(const ::Ice::Exception& ex)
3747  {
3748  ::IceInternal::CallbackNC<T>::exception(result, ex);
3749  return;
3750  }
3751  if(_response)
3752  {
3753  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3754  }
3755  }
3757 
3758 private:
3759 
3760  Response _response;
3761 };
3762 
3771 template<class T> Callback_Query_findAllReplicasPtr
3772 newCallback_Query_findAllReplicas(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectProxySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3773 {
3774  return new CallbackNC_Query_findAllReplicas<T>(instance, cb, excb, sentcb);
3775 }
3776 
3785 template<class T> Callback_Query_findAllReplicasPtr
3786 newCallback_Query_findAllReplicas(T* instance, void (T::*cb)(const ::Ice::ObjectProxySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3787 {
3788  return new CallbackNC_Query_findAllReplicas<T>(instance, cb, excb, sentcb);
3789 }
3790 
3796 template<class T, typename CT>
3797 class Callback_Query_findAllReplicas : public Callback_Query_findAllReplicas_Base, public ::IceInternal::TwowayCallback<T, CT>
3798 {
3799 public:
3800 
3801  typedef IceUtil::Handle<T> TPtr;
3802 
3803  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3804  typedef void (T::*Sent)(bool , const CT&);
3805  typedef void (T::*Response)(const ::Ice::ObjectProxySeq&, const CT&);
3806 
3807  Callback_Query_findAllReplicas(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3808  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3809  {
3810  }
3811 
3813  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3814  {
3815  QueryPrx proxy = QueryPrx::uncheckedCast(result->getProxy());
3817  try
3818  {
3819  ret = proxy->end_findAllReplicas(result);
3820  }
3821  catch(const ::Ice::Exception& ex)
3822  {
3823  ::IceInternal::Callback<T, CT>::exception(result, ex);
3824  return;
3825  }
3826  if(_response)
3827  {
3828  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3829  }
3830  }
3832 
3833 private:
3834 
3835  Response _response;
3836 };
3837 
3847 template<class T, typename CT> Callback_Query_findAllReplicasPtr
3848 newCallback_Query_findAllReplicas(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectProxySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3849 {
3850  return new Callback_Query_findAllReplicas<T, CT>(instance, cb, excb, sentcb);
3851 }
3852 
3862 template<class T, typename CT> Callback_Query_findAllReplicasPtr
3863 newCallback_Query_findAllReplicas(T* instance, void (T::*cb)(const ::Ice::ObjectProxySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3864 {
3865  return new Callback_Query_findAllReplicas<T, CT>(instance, cb, excb, sentcb);
3866 }
3867 
3873 template<class T>
3874 class CallbackNC_Registry_createSession : public Callback_Registry_createSession_Base, public ::IceInternal::TwowayCallbackNC<T>
3875 {
3876 public:
3877 
3878  typedef IceUtil::Handle<T> TPtr;
3879 
3880  typedef void (T::*Exception)(const ::Ice::Exception&);
3881  typedef void (T::*Sent)(bool);
3882  typedef void (T::*Response)(const SessionPrx&);
3883 
3884  CallbackNC_Registry_createSession(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3885  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3886  {
3887  }
3888 
3890  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3891  {
3892  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
3893  SessionPrx ret;
3894  try
3895  {
3896  ret = proxy->end_createSession(result);
3897  }
3898  catch(const ::Ice::Exception& ex)
3899  {
3900  ::IceInternal::CallbackNC<T>::exception(result, ex);
3901  return;
3902  }
3903  if(_response)
3904  {
3905  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3906  }
3907  }
3909 
3910 private:
3911 
3912  Response _response;
3913 };
3914 
3923 template<class T> Callback_Registry_createSessionPtr
3924 newCallback_Registry_createSession(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3925 {
3926  return new CallbackNC_Registry_createSession<T>(instance, cb, excb, sentcb);
3927 }
3928 
3937 template<class T> Callback_Registry_createSessionPtr
3938 newCallback_Registry_createSession(T* instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3939 {
3940  return new CallbackNC_Registry_createSession<T>(instance, cb, excb, sentcb);
3941 }
3942 
3948 template<class T, typename CT>
3949 class Callback_Registry_createSession : public Callback_Registry_createSession_Base, public ::IceInternal::TwowayCallback<T, CT>
3950 {
3951 public:
3952 
3953  typedef IceUtil::Handle<T> TPtr;
3954 
3955  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3956  typedef void (T::*Sent)(bool , const CT&);
3957  typedef void (T::*Response)(const SessionPrx&, const CT&);
3958 
3959  Callback_Registry_createSession(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3960  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3961  {
3962  }
3963 
3965  virtual void completed(const ::Ice::AsyncResultPtr& result) const
3966  {
3967  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
3968  SessionPrx ret;
3969  try
3970  {
3971  ret = proxy->end_createSession(result);
3972  }
3973  catch(const ::Ice::Exception& ex)
3974  {
3975  ::IceInternal::Callback<T, CT>::exception(result, ex);
3976  return;
3977  }
3978  if(_response)
3979  {
3980  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3981  }
3982  }
3984 
3985 private:
3986 
3987  Response _response;
3988 };
3989 
3999 template<class T, typename CT> Callback_Registry_createSessionPtr
4000 newCallback_Registry_createSession(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4001 {
4002  return new Callback_Registry_createSession<T, CT>(instance, cb, excb, sentcb);
4003 }
4004 
4014 template<class T, typename CT> Callback_Registry_createSessionPtr
4015 newCallback_Registry_createSession(T* instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4016 {
4017  return new Callback_Registry_createSession<T, CT>(instance, cb, excb, sentcb);
4018 }
4019 
4025 template<class T>
4026 class CallbackNC_Registry_createAdminSession : public Callback_Registry_createAdminSession_Base, public ::IceInternal::TwowayCallbackNC<T>
4027 {
4028 public:
4029 
4030  typedef IceUtil::Handle<T> TPtr;
4031 
4032  typedef void (T::*Exception)(const ::Ice::Exception&);
4033  typedef void (T::*Sent)(bool);
4034  typedef void (T::*Response)(const AdminSessionPrx&);
4035 
4036  CallbackNC_Registry_createAdminSession(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4037  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4038  {
4039  }
4040 
4042  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4043  {
4044  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4045  AdminSessionPrx ret;
4046  try
4047  {
4048  ret = proxy->end_createAdminSession(result);
4049  }
4050  catch(const ::Ice::Exception& ex)
4051  {
4052  ::IceInternal::CallbackNC<T>::exception(result, ex);
4053  return;
4054  }
4055  if(_response)
4056  {
4057  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4058  }
4059  }
4061 
4062 private:
4063 
4064  Response _response;
4065 };
4066 
4075 template<class T> Callback_Registry_createAdminSessionPtr
4076 newCallback_Registry_createAdminSession(const IceUtil::Handle<T>& instance, void (T::*cb)(const AdminSessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4077 {
4078  return new CallbackNC_Registry_createAdminSession<T>(instance, cb, excb, sentcb);
4079 }
4080 
4089 template<class T> Callback_Registry_createAdminSessionPtr
4090 newCallback_Registry_createAdminSession(T* instance, void (T::*cb)(const AdminSessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4091 {
4092  return new CallbackNC_Registry_createAdminSession<T>(instance, cb, excb, sentcb);
4093 }
4094 
4100 template<class T, typename CT>
4101 class Callback_Registry_createAdminSession : public Callback_Registry_createAdminSession_Base, public ::IceInternal::TwowayCallback<T, CT>
4102 {
4103 public:
4104 
4105  typedef IceUtil::Handle<T> TPtr;
4106 
4107  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4108  typedef void (T::*Sent)(bool , const CT&);
4109  typedef void (T::*Response)(const AdminSessionPrx&, const CT&);
4110 
4111  Callback_Registry_createAdminSession(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4112  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4113  {
4114  }
4115 
4117  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4118  {
4119  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4120  AdminSessionPrx ret;
4121  try
4122  {
4123  ret = proxy->end_createAdminSession(result);
4124  }
4125  catch(const ::Ice::Exception& ex)
4126  {
4127  ::IceInternal::Callback<T, CT>::exception(result, ex);
4128  return;
4129  }
4130  if(_response)
4131  {
4132  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4133  }
4134  }
4136 
4137 private:
4138 
4139  Response _response;
4140 };
4141 
4151 template<class T, typename CT> Callback_Registry_createAdminSessionPtr
4152 newCallback_Registry_createAdminSession(const IceUtil::Handle<T>& instance, void (T::*cb)(const AdminSessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4153 {
4154  return new Callback_Registry_createAdminSession<T, CT>(instance, cb, excb, sentcb);
4155 }
4156 
4166 template<class T, typename CT> Callback_Registry_createAdminSessionPtr
4167 newCallback_Registry_createAdminSession(T* instance, void (T::*cb)(const AdminSessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4168 {
4169  return new Callback_Registry_createAdminSession<T, CT>(instance, cb, excb, sentcb);
4170 }
4171 
4177 template<class T>
4178 class CallbackNC_Registry_createSessionFromSecureConnection : public Callback_Registry_createSessionFromSecureConnection_Base, public ::IceInternal::TwowayCallbackNC<T>
4179 {
4180 public:
4181 
4182  typedef IceUtil::Handle<T> TPtr;
4183 
4184  typedef void (T::*Exception)(const ::Ice::Exception&);
4185  typedef void (T::*Sent)(bool);
4186  typedef void (T::*Response)(const SessionPrx&);
4187 
4188  CallbackNC_Registry_createSessionFromSecureConnection(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4189  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4190  {
4191  }
4192 
4194  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4195  {
4196  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4197  SessionPrx ret;
4198  try
4199  {
4200  ret = proxy->end_createSessionFromSecureConnection(result);
4201  }
4202  catch(const ::Ice::Exception& ex)
4203  {
4204  ::IceInternal::CallbackNC<T>::exception(result, ex);
4205  return;
4206  }
4207  if(_response)
4208  {
4209  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4210  }
4211  }
4213 
4214 private:
4215 
4216  Response _response;
4217 };
4218 
4227 template<class T> Callback_Registry_createSessionFromSecureConnectionPtr
4228 newCallback_Registry_createSessionFromSecureConnection(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4229 {
4230  return new CallbackNC_Registry_createSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4231 }
4232 
4241 template<class T> Callback_Registry_createSessionFromSecureConnectionPtr
4242 newCallback_Registry_createSessionFromSecureConnection(T* instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4243 {
4244  return new CallbackNC_Registry_createSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4245 }
4246 
4252 template<class T, typename CT>
4253 class Callback_Registry_createSessionFromSecureConnection : public Callback_Registry_createSessionFromSecureConnection_Base, public ::IceInternal::TwowayCallback<T, CT>
4254 {
4255 public:
4256 
4257  typedef IceUtil::Handle<T> TPtr;
4258 
4259  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4260  typedef void (T::*Sent)(bool , const CT&);
4261  typedef void (T::*Response)(const SessionPrx&, const CT&);
4262 
4263  Callback_Registry_createSessionFromSecureConnection(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4264  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4265  {
4266  }
4267 
4269  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4270  {
4271  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4272  SessionPrx ret;
4273  try
4274  {
4275  ret = proxy->end_createSessionFromSecureConnection(result);
4276  }
4277  catch(const ::Ice::Exception& ex)
4278  {
4279  ::IceInternal::Callback<T, CT>::exception(result, ex);
4280  return;
4281  }
4282  if(_response)
4283  {
4284  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4285  }
4286  }
4288 
4289 private:
4290 
4291  Response _response;
4292 };
4293 
4303 template<class T, typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4304 newCallback_Registry_createSessionFromSecureConnection(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4305 {
4306  return new Callback_Registry_createSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4307 }
4308 
4318 template<class T, typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4319 newCallback_Registry_createSessionFromSecureConnection(T* instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4320 {
4321  return new Callback_Registry_createSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4322 }
4323 
4329 template<class T>
4330 class CallbackNC_Registry_createAdminSessionFromSecureConnection : public Callback_Registry_createAdminSessionFromSecureConnection_Base, public ::IceInternal::TwowayCallbackNC<T>
4331 {
4332 public:
4333 
4334  typedef IceUtil::Handle<T> TPtr;
4335 
4336  typedef void (T::*Exception)(const ::Ice::Exception&);
4337  typedef void (T::*Sent)(bool);
4338  typedef void (T::*Response)(const AdminSessionPrx&);
4339 
4340  CallbackNC_Registry_createAdminSessionFromSecureConnection(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4341  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4342  {
4343  }
4344 
4346  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4347  {
4348  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4349  AdminSessionPrx ret;
4350  try
4351  {
4352  ret = proxy->end_createAdminSessionFromSecureConnection(result);
4353  }
4354  catch(const ::Ice::Exception& ex)
4355  {
4356  ::IceInternal::CallbackNC<T>::exception(result, ex);
4357  return;
4358  }
4359  if(_response)
4360  {
4361  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4362  }
4363  }
4365 
4366 private:
4367 
4368  Response _response;
4369 };
4370 
4379 template<class T> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4380 newCallback_Registry_createAdminSessionFromSecureConnection(const IceUtil::Handle<T>& instance, void (T::*cb)(const AdminSessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4381 {
4382  return new CallbackNC_Registry_createAdminSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4383 }
4384 
4393 template<class T> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4394 newCallback_Registry_createAdminSessionFromSecureConnection(T* instance, void (T::*cb)(const AdminSessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4395 {
4396  return new CallbackNC_Registry_createAdminSessionFromSecureConnection<T>(instance, cb, excb, sentcb);
4397 }
4398 
4404 template<class T, typename CT>
4405 class Callback_Registry_createAdminSessionFromSecureConnection : public Callback_Registry_createAdminSessionFromSecureConnection_Base, public ::IceInternal::TwowayCallback<T, CT>
4406 {
4407 public:
4408 
4409  typedef IceUtil::Handle<T> TPtr;
4410 
4411  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4412  typedef void (T::*Sent)(bool , const CT&);
4413  typedef void (T::*Response)(const AdminSessionPrx&, const CT&);
4414 
4415  Callback_Registry_createAdminSessionFromSecureConnection(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4416  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4417  {
4418  }
4419 
4421  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4422  {
4423  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4424  AdminSessionPrx ret;
4425  try
4426  {
4427  ret = proxy->end_createAdminSessionFromSecureConnection(result);
4428  }
4429  catch(const ::Ice::Exception& ex)
4430  {
4431  ::IceInternal::Callback<T, CT>::exception(result, ex);
4432  return;
4433  }
4434  if(_response)
4435  {
4436  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4437  }
4438  }
4440 
4441 private:
4442 
4443  Response _response;
4444 };
4445 
4455 template<class T, typename CT> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4456 newCallback_Registry_createAdminSessionFromSecureConnection(const IceUtil::Handle<T>& instance, void (T::*cb)(const AdminSessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4457 {
4458  return new Callback_Registry_createAdminSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4459 }
4460 
4470 template<class T, typename CT> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4471 newCallback_Registry_createAdminSessionFromSecureConnection(T* instance, void (T::*cb)(const AdminSessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4472 {
4473  return new Callback_Registry_createAdminSessionFromSecureConnection<T, CT>(instance, cb, excb, sentcb);
4474 }
4475 
4481 template<class T>
4482 class CallbackNC_Registry_getSessionTimeout : public Callback_Registry_getSessionTimeout_Base, public ::IceInternal::TwowayCallbackNC<T>
4483 {
4484 public:
4485 
4486  typedef IceUtil::Handle<T> TPtr;
4487 
4488  typedef void (T::*Exception)(const ::Ice::Exception&);
4489  typedef void (T::*Sent)(bool);
4490  typedef void (T::*Response)(::Ice::Int);
4491 
4492  CallbackNC_Registry_getSessionTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4493  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4494  {
4495  }
4496 
4498  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4499  {
4500  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4501  ::Ice::Int ret;
4502  try
4503  {
4504  ret = proxy->end_getSessionTimeout(result);
4505  }
4506  catch(const ::Ice::Exception& ex)
4507  {
4508  ::IceInternal::CallbackNC<T>::exception(result, ex);
4509  return;
4510  }
4511  if(_response)
4512  {
4513  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4514  }
4515  }
4517 
4518 private:
4519 
4520  Response _response;
4521 };
4522 
4531 template<class T> Callback_Registry_getSessionTimeoutPtr
4532 newCallback_Registry_getSessionTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4533 {
4534  return new CallbackNC_Registry_getSessionTimeout<T>(instance, cb, excb, sentcb);
4535 }
4536 
4545 template<class T> Callback_Registry_getSessionTimeoutPtr
4546 newCallback_Registry_getSessionTimeout(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4547 {
4548  return new CallbackNC_Registry_getSessionTimeout<T>(instance, cb, excb, sentcb);
4549 }
4550 
4556 template<class T, typename CT>
4557 class Callback_Registry_getSessionTimeout : public Callback_Registry_getSessionTimeout_Base, public ::IceInternal::TwowayCallback<T, CT>
4558 {
4559 public:
4560 
4561  typedef IceUtil::Handle<T> TPtr;
4562 
4563  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4564  typedef void (T::*Sent)(bool , const CT&);
4565  typedef void (T::*Response)(::Ice::Int, const CT&);
4566 
4567  Callback_Registry_getSessionTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4568  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4569  {
4570  }
4571 
4573  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4574  {
4575  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4576  ::Ice::Int ret;
4577  try
4578  {
4579  ret = proxy->end_getSessionTimeout(result);
4580  }
4581  catch(const ::Ice::Exception& ex)
4582  {
4583  ::IceInternal::Callback<T, CT>::exception(result, ex);
4584  return;
4585  }
4586  if(_response)
4587  {
4588  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4589  }
4590  }
4592 
4593 private:
4594 
4595  Response _response;
4596 };
4597 
4607 template<class T, typename CT> Callback_Registry_getSessionTimeoutPtr
4608 newCallback_Registry_getSessionTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4609 {
4610  return new Callback_Registry_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
4611 }
4612 
4622 template<class T, typename CT> Callback_Registry_getSessionTimeoutPtr
4623 newCallback_Registry_getSessionTimeout(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4624 {
4625  return new Callback_Registry_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
4626 }
4627 
4633 template<class T>
4634 class CallbackNC_Registry_getACMTimeout : public Callback_Registry_getACMTimeout_Base, public ::IceInternal::TwowayCallbackNC<T>
4635 {
4636 public:
4637 
4638  typedef IceUtil::Handle<T> TPtr;
4639 
4640  typedef void (T::*Exception)(const ::Ice::Exception&);
4641  typedef void (T::*Sent)(bool);
4642  typedef void (T::*Response)(::Ice::Int);
4643 
4644  CallbackNC_Registry_getACMTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4645  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4646  {
4647  }
4648 
4650  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4651  {
4652  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4653  ::Ice::Int ret;
4654  try
4655  {
4656  ret = proxy->end_getACMTimeout(result);
4657  }
4658  catch(const ::Ice::Exception& ex)
4659  {
4660  ::IceInternal::CallbackNC<T>::exception(result, ex);
4661  return;
4662  }
4663  if(_response)
4664  {
4665  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4666  }
4667  }
4669 
4670 private:
4671 
4672  Response _response;
4673 };
4674 
4683 template<class T> Callback_Registry_getACMTimeoutPtr
4684 newCallback_Registry_getACMTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4685 {
4686  return new CallbackNC_Registry_getACMTimeout<T>(instance, cb, excb, sentcb);
4687 }
4688 
4697 template<class T> Callback_Registry_getACMTimeoutPtr
4698 newCallback_Registry_getACMTimeout(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4699 {
4700  return new CallbackNC_Registry_getACMTimeout<T>(instance, cb, excb, sentcb);
4701 }
4702 
4708 template<class T, typename CT>
4709 class Callback_Registry_getACMTimeout : public Callback_Registry_getACMTimeout_Base, public ::IceInternal::TwowayCallback<T, CT>
4710 {
4711 public:
4712 
4713  typedef IceUtil::Handle<T> TPtr;
4714 
4715  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4716  typedef void (T::*Sent)(bool , const CT&);
4717  typedef void (T::*Response)(::Ice::Int, const CT&);
4718 
4719  Callback_Registry_getACMTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4720  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4721  {
4722  }
4723 
4725  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4726  {
4727  RegistryPrx proxy = RegistryPrx::uncheckedCast(result->getProxy());
4728  ::Ice::Int ret;
4729  try
4730  {
4731  ret = proxy->end_getACMTimeout(result);
4732  }
4733  catch(const ::Ice::Exception& ex)
4734  {
4735  ::IceInternal::Callback<T, CT>::exception(result, ex);
4736  return;
4737  }
4738  if(_response)
4739  {
4740  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4741  }
4742  }
4744 
4745 private:
4746 
4747  Response _response;
4748 };
4749 
4759 template<class T, typename CT> Callback_Registry_getACMTimeoutPtr
4760 newCallback_Registry_getACMTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4761 {
4762  return new Callback_Registry_getACMTimeout<T, CT>(instance, cb, excb, sentcb);
4763 }
4764 
4774 template<class T, typename CT> Callback_Registry_getACMTimeoutPtr
4775 newCallback_Registry_getACMTimeout(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4776 {
4777  return new Callback_Registry_getACMTimeout<T, CT>(instance, cb, excb, sentcb);
4778 }
4779 
4785 template<class T>
4786 class CallbackNC_Locator_getLocalRegistry : public Callback_Locator_getLocalRegistry_Base, public ::IceInternal::TwowayCallbackNC<T>
4787 {
4788 public:
4789 
4790  typedef IceUtil::Handle<T> TPtr;
4791 
4792  typedef void (T::*Exception)(const ::Ice::Exception&);
4793  typedef void (T::*Sent)(bool);
4794  typedef void (T::*Response)(const RegistryPrx&);
4795 
4796  CallbackNC_Locator_getLocalRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4797  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4798  {
4799  }
4800 
4802  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4803  {
4804  LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
4805  RegistryPrx ret;
4806  try
4807  {
4808  ret = proxy->end_getLocalRegistry(result);
4809  }
4810  catch(const ::Ice::Exception& ex)
4811  {
4812  ::IceInternal::CallbackNC<T>::exception(result, ex);
4813  return;
4814  }
4815  if(_response)
4816  {
4817  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4818  }
4819  }
4821 
4822 private:
4823 
4824  Response _response;
4825 };
4826 
4835 template<class T> Callback_Locator_getLocalRegistryPtr
4836 newCallback_Locator_getLocalRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const RegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4837 {
4838  return new CallbackNC_Locator_getLocalRegistry<T>(instance, cb, excb, sentcb);
4839 }
4840 
4849 template<class T> Callback_Locator_getLocalRegistryPtr
4850 newCallback_Locator_getLocalRegistry(T* instance, void (T::*cb)(const RegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4851 {
4852  return new CallbackNC_Locator_getLocalRegistry<T>(instance, cb, excb, sentcb);
4853 }
4854 
4860 template<class T, typename CT>
4861 class Callback_Locator_getLocalRegistry : public Callback_Locator_getLocalRegistry_Base, public ::IceInternal::TwowayCallback<T, CT>
4862 {
4863 public:
4864 
4865  typedef IceUtil::Handle<T> TPtr;
4866 
4867  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4868  typedef void (T::*Sent)(bool , const CT&);
4869  typedef void (T::*Response)(const RegistryPrx&, const CT&);
4870 
4871  Callback_Locator_getLocalRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4872  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4873  {
4874  }
4875 
4877  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4878  {
4879  LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
4880  RegistryPrx ret;
4881  try
4882  {
4883  ret = proxy->end_getLocalRegistry(result);
4884  }
4885  catch(const ::Ice::Exception& ex)
4886  {
4887  ::IceInternal::Callback<T, CT>::exception(result, ex);
4888  return;
4889  }
4890  if(_response)
4891  {
4892  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4893  }
4894  }
4896 
4897 private:
4898 
4899  Response _response;
4900 };
4901 
4911 template<class T, typename CT> Callback_Locator_getLocalRegistryPtr
4912 newCallback_Locator_getLocalRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const RegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4913 {
4914  return new Callback_Locator_getLocalRegistry<T, CT>(instance, cb, excb, sentcb);
4915 }
4916 
4926 template<class T, typename CT> Callback_Locator_getLocalRegistryPtr
4927 newCallback_Locator_getLocalRegistry(T* instance, void (T::*cb)(const RegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4928 {
4929  return new Callback_Locator_getLocalRegistry<T, CT>(instance, cb, excb, sentcb);
4930 }
4931 
4937 template<class T>
4938 class CallbackNC_Locator_getLocalQuery : public Callback_Locator_getLocalQuery_Base, public ::IceInternal::TwowayCallbackNC<T>
4939 {
4940 public:
4941 
4942  typedef IceUtil::Handle<T> TPtr;
4943 
4944  typedef void (T::*Exception)(const ::Ice::Exception&);
4945  typedef void (T::*Sent)(bool);
4946  typedef void (T::*Response)(const QueryPrx&);
4947 
4948  CallbackNC_Locator_getLocalQuery(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4949  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4950  {
4951  }
4952 
4954  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4955  {
4956  LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
4957  QueryPrx ret;
4958  try
4959  {
4960  ret = proxy->end_getLocalQuery(result);
4961  }
4962  catch(const ::Ice::Exception& ex)
4963  {
4964  ::IceInternal::CallbackNC<T>::exception(result, ex);
4965  return;
4966  }
4967  if(_response)
4968  {
4969  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4970  }
4971  }
4973 
4974 private:
4975 
4976  Response _response;
4977 };
4978 
4987 template<class T> Callback_Locator_getLocalQueryPtr
4988 newCallback_Locator_getLocalQuery(const IceUtil::Handle<T>& instance, void (T::*cb)(const QueryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4989 {
4990  return new CallbackNC_Locator_getLocalQuery<T>(instance, cb, excb, sentcb);
4991 }
4992 
5001 template<class T> Callback_Locator_getLocalQueryPtr
5002 newCallback_Locator_getLocalQuery(T* instance, void (T::*cb)(const QueryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5003 {
5004  return new CallbackNC_Locator_getLocalQuery<T>(instance, cb, excb, sentcb);
5005 }
5006 
5012 template<class T, typename CT>
5013 class Callback_Locator_getLocalQuery : public Callback_Locator_getLocalQuery_Base, public ::IceInternal::TwowayCallback<T, CT>
5014 {
5015 public:
5016 
5017  typedef IceUtil::Handle<T> TPtr;
5018 
5019  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5020  typedef void (T::*Sent)(bool , const CT&);
5021  typedef void (T::*Response)(const QueryPrx&, const CT&);
5022 
5023  Callback_Locator_getLocalQuery(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5024  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5025  {
5026  }
5027 
5029  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5030  {
5031  LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
5032  QueryPrx ret;
5033  try
5034  {
5035  ret = proxy->end_getLocalQuery(result);
5036  }
5037  catch(const ::Ice::Exception& ex)
5038  {
5039  ::IceInternal::Callback<T, CT>::exception(result, ex);
5040  return;
5041  }
5042  if(_response)
5043  {
5044  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5045  }
5046  }
5048 
5049 private:
5050 
5051  Response _response;
5052 };
5053 
5063 template<class T, typename CT> Callback_Locator_getLocalQueryPtr
5064 newCallback_Locator_getLocalQuery(const IceUtil::Handle<T>& instance, void (T::*cb)(const QueryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5065 {
5066  return new Callback_Locator_getLocalQuery<T, CT>(instance, cb, excb, sentcb);
5067 }
5068 
5078 template<class T, typename CT> Callback_Locator_getLocalQueryPtr
5079 newCallback_Locator_getLocalQuery(T* instance, void (T::*cb)(const QueryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5080 {
5081  return new Callback_Locator_getLocalQuery<T, CT>(instance, cb, excb, sentcb);
5082 }
5083 
5084 }
5085 
5086 #endif
5087 
5089 #endif
IceGrid::QueryPrx::findObjectByIdAsync
auto findObjectByIdAsync(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Find a well-known object by identity.
Definition: Registry.h:448
IceGrid::Registry::getSessionTimeout
virtual int getSessionTimeout(const ::Ice::Current &current) const =0
Get the session timeout.
Ice::LocalObjectPtr
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
Ice::ObjectProxySeq
::std::vector<::std::shared_ptr< ObjectPrx > > ObjectProxySeq
A sequence of object proxies.
Definition: BuiltinSequences.h:106
IceGrid::Registry::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.
Optional.h
IceGrid::QueryPrx::findObjectByTypeOnLeastLoadedNodeAsync
auto findObjectByTypeOnLeastLoadedNodeAsync(const ::std::string &type, LoadSample sample, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Find a well-known object by type on the least-loaded node.
Definition: Registry.h:558
Ice::LocatorPrx
The Ice locator interface.
Definition: Locator.h:517
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
IceGrid::Query::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.
IceGrid::Registry::createAdminSession
virtual ::std::shared_ptr< AdminSessionPrx > createAdminSession(::std::string userId, ::std::string password, const ::Ice::Current &current)=0
Create an administrative session.
Ice::emptyCurrent
const Current emptyCurrent
A default-initialized Current instance.
Exception.h
StreamHelpers.h
IceGrid::QueryPrx::findAllObjectsByType
::Ice::ObjectProxySeq findAllObjectsByType(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the well-known objects with the given type.
Definition: Registry.h:599
IceGrid::RegistryPrx::createSessionAsync
::std::function< void()> createSessionAsync(const ::std::string &userId, const ::std::string &password, ::std::function< void(::std::shared_ptr<::IceGrid::SessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session.
Definition: Registry.h:761
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
IceGrid::RegistryPrx::createAdminSessionAsync
auto createAdminSessionAsync(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::AdminSessionPrx >>>().get_future())
Create an administrative session.
Definition: Registry.h:797
Ice::Exception
IceUtil::Exception Exception
Definition: Exception.h:20
IceGrid::RegistryPrx::getACMTimeoutAsync
::std::function< void()> getACMTimeoutAsync(::std::function< void(int)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the value of the ACM timeout.
Definition: Registry.h:1017
IceGrid::Registry::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.
IceGrid::Locator::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.
GCObject.h
IceGrid::QueryPrx::findObjectByType
::std::shared_ptr<::Ice::ObjectPrx > findObjectByType(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type.
Definition: Registry.h:485
IceGrid::Query::findObjectByType
virtual ::std::shared_ptr<::Ice::ObjectPrx > findObjectByType(::std::string type, const ::Ice::Current &current) const =0
Find a well-known object by type.
Incoming.h
IceGrid::QueryPrx::findObjectByTypeAsync
auto findObjectByTypeAsync(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Find a well-known object by type.
Definition: Registry.h:499
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
ICEGRID_API
#define ICEGRID_API
Definition: Registry.h:63
FactoryTableInit.h
IceGrid::LocatorPrx::getLocalQueryAsync
auto getLocalQueryAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::QueryPrx >>>().get_future())
Get the proxy of the query object hosted by this IceGrid registry.
Definition: Registry.h:1120
IceGrid::Locator::getLocalQuery
virtual ::std::shared_ptr< QueryPrx > getLocalQuery(const ::Ice::Current &current) const =0
Get the proxy of the query object hosted by this IceGrid registry.
Ice::Locator
The Ice locator interface.
Definition: Locator.h:253
IceGrid::QueryPrx::findObjectByTypeOnLeastLoadedNode
::std::shared_ptr<::Ice::ObjectPrx > findObjectByTypeOnLeastLoadedNode(const ::std::string &type, LoadSample sample, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type on the least-loaded node.
Definition: Registry.h:541
IceGrid::QueryPrx::findObjectByIdAsync
::std::function< void()> findObjectByIdAsync(const ::Ice::Identity &id, ::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by identity.
Definition: Registry.h:464
IceGrid::QueryPrx::findAllReplicas
::Ice::ObjectProxySeq findAllReplicas(const ::std::shared_ptr<::Ice::ObjectPrx > &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the object replicas associated with the given proxy.
Definition: Registry.h:649
IceGrid::LoadSample
LoadSample
Determines which load sampling interval to use.
Definition: Registry.h:88
IceGrid::QueryPrx::findAllObjectsByTypeAsync
::std::function< void()> findAllObjectsByTypeAsync(const ::std::string &type, ::std::function< void(::Ice::ObjectProxySeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the well-known objects with the given type.
Definition: Registry.h:627
IceGrid::LocatorPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceGrid::LocatorPrx::getLocalRegistryAsync
auto getLocalRegistryAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::RegistryPrx >>>().get_future())
Get the proxy of the registry object hosted by this IceGrid registry.
Definition: Registry.h:1074
IceGrid::Query::findAllObjectsByType
virtual ::Ice::ObjectProxySeq findAllObjectsByType(::std::string type, const ::Ice::Current &current) const =0
Find all the well-known objects with the given type.
IceGrid::RegistryPrx::createAdminSessionFromSecureConnection
::std::shared_ptr< AdminSessionPrx > createAdminSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session from a secure connection.
Definition: Registry.h:881
IceGrid::Registry
The IceGrid registry allows clients create sessions directly with the registry.
Definition: Registry.h:226
Admin.h
Session.h
IceGrid::Registry::createAdminSessionFromSecureConnection
virtual ::std::shared_ptr< AdminSessionPrx > createAdminSessionFromSecureConnection(const ::Ice::Current &current)=0
Create an administrative session from a secure connection.
IceGrid::QueryPrx::findObjectByTypeOnLeastLoadedNodeAsync
::std::function< void()> findObjectByTypeOnLeastLoadedNodeAsync(const ::std::string &type, LoadSample sample, ::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type on the least-loaded node.
Definition: Registry.h:579
IceGrid::RegistryPrx::getSessionTimeout
int getSessionTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition: Registry.h:928
IceGrid::Query::findAllReplicas
virtual ::Ice::ObjectProxySeq findAllReplicas(::std::shared_ptr<::Ice::ObjectPrx > proxy, const ::Ice::Current &current) const =0
Find all the object replicas associated with the given proxy.
IncomingAsync.h
LocalObject.h
PushDisableWarnings.h
Locator.h
IceGrid::LoadSample::LoadSample1
@ LoadSample1
Sample every minute.
IceGrid::Query::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.
ProxyF.h
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
IceGrid::RegistryPrx::createAdminSessionFromSecureConnectionAsync
::std::function< void()> createAdminSessionFromSecureConnectionAsync(::std::function< void(::std::shared_ptr<::IceGrid::AdminSessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session from a secure connection.
Definition: Registry.h:907
IceGrid::RegistryPrx::createSession
::std::shared_ptr< SessionPrx > createSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session.
Definition: Registry.h:731
IceGrid::RegistryPrx::createSessionFromSecureConnectionAsync
auto createSessionFromSecureConnectionAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::SessionPrx >>>().get_future())
Create a client session from a secure connection.
Definition: Registry.h:846
SlicedDataF.h
IceGrid::RegistryPrx::createAdminSession
::std::shared_ptr< AdminSessionPrx > createAdminSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session.
Definition: Registry.h:784
IceGrid::QueryPrx::findAllReplicasAsync
auto findAllReplicasAsync(const ::std::shared_ptr<::Ice::ObjectPrx > &proxy, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::ObjectProxySeq >>().get_future())
Find all the object replicas associated with the given proxy.
Definition: Registry.h:663
IceGrid::RegistryPrx::createSessionAsync
auto createSessionAsync(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::SessionPrx >>>().get_future())
Create a client session.
Definition: Registry.h:744
IceGrid::Locator::getLocalRegistry
virtual ::std::shared_ptr< RegistryPrx > getLocalRegistry(const ::Ice::Current &current) const =0
Get the proxy of the registry object hosted by this IceGrid registry.
Object.h
IceGrid::LocatorPrx::getLocalRegistryAsync
::std::function< void()> getLocalRegistryAsync(::std::function< void(::std::shared_ptr<::IceGrid::RegistryPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition: Registry.h:1090
IceGrid::Locator::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceGrid::Locator
The IceGrid locator interface provides access to the Query and Registry object of the IceGrid registr...
Definition: Registry.h:356
Proxy.h
IceGrid::Registry::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.
UndefSysMacros.h
Ice::OutputStream
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
IceGrid::RegistryPrx::createAdminSessionFromSecureConnectionAsync
auto createAdminSessionFromSecureConnectionAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceGrid::AdminSessionPrx >>>().get_future())
Create an administrative session from a secure connection.
Definition: Registry.h:892
IceGrid::RegistryPrx::getACMTimeoutAsync
auto getACMTimeoutAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< int >>().get_future())
Get the value of the ACM timeout.
Definition: Registry.h:998
ObjectF.h
IceGrid::RegistryPrx::createAdminSessionAsync
::std::function< void()> createAdminSessionAsync(const ::std::string &userId, const ::std::string &password, ::std::function< void(::std::shared_ptr<::IceGrid::AdminSessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session.
Definition: Registry.h:814
IceGrid::Query::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Ice
Definition: BuiltinSequences.h:56
IceGrid::QueryPrx::findObjectById
::std::shared_ptr<::Ice::ObjectPrx > findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by identity.
Definition: Registry.h:436
IceGrid::LocatorPrx::getLocalRegistry
::std::shared_ptr< RegistryPrx > getLocalRegistry(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition: Registry.h:1062
IceGrid::QueryPrx::findAllReplicasAsync
::std::function< void()> findAllReplicasAsync(const ::std::shared_ptr<::Ice::ObjectPrx > &proxy, ::std::function< void(::Ice::ObjectProxySeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the object replicas associated with the given proxy.
Definition: Registry.h:681
IceGrid::Locator::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.
IceUtil::Handle
Definition: Handle.h:143
Ice::ObjectPrx
Base class of all object proxies.
Definition: Proxy.h:317
IceGrid::LocatorPrx::getLocalQuery
::std::shared_ptr< QueryPrx > getLocalQuery(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the query object hosted by this IceGrid registry.
Definition: Registry.h:1108
IceGrid::Query::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.
ExceptionHelpers.h
IceGrid::RegistryPrx::getSessionTimeoutAsync
::std::function< void()> getSessionTimeoutAsync(::std::function< void(int)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition: Registry.h:962
IceGrid::RegistryPrx::createSessionFromSecureConnectionAsync
::std::function< void()> createSessionFromSecureConnectionAsync(::std::function< void(::std::shared_ptr<::IceGrid::SessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session from a secure connection.
Definition: Registry.h:861
IceGrid::RegistryPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceGrid::QueryPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Ice::uncheckedCast
::std::shared_ptr< P > uncheckedCast(const ::std::shared_ptr< T > &b)
Downcasts a proxy without confirming the target object's type via a remote invocation.
Definition: Proxy.h:1549
IceGrid::Registry::createSessionFromSecureConnection
virtual ::std::shared_ptr< SessionPrx > createSessionFromSecureConnection(const ::Ice::Current &current)=0
Create a client session from a secure connection.
Config.h
IceGrid::Query
The IceGrid query interface.
Definition: Registry.h:114
Comparable.h
IceGrid::Query::findObjectById
virtual ::std::shared_ptr<::Ice::ObjectPrx > findObjectById(::Ice::Identity id, const ::Ice::Current &current) const =0
Find a well-known object by identity.
IceGrid::QueryPrx
The IceGrid query interface.
Definition: Registry.h:427
IceGrid::RegistryPrx
The IceGrid registry allows clients create sessions directly with the registry.
Definition: Registry.h:718
ScopedArray.h
IceGrid::Registry::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceGrid::QueryPrx::findAllObjectsByTypeAsync
auto findAllObjectsByTypeAsync(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::ObjectProxySeq >>().get_future())
Find all the well-known objects with the given type.
Definition: Registry.h:611
IceGrid::QueryPrx::findObjectByTypeAsync
::std::function< void()> findObjectByTypeAsync(const ::std::string &type, ::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type.
Definition: Registry.h:517
IceGrid
Definition: Admin.h:73
IceGrid::Registry::getACMTimeout
virtual int getACMTimeout(const ::Ice::Current &current) const =0
Get the value of the ACM timeout.
Ice::Proxy
Helper template that supplies proxy factory functions.
Definition: Proxy.h:1204
IceGrid::RegistryPrx::createSessionFromSecureConnection
::std::shared_ptr< SessionPrx > createSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session from a secure connection.
Definition: Registry.h:835
Ice::Identity
The identity of an Ice object.
Definition: Identity.h:67
Exception.h
ValueF.h
IceGrid::LocatorPrx
The IceGrid locator interface provides access to the Query and Registry object of the IceGrid registr...
Definition: Registry.h:1053
IceGrid::LocatorPrx::getLocalQueryAsync
::std::function< void()> getLocalQueryAsync(::std::function< void(::std::shared_ptr<::IceGrid::QueryPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the query object hosted by this IceGrid registry.
Definition: Registry.h:1136
IceGrid::Locator::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.
IceGrid::Query::findObjectByTypeOnLeastLoadedNode
virtual ::std::shared_ptr<::Ice::ObjectPrx > findObjectByTypeOnLeastLoadedNode(::std::string type, LoadSample sample, const ::Ice::Current &current) const =0
Find a well-known object by type on the least-loaded node.
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
Ice::noExplicitContext
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
IceGrid::RegistryPrx::getSessionTimeoutAsync
auto getSessionTimeoutAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< int >>().get_future())
Get the session timeout.
Definition: Registry.h:943
Value.h
IceGrid::RegistryPrx::getACMTimeout
int getACMTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the value of the ACM timeout.
Definition: Registry.h:983
IceGrid::Registry::createSession
virtual ::std::shared_ptr< SessionPrx > createSession(::std::string userId, ::std::string password, const ::Ice::Current &current)=0
Create a client session.
PopDisableWarnings.h