Ice 3.7 C++11 API Reference
Session.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 //
5 // Ice version 3.7.10
6 //
7 // <auto-generated>
8 //
9 // Generated from file `Session.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __Glacier2_Session_h__
17 #define __Glacier2_Session_h__
18 
20 #include <Ice/ProxyF.h>
21 #include <Ice/ObjectF.h>
22 #include <Ice/ValueF.h>
23 #include <Ice/Exception.h>
24 #include <Ice/LocalObject.h>
25 #include <Ice/StreamHelpers.h>
26 #include <Ice/Comparable.h>
27 #include <Ice/Proxy.h>
28 #include <Ice/Object.h>
29 #include <Ice/GCObject.h>
30 #include <Ice/Value.h>
31 #include <Ice/Incoming.h>
32 #include <Ice/FactoryTableInit.h>
33 #include <IceUtil/ScopedArray.h>
34 #include <Ice/Optional.h>
35 #include <Ice/ExceptionHelpers.h>
36 #include <Ice/SlicedDataF.h>
37 #include <Ice/BuiltinSequences.h>
38 #include <Ice/Identity.h>
39 #include <Glacier2/SSLInfo.h>
40 #include <IceUtil/UndefSysMacros.h>
41 #include <Glacier2/Config.h>
42 
43 #ifndef ICE_IGNORE_VERSION
44 # if ICE_INT_VERSION / 100 != 307
45 # error Ice version mismatch!
46 # endif
47 # if ICE_INT_VERSION % 100 >= 50
48 # error Beta header file detected
49 # endif
50 # if ICE_INT_VERSION % 100 < 10
51 # error Ice patch level mismatch!
52 # endif
53 #endif
54 
55 #ifndef GLACIER2_API
56 # if defined(ICE_STATIC_LIBS)
57 # define GLACIER2_API
58 # elif defined(GLACIER2_API_EXPORTS)
59 # define GLACIER2_API ICE_DECLSPEC_EXPORT
60 # else
61 # define GLACIER2_API ICE_DECLSPEC_IMPORT
62 # endif
63 #endif
64 
65 #ifdef ICE_CPP11_MAPPING // C++11 mapping
66 
67 namespace Glacier2
68 {
69 
70 class Session;
71 class SessionPrx;
72 class StringSet;
73 class StringSetPrx;
74 class IdentitySet;
75 class IdentitySetPrx;
76 class SessionControl;
77 class SessionControlPrx;
78 class SessionManager;
79 class SessionManagerPrx;
80 class SSLSessionManager;
81 class SSLSessionManagerPrx;
82 
83 }
84 
85 namespace Glacier2
86 {
87 
92 class ICE_CLASS(GLACIER2_API) CannotCreateSessionException : public ::Ice::UserExceptionHelper<CannotCreateSessionException, ::Ice::UserException>
93 {
94 public:
95 
97 
99 
101 
106  CannotCreateSessionException(const ::std::string& reason) :
107  reason(reason)
108  {
109  }
110 
115  std::tuple<const ::std::string&> ice_tuple() const
116  {
117  return std::tie(reason);
118  }
119 
124  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
125 
129  ::std::string reason;
130 
137  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::SlicedData> ice_getSlicedData() const override;
138 
140  ICE_MEMBER(GLACIER2_API) virtual void _write(::Ice::OutputStream*) const override;
141  ICE_MEMBER(GLACIER2_API) virtual void _read(::Ice::InputStream*) override;
142 
143  ::std::shared_ptr<::Ice::SlicedData> _slicedData;
145 };
146 
148 static CannotCreateSessionException _iceS_CannotCreateSessionException_init;
150 
151 }
152 
153 namespace Glacier2
154 {
155 
162 class GLACIER2_API Session : public virtual ::Ice::Object
163 {
164 public:
165 
167 
174  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
175 
181  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
182 
188  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
189 
194  static const ::std::string& ice_staticId();
195 
200  virtual void destroy(const ::Ice::Current& current) = 0;
202  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
204 
206  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
208 };
209 
218 class GLACIER2_API StringSet : public virtual ::Ice::Object
219 {
220 public:
221 
223 
230  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
231 
237  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
238 
244  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
245 
250  static const ::std::string& ice_staticId();
251 
258  virtual void add(::Ice::StringSeq additions, const ::Ice::Current& current) = 0;
260  bool _iceD_add(::IceInternal::Incoming&, const ::Ice::Current&);
262 
269  virtual void remove(::Ice::StringSeq deletions, const ::Ice::Current& current) = 0;
271  bool _iceD_remove(::IceInternal::Incoming&, const ::Ice::Current&);
273 
280  virtual ::Ice::StringSeq get(const ::Ice::Current& current) = 0;
282  bool _iceD_get(::IceInternal::Incoming&, const ::Ice::Current&);
284 
286  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
288 };
289 
297 class GLACIER2_API IdentitySet : public virtual ::Ice::Object
298 {
299 public:
300 
302 
309  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
310 
316  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
317 
323  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
324 
329  static const ::std::string& ice_staticId();
330 
337  virtual void add(::Ice::IdentitySeq additions, const ::Ice::Current& current) = 0;
339  bool _iceD_add(::IceInternal::Incoming&, const ::Ice::Current&);
341 
348  virtual void remove(::Ice::IdentitySeq deletions, const ::Ice::Current& current) = 0;
350  bool _iceD_remove(::IceInternal::Incoming&, const ::Ice::Current&);
352 
359  virtual ::Ice::IdentitySeq get(const ::Ice::Current& current) = 0;
361  bool _iceD_get(::IceInternal::Incoming&, const ::Ice::Current&);
363 
365  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
367 };
368 
376 {
377 public:
378 
380 
387  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
388 
394  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
395 
401  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
402 
407  static const ::std::string& ice_staticId();
408 
415  virtual ::std::shared_ptr<StringSetPrx> categories(const ::Ice::Current& current) = 0;
417  bool _iceD_categories(::IceInternal::Incoming&, const ::Ice::Current&);
419 
426  virtual ::std::shared_ptr<StringSetPrx> adapterIds(const ::Ice::Current& current) = 0;
428  bool _iceD_adapterIds(::IceInternal::Incoming&, const ::Ice::Current&);
430 
437  virtual ::std::shared_ptr<IdentitySetPrx> identities(const ::Ice::Current& current) = 0;
439  bool _iceD_identities(::IceInternal::Incoming&, const ::Ice::Current&);
441 
447  virtual int getSessionTimeout(const ::Ice::Current& current) = 0;
449  bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&);
451 
456  virtual void destroy(const ::Ice::Current& current) = 0;
458  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
460 
462  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
464 };
465 
477 {
478 public:
479 
481 
488  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
489 
495  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
496 
502  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
503 
508  static const ::std::string& ice_staticId();
509 
519  virtual ::std::shared_ptr<SessionPrx> create(::std::string userId, ::std::shared_ptr<SessionControlPrx> control, const ::Ice::Current& current) = 0;
521  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
523 
525  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
527 };
528 
540 {
541 public:
542 
544 
551  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
552 
558  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
559 
565  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
566 
571  static const ::std::string& ice_staticId();
572 
582  virtual ::std::shared_ptr<SessionPrx> create(SSLInfo info, ::std::shared_ptr<SessionControlPrx> control, const ::Ice::Current& current) = 0;
584  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
586 
588  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
590 };
591 
592 }
593 
594 namespace Glacier2
595 {
596 
603 class ICE_CLASS(GLACIER2_API) SessionPrx : public virtual ::Ice::Proxy<SessionPrx, ::Ice::ObjectPrx>
604 {
605 public:
606 
612  {
613  _makePromiseOutgoing<void>(true, this, &SessionPrx::_iceI_destroy, context).get();
614  }
615 
621  template<template<typename> class P = ::std::promise>
623  -> decltype(::std::declval<P<void>>().get_future())
624  {
625  return _makePromiseOutgoing<void, P>(false, this, &SessionPrx::_iceI_destroy, context);
626  }
627 
636  ::std::function<void()>
637  destroyAsync(::std::function<void()> response,
638  ::std::function<void(::std::exception_ptr)> ex = nullptr,
639  ::std::function<void(bool)> sent = nullptr,
641  {
642  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionPrx::_iceI_destroy, context);
643  }
644 
646  ICE_MEMBER(GLACIER2_API) void _iceI_destroy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
648 
653  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
654 
655 protected:
656 
658  SessionPrx() = default;
659  friend ::std::shared_ptr<SessionPrx> IceInternal::createProxy<SessionPrx>();
660 
661  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
663 };
664 
673 class ICE_CLASS(GLACIER2_API) StringSetPrx : public virtual ::Ice::Proxy<StringSetPrx, ::Ice::ObjectPrx>
674 {
675 public:
676 
684  {
685  _makePromiseOutgoing<void>(true, this, &StringSetPrx::_iceI_add, additions, context).get();
686  }
687 
695  template<template<typename> class P = ::std::promise>
697  -> decltype(::std::declval<P<void>>().get_future())
698  {
699  return _makePromiseOutgoing<void, P>(false, this, &StringSetPrx::_iceI_add, additions, context);
700  }
701 
712  ::std::function<void()>
714  ::std::function<void()> response,
715  ::std::function<void(::std::exception_ptr)> ex = nullptr,
716  ::std::function<void(bool)> sent = nullptr,
718  {
719  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::StringSetPrx::_iceI_add, additions, context);
720  }
721 
723  ICE_MEMBER(GLACIER2_API) void _iceI_add(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
725 
733  {
734  _makePromiseOutgoing<void>(true, this, &StringSetPrx::_iceI_remove, deletions, context).get();
735  }
736 
744  template<template<typename> class P = ::std::promise>
746  -> decltype(::std::declval<P<void>>().get_future())
747  {
748  return _makePromiseOutgoing<void, P>(false, this, &StringSetPrx::_iceI_remove, deletions, context);
749  }
750 
761  ::std::function<void()>
763  ::std::function<void()> response,
764  ::std::function<void(::std::exception_ptr)> ex = nullptr,
765  ::std::function<void(bool)> sent = nullptr,
767  {
768  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::StringSetPrx::_iceI_remove, deletions, context);
769  }
770 
772  ICE_MEMBER(GLACIER2_API) void _iceI_remove(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
774 
782  {
783  return _makePromiseOutgoing<::Ice::StringSeq>(true, this, &StringSetPrx::_iceI_get, context).get();
784  }
785 
792  template<template<typename> class P = ::std::promise>
794  -> decltype(::std::declval<P<::Ice::StringSeq>>().get_future())
795  {
796  return _makePromiseOutgoing<::Ice::StringSeq, P>(false, this, &StringSetPrx::_iceI_get, context);
797  }
798 
808  ::std::function<void()>
809  getAsync(::std::function<void(::Ice::StringSeq)> response,
810  ::std::function<void(::std::exception_ptr)> ex = nullptr,
811  ::std::function<void(bool)> sent = nullptr,
813  {
814  return _makeLamdaOutgoing<::Ice::StringSeq>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::StringSetPrx::_iceI_get, context);
815  }
816 
818  ICE_MEMBER(GLACIER2_API) void _iceI_get(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::StringSeq>>&, const ::Ice::Context&);
820 
825  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
826 
827 protected:
828 
830  StringSetPrx() = default;
831  friend ::std::shared_ptr<StringSetPrx> IceInternal::createProxy<StringSetPrx>();
832 
833  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
835 };
836 
844 class ICE_CLASS(GLACIER2_API) IdentitySetPrx : public virtual ::Ice::Proxy<IdentitySetPrx, ::Ice::ObjectPrx>
845 {
846 public:
847 
855  {
856  _makePromiseOutgoing<void>(true, this, &IdentitySetPrx::_iceI_add, additions, context).get();
857  }
858 
866  template<template<typename> class P = ::std::promise>
868  -> decltype(::std::declval<P<void>>().get_future())
869  {
870  return _makePromiseOutgoing<void, P>(false, this, &IdentitySetPrx::_iceI_add, additions, context);
871  }
872 
883  ::std::function<void()>
885  ::std::function<void()> response,
886  ::std::function<void(::std::exception_ptr)> ex = nullptr,
887  ::std::function<void(bool)> sent = nullptr,
889  {
890  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::IdentitySetPrx::_iceI_add, additions, context);
891  }
892 
894  ICE_MEMBER(GLACIER2_API) void _iceI_add(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::IdentitySeq&, const ::Ice::Context&);
896 
904  {
905  _makePromiseOutgoing<void>(true, this, &IdentitySetPrx::_iceI_remove, deletions, context).get();
906  }
907 
915  template<template<typename> class P = ::std::promise>
917  -> decltype(::std::declval<P<void>>().get_future())
918  {
919  return _makePromiseOutgoing<void, P>(false, this, &IdentitySetPrx::_iceI_remove, deletions, context);
920  }
921 
932  ::std::function<void()>
934  ::std::function<void()> response,
935  ::std::function<void(::std::exception_ptr)> ex = nullptr,
936  ::std::function<void(bool)> sent = nullptr,
938  {
939  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::IdentitySetPrx::_iceI_remove, deletions, context);
940  }
941 
943  ICE_MEMBER(GLACIER2_API) void _iceI_remove(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::IdentitySeq&, const ::Ice::Context&);
945 
953  {
954  return _makePromiseOutgoing<::Ice::IdentitySeq>(true, this, &IdentitySetPrx::_iceI_get, context).get();
955  }
956 
963  template<template<typename> class P = ::std::promise>
965  -> decltype(::std::declval<P<::Ice::IdentitySeq>>().get_future())
966  {
967  return _makePromiseOutgoing<::Ice::IdentitySeq, P>(false, this, &IdentitySetPrx::_iceI_get, context);
968  }
969 
979  ::std::function<void()>
980  getAsync(::std::function<void(::Ice::IdentitySeq)> response,
981  ::std::function<void(::std::exception_ptr)> ex = nullptr,
982  ::std::function<void(bool)> sent = nullptr,
984  {
985  return _makeLamdaOutgoing<::Ice::IdentitySeq>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::IdentitySetPrx::_iceI_get, context);
986  }
987 
989  ICE_MEMBER(GLACIER2_API) void _iceI_get(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::IdentitySeq>>&, const ::Ice::Context&);
991 
996  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
997 
998 protected:
999 
1001  IdentitySetPrx() = default;
1002  friend ::std::shared_ptr<IdentitySetPrx> IceInternal::createProxy<IdentitySetPrx>();
1003 
1004  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1006 };
1007 
1014 class ICE_CLASS(GLACIER2_API) SessionControlPrx : public virtual ::Ice::Proxy<SessionControlPrx, ::Ice::ObjectPrx>
1015 {
1016 public:
1017 
1024  ::std::shared_ptr<StringSetPrx> categories(const ::Ice::Context& context = ::Ice::noExplicitContext)
1025  {
1026  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>>(true, this, &SessionControlPrx::_iceI_categories, context).get();
1027  }
1028 
1035  template<template<typename> class P = ::std::promise>
1037  -> decltype(::std::declval<P<::std::shared_ptr<::Glacier2::StringSetPrx>>>().get_future())
1038  {
1039  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>, P>(false, this, &SessionControlPrx::_iceI_categories, context);
1040  }
1041 
1051  ::std::function<void()>
1052  categoriesAsync(::std::function<void(::std::shared_ptr<::Glacier2::StringSetPrx>)> response,
1053  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1054  ::std::function<void(bool)> sent = nullptr,
1056  {
1057  return _makeLamdaOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionControlPrx::_iceI_categories, context);
1058  }
1059 
1061  ICE_MEMBER(GLACIER2_API) void _iceI_categories(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Glacier2::StringSetPrx>>>&, const ::Ice::Context&);
1063 
1070  ::std::shared_ptr<StringSetPrx> adapterIds(const ::Ice::Context& context = ::Ice::noExplicitContext)
1071  {
1072  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>>(true, this, &SessionControlPrx::_iceI_adapterIds, context).get();
1073  }
1074 
1081  template<template<typename> class P = ::std::promise>
1083  -> decltype(::std::declval<P<::std::shared_ptr<::Glacier2::StringSetPrx>>>().get_future())
1084  {
1085  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>, P>(false, this, &SessionControlPrx::_iceI_adapterIds, context);
1086  }
1087 
1097  ::std::function<void()>
1098  adapterIdsAsync(::std::function<void(::std::shared_ptr<::Glacier2::StringSetPrx>)> response,
1099  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1100  ::std::function<void(bool)> sent = nullptr,
1102  {
1103  return _makeLamdaOutgoing<::std::shared_ptr<::Glacier2::StringSetPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionControlPrx::_iceI_adapterIds, context);
1104  }
1105 
1107  ICE_MEMBER(GLACIER2_API) void _iceI_adapterIds(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Glacier2::StringSetPrx>>>&, const ::Ice::Context&);
1109 
1116  ::std::shared_ptr<IdentitySetPrx> identities(const ::Ice::Context& context = ::Ice::noExplicitContext)
1117  {
1118  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::IdentitySetPrx>>(true, this, &SessionControlPrx::_iceI_identities, context).get();
1119  }
1120 
1127  template<template<typename> class P = ::std::promise>
1129  -> decltype(::std::declval<P<::std::shared_ptr<::Glacier2::IdentitySetPrx>>>().get_future())
1130  {
1131  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::IdentitySetPrx>, P>(false, this, &SessionControlPrx::_iceI_identities, context);
1132  }
1133 
1143  ::std::function<void()>
1144  identitiesAsync(::std::function<void(::std::shared_ptr<::Glacier2::IdentitySetPrx>)> response,
1145  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1146  ::std::function<void(bool)> sent = nullptr,
1148  {
1149  return _makeLamdaOutgoing<::std::shared_ptr<::Glacier2::IdentitySetPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionControlPrx::_iceI_identities, context);
1150  }
1151 
1153  ICE_MEMBER(GLACIER2_API) void _iceI_identities(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Glacier2::IdentitySetPrx>>>&, const ::Ice::Context&);
1155 
1162  {
1163  return _makePromiseOutgoing<int>(true, this, &SessionControlPrx::_iceI_getSessionTimeout, context).get();
1164  }
1165 
1171  template<template<typename> class P = ::std::promise>
1173  -> decltype(::std::declval<P<int>>().get_future())
1174  {
1175  return _makePromiseOutgoing<int, P>(false, this, &SessionControlPrx::_iceI_getSessionTimeout, context);
1176  }
1177 
1186  ::std::function<void()>
1187  getSessionTimeoutAsync(::std::function<void(int)> response,
1188  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1189  ::std::function<void(bool)> sent = nullptr,
1191  {
1192  return _makeLamdaOutgoing<int>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionControlPrx::_iceI_getSessionTimeout, context);
1193  }
1194 
1196  ICE_MEMBER(GLACIER2_API) void _iceI_getSessionTimeout(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<int>>&, const ::Ice::Context&);
1198 
1204  {
1205  _makePromiseOutgoing<void>(true, this, &SessionControlPrx::_iceI_destroy, context).get();
1206  }
1207 
1213  template<template<typename> class P = ::std::promise>
1215  -> decltype(::std::declval<P<void>>().get_future())
1216  {
1217  return _makePromiseOutgoing<void, P>(false, this, &SessionControlPrx::_iceI_destroy, context);
1218  }
1219 
1228  ::std::function<void()>
1229  destroyAsync(::std::function<void()> response,
1230  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1231  ::std::function<void(bool)> sent = nullptr,
1233  {
1234  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionControlPrx::_iceI_destroy, context);
1235  }
1236 
1238  ICE_MEMBER(GLACIER2_API) void _iceI_destroy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
1240 
1245  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
1246 
1247 protected:
1248 
1250  SessionControlPrx() = default;
1251  friend ::std::shared_ptr<SessionControlPrx> IceInternal::createProxy<SessionControlPrx>();
1252 
1253  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1255 };
1256 
1267 class ICE_CLASS(GLACIER2_API) SessionManagerPrx : public virtual ::Ice::Proxy<SessionManagerPrx, ::Ice::ObjectPrx>
1268 {
1269 public:
1270 
1280  ::std::shared_ptr<SessionPrx> create(const ::std::string& userId, const ::std::shared_ptr<SessionControlPrx>& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
1281  {
1282  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>>(true, this, &SessionManagerPrx::_iceI_create, userId, control, context).get();
1283  }
1284 
1292  template<template<typename> class P = ::std::promise>
1293  auto createAsync(const ::std::string& userId, const ::std::shared_ptr<SessionControlPrx>& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
1294  -> decltype(::std::declval<P<::std::shared_ptr<::Glacier2::SessionPrx>>>().get_future())
1295  {
1296  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>, P>(false, this, &SessionManagerPrx::_iceI_create, userId, control, context);
1297  }
1298 
1309  ::std::function<void()>
1310  createAsync(const ::std::string& userId, const ::std::shared_ptr<SessionControlPrx>& control,
1311  ::std::function<void(::std::shared_ptr<::Glacier2::SessionPrx>)> response,
1312  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1313  ::std::function<void(bool)> sent = nullptr,
1315  {
1316  return _makeLamdaOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SessionManagerPrx::_iceI_create, userId, control, context);
1317  }
1318 
1320  ICE_MEMBER(GLACIER2_API) void _iceI_create(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Glacier2::SessionPrx>>>&, const ::std::string&, const ::std::shared_ptr<SessionControlPrx>&, const ::Ice::Context&);
1322 
1327  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
1328 
1329 protected:
1330 
1332  SessionManagerPrx() = default;
1333  friend ::std::shared_ptr<SessionManagerPrx> IceInternal::createProxy<SessionManagerPrx>();
1334 
1335  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1337 };
1338 
1349 class ICE_CLASS(GLACIER2_API) SSLSessionManagerPrx : public virtual ::Ice::Proxy<SSLSessionManagerPrx, ::Ice::ObjectPrx>
1350 {
1351 public:
1352 
1362  ::std::shared_ptr<SessionPrx> create(const SSLInfo& info, const ::std::shared_ptr<SessionControlPrx>& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
1363  {
1364  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>>(true, this, &SSLSessionManagerPrx::_iceI_create, info, control, context).get();
1365  }
1366 
1374  template<template<typename> class P = ::std::promise>
1375  auto createAsync(const SSLInfo& info, const ::std::shared_ptr<SessionControlPrx>& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
1376  -> decltype(::std::declval<P<::std::shared_ptr<::Glacier2::SessionPrx>>>().get_future())
1377  {
1378  return _makePromiseOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>, P>(false, this, &SSLSessionManagerPrx::_iceI_create, info, control, context);
1379  }
1380 
1391  ::std::function<void()>
1392  createAsync(const SSLInfo& info, const ::std::shared_ptr<SessionControlPrx>& control,
1393  ::std::function<void(::std::shared_ptr<::Glacier2::SessionPrx>)> response,
1394  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1395  ::std::function<void(bool)> sent = nullptr,
1397  {
1398  return _makeLamdaOutgoing<::std::shared_ptr<::Glacier2::SessionPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Glacier2::SSLSessionManagerPrx::_iceI_create, info, control, context);
1399  }
1400 
1402  ICE_MEMBER(GLACIER2_API) void _iceI_create(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Glacier2::SessionPrx>>>&, const SSLInfo&, const ::std::shared_ptr<SessionControlPrx>&, const ::Ice::Context&);
1404 
1409  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
1410 
1411 protected:
1412 
1414  SSLSessionManagerPrx() = default;
1415  friend ::std::shared_ptr<SSLSessionManagerPrx> IceInternal::createProxy<SSLSessionManagerPrx>();
1416 
1417  ICE_MEMBER(GLACIER2_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1419 };
1420 
1421 }
1422 
1424 namespace Ice
1425 {
1426 
1427 template<typename S>
1428 struct StreamReader<::Glacier2::CannotCreateSessionException, S>
1429 {
1430  static void read(S* istr, ::Glacier2::CannotCreateSessionException& v)
1431  {
1432  istr->readAll(v.reason);
1433  }
1434 };
1435 
1436 }
1438 
1440 namespace Glacier2
1441 {
1442 
1443 using SessionPtr = ::std::shared_ptr<Session>;
1444 using SessionPrxPtr = ::std::shared_ptr<SessionPrx>;
1445 
1446 using StringSetPtr = ::std::shared_ptr<StringSet>;
1447 using StringSetPrxPtr = ::std::shared_ptr<StringSetPrx>;
1448 
1449 using IdentitySetPtr = ::std::shared_ptr<IdentitySet>;
1450 using IdentitySetPrxPtr = ::std::shared_ptr<IdentitySetPrx>;
1451 
1452 using SessionControlPtr = ::std::shared_ptr<SessionControl>;
1453 using SessionControlPrxPtr = ::std::shared_ptr<SessionControlPrx>;
1454 
1455 using SessionManagerPtr = ::std::shared_ptr<SessionManager>;
1456 using SessionManagerPrxPtr = ::std::shared_ptr<SessionManagerPrx>;
1457 
1458 using SSLSessionManagerPtr = ::std::shared_ptr<SSLSessionManager>;
1459 using SSLSessionManagerPrxPtr = ::std::shared_ptr<SSLSessionManagerPrx>;
1460 
1461 }
1463 
1464 #else // C++98 mapping
1465 
1466 namespace IceProxy
1467 {
1468 
1469 namespace Glacier2
1470 {
1471 
1472 class Session;
1474 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Session>&);
1475 GLACIER2_API ::IceProxy::Ice::Object* upCast(Session*);
1477 
1478 class StringSet;
1480 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< StringSet>&);
1481 GLACIER2_API ::IceProxy::Ice::Object* upCast(StringSet*);
1483 
1484 class IdentitySet;
1486 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< IdentitySet>&);
1487 GLACIER2_API ::IceProxy::Ice::Object* upCast(IdentitySet*);
1489 
1490 class SessionControl;
1492 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< SessionControl>&);
1493 GLACIER2_API ::IceProxy::Ice::Object* upCast(SessionControl*);
1495 
1496 class SessionManager;
1498 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< SessionManager>&);
1499 GLACIER2_API ::IceProxy::Ice::Object* upCast(SessionManager*);
1501 
1502 class SSLSessionManager;
1504 GLACIER2_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< SSLSessionManager>&);
1505 GLACIER2_API ::IceProxy::Ice::Object* upCast(SSLSessionManager*);
1507 
1508 }
1509 
1510 }
1511 
1512 namespace Glacier2
1513 {
1514 
1515 class Session;
1517 GLACIER2_API ::Ice::Object* upCast(Session*);
1519 typedef ::IceInternal::Handle< Session> SessionPtr;
1520 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::Session> SessionPrx;
1521 typedef SessionPrx SessionPrxPtr;
1523 GLACIER2_API void _icePatchObjectPtr(SessionPtr&, const ::Ice::ObjectPtr&);
1525 
1526 class StringSet;
1528 GLACIER2_API ::Ice::Object* upCast(StringSet*);
1530 typedef ::IceInternal::Handle< StringSet> StringSetPtr;
1531 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::StringSet> StringSetPrx;
1532 typedef StringSetPrx StringSetPrxPtr;
1534 GLACIER2_API void _icePatchObjectPtr(StringSetPtr&, const ::Ice::ObjectPtr&);
1536 
1537 class IdentitySet;
1539 GLACIER2_API ::Ice::Object* upCast(IdentitySet*);
1541 typedef ::IceInternal::Handle< IdentitySet> IdentitySetPtr;
1542 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::IdentitySet> IdentitySetPrx;
1543 typedef IdentitySetPrx IdentitySetPrxPtr;
1545 GLACIER2_API void _icePatchObjectPtr(IdentitySetPtr&, const ::Ice::ObjectPtr&);
1547 
1548 class SessionControl;
1550 GLACIER2_API ::Ice::Object* upCast(SessionControl*);
1552 typedef ::IceInternal::Handle< SessionControl> SessionControlPtr;
1553 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::SessionControl> SessionControlPrx;
1554 typedef SessionControlPrx SessionControlPrxPtr;
1556 GLACIER2_API void _icePatchObjectPtr(SessionControlPtr&, const ::Ice::ObjectPtr&);
1558 
1559 class SessionManager;
1561 GLACIER2_API ::Ice::Object* upCast(SessionManager*);
1563 typedef ::IceInternal::Handle< SessionManager> SessionManagerPtr;
1564 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::SessionManager> SessionManagerPrx;
1565 typedef SessionManagerPrx SessionManagerPrxPtr;
1567 GLACIER2_API void _icePatchObjectPtr(SessionManagerPtr&, const ::Ice::ObjectPtr&);
1569 
1570 class SSLSessionManager;
1572 GLACIER2_API ::Ice::Object* upCast(SSLSessionManager*);
1574 typedef ::IceInternal::Handle< SSLSessionManager> SSLSessionManagerPtr;
1575 typedef ::IceInternal::ProxyHandle< ::IceProxy::Glacier2::SSLSessionManager> SSLSessionManagerPrx;
1576 typedef SSLSessionManagerPrx SSLSessionManagerPrxPtr;
1578 GLACIER2_API void _icePatchObjectPtr(SSLSessionManagerPtr&, const ::Ice::ObjectPtr&);
1580 
1581 }
1582 
1583 namespace Glacier2
1584 {
1585 
1590 class GLACIER2_API CannotCreateSessionException : public ::Ice::UserException
1591 {
1592 public:
1593 
1594  CannotCreateSessionException() {}
1599  explicit CannotCreateSessionException(const ::std::string& reason);
1600 
1601 #ifdef ICE_CPP11_COMPILER
1602  CannotCreateSessionException(const CannotCreateSessionException&) = default;
1603  virtual ~CannotCreateSessionException();
1604 #else
1605  virtual ~CannotCreateSessionException() throw();
1606 #endif
1607 
1612  virtual ::std::string ice_id() const;
1617  virtual CannotCreateSessionException* ice_clone() const;
1621  virtual void ice_throw() const;
1622 
1626  ::std::string reason;
1627 
1634  virtual ::Ice::SlicedDataPtr ice_getSlicedData() const;
1635 
1637  virtual void _write(::Ice::OutputStream*) const;
1638  virtual void _read(::Ice::InputStream*);
1639  using ::Ice::UserException::_write;
1640  using ::Ice::UserException::_read;
1642 
1643 protected:
1644 
1646  virtual void _writeImpl(::Ice::OutputStream*) const;
1647  virtual void _readImpl(::Ice::InputStream*);
1649 
1651  ::Ice::SlicedDataPtr _slicedData;
1653 };
1654 
1656 static CannotCreateSessionException _iceS_CannotCreateSessionException_init;
1658 
1659 }
1660 
1661 namespace Glacier2
1662 {
1663 
1669 class Callback_Session_destroy_Base : public virtual ::IceInternal::CallbackBase { };
1670 typedef ::IceUtil::Handle< Callback_Session_destroy_Base> Callback_Session_destroyPtr;
1671 
1677 class Callback_StringSet_add_Base : public virtual ::IceInternal::CallbackBase { };
1678 typedef ::IceUtil::Handle< Callback_StringSet_add_Base> Callback_StringSet_addPtr;
1679 
1685 class Callback_StringSet_remove_Base : public virtual ::IceInternal::CallbackBase { };
1686 typedef ::IceUtil::Handle< Callback_StringSet_remove_Base> Callback_StringSet_removePtr;
1687 
1693 class Callback_StringSet_get_Base : public virtual ::IceInternal::CallbackBase { };
1694 typedef ::IceUtil::Handle< Callback_StringSet_get_Base> Callback_StringSet_getPtr;
1695 
1701 class Callback_IdentitySet_add_Base : public virtual ::IceInternal::CallbackBase { };
1702 typedef ::IceUtil::Handle< Callback_IdentitySet_add_Base> Callback_IdentitySet_addPtr;
1703 
1709 class Callback_IdentitySet_remove_Base : public virtual ::IceInternal::CallbackBase { };
1710 typedef ::IceUtil::Handle< Callback_IdentitySet_remove_Base> Callback_IdentitySet_removePtr;
1711 
1717 class Callback_IdentitySet_get_Base : public virtual ::IceInternal::CallbackBase { };
1718 typedef ::IceUtil::Handle< Callback_IdentitySet_get_Base> Callback_IdentitySet_getPtr;
1719 
1725 class Callback_SessionControl_categories_Base : public virtual ::IceInternal::CallbackBase { };
1726 typedef ::IceUtil::Handle< Callback_SessionControl_categories_Base> Callback_SessionControl_categoriesPtr;
1727 
1733 class Callback_SessionControl_adapterIds_Base : public virtual ::IceInternal::CallbackBase { };
1734 typedef ::IceUtil::Handle< Callback_SessionControl_adapterIds_Base> Callback_SessionControl_adapterIdsPtr;
1735 
1741 class Callback_SessionControl_identities_Base : public virtual ::IceInternal::CallbackBase { };
1742 typedef ::IceUtil::Handle< Callback_SessionControl_identities_Base> Callback_SessionControl_identitiesPtr;
1743 
1749 class Callback_SessionControl_getSessionTimeout_Base : public virtual ::IceInternal::CallbackBase { };
1750 typedef ::IceUtil::Handle< Callback_SessionControl_getSessionTimeout_Base> Callback_SessionControl_getSessionTimeoutPtr;
1751 
1757 class Callback_SessionControl_destroy_Base : public virtual ::IceInternal::CallbackBase { };
1758 typedef ::IceUtil::Handle< Callback_SessionControl_destroy_Base> Callback_SessionControl_destroyPtr;
1759 
1765 class Callback_SessionManager_create_Base : public virtual ::IceInternal::CallbackBase { };
1766 typedef ::IceUtil::Handle< Callback_SessionManager_create_Base> Callback_SessionManager_createPtr;
1767 
1773 class Callback_SSLSessionManager_create_Base : public virtual ::IceInternal::CallbackBase { };
1774 typedef ::IceUtil::Handle< Callback_SSLSessionManager_create_Base> Callback_SSLSessionManager_createPtr;
1775 
1776 }
1777 
1778 namespace IceProxy
1779 {
1780 
1781 namespace Glacier2
1782 {
1783 
1784 class ICE_CLASS(GLACIER2_API) Session : public virtual ::Ice::Proxy<Session, ::IceProxy::Ice::Object>
1785 {
1786 public:
1787 
1793  {
1794  end_destroy(_iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0, true));
1795  }
1796 
1802  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context = ::Ice::noExplicitContext)
1803  {
1804  return _iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0);
1805  }
1806 
1813  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1814  {
1815  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
1816  }
1817 
1825  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1826  {
1827  return _iceI_begin_destroy(context, cb, cookie);
1828  }
1829 
1836  ::Ice::AsyncResultPtr begin_destroy(const ::Glacier2::Callback_Session_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1837  {
1838  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
1839  }
1840 
1848  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::Glacier2::Callback_Session_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1849  {
1850  return _iceI_begin_destroy(context, cb, cookie);
1851  }
1852 
1857  ICE_MEMBER(GLACIER2_API) void end_destroy(const ::Ice::AsyncResultPtr& result);
1858 
1859 private:
1860 
1861  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_destroy(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1862 
1863 public:
1864 
1869  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
1870 
1871 protected:
1873 
1874  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1876 };
1877 
1878 class ICE_CLASS(GLACIER2_API) StringSet : public virtual ::Ice::Proxy<StringSet, ::IceProxy::Ice::Object>
1879 {
1880 public:
1881 
1889  {
1890  end_add(_iceI_begin_add(additions, context, ::IceInternal::dummyCallback, 0, true));
1891  }
1892 
1900  ::Ice::AsyncResultPtr begin_add(const ::Ice::StringSeq& additions, const ::Ice::Context& context = ::Ice::noExplicitContext)
1901  {
1902  return _iceI_begin_add(additions, context, ::IceInternal::dummyCallback, 0);
1903  }
1904 
1913  ::Ice::AsyncResultPtr begin_add(const ::Ice::StringSeq& additions, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1914  {
1915  return _iceI_begin_add(additions, ::Ice::noExplicitContext, cb, cookie);
1916  }
1917 
1927  ::Ice::AsyncResultPtr begin_add(const ::Ice::StringSeq& additions, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1928  {
1929  return _iceI_begin_add(additions, context, cb, cookie);
1930  }
1931 
1940  ::Ice::AsyncResultPtr begin_add(const ::Ice::StringSeq& additions, const ::Glacier2::Callback_StringSet_addPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1941  {
1942  return _iceI_begin_add(additions, ::Ice::noExplicitContext, cb, cookie);
1943  }
1944 
1954  ::Ice::AsyncResultPtr begin_add(const ::Ice::StringSeq& additions, const ::Ice::Context& context, const ::Glacier2::Callback_StringSet_addPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1955  {
1956  return _iceI_begin_add(additions, context, cb, cookie);
1957  }
1958 
1963  ICE_MEMBER(GLACIER2_API) void end_add(const ::Ice::AsyncResultPtr& result);
1964 
1965 private:
1966 
1967  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_add(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1968 
1969 public:
1970 
1978  {
1979  end_remove(_iceI_begin_remove(deletions, context, ::IceInternal::dummyCallback, 0, true));
1980  }
1981 
1989  ::Ice::AsyncResultPtr begin_remove(const ::Ice::StringSeq& deletions, const ::Ice::Context& context = ::Ice::noExplicitContext)
1990  {
1991  return _iceI_begin_remove(deletions, context, ::IceInternal::dummyCallback, 0);
1992  }
1993 
2002  ::Ice::AsyncResultPtr begin_remove(const ::Ice::StringSeq& deletions, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2003  {
2004  return _iceI_begin_remove(deletions, ::Ice::noExplicitContext, cb, cookie);
2005  }
2006 
2016  ::Ice::AsyncResultPtr begin_remove(const ::Ice::StringSeq& deletions, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2017  {
2018  return _iceI_begin_remove(deletions, context, cb, cookie);
2019  }
2020 
2029  ::Ice::AsyncResultPtr begin_remove(const ::Ice::StringSeq& deletions, const ::Glacier2::Callback_StringSet_removePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2030  {
2031  return _iceI_begin_remove(deletions, ::Ice::noExplicitContext, cb, cookie);
2032  }
2033 
2043  ::Ice::AsyncResultPtr begin_remove(const ::Ice::StringSeq& deletions, const ::Ice::Context& context, const ::Glacier2::Callback_StringSet_removePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2044  {
2045  return _iceI_begin_remove(deletions, context, cb, cookie);
2046  }
2047 
2052  ICE_MEMBER(GLACIER2_API) void end_remove(const ::Ice::AsyncResultPtr& result);
2053 
2054 private:
2055 
2056  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_remove(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2057 
2058 public:
2059 
2066  ICE_MEMBER(GLACIER2_API) ::Ice::StringSeq get(const ::Ice::Context& context = ::Ice::noExplicitContext)
2067  {
2068  return end_get(_iceI_begin_get(context, ::IceInternal::dummyCallback, 0, true));
2069  }
2070 
2077  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context = ::Ice::noExplicitContext)
2078  {
2079  return _iceI_begin_get(context, ::IceInternal::dummyCallback, 0);
2080  }
2081 
2089  ::Ice::AsyncResultPtr begin_get(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2090  {
2091  return _iceI_begin_get(::Ice::noExplicitContext, cb, cookie);
2092  }
2093 
2102  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2103  {
2104  return _iceI_begin_get(context, cb, cookie);
2105  }
2106 
2114  ::Ice::AsyncResultPtr begin_get(const ::Glacier2::Callback_StringSet_getPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2115  {
2116  return _iceI_begin_get(::Ice::noExplicitContext, cb, cookie);
2117  }
2118 
2127  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context, const ::Glacier2::Callback_StringSet_getPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2128  {
2129  return _iceI_begin_get(context, cb, cookie);
2130  }
2131 
2137  ICE_MEMBER(GLACIER2_API) ::Ice::StringSeq end_get(const ::Ice::AsyncResultPtr& result);
2138 
2139 private:
2140 
2141  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_get(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2142 
2143 public:
2144 
2149  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
2150 
2151 protected:
2153 
2154  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2156 };
2157 
2158 class ICE_CLASS(GLACIER2_API) IdentitySet : public virtual ::Ice::Proxy<IdentitySet, ::IceProxy::Ice::Object>
2159 {
2160 public:
2161 
2169  {
2170  end_add(_iceI_begin_add(additions, context, ::IceInternal::dummyCallback, 0, true));
2171  }
2172 
2180  ::Ice::AsyncResultPtr begin_add(const ::Ice::IdentitySeq& additions, const ::Ice::Context& context = ::Ice::noExplicitContext)
2181  {
2182  return _iceI_begin_add(additions, context, ::IceInternal::dummyCallback, 0);
2183  }
2184 
2193  ::Ice::AsyncResultPtr begin_add(const ::Ice::IdentitySeq& additions, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2194  {
2195  return _iceI_begin_add(additions, ::Ice::noExplicitContext, cb, cookie);
2196  }
2197 
2207  ::Ice::AsyncResultPtr begin_add(const ::Ice::IdentitySeq& additions, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2208  {
2209  return _iceI_begin_add(additions, context, cb, cookie);
2210  }
2211 
2220  ::Ice::AsyncResultPtr begin_add(const ::Ice::IdentitySeq& additions, const ::Glacier2::Callback_IdentitySet_addPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2221  {
2222  return _iceI_begin_add(additions, ::Ice::noExplicitContext, cb, cookie);
2223  }
2224 
2234  ::Ice::AsyncResultPtr begin_add(const ::Ice::IdentitySeq& additions, const ::Ice::Context& context, const ::Glacier2::Callback_IdentitySet_addPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2235  {
2236  return _iceI_begin_add(additions, context, cb, cookie);
2237  }
2238 
2243  ICE_MEMBER(GLACIER2_API) void end_add(const ::Ice::AsyncResultPtr& result);
2244 
2245 private:
2246 
2247  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_add(const ::Ice::IdentitySeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2248 
2249 public:
2250 
2258  {
2259  end_remove(_iceI_begin_remove(deletions, context, ::IceInternal::dummyCallback, 0, true));
2260  }
2261 
2269  ::Ice::AsyncResultPtr begin_remove(const ::Ice::IdentitySeq& deletions, const ::Ice::Context& context = ::Ice::noExplicitContext)
2270  {
2271  return _iceI_begin_remove(deletions, context, ::IceInternal::dummyCallback, 0);
2272  }
2273 
2282  ::Ice::AsyncResultPtr begin_remove(const ::Ice::IdentitySeq& deletions, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2283  {
2284  return _iceI_begin_remove(deletions, ::Ice::noExplicitContext, cb, cookie);
2285  }
2286 
2296  ::Ice::AsyncResultPtr begin_remove(const ::Ice::IdentitySeq& deletions, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2297  {
2298  return _iceI_begin_remove(deletions, context, cb, cookie);
2299  }
2300 
2309  ::Ice::AsyncResultPtr begin_remove(const ::Ice::IdentitySeq& deletions, const ::Glacier2::Callback_IdentitySet_removePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2310  {
2311  return _iceI_begin_remove(deletions, ::Ice::noExplicitContext, cb, cookie);
2312  }
2313 
2323  ::Ice::AsyncResultPtr begin_remove(const ::Ice::IdentitySeq& deletions, const ::Ice::Context& context, const ::Glacier2::Callback_IdentitySet_removePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2324  {
2325  return _iceI_begin_remove(deletions, context, cb, cookie);
2326  }
2327 
2332  ICE_MEMBER(GLACIER2_API) void end_remove(const ::Ice::AsyncResultPtr& result);
2333 
2334 private:
2335 
2336  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_remove(const ::Ice::IdentitySeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2337 
2338 public:
2339 
2346  ICE_MEMBER(GLACIER2_API) ::Ice::IdentitySeq get(const ::Ice::Context& context = ::Ice::noExplicitContext)
2347  {
2348  return end_get(_iceI_begin_get(context, ::IceInternal::dummyCallback, 0, true));
2349  }
2350 
2357  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context = ::Ice::noExplicitContext)
2358  {
2359  return _iceI_begin_get(context, ::IceInternal::dummyCallback, 0);
2360  }
2361 
2369  ::Ice::AsyncResultPtr begin_get(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2370  {
2371  return _iceI_begin_get(::Ice::noExplicitContext, cb, cookie);
2372  }
2373 
2382  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2383  {
2384  return _iceI_begin_get(context, cb, cookie);
2385  }
2386 
2394  ::Ice::AsyncResultPtr begin_get(const ::Glacier2::Callback_IdentitySet_getPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2395  {
2396  return _iceI_begin_get(::Ice::noExplicitContext, cb, cookie);
2397  }
2398 
2407  ::Ice::AsyncResultPtr begin_get(const ::Ice::Context& context, const ::Glacier2::Callback_IdentitySet_getPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2408  {
2409  return _iceI_begin_get(context, cb, cookie);
2410  }
2411 
2417  ICE_MEMBER(GLACIER2_API) ::Ice::IdentitySeq end_get(const ::Ice::AsyncResultPtr& result);
2418 
2419 private:
2420 
2421  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_get(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2422 
2423 public:
2424 
2429  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
2430 
2431 protected:
2433 
2434  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2436 };
2437 
2438 class ICE_CLASS(GLACIER2_API) SessionControl : public virtual ::Ice::Proxy<SessionControl, ::IceProxy::Ice::Object>
2439 {
2440 public:
2441 
2448  ICE_MEMBER(GLACIER2_API) ::Glacier2::StringSetPrx categories(const ::Ice::Context& context = ::Ice::noExplicitContext)
2449  {
2450  return end_categories(_iceI_begin_categories(context, ::IceInternal::dummyCallback, 0, true));
2451  }
2452 
2459  ::Ice::AsyncResultPtr begin_categories(const ::Ice::Context& context = ::Ice::noExplicitContext)
2460  {
2461  return _iceI_begin_categories(context, ::IceInternal::dummyCallback, 0);
2462  }
2463 
2471  ::Ice::AsyncResultPtr begin_categories(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2472  {
2473  return _iceI_begin_categories(::Ice::noExplicitContext, cb, cookie);
2474  }
2475 
2484  ::Ice::AsyncResultPtr begin_categories(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2485  {
2486  return _iceI_begin_categories(context, cb, cookie);
2487  }
2488 
2496  ::Ice::AsyncResultPtr begin_categories(const ::Glacier2::Callback_SessionControl_categoriesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2497  {
2498  return _iceI_begin_categories(::Ice::noExplicitContext, cb, cookie);
2499  }
2500 
2509  ::Ice::AsyncResultPtr begin_categories(const ::Ice::Context& context, const ::Glacier2::Callback_SessionControl_categoriesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2510  {
2511  return _iceI_begin_categories(context, cb, cookie);
2512  }
2513 
2519  ICE_MEMBER(GLACIER2_API) ::Glacier2::StringSetPrx end_categories(const ::Ice::AsyncResultPtr& result);
2520 
2521 private:
2522 
2523  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_categories(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2524 
2525 public:
2526 
2533  ICE_MEMBER(GLACIER2_API) ::Glacier2::StringSetPrx adapterIds(const ::Ice::Context& context = ::Ice::noExplicitContext)
2534  {
2535  return end_adapterIds(_iceI_begin_adapterIds(context, ::IceInternal::dummyCallback, 0, true));
2536  }
2537 
2544  ::Ice::AsyncResultPtr begin_adapterIds(const ::Ice::Context& context = ::Ice::noExplicitContext)
2545  {
2546  return _iceI_begin_adapterIds(context, ::IceInternal::dummyCallback, 0);
2547  }
2548 
2556  ::Ice::AsyncResultPtr begin_adapterIds(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2557  {
2558  return _iceI_begin_adapterIds(::Ice::noExplicitContext, cb, cookie);
2559  }
2560 
2569  ::Ice::AsyncResultPtr begin_adapterIds(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2570  {
2571  return _iceI_begin_adapterIds(context, cb, cookie);
2572  }
2573 
2581  ::Ice::AsyncResultPtr begin_adapterIds(const ::Glacier2::Callback_SessionControl_adapterIdsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2582  {
2583  return _iceI_begin_adapterIds(::Ice::noExplicitContext, cb, cookie);
2584  }
2585 
2594  ::Ice::AsyncResultPtr begin_adapterIds(const ::Ice::Context& context, const ::Glacier2::Callback_SessionControl_adapterIdsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2595  {
2596  return _iceI_begin_adapterIds(context, cb, cookie);
2597  }
2598 
2604  ICE_MEMBER(GLACIER2_API) ::Glacier2::StringSetPrx end_adapterIds(const ::Ice::AsyncResultPtr& result);
2605 
2606 private:
2607 
2608  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_adapterIds(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2609 
2610 public:
2611 
2618  ICE_MEMBER(GLACIER2_API) ::Glacier2::IdentitySetPrx identities(const ::Ice::Context& context = ::Ice::noExplicitContext)
2619  {
2620  return end_identities(_iceI_begin_identities(context, ::IceInternal::dummyCallback, 0, true));
2621  }
2622 
2629  ::Ice::AsyncResultPtr begin_identities(const ::Ice::Context& context = ::Ice::noExplicitContext)
2630  {
2631  return _iceI_begin_identities(context, ::IceInternal::dummyCallback, 0);
2632  }
2633 
2641  ::Ice::AsyncResultPtr begin_identities(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2642  {
2643  return _iceI_begin_identities(::Ice::noExplicitContext, cb, cookie);
2644  }
2645 
2654  ::Ice::AsyncResultPtr begin_identities(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2655  {
2656  return _iceI_begin_identities(context, cb, cookie);
2657  }
2658 
2666  ::Ice::AsyncResultPtr begin_identities(const ::Glacier2::Callback_SessionControl_identitiesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2667  {
2668  return _iceI_begin_identities(::Ice::noExplicitContext, cb, cookie);
2669  }
2670 
2679  ::Ice::AsyncResultPtr begin_identities(const ::Ice::Context& context, const ::Glacier2::Callback_SessionControl_identitiesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2680  {
2681  return _iceI_begin_identities(context, cb, cookie);
2682  }
2683 
2689  ICE_MEMBER(GLACIER2_API) ::Glacier2::IdentitySetPrx end_identities(const ::Ice::AsyncResultPtr& result);
2690 
2691 private:
2692 
2693  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_identities(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2694 
2695 public:
2696 
2702  ICE_MEMBER(GLACIER2_API) ::Ice::Int getSessionTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2703  {
2704  return end_getSessionTimeout(_iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0, true));
2705  }
2706 
2712  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context = ::Ice::noExplicitContext)
2713  {
2714  return _iceI_begin_getSessionTimeout(context, ::IceInternal::dummyCallback, 0);
2715  }
2716 
2723  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2724  {
2725  return _iceI_begin_getSessionTimeout(::Ice::noExplicitContext, cb, cookie);
2726  }
2727 
2735  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2736  {
2737  return _iceI_begin_getSessionTimeout(context, cb, cookie);
2738  }
2739 
2746  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Glacier2::Callback_SessionControl_getSessionTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2747  {
2748  return _iceI_begin_getSessionTimeout(::Ice::noExplicitContext, cb, cookie);
2749  }
2750 
2758  ::Ice::AsyncResultPtr begin_getSessionTimeout(const ::Ice::Context& context, const ::Glacier2::Callback_SessionControl_getSessionTimeoutPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2759  {
2760  return _iceI_begin_getSessionTimeout(context, cb, cookie);
2761  }
2762 
2768  ICE_MEMBER(GLACIER2_API) ::Ice::Int end_getSessionTimeout(const ::Ice::AsyncResultPtr& result);
2769 
2770 private:
2771 
2772  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_getSessionTimeout(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2773 
2774 public:
2775 
2781  {
2782  end_destroy(_iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0, true));
2783  }
2784 
2790  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context = ::Ice::noExplicitContext)
2791  {
2792  return _iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0);
2793  }
2794 
2801  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2802  {
2803  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
2804  }
2805 
2813  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2814  {
2815  return _iceI_begin_destroy(context, cb, cookie);
2816  }
2817 
2824  ::Ice::AsyncResultPtr begin_destroy(const ::Glacier2::Callback_SessionControl_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2825  {
2826  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
2827  }
2828 
2836  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::Glacier2::Callback_SessionControl_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2837  {
2838  return _iceI_begin_destroy(context, cb, cookie);
2839  }
2840 
2845  ICE_MEMBER(GLACIER2_API) void end_destroy(const ::Ice::AsyncResultPtr& result);
2846 
2847 private:
2848 
2849  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_destroy(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2850 
2851 public:
2852 
2857  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
2858 
2859 protected:
2861 
2862  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2864 };
2865 
2866 class ICE_CLASS(GLACIER2_API) SessionManager : public virtual ::Ice::Proxy<SessionManager, ::IceProxy::Ice::Object>
2867 {
2868 public:
2869 
2879  ICE_MEMBER(GLACIER2_API) ::Glacier2::SessionPrx create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
2880  {
2881  return end_create(_iceI_begin_create(userId, control, context, ::IceInternal::dummyCallback, 0, true));
2882  }
2883 
2891  ::Ice::AsyncResultPtr begin_create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
2892  {
2893  return _iceI_begin_create(userId, control, context, ::IceInternal::dummyCallback, 0);
2894  }
2895 
2904  ::Ice::AsyncResultPtr begin_create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2905  {
2906  return _iceI_begin_create(userId, control, ::Ice::noExplicitContext, cb, cookie);
2907  }
2908 
2918  ::Ice::AsyncResultPtr begin_create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2919  {
2920  return _iceI_begin_create(userId, control, context, cb, cookie);
2921  }
2922 
2931  ::Ice::AsyncResultPtr begin_create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Glacier2::Callback_SessionManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2932  {
2933  return _iceI_begin_create(userId, control, ::Ice::noExplicitContext, cb, cookie);
2934  }
2935 
2945  ::Ice::AsyncResultPtr begin_create(const ::std::string& userId, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context, const ::Glacier2::Callback_SessionManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2946  {
2947  return _iceI_begin_create(userId, control, context, cb, cookie);
2948  }
2949 
2957  ICE_MEMBER(GLACIER2_API) ::Glacier2::SessionPrx end_create(const ::Ice::AsyncResultPtr& result);
2958 
2959 private:
2960 
2961  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_create(const ::std::string&, const ::Glacier2::SessionControlPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2962 
2963 public:
2964 
2969  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
2970 
2971 protected:
2973 
2974  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2976 };
2977 
2978 class ICE_CLASS(GLACIER2_API) SSLSessionManager : public virtual ::Ice::Proxy<SSLSessionManager, ::IceProxy::Ice::Object>
2979 {
2980 public:
2981 
2991  ICE_MEMBER(GLACIER2_API) ::Glacier2::SessionPrx create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
2992  {
2993  return end_create(_iceI_begin_create(info, control, context, ::IceInternal::dummyCallback, 0, true));
2994  }
2995 
3003  ::Ice::AsyncResultPtr begin_create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context = ::Ice::noExplicitContext)
3004  {
3005  return _iceI_begin_create(info, control, context, ::IceInternal::dummyCallback, 0);
3006  }
3007 
3016  ::Ice::AsyncResultPtr begin_create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3017  {
3018  return _iceI_begin_create(info, control, ::Ice::noExplicitContext, cb, cookie);
3019  }
3020 
3030  ::Ice::AsyncResultPtr begin_create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3031  {
3032  return _iceI_begin_create(info, control, context, cb, cookie);
3033  }
3034 
3043  ::Ice::AsyncResultPtr begin_create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Glacier2::Callback_SSLSessionManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3044  {
3045  return _iceI_begin_create(info, control, ::Ice::noExplicitContext, cb, cookie);
3046  }
3047 
3057  ::Ice::AsyncResultPtr begin_create(const ::Glacier2::SSLInfo& info, const ::Glacier2::SessionControlPrx& control, const ::Ice::Context& context, const ::Glacier2::Callback_SSLSessionManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3058  {
3059  return _iceI_begin_create(info, control, context, cb, cookie);
3060  }
3061 
3069  ICE_MEMBER(GLACIER2_API) ::Glacier2::SessionPrx end_create(const ::Ice::AsyncResultPtr& result);
3070 
3071 private:
3072 
3073  ICE_MEMBER(GLACIER2_API) ::Ice::AsyncResultPtr _iceI_begin_create(const ::Glacier2::SSLInfo&, const ::Glacier2::SessionControlPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3074 
3075 public:
3076 
3081  ICE_MEMBER(GLACIER2_API) static const ::std::string& ice_staticId();
3082 
3083 protected:
3085 
3086  ICE_MEMBER(GLACIER2_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
3088 };
3089 
3090 }
3091 
3092 }
3093 
3094 namespace Glacier2
3095 {
3096 
3103 class GLACIER2_API Session : public virtual ::Ice::Object
3104 {
3105 public:
3106 
3107  typedef SessionPrx ProxyType;
3108  typedef SessionPtr PointerType;
3109 
3110  virtual ~Session();
3111 
3112 #ifdef ICE_CPP11_COMPILER
3113  Session() = default;
3114  Session(const Session&) = default;
3115  Session& operator=(const Session&) = default;
3116 #endif
3117 
3124  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3125 
3131  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3132 
3138  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3139 
3144  static const ::std::string& ice_staticId();
3145 
3150  virtual void destroy(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3152  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
3154 
3156  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3158 
3159 protected:
3160 
3162  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3163  virtual void _iceReadImpl(::Ice::InputStream*);
3165 };
3166 
3168 inline bool operator==(const Session& lhs, const Session& rhs)
3169 {
3170  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3171 }
3172 
3173 inline bool operator<(const Session& lhs, const Session& rhs)
3174 {
3175  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3176 }
3178 
3187 class GLACIER2_API StringSet : public virtual ::Ice::Object
3188 {
3189 public:
3190 
3191  typedef StringSetPrx ProxyType;
3192  typedef StringSetPtr PointerType;
3193 
3194  virtual ~StringSet();
3195 
3196 #ifdef ICE_CPP11_COMPILER
3197  StringSet() = default;
3198  StringSet(const StringSet&) = default;
3199  StringSet& operator=(const StringSet&) = default;
3200 #endif
3201 
3208  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3209 
3215  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3216 
3222  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3223 
3228  static const ::std::string& ice_staticId();
3229 
3236  virtual void add(const ::Ice::StringSeq& additions, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3238  bool _iceD_add(::IceInternal::Incoming&, const ::Ice::Current&);
3240 
3247  virtual void remove(const ::Ice::StringSeq& deletions, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3249  bool _iceD_remove(::IceInternal::Incoming&, const ::Ice::Current&);
3251 
3258  virtual ::Ice::StringSeq get(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3260  bool _iceD_get(::IceInternal::Incoming&, const ::Ice::Current&);
3262 
3264  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3266 
3267 protected:
3268 
3270  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3271  virtual void _iceReadImpl(::Ice::InputStream*);
3273 };
3274 
3276 inline bool operator==(const StringSet& lhs, const StringSet& rhs)
3277 {
3278  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3279 }
3280 
3281 inline bool operator<(const StringSet& lhs, const StringSet& rhs)
3282 {
3283  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3284 }
3286 
3294 class GLACIER2_API IdentitySet : public virtual ::Ice::Object
3295 {
3296 public:
3297 
3298  typedef IdentitySetPrx ProxyType;
3299  typedef IdentitySetPtr PointerType;
3300 
3301  virtual ~IdentitySet();
3302 
3303 #ifdef ICE_CPP11_COMPILER
3304  IdentitySet() = default;
3305  IdentitySet(const IdentitySet&) = default;
3306  IdentitySet& operator=(const IdentitySet&) = default;
3307 #endif
3308 
3315  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3316 
3322  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3323 
3329  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3330 
3335  static const ::std::string& ice_staticId();
3336 
3343  virtual void add(const ::Ice::IdentitySeq& additions, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3345  bool _iceD_add(::IceInternal::Incoming&, const ::Ice::Current&);
3347 
3354  virtual void remove(const ::Ice::IdentitySeq& deletions, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3356  bool _iceD_remove(::IceInternal::Incoming&, const ::Ice::Current&);
3358 
3365  virtual ::Ice::IdentitySeq get(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3367  bool _iceD_get(::IceInternal::Incoming&, const ::Ice::Current&);
3369 
3371  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3373 
3374 protected:
3375 
3377  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3378  virtual void _iceReadImpl(::Ice::InputStream*);
3380 };
3381 
3383 inline bool operator==(const IdentitySet& lhs, const IdentitySet& rhs)
3384 {
3385  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3386 }
3387 
3388 inline bool operator<(const IdentitySet& lhs, const IdentitySet& rhs)
3389 {
3390  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3391 }
3393 
3400 class GLACIER2_API SessionControl : public virtual ::Ice::Object
3401 {
3402 public:
3403 
3404  typedef SessionControlPrx ProxyType;
3405  typedef SessionControlPtr PointerType;
3406 
3407  virtual ~SessionControl();
3408 
3409 #ifdef ICE_CPP11_COMPILER
3410  SessionControl() = default;
3411  SessionControl(const SessionControl&) = default;
3412  SessionControl& operator=(const SessionControl&) = default;
3413 #endif
3414 
3421  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3422 
3428  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3429 
3435  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3436 
3441  static const ::std::string& ice_staticId();
3442 
3449  virtual StringSetPrx categories(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3451  bool _iceD_categories(::IceInternal::Incoming&, const ::Ice::Current&);
3453 
3460  virtual StringSetPrx adapterIds(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3462  bool _iceD_adapterIds(::IceInternal::Incoming&, const ::Ice::Current&);
3464 
3471  virtual IdentitySetPrx identities(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3473  bool _iceD_identities(::IceInternal::Incoming&, const ::Ice::Current&);
3475 
3481  virtual ::Ice::Int getSessionTimeout(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3483  bool _iceD_getSessionTimeout(::IceInternal::Incoming&, const ::Ice::Current&);
3485 
3490  virtual void destroy(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3492  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
3494 
3496  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3498 
3499 protected:
3500 
3502  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3503  virtual void _iceReadImpl(::Ice::InputStream*);
3505 };
3506 
3508 inline bool operator==(const SessionControl& lhs, const SessionControl& rhs)
3509 {
3510  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3511 }
3512 
3513 inline bool operator<(const SessionControl& lhs, const SessionControl& rhs)
3514 {
3515  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3516 }
3518 
3529 class GLACIER2_API SessionManager : public virtual ::Ice::Object
3530 {
3531 public:
3532 
3533  typedef SessionManagerPrx ProxyType;
3534  typedef SessionManagerPtr PointerType;
3535 
3536  virtual ~SessionManager();
3537 
3538 #ifdef ICE_CPP11_COMPILER
3539  SessionManager() = default;
3540  SessionManager(const SessionManager&) = default;
3541  SessionManager& operator=(const SessionManager&) = default;
3542 #endif
3543 
3550  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3551 
3557  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3558 
3564  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3565 
3570  static const ::std::string& ice_staticId();
3571 
3581  virtual SessionPrx create(const ::std::string& userId, const SessionControlPrx& control, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3583  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
3585 
3587  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3589 
3590 protected:
3591 
3593  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3594  virtual void _iceReadImpl(::Ice::InputStream*);
3596 };
3597 
3599 inline bool operator==(const SessionManager& lhs, const SessionManager& rhs)
3600 {
3601  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3602 }
3603 
3604 inline bool operator<(const SessionManager& lhs, const SessionManager& rhs)
3605 {
3606  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3607 }
3609 
3620 class GLACIER2_API SSLSessionManager : public virtual ::Ice::Object
3621 {
3622 public:
3623 
3624  typedef SSLSessionManagerPrx ProxyType;
3625  typedef SSLSessionManagerPtr PointerType;
3626 
3627  virtual ~SSLSessionManager();
3628 
3629 #ifdef ICE_CPP11_COMPILER
3630  SSLSessionManager() = default;
3631  SSLSessionManager(const SSLSessionManager&) = default;
3632  SSLSessionManager& operator=(const SSLSessionManager&) = default;
3633 #endif
3634 
3641  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3642 
3648  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3649 
3655  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3656 
3661  static const ::std::string& ice_staticId();
3662 
3672  virtual SessionPrx create(const SSLInfo& info, const SessionControlPrx& control, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3674  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
3676 
3678  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3680 
3681 protected:
3682 
3684  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3685  virtual void _iceReadImpl(::Ice::InputStream*);
3687 };
3688 
3690 inline bool operator==(const SSLSessionManager& lhs, const SSLSessionManager& rhs)
3691 {
3692  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3693 }
3694 
3695 inline bool operator<(const SSLSessionManager& lhs, const SSLSessionManager& rhs)
3696 {
3697  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3698 }
3700 
3701 }
3702 
3704 namespace Ice
3705 {
3706 
3707 template<>
3708 struct StreamableTraits< ::Glacier2::CannotCreateSessionException>
3709 {
3710  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
3711 };
3712 
3713 template<typename S>
3714 struct StreamWriter< ::Glacier2::CannotCreateSessionException, S>
3715 {
3716  static void write(S* ostr, const ::Glacier2::CannotCreateSessionException& v)
3717  {
3718  ostr->write(v.reason);
3719  }
3720 };
3721 
3722 template<typename S>
3723 struct StreamReader< ::Glacier2::CannotCreateSessionException, S>
3724 {
3725  static void read(S* istr, ::Glacier2::CannotCreateSessionException& v)
3726  {
3727  istr->read(v.reason);
3728  }
3729 };
3730 
3731 }
3733 
3734 namespace Glacier2
3735 {
3736 
3742 template<class T>
3743 class CallbackNC_Session_destroy : public Callback_Session_destroy_Base, public ::IceInternal::OnewayCallbackNC<T>
3744 {
3745 public:
3746 
3747  typedef IceUtil::Handle<T> TPtr;
3748 
3749  typedef void (T::*Exception)(const ::Ice::Exception&);
3750  typedef void (T::*Sent)(bool);
3751  typedef void (T::*Response)();
3752 
3753  CallbackNC_Session_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3754  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
3755  {
3756  }
3757 };
3758 
3767 template<class T> Callback_Session_destroyPtr
3768 newCallback_Session_destroy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3769 {
3770  return new CallbackNC_Session_destroy<T>(instance, cb, excb, sentcb);
3771 }
3772 
3780 template<class T> Callback_Session_destroyPtr
3781 newCallback_Session_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3782 {
3783  return new CallbackNC_Session_destroy<T>(instance, 0, excb, sentcb);
3784 }
3785 
3794 template<class T> Callback_Session_destroyPtr
3795 newCallback_Session_destroy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3796 {
3797  return new CallbackNC_Session_destroy<T>(instance, cb, excb, sentcb);
3798 }
3799 
3807 template<class T> Callback_Session_destroyPtr
3808 newCallback_Session_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3809 {
3810  return new CallbackNC_Session_destroy<T>(instance, 0, excb, sentcb);
3811 }
3812 
3818 template<class T, typename CT>
3819 class Callback_Session_destroy : public Callback_Session_destroy_Base, public ::IceInternal::OnewayCallback<T, CT>
3820 {
3821 public:
3822 
3823  typedef IceUtil::Handle<T> TPtr;
3824 
3825  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3826  typedef void (T::*Sent)(bool , const CT&);
3827  typedef void (T::*Response)(const CT&);
3828 
3829  Callback_Session_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3830  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3831  {
3832  }
3833 };
3834 
3844 template<class T, typename CT> Callback_Session_destroyPtr
3845 newCallback_Session_destroy(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)
3846 {
3847  return new Callback_Session_destroy<T, CT>(instance, cb, excb, sentcb);
3848 }
3849 
3858 template<class T, typename CT> Callback_Session_destroyPtr
3859 newCallback_Session_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3860 {
3861  return new Callback_Session_destroy<T, CT>(instance, 0, excb, sentcb);
3862 }
3863 
3873 template<class T, typename CT> Callback_Session_destroyPtr
3874 newCallback_Session_destroy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3875 {
3876  return new Callback_Session_destroy<T, CT>(instance, cb, excb, sentcb);
3877 }
3878 
3887 template<class T, typename CT> Callback_Session_destroyPtr
3888 newCallback_Session_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3889 {
3890  return new Callback_Session_destroy<T, CT>(instance, 0, excb, sentcb);
3891 }
3892 
3898 template<class T>
3899 class CallbackNC_StringSet_add : public Callback_StringSet_add_Base, public ::IceInternal::OnewayCallbackNC<T>
3900 {
3901 public:
3902 
3903  typedef IceUtil::Handle<T> TPtr;
3904 
3905  typedef void (T::*Exception)(const ::Ice::Exception&);
3906  typedef void (T::*Sent)(bool);
3907  typedef void (T::*Response)();
3908 
3909  CallbackNC_StringSet_add(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3910  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
3911  {
3912  }
3913 };
3914 
3923 template<class T> Callback_StringSet_addPtr
3924 newCallback_StringSet_add(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3925 {
3926  return new CallbackNC_StringSet_add<T>(instance, cb, excb, sentcb);
3927 }
3928 
3936 template<class T> Callback_StringSet_addPtr
3937 newCallback_StringSet_add(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3938 {
3939  return new CallbackNC_StringSet_add<T>(instance, 0, excb, sentcb);
3940 }
3941 
3950 template<class T> Callback_StringSet_addPtr
3951 newCallback_StringSet_add(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3952 {
3953  return new CallbackNC_StringSet_add<T>(instance, cb, excb, sentcb);
3954 }
3955 
3963 template<class T> Callback_StringSet_addPtr
3964 newCallback_StringSet_add(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3965 {
3966  return new CallbackNC_StringSet_add<T>(instance, 0, excb, sentcb);
3967 }
3968 
3974 template<class T, typename CT>
3975 class Callback_StringSet_add : public Callback_StringSet_add_Base, public ::IceInternal::OnewayCallback<T, CT>
3976 {
3977 public:
3978 
3979  typedef IceUtil::Handle<T> TPtr;
3980 
3981  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3982  typedef void (T::*Sent)(bool , const CT&);
3983  typedef void (T::*Response)(const CT&);
3984 
3985  Callback_StringSet_add(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3986  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3987  {
3988  }
3989 };
3990 
4000 template<class T, typename CT> Callback_StringSet_addPtr
4001 newCallback_StringSet_add(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)
4002 {
4003  return new Callback_StringSet_add<T, CT>(instance, cb, excb, sentcb);
4004 }
4005 
4014 template<class T, typename CT> Callback_StringSet_addPtr
4015 newCallback_StringSet_add(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4016 {
4017  return new Callback_StringSet_add<T, CT>(instance, 0, excb, sentcb);
4018 }
4019 
4029 template<class T, typename CT> Callback_StringSet_addPtr
4030 newCallback_StringSet_add(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4031 {
4032  return new Callback_StringSet_add<T, CT>(instance, cb, excb, sentcb);
4033 }
4034 
4043 template<class T, typename CT> Callback_StringSet_addPtr
4044 newCallback_StringSet_add(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4045 {
4046  return new Callback_StringSet_add<T, CT>(instance, 0, excb, sentcb);
4047 }
4048 
4054 template<class T>
4055 class CallbackNC_StringSet_remove : public Callback_StringSet_remove_Base, public ::IceInternal::OnewayCallbackNC<T>
4056 {
4057 public:
4058 
4059  typedef IceUtil::Handle<T> TPtr;
4060 
4061  typedef void (T::*Exception)(const ::Ice::Exception&);
4062  typedef void (T::*Sent)(bool);
4063  typedef void (T::*Response)();
4064 
4065  CallbackNC_StringSet_remove(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4066  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
4067  {
4068  }
4069 };
4070 
4079 template<class T> Callback_StringSet_removePtr
4080 newCallback_StringSet_remove(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4081 {
4082  return new CallbackNC_StringSet_remove<T>(instance, cb, excb, sentcb);
4083 }
4084 
4092 template<class T> Callback_StringSet_removePtr
4093 newCallback_StringSet_remove(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4094 {
4095  return new CallbackNC_StringSet_remove<T>(instance, 0, excb, sentcb);
4096 }
4097 
4106 template<class T> Callback_StringSet_removePtr
4107 newCallback_StringSet_remove(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4108 {
4109  return new CallbackNC_StringSet_remove<T>(instance, cb, excb, sentcb);
4110 }
4111 
4119 template<class T> Callback_StringSet_removePtr
4120 newCallback_StringSet_remove(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4121 {
4122  return new CallbackNC_StringSet_remove<T>(instance, 0, excb, sentcb);
4123 }
4124 
4130 template<class T, typename CT>
4131 class Callback_StringSet_remove : public Callback_StringSet_remove_Base, public ::IceInternal::OnewayCallback<T, CT>
4132 {
4133 public:
4134 
4135  typedef IceUtil::Handle<T> TPtr;
4136 
4137  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4138  typedef void (T::*Sent)(bool , const CT&);
4139  typedef void (T::*Response)(const CT&);
4140 
4141  Callback_StringSet_remove(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4142  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
4143  {
4144  }
4145 };
4146 
4156 template<class T, typename CT> Callback_StringSet_removePtr
4157 newCallback_StringSet_remove(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)
4158 {
4159  return new Callback_StringSet_remove<T, CT>(instance, cb, excb, sentcb);
4160 }
4161 
4170 template<class T, typename CT> Callback_StringSet_removePtr
4171 newCallback_StringSet_remove(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4172 {
4173  return new Callback_StringSet_remove<T, CT>(instance, 0, excb, sentcb);
4174 }
4175 
4185 template<class T, typename CT> Callback_StringSet_removePtr
4186 newCallback_StringSet_remove(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4187 {
4188  return new Callback_StringSet_remove<T, CT>(instance, cb, excb, sentcb);
4189 }
4190 
4199 template<class T, typename CT> Callback_StringSet_removePtr
4200 newCallback_StringSet_remove(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4201 {
4202  return new Callback_StringSet_remove<T, CT>(instance, 0, excb, sentcb);
4203 }
4204 
4210 template<class T>
4211 class CallbackNC_StringSet_get : public Callback_StringSet_get_Base, public ::IceInternal::TwowayCallbackNC<T>
4212 {
4213 public:
4214 
4215  typedef IceUtil::Handle<T> TPtr;
4216 
4217  typedef void (T::*Exception)(const ::Ice::Exception&);
4218  typedef void (T::*Sent)(bool);
4219  typedef void (T::*Response)(const ::Ice::StringSeq&);
4220 
4221  CallbackNC_StringSet_get(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4222  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4223  {
4224  }
4225 
4227  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4228  {
4229  StringSetPrx proxy = StringSetPrx::uncheckedCast(result->getProxy());
4230  ::Ice::StringSeq ret;
4231  try
4232  {
4233  ret = proxy->end_get(result);
4234  }
4235  catch(const ::Ice::Exception& ex)
4236  {
4237  ::IceInternal::CallbackNC<T>::exception(result, ex);
4238  return;
4239  }
4240  if(_response)
4241  {
4242  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4243  }
4244  }
4246 
4247 private:
4248 
4249  Response _response;
4250 };
4251 
4260 template<class T> Callback_StringSet_getPtr
4261 newCallback_StringSet_get(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::StringSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4262 {
4263  return new CallbackNC_StringSet_get<T>(instance, cb, excb, sentcb);
4264 }
4265 
4274 template<class T> Callback_StringSet_getPtr
4275 newCallback_StringSet_get(T* instance, void (T::*cb)(const ::Ice::StringSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4276 {
4277  return new CallbackNC_StringSet_get<T>(instance, cb, excb, sentcb);
4278 }
4279 
4285 template<class T, typename CT>
4286 class Callback_StringSet_get : public Callback_StringSet_get_Base, public ::IceInternal::TwowayCallback<T, CT>
4287 {
4288 public:
4289 
4290  typedef IceUtil::Handle<T> TPtr;
4291 
4292  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4293  typedef void (T::*Sent)(bool , const CT&);
4294  typedef void (T::*Response)(const ::Ice::StringSeq&, const CT&);
4295 
4296  Callback_StringSet_get(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4297  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4298  {
4299  }
4300 
4302  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4303  {
4304  StringSetPrx proxy = StringSetPrx::uncheckedCast(result->getProxy());
4305  ::Ice::StringSeq ret;
4306  try
4307  {
4308  ret = proxy->end_get(result);
4309  }
4310  catch(const ::Ice::Exception& ex)
4311  {
4312  ::IceInternal::Callback<T, CT>::exception(result, ex);
4313  return;
4314  }
4315  if(_response)
4316  {
4317  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4318  }
4319  }
4321 
4322 private:
4323 
4324  Response _response;
4325 };
4326 
4336 template<class T, typename CT> Callback_StringSet_getPtr
4337 newCallback_StringSet_get(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::StringSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4338 {
4339  return new Callback_StringSet_get<T, CT>(instance, cb, excb, sentcb);
4340 }
4341 
4351 template<class T, typename CT> Callback_StringSet_getPtr
4352 newCallback_StringSet_get(T* instance, void (T::*cb)(const ::Ice::StringSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4353 {
4354  return new Callback_StringSet_get<T, CT>(instance, cb, excb, sentcb);
4355 }
4356 
4362 template<class T>
4363 class CallbackNC_IdentitySet_add : public Callback_IdentitySet_add_Base, public ::IceInternal::OnewayCallbackNC<T>
4364 {
4365 public:
4366 
4367  typedef IceUtil::Handle<T> TPtr;
4368 
4369  typedef void (T::*Exception)(const ::Ice::Exception&);
4370  typedef void (T::*Sent)(bool);
4371  typedef void (T::*Response)();
4372 
4373  CallbackNC_IdentitySet_add(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4374  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
4375  {
4376  }
4377 };
4378 
4387 template<class T> Callback_IdentitySet_addPtr
4388 newCallback_IdentitySet_add(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4389 {
4390  return new CallbackNC_IdentitySet_add<T>(instance, cb, excb, sentcb);
4391 }
4392 
4400 template<class T> Callback_IdentitySet_addPtr
4401 newCallback_IdentitySet_add(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4402 {
4403  return new CallbackNC_IdentitySet_add<T>(instance, 0, excb, sentcb);
4404 }
4405 
4414 template<class T> Callback_IdentitySet_addPtr
4415 newCallback_IdentitySet_add(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4416 {
4417  return new CallbackNC_IdentitySet_add<T>(instance, cb, excb, sentcb);
4418 }
4419 
4427 template<class T> Callback_IdentitySet_addPtr
4428 newCallback_IdentitySet_add(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4429 {
4430  return new CallbackNC_IdentitySet_add<T>(instance, 0, excb, sentcb);
4431 }
4432 
4438 template<class T, typename CT>
4439 class Callback_IdentitySet_add : public Callback_IdentitySet_add_Base, public ::IceInternal::OnewayCallback<T, CT>
4440 {
4441 public:
4442 
4443  typedef IceUtil::Handle<T> TPtr;
4444 
4445  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4446  typedef void (T::*Sent)(bool , const CT&);
4447  typedef void (T::*Response)(const CT&);
4448 
4449  Callback_IdentitySet_add(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4450  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
4451  {
4452  }
4453 };
4454 
4464 template<class T, typename CT> Callback_IdentitySet_addPtr
4465 newCallback_IdentitySet_add(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)
4466 {
4467  return new Callback_IdentitySet_add<T, CT>(instance, cb, excb, sentcb);
4468 }
4469 
4478 template<class T, typename CT> Callback_IdentitySet_addPtr
4479 newCallback_IdentitySet_add(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4480 {
4481  return new Callback_IdentitySet_add<T, CT>(instance, 0, excb, sentcb);
4482 }
4483 
4493 template<class T, typename CT> Callback_IdentitySet_addPtr
4494 newCallback_IdentitySet_add(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4495 {
4496  return new Callback_IdentitySet_add<T, CT>(instance, cb, excb, sentcb);
4497 }
4498 
4507 template<class T, typename CT> Callback_IdentitySet_addPtr
4508 newCallback_IdentitySet_add(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4509 {
4510  return new Callback_IdentitySet_add<T, CT>(instance, 0, excb, sentcb);
4511 }
4512 
4518 template<class T>
4519 class CallbackNC_IdentitySet_remove : public Callback_IdentitySet_remove_Base, public ::IceInternal::OnewayCallbackNC<T>
4520 {
4521 public:
4522 
4523  typedef IceUtil::Handle<T> TPtr;
4524 
4525  typedef void (T::*Exception)(const ::Ice::Exception&);
4526  typedef void (T::*Sent)(bool);
4527  typedef void (T::*Response)();
4528 
4529  CallbackNC_IdentitySet_remove(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4530  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
4531  {
4532  }
4533 };
4534 
4543 template<class T> Callback_IdentitySet_removePtr
4544 newCallback_IdentitySet_remove(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4545 {
4546  return new CallbackNC_IdentitySet_remove<T>(instance, cb, excb, sentcb);
4547 }
4548 
4556 template<class T> Callback_IdentitySet_removePtr
4557 newCallback_IdentitySet_remove(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4558 {
4559  return new CallbackNC_IdentitySet_remove<T>(instance, 0, excb, sentcb);
4560 }
4561 
4570 template<class T> Callback_IdentitySet_removePtr
4571 newCallback_IdentitySet_remove(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4572 {
4573  return new CallbackNC_IdentitySet_remove<T>(instance, cb, excb, sentcb);
4574 }
4575 
4583 template<class T> Callback_IdentitySet_removePtr
4584 newCallback_IdentitySet_remove(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4585 {
4586  return new CallbackNC_IdentitySet_remove<T>(instance, 0, excb, sentcb);
4587 }
4588 
4594 template<class T, typename CT>
4595 class Callback_IdentitySet_remove : public Callback_IdentitySet_remove_Base, public ::IceInternal::OnewayCallback<T, CT>
4596 {
4597 public:
4598 
4599  typedef IceUtil::Handle<T> TPtr;
4600 
4601  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4602  typedef void (T::*Sent)(bool , const CT&);
4603  typedef void (T::*Response)(const CT&);
4604 
4605  Callback_IdentitySet_remove(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4606  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
4607  {
4608  }
4609 };
4610 
4620 template<class T, typename CT> Callback_IdentitySet_removePtr
4621 newCallback_IdentitySet_remove(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)
4622 {
4623  return new Callback_IdentitySet_remove<T, CT>(instance, cb, excb, sentcb);
4624 }
4625 
4634 template<class T, typename CT> Callback_IdentitySet_removePtr
4635 newCallback_IdentitySet_remove(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4636 {
4637  return new Callback_IdentitySet_remove<T, CT>(instance, 0, excb, sentcb);
4638 }
4639 
4649 template<class T, typename CT> Callback_IdentitySet_removePtr
4650 newCallback_IdentitySet_remove(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4651 {
4652  return new Callback_IdentitySet_remove<T, CT>(instance, cb, excb, sentcb);
4653 }
4654 
4663 template<class T, typename CT> Callback_IdentitySet_removePtr
4664 newCallback_IdentitySet_remove(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4665 {
4666  return new Callback_IdentitySet_remove<T, CT>(instance, 0, excb, sentcb);
4667 }
4668 
4674 template<class T>
4675 class CallbackNC_IdentitySet_get : public Callback_IdentitySet_get_Base, public ::IceInternal::TwowayCallbackNC<T>
4676 {
4677 public:
4678 
4679  typedef IceUtil::Handle<T> TPtr;
4680 
4681  typedef void (T::*Exception)(const ::Ice::Exception&);
4682  typedef void (T::*Sent)(bool);
4683  typedef void (T::*Response)(const ::Ice::IdentitySeq&);
4684 
4685  CallbackNC_IdentitySet_get(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4686  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4687  {
4688  }
4689 
4691  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4692  {
4693  IdentitySetPrx proxy = IdentitySetPrx::uncheckedCast(result->getProxy());
4694  ::Ice::IdentitySeq ret;
4695  try
4696  {
4697  ret = proxy->end_get(result);
4698  }
4699  catch(const ::Ice::Exception& ex)
4700  {
4701  ::IceInternal::CallbackNC<T>::exception(result, ex);
4702  return;
4703  }
4704  if(_response)
4705  {
4706  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4707  }
4708  }
4710 
4711 private:
4712 
4713  Response _response;
4714 };
4715 
4724 template<class T> Callback_IdentitySet_getPtr
4725 newCallback_IdentitySet_get(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::IdentitySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4726 {
4727  return new CallbackNC_IdentitySet_get<T>(instance, cb, excb, sentcb);
4728 }
4729 
4738 template<class T> Callback_IdentitySet_getPtr
4739 newCallback_IdentitySet_get(T* instance, void (T::*cb)(const ::Ice::IdentitySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4740 {
4741  return new CallbackNC_IdentitySet_get<T>(instance, cb, excb, sentcb);
4742 }
4743 
4749 template<class T, typename CT>
4750 class Callback_IdentitySet_get : public Callback_IdentitySet_get_Base, public ::IceInternal::TwowayCallback<T, CT>
4751 {
4752 public:
4753 
4754  typedef IceUtil::Handle<T> TPtr;
4755 
4756  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4757  typedef void (T::*Sent)(bool , const CT&);
4758  typedef void (T::*Response)(const ::Ice::IdentitySeq&, const CT&);
4759 
4760  Callback_IdentitySet_get(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4761  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4762  {
4763  }
4764 
4766  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4767  {
4768  IdentitySetPrx proxy = IdentitySetPrx::uncheckedCast(result->getProxy());
4769  ::Ice::IdentitySeq ret;
4770  try
4771  {
4772  ret = proxy->end_get(result);
4773  }
4774  catch(const ::Ice::Exception& ex)
4775  {
4776  ::IceInternal::Callback<T, CT>::exception(result, ex);
4777  return;
4778  }
4779  if(_response)
4780  {
4781  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4782  }
4783  }
4785 
4786 private:
4787 
4788  Response _response;
4789 };
4790 
4800 template<class T, typename CT> Callback_IdentitySet_getPtr
4801 newCallback_IdentitySet_get(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::IdentitySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4802 {
4803  return new Callback_IdentitySet_get<T, CT>(instance, cb, excb, sentcb);
4804 }
4805 
4815 template<class T, typename CT> Callback_IdentitySet_getPtr
4816 newCallback_IdentitySet_get(T* instance, void (T::*cb)(const ::Ice::IdentitySeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4817 {
4818  return new Callback_IdentitySet_get<T, CT>(instance, cb, excb, sentcb);
4819 }
4820 
4826 template<class T>
4827 class CallbackNC_SessionControl_categories : public Callback_SessionControl_categories_Base, public ::IceInternal::TwowayCallbackNC<T>
4828 {
4829 public:
4830 
4831  typedef IceUtil::Handle<T> TPtr;
4832 
4833  typedef void (T::*Exception)(const ::Ice::Exception&);
4834  typedef void (T::*Sent)(bool);
4835  typedef void (T::*Response)(const StringSetPrx&);
4836 
4837  CallbackNC_SessionControl_categories(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4838  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4839  {
4840  }
4841 
4843  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4844  {
4845  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
4846  StringSetPrx ret;
4847  try
4848  {
4849  ret = proxy->end_categories(result);
4850  }
4851  catch(const ::Ice::Exception& ex)
4852  {
4853  ::IceInternal::CallbackNC<T>::exception(result, ex);
4854  return;
4855  }
4856  if(_response)
4857  {
4858  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4859  }
4860  }
4862 
4863 private:
4864 
4865  Response _response;
4866 };
4867 
4876 template<class T> Callback_SessionControl_categoriesPtr
4877 newCallback_SessionControl_categories(const IceUtil::Handle<T>& instance, void (T::*cb)(const StringSetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4878 {
4879  return new CallbackNC_SessionControl_categories<T>(instance, cb, excb, sentcb);
4880 }
4881 
4890 template<class T> Callback_SessionControl_categoriesPtr
4891 newCallback_SessionControl_categories(T* instance, void (T::*cb)(const StringSetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4892 {
4893  return new CallbackNC_SessionControl_categories<T>(instance, cb, excb, sentcb);
4894 }
4895 
4901 template<class T, typename CT>
4902 class Callback_SessionControl_categories : public Callback_SessionControl_categories_Base, public ::IceInternal::TwowayCallback<T, CT>
4903 {
4904 public:
4905 
4906  typedef IceUtil::Handle<T> TPtr;
4907 
4908  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4909  typedef void (T::*Sent)(bool , const CT&);
4910  typedef void (T::*Response)(const StringSetPrx&, const CT&);
4911 
4912  Callback_SessionControl_categories(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4913  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4914  {
4915  }
4916 
4918  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4919  {
4920  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
4921  StringSetPrx ret;
4922  try
4923  {
4924  ret = proxy->end_categories(result);
4925  }
4926  catch(const ::Ice::Exception& ex)
4927  {
4928  ::IceInternal::Callback<T, CT>::exception(result, ex);
4929  return;
4930  }
4931  if(_response)
4932  {
4933  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4934  }
4935  }
4937 
4938 private:
4939 
4940  Response _response;
4941 };
4942 
4952 template<class T, typename CT> Callback_SessionControl_categoriesPtr
4953 newCallback_SessionControl_categories(const IceUtil::Handle<T>& instance, void (T::*cb)(const StringSetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4954 {
4955  return new Callback_SessionControl_categories<T, CT>(instance, cb, excb, sentcb);
4956 }
4957 
4967 template<class T, typename CT> Callback_SessionControl_categoriesPtr
4968 newCallback_SessionControl_categories(T* instance, void (T::*cb)(const StringSetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4969 {
4970  return new Callback_SessionControl_categories<T, CT>(instance, cb, excb, sentcb);
4971 }
4972 
4978 template<class T>
4979 class CallbackNC_SessionControl_adapterIds : public Callback_SessionControl_adapterIds_Base, public ::IceInternal::TwowayCallbackNC<T>
4980 {
4981 public:
4982 
4983  typedef IceUtil::Handle<T> TPtr;
4984 
4985  typedef void (T::*Exception)(const ::Ice::Exception&);
4986  typedef void (T::*Sent)(bool);
4987  typedef void (T::*Response)(const StringSetPrx&);
4988 
4989  CallbackNC_SessionControl_adapterIds(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4990  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4991  {
4992  }
4993 
4995  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4996  {
4997  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
4998  StringSetPrx ret;
4999  try
5000  {
5001  ret = proxy->end_adapterIds(result);
5002  }
5003  catch(const ::Ice::Exception& ex)
5004  {
5005  ::IceInternal::CallbackNC<T>::exception(result, ex);
5006  return;
5007  }
5008  if(_response)
5009  {
5010  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5011  }
5012  }
5014 
5015 private:
5016 
5017  Response _response;
5018 };
5019 
5028 template<class T> Callback_SessionControl_adapterIdsPtr
5029 newCallback_SessionControl_adapterIds(const IceUtil::Handle<T>& instance, void (T::*cb)(const StringSetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5030 {
5031  return new CallbackNC_SessionControl_adapterIds<T>(instance, cb, excb, sentcb);
5032 }
5033 
5042 template<class T> Callback_SessionControl_adapterIdsPtr
5043 newCallback_SessionControl_adapterIds(T* instance, void (T::*cb)(const StringSetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5044 {
5045  return new CallbackNC_SessionControl_adapterIds<T>(instance, cb, excb, sentcb);
5046 }
5047 
5053 template<class T, typename CT>
5054 class Callback_SessionControl_adapterIds : public Callback_SessionControl_adapterIds_Base, public ::IceInternal::TwowayCallback<T, CT>
5055 {
5056 public:
5057 
5058  typedef IceUtil::Handle<T> TPtr;
5059 
5060  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5061  typedef void (T::*Sent)(bool , const CT&);
5062  typedef void (T::*Response)(const StringSetPrx&, const CT&);
5063 
5064  Callback_SessionControl_adapterIds(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5065  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5066  {
5067  }
5068 
5070  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5071  {
5072  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
5073  StringSetPrx ret;
5074  try
5075  {
5076  ret = proxy->end_adapterIds(result);
5077  }
5078  catch(const ::Ice::Exception& ex)
5079  {
5080  ::IceInternal::Callback<T, CT>::exception(result, ex);
5081  return;
5082  }
5083  if(_response)
5084  {
5085  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5086  }
5087  }
5089 
5090 private:
5091 
5092  Response _response;
5093 };
5094 
5104 template<class T, typename CT> Callback_SessionControl_adapterIdsPtr
5105 newCallback_SessionControl_adapterIds(const IceUtil::Handle<T>& instance, void (T::*cb)(const StringSetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5106 {
5107  return new Callback_SessionControl_adapterIds<T, CT>(instance, cb, excb, sentcb);
5108 }
5109 
5119 template<class T, typename CT> Callback_SessionControl_adapterIdsPtr
5120 newCallback_SessionControl_adapterIds(T* instance, void (T::*cb)(const StringSetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5121 {
5122  return new Callback_SessionControl_adapterIds<T, CT>(instance, cb, excb, sentcb);
5123 }
5124 
5130 template<class T>
5131 class CallbackNC_SessionControl_identities : public Callback_SessionControl_identities_Base, public ::IceInternal::TwowayCallbackNC<T>
5132 {
5133 public:
5134 
5135  typedef IceUtil::Handle<T> TPtr;
5136 
5137  typedef void (T::*Exception)(const ::Ice::Exception&);
5138  typedef void (T::*Sent)(bool);
5139  typedef void (T::*Response)(const IdentitySetPrx&);
5140 
5141  CallbackNC_SessionControl_identities(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5142  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5143  {
5144  }
5145 
5147  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5148  {
5149  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
5150  IdentitySetPrx ret;
5151  try
5152  {
5153  ret = proxy->end_identities(result);
5154  }
5155  catch(const ::Ice::Exception& ex)
5156  {
5157  ::IceInternal::CallbackNC<T>::exception(result, ex);
5158  return;
5159  }
5160  if(_response)
5161  {
5162  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5163  }
5164  }
5166 
5167 private:
5168 
5169  Response _response;
5170 };
5171 
5180 template<class T> Callback_SessionControl_identitiesPtr
5181 newCallback_SessionControl_identities(const IceUtil::Handle<T>& instance, void (T::*cb)(const IdentitySetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5182 {
5183  return new CallbackNC_SessionControl_identities<T>(instance, cb, excb, sentcb);
5184 }
5185 
5194 template<class T> Callback_SessionControl_identitiesPtr
5195 newCallback_SessionControl_identities(T* instance, void (T::*cb)(const IdentitySetPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5196 {
5197  return new CallbackNC_SessionControl_identities<T>(instance, cb, excb, sentcb);
5198 }
5199 
5205 template<class T, typename CT>
5206 class Callback_SessionControl_identities : public Callback_SessionControl_identities_Base, public ::IceInternal::TwowayCallback<T, CT>
5207 {
5208 public:
5209 
5210  typedef IceUtil::Handle<T> TPtr;
5211 
5212  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5213  typedef void (T::*Sent)(bool , const CT&);
5214  typedef void (T::*Response)(const IdentitySetPrx&, const CT&);
5215 
5216  Callback_SessionControl_identities(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5217  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5218  {
5219  }
5220 
5222  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5223  {
5224  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
5225  IdentitySetPrx ret;
5226  try
5227  {
5228  ret = proxy->end_identities(result);
5229  }
5230  catch(const ::Ice::Exception& ex)
5231  {
5232  ::IceInternal::Callback<T, CT>::exception(result, ex);
5233  return;
5234  }
5235  if(_response)
5236  {
5237  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5238  }
5239  }
5241 
5242 private:
5243 
5244  Response _response;
5245 };
5246 
5256 template<class T, typename CT> Callback_SessionControl_identitiesPtr
5257 newCallback_SessionControl_identities(const IceUtil::Handle<T>& instance, void (T::*cb)(const IdentitySetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5258 {
5259  return new Callback_SessionControl_identities<T, CT>(instance, cb, excb, sentcb);
5260 }
5261 
5271 template<class T, typename CT> Callback_SessionControl_identitiesPtr
5272 newCallback_SessionControl_identities(T* instance, void (T::*cb)(const IdentitySetPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5273 {
5274  return new Callback_SessionControl_identities<T, CT>(instance, cb, excb, sentcb);
5275 }
5276 
5282 template<class T>
5283 class CallbackNC_SessionControl_getSessionTimeout : public Callback_SessionControl_getSessionTimeout_Base, public ::IceInternal::TwowayCallbackNC<T>
5284 {
5285 public:
5286 
5287  typedef IceUtil::Handle<T> TPtr;
5288 
5289  typedef void (T::*Exception)(const ::Ice::Exception&);
5290  typedef void (T::*Sent)(bool);
5291  typedef void (T::*Response)(::Ice::Int);
5292 
5293  CallbackNC_SessionControl_getSessionTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5294  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5295  {
5296  }
5297 
5299  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5300  {
5301  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
5302  ::Ice::Int ret;
5303  try
5304  {
5305  ret = proxy->end_getSessionTimeout(result);
5306  }
5307  catch(const ::Ice::Exception& ex)
5308  {
5309  ::IceInternal::CallbackNC<T>::exception(result, ex);
5310  return;
5311  }
5312  if(_response)
5313  {
5314  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5315  }
5316  }
5318 
5319 private:
5320 
5321  Response _response;
5322 };
5323 
5332 template<class T> Callback_SessionControl_getSessionTimeoutPtr
5333 newCallback_SessionControl_getSessionTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5334 {
5335  return new CallbackNC_SessionControl_getSessionTimeout<T>(instance, cb, excb, sentcb);
5336 }
5337 
5346 template<class T> Callback_SessionControl_getSessionTimeoutPtr
5347 newCallback_SessionControl_getSessionTimeout(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5348 {
5349  return new CallbackNC_SessionControl_getSessionTimeout<T>(instance, cb, excb, sentcb);
5350 }
5351 
5357 template<class T, typename CT>
5358 class Callback_SessionControl_getSessionTimeout : public Callback_SessionControl_getSessionTimeout_Base, public ::IceInternal::TwowayCallback<T, CT>
5359 {
5360 public:
5361 
5362  typedef IceUtil::Handle<T> TPtr;
5363 
5364  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5365  typedef void (T::*Sent)(bool , const CT&);
5366  typedef void (T::*Response)(::Ice::Int, const CT&);
5367 
5368  Callback_SessionControl_getSessionTimeout(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5369  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5370  {
5371  }
5372 
5374  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5375  {
5376  SessionControlPrx proxy = SessionControlPrx::uncheckedCast(result->getProxy());
5377  ::Ice::Int ret;
5378  try
5379  {
5380  ret = proxy->end_getSessionTimeout(result);
5381  }
5382  catch(const ::Ice::Exception& ex)
5383  {
5384  ::IceInternal::Callback<T, CT>::exception(result, ex);
5385  return;
5386  }
5387  if(_response)
5388  {
5389  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5390  }
5391  }
5393 
5394 private:
5395 
5396  Response _response;
5397 };
5398 
5408 template<class T, typename CT> Callback_SessionControl_getSessionTimeoutPtr
5409 newCallback_SessionControl_getSessionTimeout(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5410 {
5411  return new Callback_SessionControl_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
5412 }
5413 
5423 template<class T, typename CT> Callback_SessionControl_getSessionTimeoutPtr
5424 newCallback_SessionControl_getSessionTimeout(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5425 {
5426  return new Callback_SessionControl_getSessionTimeout<T, CT>(instance, cb, excb, sentcb);
5427 }
5428 
5434 template<class T>
5435 class CallbackNC_SessionControl_destroy : public Callback_SessionControl_destroy_Base, public ::IceInternal::OnewayCallbackNC<T>
5436 {
5437 public:
5438 
5439  typedef IceUtil::Handle<T> TPtr;
5440 
5441  typedef void (T::*Exception)(const ::Ice::Exception&);
5442  typedef void (T::*Sent)(bool);
5443  typedef void (T::*Response)();
5444 
5445  CallbackNC_SessionControl_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5446  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
5447  {
5448  }
5449 };
5450 
5459 template<class T> Callback_SessionControl_destroyPtr
5460 newCallback_SessionControl_destroy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5461 {
5462  return new CallbackNC_SessionControl_destroy<T>(instance, cb, excb, sentcb);
5463 }
5464 
5472 template<class T> Callback_SessionControl_destroyPtr
5473 newCallback_SessionControl_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5474 {
5475  return new CallbackNC_SessionControl_destroy<T>(instance, 0, excb, sentcb);
5476 }
5477 
5486 template<class T> Callback_SessionControl_destroyPtr
5487 newCallback_SessionControl_destroy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5488 {
5489  return new CallbackNC_SessionControl_destroy<T>(instance, cb, excb, sentcb);
5490 }
5491 
5499 template<class T> Callback_SessionControl_destroyPtr
5500 newCallback_SessionControl_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5501 {
5502  return new CallbackNC_SessionControl_destroy<T>(instance, 0, excb, sentcb);
5503 }
5504 
5510 template<class T, typename CT>
5511 class Callback_SessionControl_destroy : public Callback_SessionControl_destroy_Base, public ::IceInternal::OnewayCallback<T, CT>
5512 {
5513 public:
5514 
5515  typedef IceUtil::Handle<T> TPtr;
5516 
5517  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5518  typedef void (T::*Sent)(bool , const CT&);
5519  typedef void (T::*Response)(const CT&);
5520 
5521  Callback_SessionControl_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5522  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
5523  {
5524  }
5525 };
5526 
5536 template<class T, typename CT> Callback_SessionControl_destroyPtr
5537 newCallback_SessionControl_destroy(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)
5538 {
5539  return new Callback_SessionControl_destroy<T, CT>(instance, cb, excb, sentcb);
5540 }
5541 
5550 template<class T, typename CT> Callback_SessionControl_destroyPtr
5551 newCallback_SessionControl_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5552 {
5553  return new Callback_SessionControl_destroy<T, CT>(instance, 0, excb, sentcb);
5554 }
5555 
5565 template<class T, typename CT> Callback_SessionControl_destroyPtr
5566 newCallback_SessionControl_destroy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5567 {
5568  return new Callback_SessionControl_destroy<T, CT>(instance, cb, excb, sentcb);
5569 }
5570 
5579 template<class T, typename CT> Callback_SessionControl_destroyPtr
5580 newCallback_SessionControl_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5581 {
5582  return new Callback_SessionControl_destroy<T, CT>(instance, 0, excb, sentcb);
5583 }
5584 
5590 template<class T>
5591 class CallbackNC_SessionManager_create : public Callback_SessionManager_create_Base, public ::IceInternal::TwowayCallbackNC<T>
5592 {
5593 public:
5594 
5595  typedef IceUtil::Handle<T> TPtr;
5596 
5597  typedef void (T::*Exception)(const ::Ice::Exception&);
5598  typedef void (T::*Sent)(bool);
5599  typedef void (T::*Response)(const SessionPrx&);
5600 
5601  CallbackNC_SessionManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5602  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5603  {
5604  }
5605 
5607  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5608  {
5609  SessionManagerPrx proxy = SessionManagerPrx::uncheckedCast(result->getProxy());
5610  SessionPrx ret;
5611  try
5612  {
5613  ret = proxy->end_create(result);
5614  }
5615  catch(const ::Ice::Exception& ex)
5616  {
5617  ::IceInternal::CallbackNC<T>::exception(result, ex);
5618  return;
5619  }
5620  if(_response)
5621  {
5622  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5623  }
5624  }
5626 
5627 private:
5628 
5629  Response _response;
5630 };
5631 
5640 template<class T> Callback_SessionManager_createPtr
5641 newCallback_SessionManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5642 {
5643  return new CallbackNC_SessionManager_create<T>(instance, cb, excb, sentcb);
5644 }
5645 
5654 template<class T> Callback_SessionManager_createPtr
5655 newCallback_SessionManager_create(T* instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5656 {
5657  return new CallbackNC_SessionManager_create<T>(instance, cb, excb, sentcb);
5658 }
5659 
5665 template<class T, typename CT>
5666 class Callback_SessionManager_create : public Callback_SessionManager_create_Base, public ::IceInternal::TwowayCallback<T, CT>
5667 {
5668 public:
5669 
5670  typedef IceUtil::Handle<T> TPtr;
5671 
5672  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5673  typedef void (T::*Sent)(bool , const CT&);
5674  typedef void (T::*Response)(const SessionPrx&, const CT&);
5675 
5676  Callback_SessionManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5677  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5678  {
5679  }
5680 
5682  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5683  {
5684  SessionManagerPrx proxy = SessionManagerPrx::uncheckedCast(result->getProxy());
5685  SessionPrx ret;
5686  try
5687  {
5688  ret = proxy->end_create(result);
5689  }
5690  catch(const ::Ice::Exception& ex)
5691  {
5692  ::IceInternal::Callback<T, CT>::exception(result, ex);
5693  return;
5694  }
5695  if(_response)
5696  {
5697  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5698  }
5699  }
5701 
5702 private:
5703 
5704  Response _response;
5705 };
5706 
5716 template<class T, typename CT> Callback_SessionManager_createPtr
5717 newCallback_SessionManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5718 {
5719  return new Callback_SessionManager_create<T, CT>(instance, cb, excb, sentcb);
5720 }
5721 
5731 template<class T, typename CT> Callback_SessionManager_createPtr
5732 newCallback_SessionManager_create(T* instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5733 {
5734  return new Callback_SessionManager_create<T, CT>(instance, cb, excb, sentcb);
5735 }
5736 
5742 template<class T>
5743 class CallbackNC_SSLSessionManager_create : public Callback_SSLSessionManager_create_Base, public ::IceInternal::TwowayCallbackNC<T>
5744 {
5745 public:
5746 
5747  typedef IceUtil::Handle<T> TPtr;
5748 
5749  typedef void (T::*Exception)(const ::Ice::Exception&);
5750  typedef void (T::*Sent)(bool);
5751  typedef void (T::*Response)(const SessionPrx&);
5752 
5753  CallbackNC_SSLSessionManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5754  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5755  {
5756  }
5757 
5759  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5760  {
5761  SSLSessionManagerPrx proxy = SSLSessionManagerPrx::uncheckedCast(result->getProxy());
5762  SessionPrx ret;
5763  try
5764  {
5765  ret = proxy->end_create(result);
5766  }
5767  catch(const ::Ice::Exception& ex)
5768  {
5769  ::IceInternal::CallbackNC<T>::exception(result, ex);
5770  return;
5771  }
5772  if(_response)
5773  {
5774  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5775  }
5776  }
5778 
5779 private:
5780 
5781  Response _response;
5782 };
5783 
5792 template<class T> Callback_SSLSessionManager_createPtr
5793 newCallback_SSLSessionManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5794 {
5795  return new CallbackNC_SSLSessionManager_create<T>(instance, cb, excb, sentcb);
5796 }
5797 
5806 template<class T> Callback_SSLSessionManager_createPtr
5807 newCallback_SSLSessionManager_create(T* instance, void (T::*cb)(const SessionPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5808 {
5809  return new CallbackNC_SSLSessionManager_create<T>(instance, cb, excb, sentcb);
5810 }
5811 
5817 template<class T, typename CT>
5818 class Callback_SSLSessionManager_create : public Callback_SSLSessionManager_create_Base, public ::IceInternal::TwowayCallback<T, CT>
5819 {
5820 public:
5821 
5822  typedef IceUtil::Handle<T> TPtr;
5823 
5824  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5825  typedef void (T::*Sent)(bool , const CT&);
5826  typedef void (T::*Response)(const SessionPrx&, const CT&);
5827 
5828  Callback_SSLSessionManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5829  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5830  {
5831  }
5832 
5834  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5835  {
5836  SSLSessionManagerPrx proxy = SSLSessionManagerPrx::uncheckedCast(result->getProxy());
5837  SessionPrx ret;
5838  try
5839  {
5840  ret = proxy->end_create(result);
5841  }
5842  catch(const ::Ice::Exception& ex)
5843  {
5844  ::IceInternal::Callback<T, CT>::exception(result, ex);
5845  return;
5846  }
5847  if(_response)
5848  {
5849  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5850  }
5851  }
5853 
5854 private:
5855 
5856  Response _response;
5857 };
5858 
5868 template<class T, typename CT> Callback_SSLSessionManager_createPtr
5869 newCallback_SSLSessionManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5870 {
5871  return new Callback_SSLSessionManager_create<T, CT>(instance, cb, excb, sentcb);
5872 }
5873 
5883 template<class T, typename CT> Callback_SSLSessionManager_createPtr
5884 newCallback_SSLSessionManager_create(T* instance, void (T::*cb)(const SessionPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5885 {
5886  return new Callback_SSLSessionManager_create<T, CT>(instance, cb, excb, sentcb);
5887 }
5888 
5889 }
5890 
5891 #endif
5892 
5894 #endif
Glacier2::Session
A client-visible session object, which is tied to the lifecycle of a Router.
Definition: Session.h:163
Glacier2::IdentitySet::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Glacier2::CannotCreateSessionException::CannotCreateSessionException
CannotCreateSessionException(const CannotCreateSessionException &)=default
Glacier2::StringSetPrx::addAsync
auto addAsync(const ::Ice::StringSeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Add a sequence of strings to this set of constraints.
Definition: Session.h:696
GLACIER2_API
#define GLACIER2_API
Definition: PermissionsVerifierF.h:50
Ice::LocalObjectPtr
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
Optional.h
Glacier2::CannotCreateSessionException::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: Session.h:115
Ice::Context
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
Glacier2::StringSet::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Ice::InputStream
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition: InputStream.h:50
Glacier2::SessionControlPrx::identities
::std::shared_ptr< IdentitySetPrx > identities(const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable object identities for this session.
Definition: Session.h:1116
Glacier2::SessionManager::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Glacier2::StringSet::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Glacier2::StringSetPrx::getAsync
::std::function< void()> getAsync(::std::function< void(::Ice::StringSeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Returns a sequence of strings describing the constraints in this set.
Definition: Session.h:809
Glacier2::SessionManagerPrx
The session manager for username/password authenticated users that is responsible for managing Sessio...
Definition: Session.h:1268
Glacier2::CannotCreateSessionException::ice_getSlicedData
virtual ::std::shared_ptr<::Ice::SlicedData > ice_getSlicedData() const override
Obtains the SlicedData object created when an unknown exception type was marshaled in the sliced form...
Ice::emptyCurrent
const Current emptyCurrent
A default-initialized Current instance.
Glacier2::StringSetPrx::removeAsync
auto removeAsync(const ::Ice::StringSeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Remove a sequence of strings from this set of constraints.
Definition: Session.h:745
Glacier2::StringSetPrx::add
void add(const ::Ice::StringSeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext)
Add a sequence of strings to this set of constraints.
Definition: Session.h:683
Glacier2::SessionControlPrx::identitiesAsync
::std::function< void()> identitiesAsync(::std::function< void(::std::shared_ptr<::Glacier2::IdentitySetPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable object identities for this session.
Definition: Session.h:1144
Glacier2::SessionControl::identities
virtual ::std::shared_ptr< IdentitySetPrx > identities(const ::Ice::Current &current)=0
Access the object that manages the allowable object identities for this session.
Glacier2::SessionControlPrx::adapterIdsAsync
auto adapterIdsAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Glacier2::StringSetPrx >>>().get_future())
Access the object that manages the allowable adapter identities for objects for this session.
Definition: Session.h:1082
Glacier2::IdentitySetPrx::removeAsync
::std::function< void()> removeAsync(const ::Ice::IdentitySeq &deletions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Remove a sequence of identities from this set of constraints.
Definition: Session.h:933
StreamHelpers.h
Ice::Object
The base class for servants.
Definition: Object.h:91
Ice::operator==
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:184
Glacier2::SessionPrx::destroyAsync
auto destroyAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Destroy the session.
Definition: Session.h:622
Ice::Exception
IceUtil::Exception Exception
Definition: Exception.h:20
Glacier2::Session::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Glacier2::SessionControl::categories
virtual ::std::shared_ptr< StringSetPrx > categories(const ::Ice::Current &current)=0
Access the object that manages the allowable categories for object identities for this session.
Glacier2::SSLSessionManager
The session manager for SSL authenticated users that is responsible for managing Session objects.
Definition: Session.h:540
GCObject.h
Glacier2::StringSet::remove
virtual void remove(::Ice::StringSeq deletions, const ::Ice::Current &current)=0
Remove a sequence of strings from this set of constraints.
Glacier2::IdentitySetPrx::addAsync
::std::function< void()> addAsync(const ::Ice::IdentitySeq &additions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Add a sequence of Ice identities to this set of constraints.
Definition: Session.h:884
Glacier2::IdentitySet::get
virtual ::Ice::IdentitySeq get(const ::Ice::Current &current)=0
Returns a sequence of identities describing the constraints in this set.
Glacier2::SSLInfo
Information taken from an SSL connection used for permissions verification.
Definition: SSLInfo.h:67
Glacier2::SessionPrx::destroyAsync
::std::function< void()> destroyAsync(::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the session.
Definition: Session.h:637
Glacier2::SessionControl::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Incoming.h
Glacier2::CannotCreateSessionException::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
Glacier2::IdentitySetPrx::getAsync
auto getAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::IdentitySeq >>().get_future())
Returns a sequence of identities describing the constraints in this set.
Definition: Session.h:964
Glacier2::StringSetPrx::getAsync
auto getAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::StringSeq >>().get_future())
Returns a sequence of strings describing the constraints in this set.
Definition: Session.h:793
Glacier2::SSLSessionManager::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Glacier2::IdentitySet::remove
virtual void remove(::Ice::IdentitySeq deletions, const ::Ice::Current &current)=0
Remove a sequence of identities from this set of constraints.
Glacier2::IdentitySetPrx::remove
void remove(const ::Ice::IdentitySeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext)
Remove a sequence of identities from this set of constraints.
Definition: Session.h:903
Ice::UserExceptionHelper
Helper template for the implementation of Ice::UserException.
Definition: ExceptionHelpers.h:39
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
Glacier2::SessionControl::adapterIds
virtual ::std::shared_ptr< StringSetPrx > adapterIds(const ::Ice::Current &current)=0
Access the object that manages the allowable adapter identities for objects for this session.
FactoryTableInit.h
Glacier2::CannotCreateSessionException
This exception is raised if an attempt to create a new session failed.
Definition: Session.h:93
Glacier2::IdentitySet::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Glacier2::SessionControl::destroy
virtual void destroy(const ::Ice::Current &current)=0
Destroy the associated session.
Glacier2::SessionManagerPrx::create
::std::shared_ptr< SessionPrx > create(const ::std::string &userId, const ::std::shared_ptr< SessionControlPrx > &control, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new session.
Definition: Session.h:1280
Glacier2::SessionControlPrx::getSessionTimeout
int getSessionTimeout(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition: Session.h:1161
Glacier2::SSLSessionManager::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Glacier2::SessionPrx
A client-visible session object, which is tied to the lifecycle of a Router.
Definition: Session.h:604
Glacier2::StringSetPrx::addAsync
::std::function< void()> addAsync(const ::Ice::StringSeq &additions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Add a sequence of strings to this set of constraints.
Definition: Session.h:713
Glacier2::SessionControlPrx::getSessionTimeoutAsync
::std::function< void()> getSessionTimeoutAsync(::std::function< void(int)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the session timeout.
Definition: Session.h:1187
Glacier2
Definition: PermissionsVerifier.h:66
Glacier2::IdentitySet::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Glacier2::SessionControlPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
LocalObject.h
Glacier2::Session::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Glacier2::IdentitySetPrx::getAsync
::std::function< void()> getAsync(::std::function< void(::Ice::IdentitySeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Returns a sequence of identities describing the constraints in this set.
Definition: Session.h:980
PushDisableWarnings.h
Glacier2::SessionManagerPrx::createAsync
auto createAsync(const ::std::string &userId, const ::std::shared_ptr< SessionControlPrx > &control, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Glacier2::SessionPrx >>>().get_future())
Create a new session.
Definition: Session.h:1293
Glacier2::SessionManager::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Glacier2::SessionControlPrx
An administrative session control object, which is tied to the lifecycle of a Session.
Definition: Session.h:1015
ProxyF.h
Glacier2::IdentitySetPrx::addAsync
auto addAsync(const ::Ice::IdentitySeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Add a sequence of Ice identities to this set of constraints.
Definition: Session.h:867
Glacier2::IdentitySetPrx::removeAsync
auto removeAsync(const ::Ice::IdentitySeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Remove a sequence of identities from this set of constraints.
Definition: Session.h:916
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
Glacier2::SessionControlPrx::adapterIdsAsync
::std::function< void()> adapterIdsAsync(::std::function< void(::std::shared_ptr<::Glacier2::StringSetPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable adapter identities for objects for this session.
Definition: Session.h:1098
SlicedDataF.h
Glacier2::SSLSessionManagerPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Glacier2::IdentitySetPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Glacier2::CannotCreateSessionException::reason
::std::string reason
The reason why session creation has failed.
Definition: Session.h:129
Glacier2::IdentitySetPrx
An object for managing the set of object identity constraints on a Session.
Definition: Session.h:845
Glacier2::Session::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Object.h
Glacier2::SSLSessionManagerPrx
The session manager for SSL authenticated users that is responsible for managing Session objects.
Definition: Session.h:1350
Ice::IdentitySeq
::std::vector< Identity > IdentitySeq
A sequence of identities.
Definition: Identity.h:95
Proxy.h
Glacier2::SessionControlPrx::categoriesAsync
::std::function< void()> categoriesAsync(::std::function< void(::std::shared_ptr<::Glacier2::StringSetPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable categories for object identities for this session.
Definition: Session.h:1052
Glacier2::SSLSessionManagerPrx::createAsync
::std::function< void()> createAsync(const SSLInfo &info, const ::std::shared_ptr< SessionControlPrx > &control, ::std::function< void(::std::shared_ptr<::Glacier2::SessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new session.
Definition: Session.h:1392
UndefSysMacros.h
Ice::OutputStream
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
Glacier2::StringSet::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Glacier2::SessionControl::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Glacier2::SessionPrx::destroy
void destroy(const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the session.
Definition: Session.h:611
Glacier2::SessionControlPrx::destroyAsync
auto destroyAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Destroy the associated session.
Definition: Session.h:1214
Config.h
Glacier2::SessionControl::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Glacier2::StringSetPrx
An object for managing the set of identity constraints for specific parts of object identity on a Ses...
Definition: Session.h:674
ObjectF.h
Glacier2::CannotCreateSessionException::CannotCreateSessionException
CannotCreateSessionException(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition: Session.h:106
Glacier2::StringSetPrx::remove
void remove(const ::Ice::StringSeq &deletions, const ::Ice::Context &context=::Ice::noExplicitContext)
Remove a sequence of strings from this set of constraints.
Definition: Session.h:732
Glacier2::SessionControlPrx::categories
::std::shared_ptr< StringSetPrx > categories(const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable categories for object identities for this session.
Definition: Session.h:1024
Ice::StringSeq
::std::vector<::std::string > StringSeq
A sequence of strings.
Definition: BuiltinSequences.h:96
Glacier2::CannotCreateSessionException::CannotCreateSessionException
CannotCreateSessionException()=default
Glacier2::SessionControl
An administrative session control object, which is tied to the lifecycle of a Session.
Definition: Session.h:376
Glacier2::SessionPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Ice
Definition: BuiltinSequences.h:56
Glacier2::SessionControlPrx::getSessionTimeoutAsync
auto getSessionTimeoutAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< int >>().get_future())
Get the session timeout.
Definition: Session.h:1172
Identity.h
Glacier2::SSLSessionManager::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Glacier2::IdentitySetPrx::add
void add(const ::Ice::IdentitySeq &additions, const ::Ice::Context &context=::Ice::noExplicitContext)
Add a sequence of Ice identities to this set of constraints.
Definition: Session.h:854
Glacier2::SessionManager::create
virtual ::std::shared_ptr< SessionPrx > create(::std::string userId, ::std::shared_ptr< SessionControlPrx > control, const ::Ice::Current &current)=0
Create a new session.
Glacier2::StringSet
An object for managing the set of identity constraints for specific parts of object identity on a Ses...
Definition: Session.h:219
IceUtil::Handle
Definition: Handle.h:143
Glacier2::SessionControl::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
ExceptionHelpers.h
Glacier2::StringSet::get
virtual ::Ice::StringSeq get(const ::Ice::Current &current)=0
Returns a sequence of strings describing the constraints in this set.
Glacier2::IdentitySet::add
virtual void add(::Ice::IdentitySeq additions, const ::Ice::Current &current)=0
Add a sequence of Ice identities to this set of constraints.
Glacier2::SessionManagerPrx::createAsync
::std::function< void()> createAsync(const ::std::string &userId, const ::std::shared_ptr< SessionControlPrx > &control, ::std::function< void(::std::shared_ptr<::Glacier2::SessionPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new session.
Definition: Session.h:1310
Glacier2::SessionControlPrx::destroy
void destroy(const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the associated session.
Definition: Session.h:1203
Glacier2::SSLSessionManagerPrx::create
::std::shared_ptr< SessionPrx > create(const SSLInfo &info, const ::std::shared_ptr< SessionControlPrx > &control, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new session.
Definition: Session.h:1362
Glacier2::SessionControlPrx::categoriesAsync
auto categoriesAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Glacier2::StringSetPrx >>>().get_future())
Access the object that manages the allowable categories for object identities for this session.
Definition: Session.h:1036
Glacier2::SessionControl::getSessionTimeout
virtual int getSessionTimeout(const ::Ice::Current &current)=0
Get the session timeout.
Glacier2::SessionControlPrx::destroyAsync
::std::function< void()> destroyAsync(::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the associated session.
Definition: Session.h:1229
Ice::uncheckedCast
::std::shared_ptr< P > uncheckedCast(const ::std::shared_ptr< T > &b)
Downcasts a proxy without confirming the target object's type via a remote invocation.
Definition: Proxy.h:1549
Glacier2::SessionManagerPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Glacier2::Session::ice_isA
virtual bool ice_isA(::std::string id, const ::Ice::Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
Glacier2::SSLSessionManager::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Glacier2::SSLSessionManagerPrx::createAsync
auto createAsync(const SSLInfo &info, const ::std::shared_ptr< SessionControlPrx > &control, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Glacier2::SessionPrx >>>().get_future())
Create a new session.
Definition: Session.h:1375
Glacier2::StringSet::add
virtual void add(::Ice::StringSeq additions, const ::Ice::Current &current)=0
Add a sequence of strings to this set of constraints.
Comparable.h
BuiltinSequences.h
ScopedArray.h
Glacier2::IdentitySet::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Glacier2::SessionControlPrx::identitiesAsync
auto identitiesAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Glacier2::IdentitySetPrx >>>().get_future())
Access the object that manages the allowable object identities for this session.
Definition: Session.h:1128
Glacier2::SSLSessionManager::create
virtual ::std::shared_ptr< SessionPrx > create(SSLInfo info, ::std::shared_ptr< SessionControlPrx > control, const ::Ice::Current &current)=0
Create a new session.
Ice::Proxy
Helper template that supplies proxy factory functions.
Definition: Proxy.h:1204
Glacier2::StringSetPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Glacier2::StringSet::ice_id
virtual ::std::string ice_id(const ::Ice::Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Exception.h
ValueF.h
Glacier2::StringSetPrx::removeAsync
::std::function< void()> removeAsync(const ::Ice::StringSeq &deletions, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Remove a sequence of strings from this set of constraints.
Definition: Session.h:762
SSLInfo.h
Glacier2::SessionManager
The session manager for username/password authenticated users that is responsible for managing Sessio...
Definition: Session.h:477
Glacier2::IdentitySetPrx::get
::Ice::IdentitySeq get(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns a sequence of identities describing the constraints in this set.
Definition: Session.h:952
Glacier2::SessionManager::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Glacier2::Session::destroy
virtual void destroy(const ::Ice::Current &current)=0
Destroy the session.
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
Ice::noExplicitContext
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Glacier2::SessionManager::ice_ids
virtual ::std::vector<::std::string > ice_ids(const ::Ice::Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Glacier2::CannotCreateSessionException::~CannotCreateSessionException
virtual ~CannotCreateSessionException()
Value.h
Glacier2::StringSetPrx::get
::Ice::StringSeq get(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns a sequence of strings describing the constraints in this set.
Definition: Session.h:781
Ice::UserException
Base class for all Ice user exceptions.
Definition: Exception.h:68
Glacier2::SessionControlPrx::adapterIds
::std::shared_ptr< StringSetPrx > adapterIds(const ::Ice::Context &context=::Ice::noExplicitContext)
Access the object that manages the allowable adapter identities for objects for this session.
Definition: Session.h:1070
Glacier2::IdentitySet
An object for managing the set of object identity constraints on a Session.
Definition: Session.h:298
PopDisableWarnings.h