Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Locator.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 `Locator.ice'
10//
11// Warning: do not edit this file.
12//
13// </auto-generated>
14//
15
16#ifndef __Ice_Locator_h__
17#define __Ice_Locator_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/Identity.h>
38#include <Ice/Process.h>
40
41#ifndef ICE_IGNORE_VERSION
42# if ICE_INT_VERSION / 100 != 307
43# error Ice version mismatch!
44# endif
45# if ICE_INT_VERSION % 100 >= 50
46# error Beta header file detected
47# endif
48# if ICE_INT_VERSION % 100 < 11
49# error Ice patch level mismatch!
50# endif
51#endif
52
53#ifndef ICE_API
54# if defined(ICE_STATIC_LIBS)
55# define ICE_API /**/
56# elif defined(ICE_API_EXPORTS)
57# define ICE_API ICE_DECLSPEC_EXPORT
58# else
59# define ICE_API ICE_DECLSPEC_IMPORT
60# endif
61#endif
62
63#ifdef ICE_CPP11_MAPPING // C++11 mapping
64
65namespace Ice
66{
67
68class LocatorRegistry;
70class Locator;
71class LocatorPrx;
72class LocatorFinder;
74
75}
76
77namespace Ice
78{
79
84class ICE_CLASS(ICE_API) AdapterNotFoundException : public UserExceptionHelper<AdapterNotFoundException, UserException>
85{
86public:
87
88 ICE_MEMBER(ICE_API) virtual ~AdapterNotFoundException();
89
90 AdapterNotFoundException(const AdapterNotFoundException&) = default;
91
92 AdapterNotFoundException() = default;
93
98 std::tuple<> ice_tuple() const
99 {
100 return std::tie();
101 }
102
107 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
108};
109
111static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
113
119class ICE_CLASS(ICE_API) InvalidReplicaGroupIdException : public UserExceptionHelper<InvalidReplicaGroupIdException, UserException>
120{
121public:
122
123 ICE_MEMBER(ICE_API) virtual ~InvalidReplicaGroupIdException();
124
125 InvalidReplicaGroupIdException(const InvalidReplicaGroupIdException&) = default;
126
127 InvalidReplicaGroupIdException() = default;
128
133 std::tuple<> ice_tuple() const
134 {
135 return std::tie();
136 }
137
142 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
143};
144
150class ICE_CLASS(ICE_API) AdapterAlreadyActiveException : public UserExceptionHelper<AdapterAlreadyActiveException, UserException>
151{
152public:
153
154 ICE_MEMBER(ICE_API) virtual ~AdapterAlreadyActiveException();
155
156 AdapterAlreadyActiveException(const AdapterAlreadyActiveException&) = default;
157
158 AdapterAlreadyActiveException() = default;
159
164 std::tuple<> ice_tuple() const
165 {
166 return std::tie();
167 }
168
173 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
174};
175
180class ICE_CLASS(ICE_API) ObjectNotFoundException : public UserExceptionHelper<ObjectNotFoundException, UserException>
181{
182public:
183
184 ICE_MEMBER(ICE_API) virtual ~ObjectNotFoundException();
185
186 ObjectNotFoundException(const ObjectNotFoundException&) = default;
187
188 ObjectNotFoundException() = default;
189
194 std::tuple<> ice_tuple() const
195 {
196 return std::tie();
197 }
198
203 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
204};
205
210class ICE_CLASS(ICE_API) ServerNotFoundException : public UserExceptionHelper<ServerNotFoundException, UserException>
211{
212public:
213
214 ICE_MEMBER(ICE_API) virtual ~ServerNotFoundException();
215
216 ServerNotFoundException(const ServerNotFoundException&) = default;
217
218 ServerNotFoundException() = default;
219
224 std::tuple<> ice_tuple() const
225 {
226 return std::tie();
227 }
228
233 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
234};
235
236}
237
238namespace Ice
239{
240
252class ICE_API Locator : public virtual Object
253{
254public:
255
256 using ProxyType = LocatorPrx;
257
264 virtual bool ice_isA(::std::string id, const Current& current) const override;
265
271 virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
272
278 virtual ::std::string ice_id(const Current& current) const override;
279
284 static const ::std::string& ice_staticId();
285
297 virtual void findObjectByIdAsync(Identity id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
299 bool _iceD_findObjectById(::IceInternal::Incoming&, const Current&) const;
301
312 virtual void findAdapterByIdAsync(::std::string id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
314 bool _iceD_findAdapterById(::IceInternal::Incoming&, const Current&) const;
316
322 virtual ::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Current& current) const = 0;
324 bool _iceD_getRegistry(::IceInternal::Incoming&, const Current&) const;
326
328 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
330};
331
342class ICE_API LocatorRegistry : public virtual Object
343{
344public:
345
346 using ProxyType = LocatorRegistryPrx;
347
354 virtual bool ice_isA(::std::string id, const Current& current) const override;
355
361 virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
362
368 virtual ::std::string ice_id(const Current& current) const override;
369
374 static const ::std::string& ice_staticId();
375
392 virtual void setAdapterDirectProxyAsync(::std::string id, ::std::shared_ptr<ObjectPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
394 bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
396
417 virtual void setReplicatedAdapterDirectProxyAsync(::std::string adapterId, ::std::string replicaGroupId, ::std::shared_ptr<ObjectPrx> p, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
419 bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
421
432 virtual void setServerProcessProxyAsync(::std::string id, ::std::shared_ptr<ProcessPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
434 bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const Current&);
436
438 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
440};
441
450class ICE_API LocatorFinder : public virtual Object
451{
452public:
453
454 using ProxyType = LocatorFinderPrx;
455
462 virtual bool ice_isA(::std::string id, const Current& current) const override;
463
469 virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
470
476 virtual ::std::string ice_id(const Current& current) const override;
477
482 static const ::std::string& ice_staticId();
483
490 virtual ::std::shared_ptr<LocatorPrx> getLocator(const Current& current) = 0;
492 bool _iceD_getLocator(::IceInternal::Incoming&, const Current&);
494
496 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
498};
499
500}
501
502namespace Ice
503{
504
516class ICE_CLASS(ICE_API) LocatorPrx : public virtual Proxy<LocatorPrx, ObjectPrx>
517{
518public:
519
530 ::std::shared_ptr<ObjectPrx> findObjectById(const Identity& id, const Context& context = noExplicitContext)
531 {
532 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findObjectById, id, context).get();
533 }
534
543 template<template<typename> class P = ::std::promise>
544 auto findObjectByIdAsync(const Identity& id, const Context& context = noExplicitContext)
545 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
546 {
547 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findObjectById, id, context);
548 }
549
561 ::std::function<void()>
562 findObjectByIdAsync(const Identity& id,
563 ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
564 ::std::function<void(::std::exception_ptr)> ex = nullptr,
565 ::std::function<void(bool)> sent = nullptr,
566 const Context& context = noExplicitContext)
567 {
568 return _makeLambdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_findObjectById, id, context);
569 }
570
572 ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const Identity&, const Context&);
574
584 ::std::shared_ptr<ObjectPrx> findAdapterById(const ::std::string& id, const Context& context = noExplicitContext)
585 {
586 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findAdapterById, id, context).get();
587 }
588
596 template<template<typename> class P = ::std::promise>
597 auto findAdapterByIdAsync(const ::std::string& id, const Context& context = noExplicitContext)
598 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
599 {
600 return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findAdapterById, id, context);
601 }
602
613 ::std::function<void()>
614 findAdapterByIdAsync(const ::std::string& id,
615 ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
616 ::std::function<void(::std::exception_ptr)> ex = nullptr,
617 ::std::function<void(bool)> sent = nullptr,
618 const Context& context = noExplicitContext)
619 {
620 return _makeLambdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_findAdapterById, id, context);
621 }
622
624 ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, const Context&);
626
632 ::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Context& context = noExplicitContext)
633 {
634 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(true, this, &LocatorPrx::_iceI_getRegistry, context).get();
635 }
636
642 template<template<typename> class P = ::std::promise>
643 auto getRegistryAsync(const Context& context = noExplicitContext)
644 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>().get_future())
645 {
646 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>, P>(false, this, &LocatorPrx::_iceI_getRegistry, context);
647 }
648
657 ::std::function<void()>
658 getRegistryAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorRegistryPrx>)> response,
659 ::std::function<void(::std::exception_ptr)> ex = nullptr,
660 ::std::function<void(bool)> sent = nullptr,
661 const Context& context = noExplicitContext)
662 {
663 return _makeLambdaOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_getRegistry, context);
664 }
665
667 ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>&, const Context&);
669
674 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
675
676protected:
677
679 LocatorPrx() = default;
680 friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
681
682 ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
684};
685
696class ICE_CLASS(ICE_API) LocatorRegistryPrx : public virtual Proxy<LocatorRegistryPrx, ObjectPrx>
697{
698public:
699
714 void setAdapterDirectProxy(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
715 {
716 _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context).get();
717 }
718
728 template<template<typename> class P = ::std::promise>
729 auto setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
730 -> decltype(::std::declval<P<void>>().get_future())
731 {
732 return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
733 }
734
747 ::std::function<void()>
748 setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy,
749 ::std::function<void()> response,
750 ::std::function<void(::std::exception_ptr)> ex = nullptr,
751 ::std::function<void(bool)> sent = nullptr,
752 const Context& context = noExplicitContext)
753 {
754 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
755 }
756
758 ICE_MEMBER(ICE_API) void _iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
760
779 void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
780 {
781 _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context).get();
782 }
783
794 template<template<typename> class P = ::std::promise>
795 auto setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
796 -> decltype(::std::declval<P<void>>().get_future())
797 {
798 return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
799 }
800
814 ::std::function<void()>
815 setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p,
816 ::std::function<void()> response,
817 ::std::function<void(::std::exception_ptr)> ex = nullptr,
818 ::std::function<void(bool)> sent = nullptr,
819 const Context& context = noExplicitContext)
820 {
821 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
822 }
823
825 ICE_MEMBER(ICE_API) void _iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
827
836 void setServerProcessProxy(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
837 {
838 _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context).get();
839 }
840
848 template<template<typename> class P = ::std::promise>
849 auto setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
850 -> decltype(::std::declval<P<void>>().get_future())
851 {
852 return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
853 }
854
865 ::std::function<void()>
866 setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy,
867 ::std::function<void()> response,
868 ::std::function<void(::std::exception_ptr)> ex = nullptr,
869 ::std::function<void(bool)> sent = nullptr,
870 const Context& context = noExplicitContext)
871 {
872 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
873 }
874
876 ICE_MEMBER(ICE_API) void _iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ProcessPrx>&, const Context&);
878
883 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
884
885protected:
886
888 LocatorRegistryPrx() = default;
889 friend ::std::shared_ptr<LocatorRegistryPrx> IceInternal::createProxy<LocatorRegistryPrx>();
890
891 ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
893};
894
903class ICE_CLASS(ICE_API) LocatorFinderPrx : public virtual Proxy<LocatorFinderPrx, ObjectPrx>
904{
905public:
906
913 ::std::shared_ptr<LocatorPrx> getLocator(const Context& context = noExplicitContext)
914 {
915 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(true, this, &LocatorFinderPrx::_iceI_getLocator, context).get();
916 }
917
924 template<template<typename> class P = ::std::promise>
925 auto getLocatorAsync(const Context& context = noExplicitContext)
926 -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorPrx>>>().get_future())
927 {
928 return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>, P>(false, this, &LocatorFinderPrx::_iceI_getLocator, context);
929 }
930
940 ::std::function<void()>
941 getLocatorAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorPrx>)> response,
942 ::std::function<void(::std::exception_ptr)> ex = nullptr,
943 ::std::function<void(bool)> sent = nullptr,
944 const Context& context = noExplicitContext)
945 {
946 return _makeLambdaOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
947 }
948
950 ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>&, const Context&);
952
957 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
958
959protected:
960
962 LocatorFinderPrx() = default;
963 friend ::std::shared_ptr<LocatorFinderPrx> IceInternal::createProxy<LocatorFinderPrx>();
964
965 ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
967};
968
969}
970
972namespace Ice
973{
974
975}
977
979namespace Ice
980{
981
982using LocatorRegistryPtr = ::std::shared_ptr<LocatorRegistry>;
983using LocatorRegistryPrxPtr = ::std::shared_ptr<LocatorRegistryPrx>;
984
985using LocatorPtr = ::std::shared_ptr<Locator>;
986using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
987
988using LocatorFinderPtr = ::std::shared_ptr<LocatorFinder>;
989using LocatorFinderPrxPtr = ::std::shared_ptr<LocatorFinderPrx>;
990
991}
993
994#else // C++98 mapping
995
996namespace IceProxy
997{
998
999namespace Ice
1000{
1001
1002class LocatorRegistry;
1004ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LocatorRegistry>&);
1005ICE_API ::IceProxy::Ice::Object* upCast(LocatorRegistry*);
1007
1008class Locator;
1010ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Locator>&);
1011ICE_API ::IceProxy::Ice::Object* upCast(Locator*);
1013
1014class LocatorFinder;
1016ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LocatorFinder>&);
1017ICE_API ::IceProxy::Ice::Object* upCast(LocatorFinder*);
1019
1020}
1021
1022}
1023
1024namespace Ice
1025{
1026
1027class LocatorRegistry;
1029ICE_API Object* upCast(LocatorRegistry*);
1031typedef ::IceInternal::Handle< LocatorRegistry> LocatorRegistryPtr;
1032typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
1035ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&, const ObjectPtr&);
1037
1038class Locator;
1042typedef ::IceInternal::Handle< Locator> LocatorPtr;
1043typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
1046ICE_API void _icePatchObjectPtr(LocatorPtr&, const ObjectPtr&);
1048
1049class LocatorFinder;
1053typedef ::IceInternal::Handle< LocatorFinder> LocatorFinderPtr;
1054typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder> LocatorFinderPrx;
1057ICE_API void _icePatchObjectPtr(LocatorFinderPtr&, const ObjectPtr&);
1059
1060}
1061
1062namespace Ice
1063{
1064
1070{
1071public:
1072
1074
1075#ifdef ICE_CPP11_COMPILER
1077 virtual ~AdapterNotFoundException();
1078#else
1079 virtual ~AdapterNotFoundException() throw();
1080#endif
1081
1086 virtual ::std::string ice_id() const;
1095 virtual void ice_throw() const;
1096
1097protected:
1098
1100 virtual void _writeImpl(OutputStream*) const;
1101 virtual void _readImpl(InputStream*);
1103};
1104
1106static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
1108
1115{
1116public:
1117
1119
1120#ifdef ICE_CPP11_COMPILER
1123#else
1125#endif
1126
1131 virtual ::std::string ice_id() const;
1140 virtual void ice_throw() const;
1141
1142protected:
1143
1145 virtual void _writeImpl(OutputStream*) const;
1146 virtual void _readImpl(InputStream*);
1148};
1149
1156{
1157public:
1158
1160
1161#ifdef ICE_CPP11_COMPILER
1164#else
1166#endif
1167
1172 virtual ::std::string ice_id() const;
1181 virtual void ice_throw() const;
1182
1183protected:
1184
1186 virtual void _writeImpl(OutputStream*) const;
1187 virtual void _readImpl(InputStream*);
1189};
1190
1196{
1197public:
1198
1200
1201#ifdef ICE_CPP11_COMPILER
1203 virtual ~ObjectNotFoundException();
1204#else
1205 virtual ~ObjectNotFoundException() throw();
1206#endif
1207
1212 virtual ::std::string ice_id() const;
1221 virtual void ice_throw() const;
1222
1223protected:
1224
1226 virtual void _writeImpl(OutputStream*) const;
1227 virtual void _readImpl(InputStream*);
1229};
1230
1236{
1237public:
1238
1240
1241#ifdef ICE_CPP11_COMPILER
1243 virtual ~ServerNotFoundException();
1244#else
1245 virtual ~ServerNotFoundException() throw();
1246#endif
1247
1252 virtual ::std::string ice_id() const;
1261 virtual void ice_throw() const;
1262
1263protected:
1264
1266 virtual void _writeImpl(OutputStream*) const;
1267 virtual void _readImpl(InputStream*);
1269};
1270
1271}
1272
1273namespace Ice
1274{
1275
1282{
1283public:
1284
1286
1291 virtual void ice_response(const ObjectPrx& result) = 0;
1292};
1293
1294typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findObjectById> AMD_Locator_findObjectByIdPtr;
1295
1302{
1303public:
1304
1306
1311 virtual void ice_response(const ObjectPrx& result) = 0;
1312};
1313
1314typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findAdapterById> AMD_Locator_findAdapterByIdPtr;
1315
1322{
1323public:
1324
1326
1330 virtual void ice_response() = 0;
1331};
1332
1333typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy> AMD_LocatorRegistry_setAdapterDirectProxyPtr;
1334
1351
1352typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy> AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
1353
1360{
1361public:
1362
1364
1368 virtual void ice_response() = 0;
1369};
1370
1371typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setServerProcessProxy> AMD_LocatorRegistry_setServerProcessProxyPtr;
1372
1373}
1374
1376namespace IceAsync
1377{
1378
1379namespace Ice
1380{
1381
1382#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1383# pragma warning(push)
1384# pragma warning(disable:4239)
1385#endif
1386
1387class ICE_API AMD_Locator_findObjectById : public ::Ice::AMD_Locator_findObjectById, public ::IceInternal::IncomingAsync
1388{
1389public:
1390
1391 AMD_Locator_findObjectById(::IceInternal::Incoming&);
1392
1393 virtual void ice_response(const ::Ice::ObjectPrx&);
1394};
1395
1396#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1397# pragma warning(pop)
1398#endif
1399
1400#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1401# pragma warning(push)
1402# pragma warning(disable:4239)
1403#endif
1404
1405class ICE_API AMD_Locator_findAdapterById : public ::Ice::AMD_Locator_findAdapterById, public ::IceInternal::IncomingAsync
1406{
1407public:
1408
1409 AMD_Locator_findAdapterById(::IceInternal::Incoming&);
1410
1411 virtual void ice_response(const ::Ice::ObjectPrx&);
1412};
1413
1414#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1415# pragma warning(pop)
1416#endif
1417
1418#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1419# pragma warning(push)
1420# pragma warning(disable:4239)
1421#endif
1422
1423class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy : public ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy, public ::IceInternal::IncomingAsync
1424{
1425public:
1426
1427 AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming&);
1428
1429 virtual void ice_response();
1430};
1431
1432#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1433# pragma warning(pop)
1434#endif
1435
1436#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1437# pragma warning(push)
1438# pragma warning(disable:4239)
1439#endif
1440
1441class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy : public ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy, public ::IceInternal::IncomingAsync
1442{
1443public:
1444
1445 AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&);
1446
1447 virtual void ice_response();
1448};
1449
1450#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1451# pragma warning(pop)
1452#endif
1453
1454#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1455# pragma warning(push)
1456# pragma warning(disable:4239)
1457#endif
1458
1459class ICE_API AMD_LocatorRegistry_setServerProcessProxy : public ::Ice::AMD_LocatorRegistry_setServerProcessProxy, public ::IceInternal::IncomingAsync
1460{
1461public:
1462
1463 AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming&);
1464
1465 virtual void ice_response();
1466};
1467
1468#if defined(_MSC_VER) && (_MSC_VER >= 1900)
1469# pragma warning(pop)
1470#endif
1471
1472}
1473
1474}
1476
1477namespace Ice
1478{
1479
1485class Callback_Locator_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
1486typedef ::IceUtil::Handle< Callback_Locator_findObjectById_Base> Callback_Locator_findObjectByIdPtr;
1487
1493class Callback_Locator_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
1494typedef ::IceUtil::Handle< Callback_Locator_findAdapterById_Base> Callback_Locator_findAdapterByIdPtr;
1495
1501class Callback_Locator_getRegistry_Base : public virtual ::IceInternal::CallbackBase { };
1502typedef ::IceUtil::Handle< Callback_Locator_getRegistry_Base> Callback_Locator_getRegistryPtr;
1503
1509class Callback_LocatorRegistry_setAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
1510typedef ::IceUtil::Handle< Callback_LocatorRegistry_setAdapterDirectProxy_Base> Callback_LocatorRegistry_setAdapterDirectProxyPtr;
1511
1517class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
1518typedef ::IceUtil::Handle< Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
1519
1525class Callback_LocatorRegistry_setServerProcessProxy_Base : public virtual ::IceInternal::CallbackBase { };
1526typedef ::IceUtil::Handle< Callback_LocatorRegistry_setServerProcessProxy_Base> Callback_LocatorRegistry_setServerProcessProxyPtr;
1527
1533class Callback_LocatorFinder_getLocator_Base : public virtual ::IceInternal::CallbackBase { };
1534typedef ::IceUtil::Handle< Callback_LocatorFinder_getLocator_Base> Callback_LocatorFinder_getLocatorPtr;
1535
1536}
1537
1538namespace IceProxy
1539{
1540
1541namespace Ice
1542{
1543
1544class ICE_CLASS(ICE_API) Locator : public virtual ::Ice::Proxy<Locator, ::IceProxy::Ice::Object>
1545{
1546public:
1547
1558 ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1559 {
1560 return end_findObjectById(_iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0, true));
1561 }
1562
1571 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1572 {
1573 return _iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0);
1574 }
1575
1585 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1586 {
1587 return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1588 }
1589
1600 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1601 {
1602 return _iceI_begin_findObjectById(id, context, cb, cookie);
1603 }
1604
1614 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1615 {
1616 return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1617 }
1618
1629 ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1630 {
1631 return _iceI_begin_findObjectById(id, context, cb, cookie);
1632 }
1633
1641 ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr& result);
1642
1643private:
1644
1645 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_findObjectById(const ::Ice::Identity&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1646
1647public:
1648
1658 ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1659 {
1660 return end_findAdapterById(_iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0, true));
1661 }
1662
1670 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1671 {
1672 return _iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0);
1673 }
1674
1683 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1684 {
1685 return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
1686 }
1687
1697 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1698 {
1699 return _iceI_begin_findAdapterById(id, context, cb, cookie);
1700 }
1701
1710 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1711 {
1712 return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
1713 }
1714
1724 ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1725 {
1726 return _iceI_begin_findAdapterById(id, context, cb, cookie);
1727 }
1728
1736 ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findAdapterById(const ::Ice::AsyncResultPtr& result);
1737
1738private:
1739
1740 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_findAdapterById(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1741
1742public:
1743
1749 ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
1750 {
1751 return end_getRegistry(_iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0, true));
1752 }
1753
1760 {
1761 return _iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0);
1762 }
1763
1770 ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1771 {
1772 return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
1773 }
1774
1782 ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1783 {
1784 return _iceI_begin_getRegistry(context, cb, cookie);
1785 }
1786
1793 ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1794 {
1795 return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
1796 }
1797
1805 ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1806 {
1807 return _iceI_begin_getRegistry(context, cb, cookie);
1808 }
1809
1815 ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx end_getRegistry(const ::Ice::AsyncResultPtr& result);
1816
1817private:
1818
1819 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getRegistry(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1820
1821public:
1822
1827 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
1828
1829protected:
1831
1832 ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1834};
1835
1836class ICE_CLASS(ICE_API) LocatorRegistry : public virtual ::Ice::Proxy<LocatorRegistry, ::IceProxy::Ice::Object>
1837{
1838public:
1839
1854 ICE_MEMBER(ICE_API) void setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1855 {
1856 end_setAdapterDirectProxy(_iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
1857 }
1858
1868 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1869 {
1870 return _iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
1871 }
1872
1883 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1884 {
1885 return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
1886 }
1887
1899 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1900 {
1901 return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
1902 }
1903
1914 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1915 {
1916 return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
1917 }
1918
1930 ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1931 {
1932 return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
1933 }
1934
1945 ICE_MEMBER(ICE_API) void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
1946
1947private:
1948
1949 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_setAdapterDirectProxy(const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1950
1951public:
1952
1971 ICE_MEMBER(ICE_API) void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
1972 {
1973 end_setReplicatedAdapterDirectProxy(_iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0, true));
1974 }
1975
1986 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
1987 {
1988 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0);
1989 }
1990
2002 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2003 {
2004 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
2005 }
2006
2019 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2020 {
2021 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
2022 }
2023
2035 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2036 {
2037 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
2038 }
2039
2052 ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2053 {
2054 return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
2055 }
2056
2070 ICE_MEMBER(ICE_API) void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
2071
2072private:
2073
2074 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_setReplicatedAdapterDirectProxy(const ::std::string&, const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2075
2076public:
2077
2086 ICE_MEMBER(ICE_API) void setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
2087 {
2088 end_setServerProcessProxy(_iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
2089 }
2090
2098 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
2099 {
2100 return _iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
2101 }
2102
2111 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2112 {
2113 return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
2114 }
2115
2125 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2126 {
2127 return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
2128 }
2129
2138 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2139 {
2140 return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
2141 }
2142
2152 ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2153 {
2154 return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
2155 }
2156
2163 ICE_MEMBER(ICE_API) void end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result);
2164
2165private:
2166
2167 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_setServerProcessProxy(const ::std::string&, const ::Ice::ProcessPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2168
2169public:
2170
2175 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2176
2177protected:
2179
2180 ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2182};
2183
2184class ICE_CLASS(ICE_API) LocatorFinder : public virtual ::Ice::Proxy<LocatorFinder, ::IceProxy::Ice::Object>
2185{
2186public:
2187
2194 ICE_MEMBER(ICE_API) ::Ice::LocatorPrx getLocator(const ::Ice::Context& context = ::Ice::noExplicitContext)
2195 {
2196 return end_getLocator(_iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0, true));
2197 }
2198
2206 {
2207 return _iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0);
2208 }
2209
2217 ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2218 {
2219 return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
2220 }
2221
2230 ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2231 {
2232 return _iceI_begin_getLocator(context, cb, cookie);
2233 }
2234
2242 ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2243 {
2244 return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
2245 }
2246
2255 ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2256 {
2257 return _iceI_begin_getLocator(context, cb, cookie);
2258 }
2259
2265 ICE_MEMBER(ICE_API) ::Ice::LocatorPrx end_getLocator(const ::Ice::AsyncResultPtr& result);
2266
2267private:
2268
2269 ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getLocator(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2270
2271public:
2272
2277 ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2278
2279protected:
2281
2282 ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2284};
2285
2286}
2287
2288}
2289
2290namespace Ice
2291{
2292
2304class ICE_API Locator : public virtual Object
2305{
2306public:
2307
2310
2311 virtual ~Locator();
2312
2313#ifdef ICE_CPP11_COMPILER
2314 Locator() = default;
2315 Locator(const Locator&) = default;
2316 Locator& operator=(const Locator&) = default;
2317#endif
2318
2325 virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2326
2332 virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2333
2339 virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2340
2345 static const ::std::string& ice_staticId();
2346
2357 virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr& cb, const Identity& id, const Current& current = emptyCurrent) const = 0;
2359 bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
2361
2371 virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr& cb, const ::std::string& id, const Current& current = emptyCurrent) const = 0;
2373 bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&) const;
2375
2381 virtual LocatorRegistryPrx getRegistry(const Current& current = emptyCurrent) const = 0;
2383 bool _iceD_getRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
2385
2387 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2389
2390protected:
2391
2393 virtual void _iceWriteImpl(OutputStream*) const;
2394 virtual void _iceReadImpl(InputStream*);
2396};
2397
2399inline bool operator==(const Locator& lhs, const Locator& rhs)
2400{
2401 return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
2402}
2403
2404inline bool operator<(const Locator& lhs, const Locator& rhs)
2405{
2406 return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
2407}
2409
2420class ICE_API LocatorRegistry : public virtual Object
2421{
2422public:
2423
2426
2428
2429#ifdef ICE_CPP11_COMPILER
2430 LocatorRegistry() = default;
2431 LocatorRegistry(const LocatorRegistry&) = default;
2432 LocatorRegistry& operator=(const LocatorRegistry&) = default;
2433#endif
2434
2441 virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2442
2448 virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2449
2455 virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2456
2461 static const ::std::string& ice_staticId();
2462
2478 virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::std::string& id, const ObjectPrx& proxy, const Current& current = emptyCurrent) = 0;
2480 bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2482
2502 virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::std::string& adapterId, const ::std::string& replicaGroupId, const ObjectPrx& p, const Current& current = emptyCurrent) = 0;
2504 bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2506
2516 virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr& cb, const ::std::string& id, const ProcessPrx& proxy, const Current& current = emptyCurrent) = 0;
2518 bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2520
2522 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2524
2525protected:
2526
2528 virtual void _iceWriteImpl(OutputStream*) const;
2529 virtual void _iceReadImpl(InputStream*);
2531};
2532
2534inline bool operator==(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
2535{
2536 return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
2537}
2538
2539inline bool operator<(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
2540{
2541 return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
2542}
2544
2553class ICE_API LocatorFinder : public virtual Object
2554{
2555public:
2556
2559
2561
2562#ifdef ICE_CPP11_COMPILER
2563 LocatorFinder() = default;
2564 LocatorFinder(const LocatorFinder&) = default;
2565 LocatorFinder& operator=(const LocatorFinder&) = default;
2566#endif
2567
2574 virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2575
2581 virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2582
2588 virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2589
2594 static const ::std::string& ice_staticId();
2595
2602 virtual LocatorPrx getLocator(const Current& current = emptyCurrent) = 0;
2604 bool _iceD_getLocator(::IceInternal::Incoming&, const ::Ice::Current&);
2606
2608 virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2610
2611protected:
2612
2614 virtual void _iceWriteImpl(OutputStream*) const;
2615 virtual void _iceReadImpl(InputStream*);
2617};
2618
2620inline bool operator==(const LocatorFinder& lhs, const LocatorFinder& rhs)
2621{
2622 return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
2623}
2624
2625inline bool operator<(const LocatorFinder& lhs, const LocatorFinder& rhs)
2626{
2627 return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
2628}
2630
2631}
2632
2634namespace Ice
2635{
2636
2637template<>
2638struct StreamableTraits< ::Ice::AdapterNotFoundException>
2639{
2640 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2641};
2642
2643template<>
2644struct StreamableTraits< ::Ice::InvalidReplicaGroupIdException>
2645{
2646 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2647};
2648
2649template<>
2650struct StreamableTraits< ::Ice::AdapterAlreadyActiveException>
2651{
2652 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2653};
2654
2655template<>
2656struct StreamableTraits< ::Ice::ObjectNotFoundException>
2657{
2658 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2659};
2660
2661template<>
2662struct StreamableTraits< ::Ice::ServerNotFoundException>
2663{
2664 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2665};
2666
2667}
2669
2670namespace Ice
2671{
2672
2678template<class T>
2679class CallbackNC_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallbackNC<T>
2680{
2681public:
2682
2684
2685 typedef void (T::*Exception)(const ::Ice::Exception&);
2686 typedef void (T::*Sent)(bool);
2687 typedef void (T::*Response)(const ObjectPrx&);
2688
2690 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2691 {
2692 }
2693
2695 virtual void completed(const AsyncResultPtr& result) const
2696 {
2697 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2698 ObjectPrx ret;
2699 try
2700 {
2701 ret = proxy->end_findObjectById(result);
2702 }
2703 catch(const ::Ice::Exception& ex)
2704 {
2705 ::IceInternal::CallbackNC<T>::exception(result, ex);
2706 return;
2707 }
2708 if(_response)
2709 {
2710 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2711 }
2712 }
2714
2715private:
2716
2717 Response _response;
2718};
2719
2728template<class T> Callback_Locator_findObjectByIdPtr
2729newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2730{
2731 return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
2732}
2733
2742template<class T> Callback_Locator_findObjectByIdPtr
2743newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2744{
2745 return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
2746}
2747
2753template<class T, typename CT>
2754class Callback_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallback<T, CT>
2755{
2756public:
2757
2759
2760 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2761 typedef void (T::*Sent)(bool , const CT&);
2762 typedef void (T::*Response)(const ObjectPrx&, const CT&);
2763
2765 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2766 {
2767 }
2768
2770 virtual void completed(const AsyncResultPtr& result) const
2771 {
2772 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2773 ObjectPrx ret;
2774 try
2775 {
2776 ret = proxy->end_findObjectById(result);
2777 }
2778 catch(const ::Ice::Exception& ex)
2779 {
2780 ::IceInternal::Callback<T, CT>::exception(result, ex);
2781 return;
2782 }
2783 if(_response)
2784 {
2785 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2786 }
2787 }
2789
2790private:
2791
2792 Response _response;
2793};
2794
2804template<class T, typename CT> Callback_Locator_findObjectByIdPtr
2805newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2806{
2807 return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
2808}
2809
2819template<class T, typename CT> Callback_Locator_findObjectByIdPtr
2820newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2821{
2822 return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
2823}
2824
2830template<class T>
2831class CallbackNC_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallbackNC<T>
2832{
2833public:
2834
2836
2837 typedef void (T::*Exception)(const ::Ice::Exception&);
2838 typedef void (T::*Sent)(bool);
2839 typedef void (T::*Response)(const ObjectPrx&);
2840
2842 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2843 {
2844 }
2845
2847 virtual void completed(const AsyncResultPtr& result) const
2848 {
2849 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2850 ObjectPrx ret;
2851 try
2852 {
2853 ret = proxy->end_findAdapterById(result);
2854 }
2855 catch(const ::Ice::Exception& ex)
2856 {
2857 ::IceInternal::CallbackNC<T>::exception(result, ex);
2858 return;
2859 }
2860 if(_response)
2861 {
2862 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2863 }
2864 }
2866
2867private:
2868
2869 Response _response;
2870};
2871
2881newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2882{
2883 return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
2884}
2885
2894template<class T> Callback_Locator_findAdapterByIdPtr
2895newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2896{
2897 return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
2898}
2899
2905template<class T, typename CT>
2906class Callback_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallback<T, CT>
2907{
2908public:
2909
2911
2912 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2913 typedef void (T::*Sent)(bool , const CT&);
2914 typedef void (T::*Response)(const ObjectPrx&, const CT&);
2915
2917 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2918 {
2919 }
2920
2922 virtual void completed(const AsyncResultPtr& result) const
2923 {
2924 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2925 ObjectPrx ret;
2926 try
2927 {
2928 ret = proxy->end_findAdapterById(result);
2929 }
2930 catch(const ::Ice::Exception& ex)
2931 {
2932 ::IceInternal::Callback<T, CT>::exception(result, ex);
2933 return;
2934 }
2935 if(_response)
2936 {
2937 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2938 }
2939 }
2941
2942private:
2943
2944 Response _response;
2945};
2946
2956template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
2957newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2958{
2959 return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
2960}
2961
2971template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
2972newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2973{
2974 return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
2975}
2976
2982template<class T>
2983class CallbackNC_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallbackNC<T>
2984{
2985public:
2986
2988
2989 typedef void (T::*Exception)(const ::Ice::Exception&);
2990 typedef void (T::*Sent)(bool);
2991 typedef void (T::*Response)(const LocatorRegistryPrx&);
2992
2994 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2995 {
2996 }
2997
2999 virtual void completed(const AsyncResultPtr& result) const
3000 {
3001 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
3003 try
3004 {
3005 ret = proxy->end_getRegistry(result);
3006 }
3007 catch(const ::Ice::Exception& ex)
3008 {
3009 ::IceInternal::CallbackNC<T>::exception(result, ex);
3010 return;
3011 }
3012 if(_response)
3013 {
3014 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3015 }
3016 }
3018
3019private:
3020
3021 Response _response;
3022};
3023
3032template<class T> Callback_Locator_getRegistryPtr
3033newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3034{
3035 return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
3036}
3037
3046template<class T> Callback_Locator_getRegistryPtr
3047newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3048{
3049 return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
3050}
3051
3057template<class T, typename CT>
3058class Callback_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallback<T, CT>
3059{
3060public:
3061
3063
3064 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3065 typedef void (T::*Sent)(bool , const CT&);
3066 typedef void (T::*Response)(const LocatorRegistryPrx&, const CT&);
3067
3069 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3070 {
3071 }
3072
3074 virtual void completed(const AsyncResultPtr& result) const
3075 {
3076 LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
3078 try
3079 {
3080 ret = proxy->end_getRegistry(result);
3081 }
3082 catch(const ::Ice::Exception& ex)
3083 {
3084 ::IceInternal::Callback<T, CT>::exception(result, ex);
3085 return;
3086 }
3087 if(_response)
3088 {
3089 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3090 }
3091 }
3093
3094private:
3095
3096 Response _response;
3097};
3098
3108template<class T, typename CT> Callback_Locator_getRegistryPtr
3109newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3110{
3111 return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
3112}
3113
3123template<class T, typename CT> Callback_Locator_getRegistryPtr
3124newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3125{
3126 return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
3127}
3128
3134template<class T>
3136{
3137public:
3138
3140
3141 typedef void (T::*Exception)(const ::Ice::Exception&);
3142 typedef void (T::*Sent)(bool);
3143 typedef void (T::*Response)();
3144
3146 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3147 {
3148 }
3149
3151 virtual void completed(const AsyncResultPtr& result) const
3152 {
3153 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3154 try
3155 {
3156 proxy->end_setAdapterDirectProxy(result);
3157 }
3158 catch(const ::Ice::Exception& ex)
3159 {
3160 ::IceInternal::CallbackNC<T>::exception(result, ex);
3161 return;
3162 }
3163 if(_response)
3164 {
3165 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3166 }
3167 }
3169
3170private:
3171
3172 Response _response;
3173};
3174
3184newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3185{
3186 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3187}
3188
3196template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3197newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3198{
3199 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3200}
3201
3210template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3211newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3212{
3213 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3214}
3215
3223template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3224newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3225{
3226 return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3227}
3228
3234template<class T, typename CT>
3236{
3237public:
3238
3240
3241 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3242 typedef void (T::*Sent)(bool , const CT&);
3243 typedef void (T::*Response)(const CT&);
3244
3246 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3247 {
3248 }
3249
3251 virtual void completed(const AsyncResultPtr& result) const
3252 {
3253 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3254 try
3255 {
3256 proxy->end_setAdapterDirectProxy(result);
3257 }
3258 catch(const ::Ice::Exception& ex)
3259 {
3260 ::IceInternal::Callback<T, CT>::exception(result, ex);
3261 return;
3262 }
3263 if(_response)
3264 {
3265 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3266 }
3267 }
3269
3270private:
3271
3272 Response _response;
3273};
3274
3284template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3285newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3286{
3287 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3288}
3289
3298template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3299newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3300{
3301 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3302}
3303
3313template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3314newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3315{
3316 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3317}
3318
3327template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
3328newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3329{
3330 return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3331}
3332
3338template<class T>
3340{
3341public:
3342
3344
3345 typedef void (T::*Exception)(const ::Ice::Exception&);
3346 typedef void (T::*Sent)(bool);
3347 typedef void (T::*Response)();
3348
3350 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3351 {
3352 }
3353
3355 virtual void completed(const AsyncResultPtr& result) const
3356 {
3357 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3358 try
3359 {
3360 proxy->end_setReplicatedAdapterDirectProxy(result);
3361 }
3362 catch(const ::Ice::Exception& ex)
3363 {
3364 ::IceInternal::CallbackNC<T>::exception(result, ex);
3365 return;
3366 }
3367 if(_response)
3368 {
3369 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3370 }
3371 }
3373
3374private:
3375
3376 Response _response;
3377};
3378
3388newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3389{
3390 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3391}
3392
3400template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3401newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3402{
3403 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3404}
3405
3414template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3415newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3416{
3417 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
3418}
3419
3427template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3428newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3429{
3430 return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
3431}
3432
3438template<class T, typename CT>
3440{
3441public:
3442
3444
3445 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3446 typedef void (T::*Sent)(bool , const CT&);
3447 typedef void (T::*Response)(const CT&);
3448
3450 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3451 {
3452 }
3453
3455 virtual void completed(const AsyncResultPtr& result) const
3456 {
3457 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3458 try
3459 {
3460 proxy->end_setReplicatedAdapterDirectProxy(result);
3461 }
3462 catch(const ::Ice::Exception& ex)
3463 {
3464 ::IceInternal::Callback<T, CT>::exception(result, ex);
3465 return;
3466 }
3467 if(_response)
3468 {
3469 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3470 }
3471 }
3473
3474private:
3475
3476 Response _response;
3477};
3478
3489newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3490{
3491 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3492}
3493
3502template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3503newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3504{
3505 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3506}
3507
3517template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3518newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3519{
3520 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
3521}
3522
3531template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
3532newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3533{
3534 return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
3535}
3536
3542template<class T>
3544{
3545public:
3546
3548
3549 typedef void (T::*Exception)(const ::Ice::Exception&);
3550 typedef void (T::*Sent)(bool);
3551 typedef void (T::*Response)();
3552
3554 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3555 {
3556 }
3557
3559 virtual void completed(const AsyncResultPtr& result) const
3560 {
3561 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3562 try
3563 {
3564 proxy->end_setServerProcessProxy(result);
3565 }
3566 catch(const ::Ice::Exception& ex)
3567 {
3568 ::IceInternal::CallbackNC<T>::exception(result, ex);
3569 return;
3570 }
3571 if(_response)
3572 {
3573 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3574 }
3575 }
3577
3578private:
3579
3580 Response _response;
3581};
3582
3592newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3593{
3594 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
3595}
3596
3604template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3605newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3606{
3607 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
3608}
3609
3618template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3619newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3620{
3621 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
3622}
3623
3631template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
3632newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3633{
3634 return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
3635}
3636
3642template<class T, typename CT>
3644{
3645public:
3646
3648
3649 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3650 typedef void (T::*Sent)(bool , const CT&);
3651 typedef void (T::*Response)(const CT&);
3652
3654 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3655 {
3656 }
3657
3659 virtual void completed(const AsyncResultPtr& result) const
3660 {
3661 LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
3662 try
3663 {
3664 proxy->end_setServerProcessProxy(result);
3665 }
3666 catch(const ::Ice::Exception& ex)
3667 {
3668 ::IceInternal::Callback<T, CT>::exception(result, ex);
3669 return;
3670 }
3671 if(_response)
3672 {
3673 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
3674 }
3675 }
3677
3678private:
3679
3680 Response _response;
3681};
3682
3692template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3693newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3694{
3695 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
3696}
3697
3706template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3707newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3708{
3709 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
3710}
3711
3721template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3722newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3723{
3724 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
3725}
3726
3735template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
3736newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3737{
3738 return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
3739}
3740
3746template<class T>
3747class CallbackNC_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallbackNC<T>
3748{
3749public:
3750
3752
3753 typedef void (T::*Exception)(const ::Ice::Exception&);
3754 typedef void (T::*Sent)(bool);
3755 typedef void (T::*Response)(const LocatorPrx&);
3756
3758 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3759 {
3760 }
3761
3763 virtual void completed(const AsyncResultPtr& result) const
3764 {
3765 LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
3766 LocatorPrx ret;
3767 try
3768 {
3769 ret = proxy->end_getLocator(result);
3770 }
3771 catch(const ::Ice::Exception& ex)
3772 {
3773 ::IceInternal::CallbackNC<T>::exception(result, ex);
3774 return;
3775 }
3776 if(_response)
3777 {
3778 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
3779 }
3780 }
3782
3783private:
3784
3785 Response _response;
3786};
3787
3797newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3798{
3799 return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
3800}
3801
3810template<class T> Callback_LocatorFinder_getLocatorPtr
3811newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3812{
3813 return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
3814}
3815
3821template<class T, typename CT>
3822class Callback_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallback<T, CT>
3823{
3824public:
3825
3827
3828 typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3829 typedef void (T::*Sent)(bool , const CT&);
3830 typedef void (T::*Response)(const LocatorPrx&, const CT&);
3831
3833 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3834 {
3835 }
3836
3838 virtual void completed(const AsyncResultPtr& result) const
3839 {
3840 LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
3841 LocatorPrx ret;
3842 try
3843 {
3844 ret = proxy->end_getLocator(result);
3845 }
3846 catch(const ::Ice::Exception& ex)
3847 {
3848 ::IceInternal::Callback<T, CT>::exception(result, ex);
3849 return;
3850 }
3851 if(_response)
3852 {
3853 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
3854 }
3855 }
3857
3858private:
3859
3860 Response _response;
3861};
3862
3872template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
3873newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3874{
3875 return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
3876}
3877
3887template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
3888newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3889{
3890 return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
3891}
3892
3893}
3894
3895#endif
3896
3898#endif
#define ICE_API
Definition Config.h:197
#define ICE_MEMBER(API)
Definition Config.h:177
Definition Locator.h:2185
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context &context, const ::Ice::Callback_LocatorFinder_getLocatorPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2255
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2242
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::LocatorPrx end_getLocator(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getLocator.
::Ice::LocatorPrx getLocator(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2194
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2217
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2205
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator proxy implemented by the process hosting this finder object.
Definition Locator.h:2230
Definition Locator.h:1837
void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_setReplicatedAdapterDirectProxy.
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::Context &context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the process proxy for a server.
Definition Locator.h:2152
void setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1854
void setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1971
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1914
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1899
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1868
void end_setServerProcessProxy(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_setServerProcessProxy.
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:2035
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the process proxy for a server.
Definition Locator.h:2125
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::Context &context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:2052
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:2002
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the process proxy for a server.
Definition Locator.h:2098
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1883
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the process proxy for a server.
Definition Locator.h:2111
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string &id, const ::Ice::ObjectPrx &proxy, const ::Ice::Context &context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1930
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the adapter endpoints with the locator registry.
Definition Locator.h:1986
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the process proxy for a server.
Definition Locator.h:2138
void setServerProcessProxy(const ::std::string &id, const ::Ice::ProcessPrx &proxy, const ::Ice::Context &context=::Ice::noExplicitContext)
Set the process proxy for a server.
Definition Locator.h:2086
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string &adapterId, const ::std::string &replicaGroupId, const ::Ice::ObjectPrx &p, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Set the adapter endpoints with the locator registry.
Definition Locator.h:2019
void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_setAdapterDirectProxy.
Definition Locator.h:1545
::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the locator registry.
Definition Locator.h:1749
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context &context, const ::Ice::Callback_Locator_getRegistryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator registry.
Definition Locator.h:1805
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator registry.
Definition Locator.h:1793
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1585
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the locator registry.
Definition Locator.h:1759
::Ice::ObjectPrx end_findAdapterById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findAdapterById.
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &id, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1683
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &id, const ::Ice::Context &context, const ::Ice::Callback_Locator_findAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1724
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context, const ::Ice::Callback_Locator_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1629
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &id, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1697
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &id, const ::Ice::Callback_Locator_findAdapterByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1710
::Ice::LocatorRegistryPrx end_getRegistry(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getRegistry.
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator registry.
Definition Locator.h:1782
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::Ice::ObjectPrx findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1558
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Callback_Locator_findObjectByIdPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1614
::Ice::ObjectPrx findAdapterById(const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1658
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1600
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find an adapter by id and return a proxy that contains its endpoints.
Definition Locator.h:1670
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
Definition Locator.h:1571
::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_findObjectById.
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the locator registry.
Definition Locator.h:1770
T * get() const
Definition Handle.h:25
Definition Handle.h:143
Shared & operator=(const Shared &)
Definition Shared.h:94
Base class for generated AMD callback classes.
Definition IncomingAsync.h:20
AMD callback class for Ice::LocatorRegistry::setAdapterDirectProxy_async.
Definition Locator.h:1322
virtual void ice_response()=0
Call ice_response for a successful completion.
AMD callback class for Ice::LocatorRegistry::setReplicatedAdapterDirectProxy_async.
Definition Locator.h:1341
virtual void ice_response()=0
Call ice_response for a successful completion.
AMD callback class for Ice::LocatorRegistry::setServerProcessProxy_async.
Definition Locator.h:1360
virtual void ice_response()=0
Call ice_response for a successful completion.
AMD callback class for Ice::Locator::findAdapterById_async.
Definition Locator.h:1302
virtual void ice_response(const ObjectPrx &result)=0
Call ice_response for a successful completion.
AMD callback class for Ice::Locator::findObjectById_async.
Definition Locator.h:1282
virtual void ice_response(const ObjectPrx &result)=0
Call ice_response for a successful completion.
This exception is raised if a server tries to set endpoints for an adapter that is already active.
Definition Locator.h:1156
virtual void ice_throw() const
Throws this exception.
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
AdapterAlreadyActiveException()
Definition Locator.h:1159
virtual AdapterAlreadyActiveException * ice_clone() const
Polymorphically clones this exception.
This exception is raised if an adapter cannot be found.
Definition Locator.h:1070
virtual AdapterNotFoundException * ice_clone() const
Polymorphically clones this exception.
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual void ice_throw() const
Throws this exception.
AdapterNotFoundException()
Definition Locator.h:1073
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::LocatorFinder::begin_g...
Definition Locator.h:3748
void(T::* Response)(const LocatorPrx &)
Definition Locator.h:3755
IceUtil::Handle< T > TPtr
Definition Locator.h:3751
void(T::* Sent)(bool)
Definition Locator.h:3754
CallbackNC_LocatorFinder_getLocator(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3757
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:3753
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::LocatorRegistry::begin...
Definition Locator.h:3136
void(T::* Sent)(bool)
Definition Locator.h:3142
CallbackNC_LocatorRegistry_setAdapterDirectProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3145
void(T::* Response)()
Definition Locator.h:3143
IceUtil::Handle< T > TPtr
Definition Locator.h:3139
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:3141
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::LocatorRegistry::begin...
Definition Locator.h:3340
void(T::* Sent)(bool)
Definition Locator.h:3346
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:3345
CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3349
IceUtil::Handle< T > TPtr
Definition Locator.h:3343
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::LocatorRegistry::begin...
Definition Locator.h:3544
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:3549
CallbackNC_LocatorRegistry_setServerProcessProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3553
void(T::* Sent)(bool)
Definition Locator.h:3550
IceUtil::Handle< T > TPtr
Definition Locator.h:3547
void(T::* Response)()
Definition Locator.h:3551
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Locator::begin_findAda...
Definition Locator.h:2832
CallbackNC_Locator_findAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:2841
void(T::* Sent)(bool)
Definition Locator.h:2838
IceUtil::Handle< T > TPtr
Definition Locator.h:2835
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:2837
void(T::* Response)(const ObjectPrx &)
Definition Locator.h:2839
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Locator::begin_findObj...
Definition Locator.h:2680
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:2685
CallbackNC_Locator_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:2689
IceUtil::Handle< T > TPtr
Definition Locator.h:2683
void(T::* Sent)(bool)
Definition Locator.h:2686
void(T::* Response)(const ObjectPrx &)
Definition Locator.h:2687
Type-safe asynchronous callback wrapper class used for calls to IceProxy::Ice::Locator::begin_getRegi...
Definition Locator.h:2984
IceUtil::Handle< T > TPtr
Definition Locator.h:2987
CallbackNC_Locator_getRegistry(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:2993
void(T::* Response)(const LocatorRegistryPrx &)
Definition Locator.h:2991
void(T::* Exception)(const ::Ice::Exception &)
Definition Locator.h:2989
void(T::* Sent)(bool)
Definition Locator.h:2990
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::LocatorFinder::...
Definition Locator.h:1533
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:3823
void(T::* Sent)(bool, const CT &)
Definition Locator.h:3829
Callback_LocatorFinder_getLocator(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3832
IceUtil::Handle< T > TPtr
Definition Locator.h:3826
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:3828
void(T::* Response)(const LocatorPrx &, const CT &)
Definition Locator.h:3830
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::LocatorRegistry...
Definition Locator.h:1509
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:3236
void(T::* Sent)(bool, const CT &)
Definition Locator.h:3242
void(T::* Response)(const CT &)
Definition Locator.h:3243
Callback_LocatorRegistry_setAdapterDirectProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3245
IceUtil::Handle< T > TPtr
Definition Locator.h:3239
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:3241
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::LocatorRegistry...
Definition Locator.h:1517
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:3440
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:3445
Callback_LocatorRegistry_setReplicatedAdapterDirectProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3449
void(T::* Response)(const CT &)
Definition Locator.h:3447
void(T::* Sent)(bool, const CT &)
Definition Locator.h:3446
IceUtil::Handle< T > TPtr
Definition Locator.h:3443
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::LocatorRegistry...
Definition Locator.h:1525
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:3644
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:3649
Callback_LocatorRegistry_setServerProcessProxy(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3653
IceUtil::Handle< T > TPtr
Definition Locator.h:3647
void(T::* Response)(const CT &)
Definition Locator.h:3651
void(T::* Sent)(bool, const CT &)
Definition Locator.h:3650
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Locator::begin_...
Definition Locator.h:1493
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:2907
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:2912
void(T::* Response)(const ObjectPrx &, const CT &)
Definition Locator.h:2914
void(T::* Sent)(bool, const CT &)
Definition Locator.h:2913
IceUtil::Handle< T > TPtr
Definition Locator.h:2910
Callback_Locator_findAdapterById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:2916
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Locator::begin_...
Definition Locator.h:1485
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:2755
void(T::* Response)(const ObjectPrx &, const CT &)
Definition Locator.h:2762
IceUtil::Handle< T > TPtr
Definition Locator.h:2758
Callback_Locator_findObjectById(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:2764
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:2760
void(T::* Sent)(bool, const CT &)
Definition Locator.h:2761
Base class for asynchronous callback wrapper classes used for calls to IceProxy::Ice::Locator::begin_...
Definition Locator.h:1501
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::Ice::Lo...
Definition Locator.h:3059
IceUtil::Handle< T > TPtr
Definition Locator.h:3062
void(T::* Sent)(bool, const CT &)
Definition Locator.h:3065
Callback_Locator_getRegistry(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Locator.h:3068
void(T::* Response)(const LocatorRegistryPrx &, const CT &)
Definition Locator.h:3066
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Locator.h:3064
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition InputStream.h:50
This exception is raised if the replica group provided by the server is invalid.
Definition Locator.h:1115
virtual InvalidReplicaGroupIdException * ice_clone() const
Polymorphically clones this exception.
InvalidReplicaGroupIdException()
Definition Locator.h:1118
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual void ice_throw() const
Throws this exception.
This interface should be implemented by services implementing the Ice::Locator interface.
Definition Locator.h:2554
virtual bool ice_isA(const ::std::string &id, const Current &current=emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
LocatorFinderPtr PointerType
Definition Locator.h:2558
virtual ::std::vector< ::std::string > ice_ids(const Current &current=emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual LocatorPrx getLocator(const Current &current=emptyCurrent)=0
Get the locator proxy implemented by the process hosting this finder object.
virtual const ::std::string & ice_id(const Current &current=emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
LocatorFinderPrx ProxyType
Definition Locator.h:2557
virtual ~LocatorFinder()
The Ice locator registry interface.
Definition Locator.h:2421
virtual ::std::vector< ::std::string > ice_ids(const Current &current=emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
LocatorRegistryPrx ProxyType
Definition Locator.h:2424
virtual ~LocatorRegistry()
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual const ::std::string & ice_id(const Current &current=emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr &cb, const ::std::string &id, const ProcessPrx &proxy, const Current &current=emptyCurrent)=0
Set the process proxy for a server.
virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr &cb, const ::std::string &adapterId, const ::std::string &replicaGroupId, const ObjectPrx &p, const Current &current=emptyCurrent)=0
Set the adapter endpoints with the locator registry.
virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr &cb, const ::std::string &id, const ObjectPrx &proxy, const Current &current=emptyCurrent)=0
Set the adapter endpoints with the locator registry.
virtual bool ice_isA(const ::std::string &id, const Current &current=emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
LocatorRegistryPtr PointerType
Definition Locator.h:2425
The Ice locator interface.
Definition Locator.h:2305
LocatorPtr PointerType
Definition Locator.h:2309
virtual ::std::vector< ::std::string > ice_ids(const Current &current=emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr &cb, const Identity &id, const Current &current=emptyCurrent) const =0
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be ...
LocatorPrx ProxyType
Definition Locator.h:2308
virtual const ::std::string & ice_id(const Current &current=emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual ~Locator()
virtual bool ice_isA(const ::std::string &id, const Current &current=emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual LocatorRegistryPrx getRegistry(const Current &current=emptyCurrent) const =0
Get the locator registry.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr &cb, const ::std::string &id, const Current &current=emptyCurrent) const =0
Find an adapter by id and return a proxy that contains its endpoints.
This exception is raised if an object cannot be found.
Definition Locator.h:1196
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual ObjectNotFoundException * ice_clone() const
Polymorphically clones this exception.
virtual void ice_throw() const
Throws this exception.
ObjectNotFoundException()
Definition Locator.h:1199
The base class for servants.
Definition Object.h:193
Object()
Definition Object.h:331
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
This exception is raised if a server cannot be found.
Definition Locator.h:1236
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual ServerNotFoundException * ice_clone() const
Polymorphically clones this exception.
virtual void ice_throw() const
Throws this exception.
ServerNotFoundException()
Definition Locator.h:1239
Base class for all Ice user exceptions.
Definition Exception.h:68
Object * upCast(Object *o)
Definition ProxyF.h:38
Definition Metrics.h:211
Definition BuiltinSequences.h:113
Callback_Locator_findObjectByIdPtr newCallback_Locator_findObjectById(const IceUtil::Handle< T > &instance, void(T::*cb)(const ObjectPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:2729
::IceUtil::Handle< Callback_Locator_findObjectById_Base > Callback_Locator_findObjectByIdPtr
Definition Locator.h:1486
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
IceInternal::Handle< Object > ObjectPtr
Definition ObjectF.h:21
IceInternal::ProxyHandle< ::IceProxy::Ice::Object > ObjectPrx
Smart pointer for an object proxy.
Definition ProxyF.h:47
LocatorFinderPrx LocatorFinderPrxPtr
Definition Locator.h:1055
::IceUtil::Handle< Callback_LocatorRegistry_setServerProcessProxy_Base > Callback_LocatorRegistry_setServerProcessProxyPtr
Definition Locator.h:1526
::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy > AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
Definition Locator.h:1352
::IceInternal::Handle< LocatorFinder > LocatorFinderPtr
Definition Locator.h:1053
::IceUtil::Handle< Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base > Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
Definition Locator.h:1518
::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setServerProcessProxy > AMD_LocatorRegistry_setServerProcessProxyPtr
Definition Locator.h:1371
::IceUtil::Handle< Callback_LocatorFinder_getLocator_Base > Callback_LocatorFinder_getLocatorPtr
Definition Locator.h:1534
Callback_Locator_getRegistryPtr newCallback_Locator_getRegistry(const IceUtil::Handle< T > &instance, void(T::*cb)(const LocatorRegistryPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:3033
::IceUtil::Handle< Callback_Locator_getRegistry_Base > Callback_Locator_getRegistryPtr
Definition Locator.h:1502
::IceUtil::Handle< ::Ice::AMD_Locator_findObjectById > AMD_Locator_findObjectByIdPtr
Definition Locator.h:1294
LocatorPrx LocatorPrxPtr
Definition Locator.h:1044
const Current emptyCurrent
A default-initialized Current instance.
Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:3388
LocatorRegistryPrx LocatorRegistryPrxPtr
Definition Locator.h:1033
::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry > LocatorRegistryPrx
Definition Locator.h:1032
Callback_LocatorRegistry_setAdapterDirectProxyPtr newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:3184
::IceInternal::ProxyHandle< ::IceProxy::Ice::Process > ProcessPrx
Definition Process.h:318
Callback_LocatorRegistry_setServerProcessProxyPtr newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:3592
Callback_LocatorFinder_getLocatorPtr newCallback_LocatorFinder_getLocator(const IceUtil::Handle< T > &instance, void(T::*cb)(const LocatorPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:3797
::IceUtil::Handle< Callback_Locator_findAdapterById_Base > Callback_Locator_findAdapterByIdPtr
Definition Locator.h:1494
::IceInternal::Handle< LocatorRegistry > LocatorRegistryPtr
Definition Locator.h:1031
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy > AMD_LocatorRegistry_setAdapterDirectProxyPtr
Definition Locator.h:1333
::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder > LocatorFinderPrx
Definition Locator.h:1054
IceUtil::Shared * upCast(::Ice::AsyncResult *)
::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator > LocatorPrx
Definition Locator.h:1043
::IceUtil::Handle< Callback_LocatorRegistry_setAdapterDirectProxy_Base > Callback_LocatorRegistry_setAdapterDirectProxyPtr
Definition Locator.h:1510
::IceUtil::Handle< ::Ice::AMD_Locator_findAdapterById > AMD_Locator_findAdapterByIdPtr
Definition Locator.h:1314
Callback_Locator_findAdapterByIdPtr newCallback_Locator_findAdapterById(const IceUtil::Handle< T > &instance, void(T::*cb)(const ObjectPrx &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Locator.h:2881
::IceInternal::Handle< Locator > LocatorPtr
Definition Locator.h:1042
Information about the current method invocation for servers.
Definition Current.h:259
The identity of an Ice object.
Definition Identity.h:144