Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
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.11
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>
34#include <IceUtil/ScopedArray.h>
35#include <Ice/Optional.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>
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 < 11
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
69namespace IceGrid
70{
71
72class Query;
73class QueryPrx;
74class Registry;
75class RegistryPrx;
76class Locator;
77class LocatorPrx;
78
79}
80
81namespace IceGrid
82{
83
87enum class LoadSample : unsigned char
88{
101};
102
103}
104
105namespace IceGrid
106{
107
113class ICEGRID_API Query : public virtual ::Ice::Object
114{
115public:
116
117 using ProxyType = QueryPrx;
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
225class ICEGRID_API Registry : public virtual ::Ice::Object
226{
227public:
228
229 using ProxyType = RegistryPrx;
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
355class ICEGRID_API Locator : public virtual ::Ice::Locator
356{
357public:
358
359 using ProxyType = LocatorPrx;
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
418namespace IceGrid
419{
420
426class ICE_CLASS(ICEGRID_API) QueryPrx : public virtual ::Ice::Proxy<QueryPrx, ::Ice::ObjectPrx>
427{
428public:
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,
468 const ::Ice::Context& context = ::Ice::noExplicitContext)
469 {
470 return _makeLambdaOutgoing<::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,
521 const ::Ice::Context& context = ::Ice::noExplicitContext)
522 {
523 return _makeLambdaOutgoing<::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>
558 auto findObjectByTypeOnLeastLoadedNodeAsync(const ::std::string& type, LoadSample sample, const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
583 const ::Ice::Context& context = ::Ice::noExplicitContext)
584 {
585 return _makeLambdaOutgoing<::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
599 ::Ice::ObjectProxySeq findAllObjectsByType(const ::std::string& type, const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
631 const ::Ice::Context& context = ::Ice::noExplicitContext)
632 {
633 return _makeLambdaOutgoing<::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,
685 const ::Ice::Context& context = ::Ice::noExplicitContext)
686 {
687 return _makeLambdaOutgoing<::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
700protected:
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
717class ICE_CLASS(ICEGRID_API) RegistryPrx : public virtual ::Ice::Proxy<RegistryPrx, ::Ice::ObjectPrx>
718{
719public:
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,
765 const ::Ice::Context& context = ::Ice::noExplicitContext)
766 {
767 return _makeLambdaOutgoing<::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,
818 const ::Ice::Context& context = ::Ice::noExplicitContext)
819 {
820 return _makeLambdaOutgoing<::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
835 ::std::shared_ptr<SessionPrx> createSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
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>
846 auto createSessionFromSecureConnectionAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
864 const ::Ice::Context& context = ::Ice::noExplicitContext)
865 {
866 return _makeLambdaOutgoing<::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
881 ::std::shared_ptr<AdminSessionPrx> createAdminSessionFromSecureConnection(const ::Ice::Context& context = ::Ice::noExplicitContext)
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>
892 auto createAdminSessionFromSecureConnectionAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
910 const ::Ice::Context& context = ::Ice::noExplicitContext)
911 {
912 return _makeLambdaOutgoing<::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
928 int getSessionTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
929 {
930 return _makePromiseOutgoing<int>(true, this, &RegistryPrx::_iceI_getSessionTimeout, context).get();
931 }
932
942 template<template<typename> class P = ::std::promise>
943 auto getSessionTimeoutAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
965 const ::Ice::Context& context = ::Ice::noExplicitContext)
966 {
967 return _makeLambdaOutgoing<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
983 int getACMTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
984 {
985 return _makePromiseOutgoing<int>(true, this, &RegistryPrx::_iceI_getACMTimeout, context).get();
986 }
987
997 template<template<typename> class P = ::std::promise>
998 auto getACMTimeoutAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
1020 const ::Ice::Context& context = ::Ice::noExplicitContext)
1021 {
1022 return _makeLambdaOutgoing<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
1035protected:
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
1052class ICE_CLASS(ICEGRID_API) LocatorPrx : public virtual ::Ice::Proxy<LocatorPrx, ::Ice::LocatorPrx>
1053{
1054public:
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>
1074 auto getLocalRegistryAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
1093 const ::Ice::Context& context = ::Ice::noExplicitContext)
1094 {
1095 return _makeLambdaOutgoing<::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>
1120 auto getLocalQueryAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
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,
1139 const ::Ice::Context& context = ::Ice::noExplicitContext)
1140 {
1141 return _makeLambdaOutgoing<::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
1154protected:
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
1167namespace Ice
1168{
1169
1170template<>
1171struct 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
1184namespace IceGrid
1185{
1186
1187using QueryPtr = ::std::shared_ptr<Query>;
1188using QueryPrxPtr = ::std::shared_ptr<QueryPrx>;
1189
1190using RegistryPtr = ::std::shared_ptr<Registry>;
1191using RegistryPrxPtr = ::std::shared_ptr<RegistryPrx>;
1192
1193using LocatorPtr = ::std::shared_ptr<Locator>;
1194using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
1195
1196}
1198
1199#else // C++98 mapping
1200
1201namespace IceProxy
1202{
1203
1204namespace IceGrid
1205{
1206
1207class Query;
1209ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Query>&);
1210ICEGRID_API ::IceProxy::Ice::Object* upCast(Query*);
1212
1213class Registry;
1215ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Registry>&);
1216ICEGRID_API ::IceProxy::Ice::Object* upCast(Registry*);
1218
1219class Locator;
1221ICEGRID_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Locator>&);
1222ICEGRID_API ::IceProxy::Ice::Object* upCast(Locator*);
1224
1225}
1226
1227}
1228
1229namespace IceGrid
1230{
1231
1232class Query;
1234ICEGRID_API ::Ice::Object* upCast(Query*);
1236typedef ::IceInternal::Handle< Query> QueryPtr;
1237typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Query> QueryPrx;
1240ICEGRID_API void _icePatchObjectPtr(QueryPtr&, const ::Ice::ObjectPtr&);
1242
1243class Registry;
1245ICEGRID_API ::Ice::Object* upCast(Registry*);
1247typedef ::IceInternal::Handle< Registry> RegistryPtr;
1248typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Registry> RegistryPrx;
1251ICEGRID_API void _icePatchObjectPtr(RegistryPtr&, const ::Ice::ObjectPtr&);
1253
1254class Locator;
1256ICEGRID_API ::Ice::Object* upCast(Locator*);
1258typedef ::IceInternal::Handle< Locator> LocatorPtr;
1259typedef ::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Locator> LocatorPrx;
1262ICEGRID_API void _icePatchObjectPtr(LocatorPtr&, const ::Ice::ObjectPtr&);
1264
1265}
1266
1267namespace IceGrid
1268{
1269
1288
1289}
1290
1292namespace IceAsync
1293{
1294
1295}
1297
1298namespace IceGrid
1299{
1300
1306class Callback_Query_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
1307typedef ::IceUtil::Handle< Callback_Query_findObjectById_Base> Callback_Query_findObjectByIdPtr;
1308
1314class Callback_Query_findObjectByType_Base : public virtual ::IceInternal::CallbackBase { };
1315typedef ::IceUtil::Handle< Callback_Query_findObjectByType_Base> Callback_Query_findObjectByTypePtr;
1316
1322class Callback_Query_findObjectByTypeOnLeastLoadedNode_Base : public virtual ::IceInternal::CallbackBase { };
1323typedef ::IceUtil::Handle< Callback_Query_findObjectByTypeOnLeastLoadedNode_Base> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr;
1324
1330class Callback_Query_findAllObjectsByType_Base : public virtual ::IceInternal::CallbackBase { };
1331typedef ::IceUtil::Handle< Callback_Query_findAllObjectsByType_Base> Callback_Query_findAllObjectsByTypePtr;
1332
1338class Callback_Query_findAllReplicas_Base : public virtual ::IceInternal::CallbackBase { };
1339typedef ::IceUtil::Handle< Callback_Query_findAllReplicas_Base> Callback_Query_findAllReplicasPtr;
1340
1346class Callback_Registry_createSession_Base : public virtual ::IceInternal::CallbackBase { };
1347typedef ::IceUtil::Handle< Callback_Registry_createSession_Base> Callback_Registry_createSessionPtr;
1348
1354class Callback_Registry_createAdminSession_Base : public virtual ::IceInternal::CallbackBase { };
1355typedef ::IceUtil::Handle< Callback_Registry_createAdminSession_Base> Callback_Registry_createAdminSessionPtr;
1356
1362class Callback_Registry_createSessionFromSecureConnection_Base : public virtual ::IceInternal::CallbackBase { };
1363typedef ::IceUtil::Handle< Callback_Registry_createSessionFromSecureConnection_Base> Callback_Registry_createSessionFromSecureConnectionPtr;
1364
1370class Callback_Registry_createAdminSessionFromSecureConnection_Base : public virtual ::IceInternal::CallbackBase { };
1371typedef ::IceUtil::Handle< Callback_Registry_createAdminSessionFromSecureConnection_Base> Callback_Registry_createAdminSessionFromSecureConnectionPtr;
1372
1378class Callback_Registry_getSessionTimeout_Base : public virtual ::IceInternal::CallbackBase { };
1379typedef ::IceUtil::Handle< Callback_Registry_getSessionTimeout_Base> Callback_Registry_getSessionTimeoutPtr;
1380
1386class Callback_Registry_getACMTimeout_Base : public virtual ::IceInternal::CallbackBase { };
1387typedef ::IceUtil::Handle< Callback_Registry_getACMTimeout_Base> Callback_Registry_getACMTimeoutPtr;
1388
1394class Callback_Locator_getLocalRegistry_Base : public virtual ::IceInternal::CallbackBase { };
1395typedef ::IceUtil::Handle< Callback_Locator_getLocalRegistry_Base> Callback_Locator_getLocalRegistryPtr;
1396
1402class Callback_Locator_getLocalQuery_Base : public virtual ::IceInternal::CallbackBase { };
1403typedef ::IceUtil::Handle< Callback_Locator_getLocalQuery_Base> Callback_Locator_getLocalQueryPtr;
1404
1405}
1406
1407namespace IceProxy
1408{
1409
1410namespace IceGrid
1411{
1412
1413class ICE_CLASS(ICEGRID_API) Query : public virtual ::Ice::Proxy<Query, ::IceProxy::Ice::Object>
1414{
1415public:
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
1496private:
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
1500public:
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
1593private:
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
1597public:
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
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
1708private:
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
1712public:
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
1795private:
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
1799public:
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
1894private:
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
1898public:
1899
1904 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
1905
1906protected:
1908
1909 ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1911};
1912
1913class ICE_CLASS(ICEGRID_API) Registry : public virtual ::Ice::Proxy<Registry, ::IceProxy::Ice::Object>
1914{
1915public:
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
2008private:
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
2012public:
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
2105private:
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
2109public:
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
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
2190private:
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
2194public:
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
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
2275private:
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
2279public:
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
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
2378private:
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
2382public:
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
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
2481private:
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
2485public:
2486
2491 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
2492
2493protected:
2495
2496 ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2498};
2499
2500class ICE_CLASS(ICEGRID_API) Locator : public virtual ::Ice::Proxy<Locator, ::IceProxy::Ice::Locator>
2501{
2502public:
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
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
2583private:
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
2587public:
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
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
2668private:
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
2672public:
2673
2678 ICE_MEMBER(ICEGRID_API) static const ::std::string& ice_staticId();
2679
2680protected:
2682
2683 ICE_MEMBER(ICEGRID_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2685};
2686
2687}
2688
2689}
2690
2691namespace IceGrid
2692{
2693
2699class ICEGRID_API Query : public virtual ::Ice::Object
2700{
2701public:
2702
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
2812protected:
2813
2815 virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2816 virtual void _iceReadImpl(::Ice::InputStream*);
2818};
2819
2821inline 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
2826inline 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
2839class ICEGRID_API Registry : public virtual ::Ice::Object
2840{
2841public:
2842
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
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
2970protected:
2971
2973 virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2974 virtual void _iceReadImpl(::Ice::InputStream*);
2976};
2977
2979inline 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
2984inline 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
2997class ICEGRID_API Locator : virtual public ::Ice::Locator
2998{
2999public:
3000
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
3066protected:
3067
3069 virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3070 virtual void _iceReadImpl(::Ice::InputStream*);
3072};
3073
3075inline 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
3080inline 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
3089namespace Ice
3090{
3091
3092template<>
3093struct 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
3105namespace IceGrid
3106{
3107
3113template<class T>
3114class CallbackNC_Query_findObjectById : public Callback_Query_findObjectById_Base, public ::IceInternal::TwowayCallbackNC<T>
3115{
3116public:
3117
3119
3120 typedef void (T::*Exception)(const ::Ice::Exception&);
3121 typedef void (T::*Sent)(bool);
3122 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3123
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
3150private:
3151
3152 Response _response;
3153};
3154
3163template<class T> Callback_Query_findObjectByIdPtr
3164newCallback_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
3177template<class T> Callback_Query_findObjectByIdPtr
3178newCallback_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
3188template<class T, typename CT>
3189class Callback_Query_findObjectById : public Callback_Query_findObjectById_Base, public ::IceInternal::TwowayCallback<T, CT>
3190{
3191public:
3192
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
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
3225private:
3226
3227 Response _response;
3228};
3229
3239template<class T, typename CT> Callback_Query_findObjectByIdPtr
3240newCallback_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
3254template<class T, typename CT> Callback_Query_findObjectByIdPtr
3255newCallback_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
3265template<class T>
3266class CallbackNC_Query_findObjectByType : public Callback_Query_findObjectByType_Base, public ::IceInternal::TwowayCallbackNC<T>
3267{
3268public:
3269
3271
3272 typedef void (T::*Exception)(const ::Ice::Exception&);
3273 typedef void (T::*Sent)(bool);
3274 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3275
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
3302private:
3303
3304 Response _response;
3305};
3306
3315template<class T> Callback_Query_findObjectByTypePtr
3316newCallback_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
3329template<class T> Callback_Query_findObjectByTypePtr
3330newCallback_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
3340template<class T, typename CT>
3341class Callback_Query_findObjectByType : public Callback_Query_findObjectByType_Base, public ::IceInternal::TwowayCallback<T, CT>
3342{
3343public:
3344
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
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
3377private:
3378
3379 Response _response;
3380};
3381
3391template<class T, typename CT> Callback_Query_findObjectByTypePtr
3392newCallback_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
3406template<class T, typename CT> Callback_Query_findObjectByTypePtr
3407newCallback_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
3417template<class T>
3419{
3420public:
3421
3423
3424 typedef void (T::*Exception)(const ::Ice::Exception&);
3425 typedef void (T::*Sent)(bool);
3426 typedef void (T::*Response)(const ::Ice::ObjectPrx&);
3427
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
3454private:
3455
3456 Response _response;
3457};
3458
3468newCallback_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
3481template<class T> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3482newCallback_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
3492template<class T, typename CT>
3494{
3495public:
3496
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
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
3529private:
3530
3531 Response _response;
3532};
3533
3543template<class T, typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3544newCallback_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
3558template<class T, typename CT> Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
3559newCallback_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
3569template<class T>
3570class CallbackNC_Query_findAllObjectsByType : public Callback_Query_findAllObjectsByType_Base, public ::IceInternal::TwowayCallbackNC<T>
3571{
3572public:
3573
3575
3576 typedef void (T::*Exception)(const ::Ice::Exception&);
3577 typedef void (T::*Sent)(bool);
3578 typedef void (T::*Response)(const ::Ice::ObjectProxySeq&);
3579
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
3606private:
3607
3608 Response _response;
3609};
3610
3620newCallback_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
3633template<class T> Callback_Query_findAllObjectsByTypePtr
3634newCallback_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
3644template<class T, typename CT>
3645class Callback_Query_findAllObjectsByType : public Callback_Query_findAllObjectsByType_Base, public ::IceInternal::TwowayCallback<T, CT>
3646{
3647public:
3648
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
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
3681private:
3682
3683 Response _response;
3684};
3685
3695template<class T, typename CT> Callback_Query_findAllObjectsByTypePtr
3696newCallback_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
3710template<class T, typename CT> Callback_Query_findAllObjectsByTypePtr
3711newCallback_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
3721template<class T>
3722class CallbackNC_Query_findAllReplicas : public Callback_Query_findAllReplicas_Base, public ::IceInternal::TwowayCallbackNC<T>
3723{
3724public:
3725
3727
3728 typedef void (T::*Exception)(const ::Ice::Exception&);
3729 typedef void (T::*Sent)(bool);
3730 typedef void (T::*Response)(const ::Ice::ObjectProxySeq&);
3731
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
3758private:
3759
3760 Response _response;
3761};
3762
3771template<class T> Callback_Query_findAllReplicasPtr
3772newCallback_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
3785template<class T> Callback_Query_findAllReplicasPtr
3786newCallback_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
3796template<class T, typename CT>
3797class Callback_Query_findAllReplicas : public Callback_Query_findAllReplicas_Base, public ::IceInternal::TwowayCallback<T, CT>
3798{
3799public:
3800
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
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
3833private:
3834
3835 Response _response;
3836};
3837
3847template<class T, typename CT> Callback_Query_findAllReplicasPtr
3848newCallback_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
3862template<class T, typename CT> Callback_Query_findAllReplicasPtr
3863newCallback_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
3873template<class T>
3874class CallbackNC_Registry_createSession : public Callback_Registry_createSession_Base, public ::IceInternal::TwowayCallbackNC<T>
3875{
3876public:
3877
3879
3880 typedef void (T::*Exception)(const ::Ice::Exception&);
3881 typedef void (T::*Sent)(bool);
3882 typedef void (T::*Response)(const SessionPrx&);
3883
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
3910private:
3911
3912 Response _response;
3913};
3914
3923template<class T> Callback_Registry_createSessionPtr
3924newCallback_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
3937template<class T> Callback_Registry_createSessionPtr
3938newCallback_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
3948template<class T, typename CT>
3949class Callback_Registry_createSession : public Callback_Registry_createSession_Base, public ::IceInternal::TwowayCallback<T, CT>
3950{
3951public:
3952
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
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
3985private:
3986
3987 Response _response;
3988};
3989
3999template<class T, typename CT> Callback_Registry_createSessionPtr
4000newCallback_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
4014template<class T, typename CT> Callback_Registry_createSessionPtr
4015newCallback_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
4025template<class T>
4026class CallbackNC_Registry_createAdminSession : public Callback_Registry_createAdminSession_Base, public ::IceInternal::TwowayCallbackNC<T>
4027{
4028public:
4029
4031
4032 typedef void (T::*Exception)(const ::Ice::Exception&);
4033 typedef void (T::*Sent)(bool);
4034 typedef void (T::*Response)(const AdminSessionPrx&);
4035
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
4062private:
4063
4064 Response _response;
4065};
4066
4076newCallback_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
4089template<class T> Callback_Registry_createAdminSessionPtr
4090newCallback_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
4100template<class T, typename CT>
4101class Callback_Registry_createAdminSession : public Callback_Registry_createAdminSession_Base, public ::IceInternal::TwowayCallback<T, CT>
4102{
4103public:
4104
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
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
4137private:
4138
4139 Response _response;
4140};
4141
4151template<class T, typename CT> Callback_Registry_createAdminSessionPtr
4152newCallback_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
4166template<class T, typename CT> Callback_Registry_createAdminSessionPtr
4167newCallback_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
4177template<class T>
4179{
4180public:
4181
4183
4184 typedef void (T::*Exception)(const ::Ice::Exception&);
4185 typedef void (T::*Sent)(bool);
4186 typedef void (T::*Response)(const SessionPrx&);
4187
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
4214private:
4215
4216 Response _response;
4217};
4218
4228newCallback_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
4241template<class T> Callback_Registry_createSessionFromSecureConnectionPtr
4242newCallback_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
4252template<class T, typename CT>
4254{
4255public:
4256
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
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
4289private:
4290
4291 Response _response;
4292};
4293
4303template<class T, typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4304newCallback_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
4318template<class T, typename CT> Callback_Registry_createSessionFromSecureConnectionPtr
4319newCallback_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
4329template<class T>
4331{
4332public:
4333
4335
4336 typedef void (T::*Exception)(const ::Ice::Exception&);
4337 typedef void (T::*Sent)(bool);
4338 typedef void (T::*Response)(const AdminSessionPrx&);
4339
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
4366private:
4367
4368 Response _response;
4369};
4370
4380newCallback_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
4393template<class T> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4394newCallback_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
4404template<class T, typename CT>
4406{
4407public:
4408
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
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
4441private:
4442
4443 Response _response;
4444};
4445
4456newCallback_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
4470template<class T, typename CT> Callback_Registry_createAdminSessionFromSecureConnectionPtr
4471newCallback_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
4481template<class T>
4482class CallbackNC_Registry_getSessionTimeout : public Callback_Registry_getSessionTimeout_Base, public ::IceInternal::TwowayCallbackNC<T>
4483{
4484public:
4485
4487
4488 typedef void (T::*Exception)(const ::Ice::Exception&);
4489 typedef void (T::*Sent)(bool);
4490 typedef void (T::*Response)(::Ice::Int);
4491
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
4518private:
4519
4520 Response _response;
4521};
4522
4532newCallback_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
4545template<class T> Callback_Registry_getSessionTimeoutPtr
4546newCallback_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
4556template<class T, typename CT>
4557class Callback_Registry_getSessionTimeout : public Callback_Registry_getSessionTimeout_Base, public ::IceInternal::TwowayCallback<T, CT>
4558{
4559public:
4560
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
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
4593private:
4594
4595 Response _response;
4596};
4597
4607template<class T, typename CT> Callback_Registry_getSessionTimeoutPtr
4608newCallback_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
4622template<class T, typename CT> Callback_Registry_getSessionTimeoutPtr
4623newCallback_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
4633template<class T>
4634class CallbackNC_Registry_getACMTimeout : public Callback_Registry_getACMTimeout_Base, public ::IceInternal::TwowayCallbackNC<T>
4635{
4636public:
4637
4639
4640 typedef void (T::*Exception)(const ::Ice::Exception&);
4641 typedef void (T::*Sent)(bool);
4642 typedef void (T::*Response)(::Ice::Int);
4643
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
4670private:
4671
4672 Response _response;
4673};
4674
4683template<class T> Callback_Registry_getACMTimeoutPtr
4684newCallback_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
4697template<class T> Callback_Registry_getACMTimeoutPtr
4698newCallback_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
4708template<class T, typename CT>
4709class Callback_Registry_getACMTimeout : public Callback_Registry_getACMTimeout_Base, public ::IceInternal::TwowayCallback<T, CT>
4710{
4711public:
4712
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
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
4745private:
4746
4747 Response _response;
4748};
4749
4759template<class T, typename CT> Callback_Registry_getACMTimeoutPtr
4760newCallback_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
4774template<class T, typename CT> Callback_Registry_getACMTimeoutPtr
4775newCallback_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
4785template<class T>
4786class CallbackNC_Locator_getLocalRegistry : public Callback_Locator_getLocalRegistry_Base, public ::IceInternal::TwowayCallbackNC<T>
4787{
4788public:
4789
4791
4792 typedef void (T::*Exception)(const ::Ice::Exception&);
4793 typedef void (T::*Sent)(bool);
4794 typedef void (T::*Response)(const RegistryPrx&);
4795
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
4822private:
4823
4824 Response _response;
4825};
4826
4836newCallback_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
4849template<class T> Callback_Locator_getLocalRegistryPtr
4850newCallback_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
4860template<class T, typename CT>
4861class Callback_Locator_getLocalRegistry : public Callback_Locator_getLocalRegistry_Base, public ::IceInternal::TwowayCallback<T, CT>
4862{
4863public:
4864
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
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
4897private:
4898
4899 Response _response;
4900};
4901
4911template<class T, typename CT> Callback_Locator_getLocalRegistryPtr
4912newCallback_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
4926template<class T, typename CT> Callback_Locator_getLocalRegistryPtr
4927newCallback_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
4937template<class T>
4938class CallbackNC_Locator_getLocalQuery : public Callback_Locator_getLocalQuery_Base, public ::IceInternal::TwowayCallbackNC<T>
4939{
4940public:
4941
4943
4944 typedef void (T::*Exception)(const ::Ice::Exception&);
4945 typedef void (T::*Sent)(bool);
4946 typedef void (T::*Response)(const QueryPrx&);
4947
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
4974private:
4975
4976 Response _response;
4977};
4978
4987template<class T> Callback_Locator_getLocalQueryPtr
4988newCallback_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
5001template<class T> Callback_Locator_getLocalQueryPtr
5002newCallback_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
5012template<class T, typename CT>
5013class Callback_Locator_getLocalQuery : public Callback_Locator_getLocalQuery_Base, public ::IceInternal::TwowayCallback<T, CT>
5014{
5015public:
5016
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
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
5049private:
5050
5051 Response _response;
5052};
5053
5063template<class T, typename CT> Callback_Locator_getLocalQueryPtr
5064newCallback_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
5078template<class T, typename CT> Callback_Locator_getLocalQueryPtr
5079newCallback_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
#define ICEGRID_API
Definition Descriptor.h:58
#define ICE_MEMBER(API)
Definition Config.h:177
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Locator::begin_get...
Definition Registry.h:4939
void(T::* Sent)(bool)
Definition Registry.h:4945
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4944
CallbackNC_Locator_getLocalQuery(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4948
void(T::* Response)(const QueryPrx &)
Definition Registry.h:4946
IceUtil::Handle< T > TPtr
Definition Registry.h:4942
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Locator::begin_get...
Definition Registry.h:4787
IceUtil::Handle< T > TPtr
Definition Registry.h:4790
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4792
void(T::* Response)(const RegistryPrx &)
Definition Registry.h:4794
void(T::* Sent)(bool)
Definition Registry.h:4793
CallbackNC_Locator_getLocalRegistry(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4796
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Query::begin_findA...
Definition Registry.h:3571
IceUtil::Handle< T > TPtr
Definition Registry.h:3574
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3576
void(T::* Response)(const ::Ice::ObjectProxySeq &)
Definition Registry.h:3578
CallbackNC_Query_findAllObjectsByType(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3580
void(T::* Sent)(bool)
Definition Registry.h:3577
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Query::begin_findA...
Definition Registry.h:3723
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3728
void(T::* Response)(const ::Ice::ObjectProxySeq &)
Definition Registry.h:3730
void(T::* Sent)(bool)
Definition Registry.h:3729
CallbackNC_Query_findAllReplicas(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3732
IceUtil::Handle< T > TPtr
Definition Registry.h:3726
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Query::begin_findO...
Definition Registry.h:3115
void(T::* Response)(const ::Ice::ObjectPrx &)
Definition Registry.h:3122
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3120
void(T::* Sent)(bool)
Definition Registry.h:3121
CallbackNC_Query_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3124
IceUtil::Handle< T > TPtr
Definition Registry.h:3118
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Query::begin_findO...
Definition Registry.h:3419
CallbackNC_Query_findObjectByTypeOnLeastLoadedNode(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3428
IceUtil::Handle< T > TPtr
Definition Registry.h:3422
void(T::* Sent)(bool)
Definition Registry.h:3425
void(T::* Response)(const ::Ice::ObjectPrx &)
Definition Registry.h:3426
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3424
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Query::begin_findO...
Definition Registry.h:3267
CallbackNC_Query_findObjectByType(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3276
void(T::* Sent)(bool)
Definition Registry.h:3273
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3272
IceUtil::Handle< T > TPtr
Definition Registry.h:3270
void(T::* Response)(const ::Ice::ObjectPrx &)
Definition Registry.h:3274
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_cr...
Definition Registry.h:4331
CallbackNC_Registry_createAdminSessionFromSecureConnection(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4340
IceUtil::Handle< T > TPtr
Definition Registry.h:4334
void(T::* Response)(const AdminSessionPrx &)
Definition Registry.h:4338
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4336
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_cr...
Definition Registry.h:4027
IceUtil::Handle< T > TPtr
Definition Registry.h:4030
CallbackNC_Registry_createAdminSession(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4036
void(T::* Response)(const AdminSessionPrx &)
Definition Registry.h:4034
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4032
void(T::* Sent)(bool)
Definition Registry.h:4033
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_cr...
Definition Registry.h:4179
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4184
void(T::* Sent)(bool)
Definition Registry.h:4185
CallbackNC_Registry_createSessionFromSecureConnection(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4188
IceUtil::Handle< T > TPtr
Definition Registry.h:4182
void(T::* Response)(const SessionPrx &)
Definition Registry.h:4186
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_cr...
Definition Registry.h:3875
IceUtil::Handle< T > TPtr
Definition Registry.h:3878
void(T::* Response)(const SessionPrx &)
Definition Registry.h:3882
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:3880
CallbackNC_Registry_createSession(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3884
void(T::* Sent)(bool)
Definition Registry.h:3881
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_ge...
Definition Registry.h:4635
IceUtil::Handle< T > TPtr
Definition Registry.h:4638
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4640
void(T::* Response)(::Ice::Int)
Definition Registry.h:4642
void(T::* Sent)(bool)
Definition Registry.h:4641
CallbackNC_Registry_getACMTimeout(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4644
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceGrid::Registry::begin_ge...
Definition Registry.h:4483
IceUtil::Handle< T > TPtr
Definition Registry.h:4486
CallbackNC_Registry_getSessionTimeout(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4492
void(T::* Sent)(bool)
Definition Registry.h:4489
void(T::* Response)(::Ice::Int)
Definition Registry.h:4490
void(T::* Exception)(const ::Ice::Exception &)
Definition Registry.h:4488
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Locator::be...
Definition Registry.h:1402
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:5014
Callback_Locator_getLocalQuery(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:5023
void(T::* Sent)(bool, const CT &)
Definition Registry.h:5020
void(T::* Response)(const QueryPrx &, const CT &)
Definition Registry.h:5021
IceUtil::Handle< T > TPtr
Definition Registry.h:5017
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:5019
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Locator::be...
Definition Registry.h:1394
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4862
void(T::* Response)(const RegistryPrx &, const CT &)
Definition Registry.h:4869
IceUtil::Handle< T > TPtr
Definition Registry.h:4865
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4867
Callback_Locator_getLocalRegistry(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4871
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4868
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Query::begi...
Definition Registry.h:1330
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3646
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3651
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3652
void(T::* Response)(const ::Ice::ObjectProxySeq &, const CT &)
Definition Registry.h:3653
IceUtil::Handle< T > TPtr
Definition Registry.h:3649
Callback_Query_findAllObjectsByType(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3655
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Query::begi...
Definition Registry.h:1338
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3798
IceUtil::Handle< T > TPtr
Definition Registry.h:3801
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3803
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3804
void(T::* Response)(const ::Ice::ObjectProxySeq &, const CT &)
Definition Registry.h:3805
Callback_Query_findAllReplicas(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3807
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Query::begi...
Definition Registry.h:1306
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3190
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3196
void(T::* Response)(const ::Ice::ObjectPrx &, const CT &)
Definition Registry.h:3197
Callback_Query_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3199
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3195
IceUtil::Handle< T > TPtr
Definition Registry.h:3193
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Query::begi...
Definition Registry.h:1322
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3494
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3499
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3500
void(T::* Response)(const ::Ice::ObjectPrx &, const CT &)
Definition Registry.h:3501
Callback_Query_findObjectByTypeOnLeastLoadedNode(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3503
IceUtil::Handle< T > TPtr
Definition Registry.h:3497
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Query::begi...
Definition Registry.h:1314
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3342
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3347
IceUtil::Handle< T > TPtr
Definition Registry.h:3345
void(T::* Response)(const ::Ice::ObjectPrx &, const CT &)
Definition Registry.h:3349
Callback_Query_findObjectByType(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3351
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3348
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1370
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4406
void(T::* Response)(const AdminSessionPrx &, const CT &)
Definition Registry.h:4413
IceUtil::Handle< T > TPtr
Definition Registry.h:4409
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4412
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4411
Callback_Registry_createAdminSessionFromSecureConnection(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4415
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1354
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4102
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4108
void(T::* Response)(const AdminSessionPrx &, const CT &)
Definition Registry.h:4109
Callback_Registry_createAdminSession(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4111
IceUtil::Handle< T > TPtr
Definition Registry.h:4105
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4107
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1362
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4254
void(T::* Response)(const SessionPrx &, const CT &)
Definition Registry.h:4261
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4259
Callback_Registry_createSessionFromSecureConnection(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4263
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4260
IceUtil::Handle< T > TPtr
Definition Registry.h:4257
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1346
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:3950
void(T::* Sent)(bool, const CT &)
Definition Registry.h:3956
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:3955
IceUtil::Handle< T > TPtr
Definition Registry.h:3953
Callback_Registry_createSession(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:3959
void(T::* Response)(const SessionPrx &, const CT &)
Definition Registry.h:3957
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1386
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4710
Callback_Registry_getACMTimeout(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4719
IceUtil::Handle< T > TPtr
Definition Registry.h:4713
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4716
void(T::* Response)(::Ice::Int, const CT &)
Definition Registry.h:4717
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4715
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceGrid::Registry::b...
Definition Registry.h:1378
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceGrid...
Definition Registry.h:4558
IceUtil::Handle< T > TPtr
Definition Registry.h:4561
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Registry.h:4563
void(T::* Response)(::Ice::Int, const CT &)
Definition Registry.h:4565
void(T::* Sent)(bool, const CT &)
Definition Registry.h:4564
Callback_Registry_getSessionTimeout(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Registry.h:4567
The IceGrid locator interface provides access to the Query and Registry object of the IceGrid registr...
Definition Registry.h:2998
LocatorPrx ProxyType
Definition Registry.h:3001
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual ~Locator()
LocatorPtr PointerType
Definition Registry.h:3002
virtual const ::std::string & ice_id(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current &current=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual QueryPrx getLocalQuery(const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Get the proxy of the query object hosted by this IceGrid registry.
virtual RegistryPrx getLocalRegistry(const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Get the proxy of the registry object hosted by this IceGrid registry.
The IceGrid query interface.
Definition Registry.h:2700
virtual ~Query()
virtual::Ice::ObjectProxySeq findAllObjectsByType(const ::std::string &type, const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Find all the well-known objects with the given type.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
QueryPrx ProxyType
Definition Registry.h:2703
virtual::Ice::ObjectPrx findObjectByType(const ::std::string &type, const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Find a well-known object by type.
virtual::Ice::ObjectPrx findObjectById(const ::Ice::Identity &id, const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Find a well-known object by identity.
virtual const ::std::string & ice_id(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
QueryPtr PointerType
Definition Registry.h:2704
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current &current=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual::Ice::ObjectProxySeq findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Find all the object replicas associated with the given proxy.
virtual::Ice::ObjectPrx findObjectByTypeOnLeastLoadedNode(const ::std::string &type, LoadSample sample, const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Find a well-known object by type on the least-loaded node.
The IceGrid registry allows clients create sessions directly with the registry.
Definition Registry.h:2840
RegistryPrx ProxyType
Definition Registry.h:2843
RegistryPtr PointerType
Definition Registry.h:2844
virtual const ::std::string & ice_id(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual::Ice::Int getACMTimeout(const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Get the value of the ACM timeout.
virtual AdminSessionPrx createAdminSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Current &current=::Ice::emptyCurrent)=0
Create an administrative session.
virtual SessionPrx createSessionFromSecureConnection(const ::Ice::Current &current=::Ice::emptyCurrent)=0
Create a client session from a secure connection.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current &current=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual AdminSessionPrx createAdminSessionFromSecureConnection(const ::Ice::Current &current=::Ice::emptyCurrent)=0
Create an administrative session from a secure connection.
virtual::Ice::Int getSessionTimeout(const ::Ice::Current &current=::Ice::emptyCurrent) const =0
Get the session timeout.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual SessionPrx createSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Current &current=::Ice::emptyCurrent)=0
Create a client session.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current &current=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual ~Registry()
Definition Registry.h:2501
::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context &context, const ::IceGrid::Callback_Locator_getLocalRegistryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2571
::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2546
::IceGrid::RegistryPrx getLocalRegistry(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2510
::Ice::AsyncResultPtr begin_getLocalQuery(const ::IceGrid::Callback_Locator_getLocalQueryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2643
::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2521
::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2618
::Ice::AsyncResultPtr begin_getLocalRegistry(const ::IceGrid::Callback_Locator_getLocalRegistryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2558
::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2606
::IceGrid::RegistryPrx end_getLocalRegistry(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getLocalRegistry.
::Ice::AsyncResultPtr begin_getLocalRegistry(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the registry object hosted by this IceGrid registry.
Definition Registry.h:2533
::IceGrid::QueryPrx end_getLocalQuery(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getLocalQuery.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::IceGrid::QueryPrx getLocalQuery(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2595
::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2631
::Ice::AsyncResultPtr begin_getLocalQuery(const ::Ice::Context &context, const ::IceGrid::Callback_Locator_getLocalQueryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the proxy of the query object hosted by this IceGrid registry.
Definition Registry.h:2656
Definition Registry.h:1414
::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the well-known objects with the given type.
Definition Registry.h:1732
::Ice::ObjectPrx findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by identity.
Definition Registry.h:1423
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::IceGrid::Callback_Query_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by identity.
Definition Registry.h:1471
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by identity.
Definition Registry.h:1434
::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string &type, const ::Ice::Context &context, const ::IceGrid::Callback_Query_findAllObjectsByTypePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the well-known objects with the given type.
Definition Registry.h:1782
::Ice::ObjectProxySeq end_findAllReplicas(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findAllReplicas.
::Ice::ObjectProxySeq findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1810
::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string &type, const ::IceGrid::Callback_Query_findAllObjectsByTypePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the well-known objects with the given type.
Definition Registry.h:1769
::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string &type, ::IceGrid::LoadSample sample, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1643
::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string &type, const ::IceGrid::Callback_Query_findObjectByTypePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type.
Definition Registry.h:1566
::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string &type, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type.
Definition Registry.h:1552
::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string &type, ::IceGrid::LoadSample sample, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1661
::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type.
Definition Registry.h:1523
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by identity.
Definition Registry.h:1459
::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context, const ::IceGrid::Callback_Query_findAllReplicasPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1881
::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1852
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context, const ::IceGrid::Callback_Query_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by identity.
Definition Registry.h:1484
::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1837
::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string &type, const ::Ice::Context &context, const ::IceGrid::Callback_Query_findObjectByTypePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type.
Definition Registry.h:1581
::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:1721
::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::IceGrid::Callback_Query_findAllReplicasPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1866
::Ice::AsyncResultPtr begin_findAllReplicas(const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Find all the object replicas associated with the given proxy.
Definition Registry.h:1823
::Ice::ObjectPrx findObjectByType(const ::std::string &type, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type.
Definition Registry.h:1510
::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findObjectById.
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by identity.
Definition Registry.h:1446
::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string &type, ::IceGrid::LoadSample sample, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1626
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::ObjectPrx end_findObjectByType(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findObjectByType.
::Ice::ObjectPrx findObjectByTypeOnLeastLoadedNode(const ::std::string &type, ::IceGrid::LoadSample sample, const ::Ice::Context &context=::Ice::noExplicitContext)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1610
::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string &type, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the well-known objects with the given type.
Definition Registry.h:1744
::Ice::AsyncResultPtr begin_findObjectByTypeOnLeastLoadedNode(const ::std::string &type, ::IceGrid::LoadSample sample, const ::IceGrid::Callback_Query_findObjectByTypeOnLeastLoadedNodePtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1678
::Ice::AsyncResultPtr begin_findObjectByType(const ::std::string &type, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find a well-known object by type.
Definition Registry.h:1537
::Ice::ObjectPrx end_findObjectByTypeOnLeastLoadedNode(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findObjectByTypeOnLeastLoadedNode.
::Ice::AsyncResultPtr begin_findAllObjectsByType(const ::std::string &type, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find all the well-known objects with the given type.
Definition Registry.h:1757
::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)
Find a well-known object by type on the least-loaded node.
Definition Registry.h:1696
::Ice::ObjectProxySeq end_findAllObjectsByType(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findAllObjectsByType.
Definition Registry.h:1914
::Ice::AsyncResultPtr begin_getSessionTimeout(const ::IceGrid::Callback_Registry_getSessionTimeoutPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the session timeout.
Definition Registry.h:2350
::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session.
Definition Registry.h:2036
::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createSessionFromSecureConnectionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session from a secure connection.
Definition Registry.h:2163
::IceGrid::SessionPrx end_createSessionFromSecureConnection(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_createSessionFromSecureConnection.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context &context, const ::IceGrid::Callback_Registry_getACMTimeoutPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the value of the ACM timeout.
Definition Registry.h:2469
::IceGrid::AdminSessionPrx end_createAdminSession(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_createAdminSession.
::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the session timeout.
Definition Registry.h:2335
::Ice::AsyncResultPtr begin_createSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session.
Definition Registry.h:1939
::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)
Create a client session.
Definition Registry.h:1993
::Ice::AsyncResultPtr begin_createSession(const ::std::string &userId, const ::std::string &password, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session.
Definition Registry.h:1952
::Ice::Int getACMTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the value of the ACM timeout.
Definition Registry.h:2393
::IceGrid::SessionPrx end_createSession(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_createSession.
::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session from a secure connection.
Definition Registry.h:2129
::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)
Create an administrative session.
Definition Registry.h:2090
::Ice::Int getSessionTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition Registry.h:2290
::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context &context, const ::IceGrid::Callback_Registry_createAdminSessionFromSecureConnectionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session from a secure connection.
Definition Registry.h:2260
::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the session timeout.
Definition Registry.h:2319
::Ice::AsyncResultPtr begin_createSession(const ::std::string &userId, const ::std::string &password, const ::IceGrid::Callback_Registry_createSessionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session.
Definition Registry.h:1979
::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context &context, const ::IceGrid::Callback_Registry_getSessionTimeoutPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the session timeout.
Definition Registry.h:2366
::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string &userId, const ::std::string &password, const ::IceGrid::Callback_Registry_createAdminSessionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session.
Definition Registry.h:2076
::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)
Create a client session.
Definition Registry.h:1966
::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session from a secure connection.
Definition Registry.h:2140
::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session from a secure connection.
Definition Registry.h:2237
::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session from a secure connection.
Definition Registry.h:2225
::Ice::Int end_getSessionTimeout(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getSessionTimeout.
::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the value of the ACM timeout.
Definition Registry.h:2422
::IceGrid::SessionPrx createSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session.
Definition Registry.h:1927
::IceGrid::SessionPrx createSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create a client session from a secure connection.
Definition Registry.h:2119
::Ice::Int end_getACMTimeout(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getACMTimeout.
::Ice::AsyncResultPtr begin_createAdminSession(const ::std::string &userId, const ::std::string &password, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session.
Definition Registry.h:2049
::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the value of the ACM timeout.
Definition Registry.h:2407
::IceGrid::AdminSessionPrx end_createAdminSessionFromSecureConnection(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_createAdminSessionFromSecureConnection.
::IceGrid::AdminSessionPrx createAdminSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session from a secure connection.
Definition Registry.h:2204
::Ice::AsyncResultPtr begin_getACMTimeout(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the value of the ACM timeout.
Definition Registry.h:2438
::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition Registry.h:2304
::Ice::AsyncResultPtr begin_getACMTimeout(const ::IceGrid::Callback_Registry_getACMTimeoutPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the value of the ACM timeout.
Definition Registry.h:2453
::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context &context, const ::IceGrid::Callback_Registry_createSessionFromSecureConnectionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session from a secure connection.
Definition Registry.h:2175
::IceGrid::AdminSessionPrx createAdminSession(const ::std::string &userId, const ::std::string &password, const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session.
Definition Registry.h:2024
::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::Ice::Context &context=::Ice::noExplicitContext)
Create an administrative session from a secure connection.
Definition Registry.h:2214
::Ice::AsyncResultPtr begin_createSessionFromSecureConnection(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create a client session from a secure connection.
Definition Registry.h:2152
::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)
Create an administrative session.
Definition Registry.h:2063
::Ice::AsyncResultPtr begin_createAdminSessionFromSecureConnection(const ::IceGrid::Callback_Registry_createAdminSessionFromSecureConnectionPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Create an administrative session from a secure connection.
Definition Registry.h:2248
Definition Handle.h:143
Shared & operator=(const Shared &)
Definition Shared.h:94
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition InputStream.h:50
The Ice locator interface.
Definition Locator.h:2305
The base class for servants.
Definition Object.h:193
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
Helper template that supplies proxy factory functions.
Definition Proxy.h:2904
Definition Admin.h:7204
::IceInternal::ProxyHandle< ::IceProxy::IceGrid::AdminSession > AdminSessionPrx
Definition Admin.h:7288
Callback_Registry_getSessionTimeoutPtr newCallback_Registry_getSessionTimeout(const IceUtil::Handle< T > &instance, void(T::*cb)(::Ice::Int), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4532
Callback_Query_findObjectByIdPtr 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)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3164
::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Query > QueryPrx
Definition Registry.h:1237
::IceUtil::Handle< Callback_Query_findObjectByType_Base > Callback_Query_findObjectByTypePtr
Definition Registry.h:1315
Callback_Query_findAllReplicasPtr 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)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3772
Callback_Query_findObjectByTypePtr 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)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3316
::IceUtil::Handle< Callback_Registry_createAdminSessionFromSecureConnection_Base > Callback_Registry_createAdminSessionFromSecureConnectionPtr
Definition Registry.h:1371
::IceUtil::Handle< Callback_Locator_getLocalQuery_Base > Callback_Locator_getLocalQueryPtr
Definition Registry.h:1403
::IceInternal::Handle< Registry > RegistryPtr
Definition Registry.h:1247
::IceInternal::Handle< Locator > LocatorPtr
Definition Registry.h:1258
RegistryPrx RegistryPrxPtr
Definition Registry.h:1249
Callback_Registry_createSessionFromSecureConnectionPtr newCallback_Registry_createSessionFromSecureConnection(const IceUtil::Handle< T > &instance, void(T::*cb)(const SessionPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4228
::IceUtil::Handle< Callback_Registry_getSessionTimeout_Base > Callback_Registry_getSessionTimeoutPtr
Definition Registry.h:1379
LoadSample
Determines which load sampling interval to use.
Definition Registry.h:1274
@ LoadSample1
Sample every minute.
Definition Registry.h:1278
@ LoadSample15
Sample every fifteen minutes.
Definition Registry.h:1286
@ LoadSample5
Sample every five minutes.
Definition Registry.h:1282
Callback_Registry_getACMTimeoutPtr newCallback_Registry_getACMTimeout(const IceUtil::Handle< T > &instance, void(T::*cb)(::Ice::Int), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4684
::IceUtil::Handle< Callback_Query_findObjectByTypeOnLeastLoadedNode_Base > Callback_Query_findObjectByTypeOnLeastLoadedNodePtr
Definition Registry.h:1323
Callback_Locator_getLocalRegistryPtr newCallback_Locator_getLocalRegistry(const IceUtil::Handle< T > &instance, void(T::*cb)(const RegistryPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4836
QueryPrx QueryPrxPtr
Definition Registry.h:1238
Callback_Locator_getLocalQueryPtr newCallback_Locator_getLocalQuery(const IceUtil::Handle< T > &instance, void(T::*cb)(const QueryPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4988
::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Registry > RegistryPrx
Definition Registry.h:1248
Callback_Query_findAllObjectsByTypePtr 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)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3620
::IceUtil::Handle< Callback_Locator_getLocalRegistry_Base > Callback_Locator_getLocalRegistryPtr
Definition Registry.h:1395
::IceUtil::Handle< Callback_Registry_createAdminSession_Base > Callback_Registry_createAdminSessionPtr
Definition Registry.h:1355
::IceUtil::Handle< Callback_Query_findObjectById_Base > Callback_Query_findObjectByIdPtr
Definition Registry.h:1307
Callback_Registry_createSessionPtr newCallback_Registry_createSession(const IceUtil::Handle< T > &instance, void(T::*cb)(const SessionPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3924
::IceUtil::Handle< Callback_Registry_createSessionFromSecureConnection_Base > Callback_Registry_createSessionFromSecureConnectionPtr
Definition Registry.h:1363
Callback_Query_findObjectByTypeOnLeastLoadedNodePtr 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)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:3468
::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Locator > LocatorPrx
Definition Registry.h:1259
LocatorPrx LocatorPrxPtr
Definition Registry.h:1260
::IceUtil::Handle< Callback_Registry_getACMTimeout_Base > Callback_Registry_getACMTimeoutPtr
Definition Registry.h:1387
::IceInternal::ProxyHandle< ::IceProxy::IceGrid::Session > SessionPrx
Definition Session.h:560
::IceUtil::Handle< Callback_Query_findAllObjectsByType_Base > Callback_Query_findAllObjectsByTypePtr
Definition Registry.h:1331
Callback_Registry_createAdminSessionPtr newCallback_Registry_createAdminSession(const IceUtil::Handle< T > &instance, void(T::*cb)(const AdminSessionPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4076
::IceUtil::Handle< Callback_Query_findAllReplicas_Base > Callback_Query_findAllReplicasPtr
Definition Registry.h:1339
::IceUtil::Handle< Callback_Registry_createSession_Base > Callback_Registry_createSessionPtr
Definition Registry.h:1347
Callback_Registry_createAdminSessionFromSecureConnectionPtr newCallback_Registry_createAdminSessionFromSecureConnection(const IceUtil::Handle< T > &instance, void(T::*cb)(const AdminSessionPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Registry.h:4380
::IceInternal::Handle< Query > QueryPtr
Definition Registry.h:1236
Definition Metrics.h:211
Definition BuiltinSequences.h:113
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
int Int
The mapping for the Slice int type.
Definition Config.h:54
IceInternal::ProxyHandle< ::IceProxy::Ice::Object > ObjectPrx
Smart pointer for an object proxy.
Definition ProxyF.h:47
const Current emptyCurrent
A default-initialized Current instance.
::std::vector< ObjectPrx > ObjectProxySeq
A sequence of object proxies.
Definition BuiltinSequences.h:163
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
IceUtil::Shared * upCast(::Ice::AsyncResult *)
::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator > LocatorPrx
Definition Locator.h:1043