Ice 3.7 C++11 API Reference
IceStorm.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 `IceStorm.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __IceStorm_IceStorm_h__
17 #define __IceStorm_IceStorm_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/Identity.h>
37 #include <Ice/SliceChecksumDict.h>
38 #include <IceStorm/Metrics.h>
39 #include <IceUtil/UndefSysMacros.h>
40 #include <IceStorm/Config.h>
41 
42 #ifndef ICE_IGNORE_VERSION
43 # if ICE_INT_VERSION / 100 != 307
44 # error Ice version mismatch!
45 # endif
46 # if ICE_INT_VERSION % 100 >= 50
47 # error Beta header file detected
48 # endif
49 # if ICE_INT_VERSION % 100 < 10
50 # error Ice patch level mismatch!
51 # endif
52 #endif
53 
54 #ifndef ICESTORM_API
55 # if defined(ICE_STATIC_LIBS)
56 # define ICESTORM_API
57 # elif defined(ICESTORM_API_EXPORTS)
58 # define ICESTORM_API ICE_DECLSPEC_EXPORT
59 # else
60 # define ICESTORM_API ICE_DECLSPEC_IMPORT
61 # endif
62 #endif
63 
64 #ifdef ICE_CPP11_MAPPING // C++11 mapping
65 
66 namespace IceStorm
67 {
68 
69 class Topic;
70 class TopicPrx;
71 class TopicManager;
72 class TopicManagerPrx;
73 class Finder;
74 class FinderPrx;
75 
76 }
77 
78 namespace IceStorm
79 {
80 
85 struct LinkInfo
86 {
90  ::std::shared_ptr<::IceStorm::TopicPrx> theTopic;
94  ::std::string name;
98  int cost;
99 
104  std::tuple<const ::std::shared_ptr<::IceStorm::TopicPrx>&, const ::std::string&, const int&> ice_tuple() const
105  {
106  return std::tie(theTopic, name, cost);
107  }
108 };
109 
113 using LinkInfoSeq = ::std::vector<LinkInfo>;
114 
119 using QoS = ::std::map<::std::string, ::std::string>;
120 
126 class ICE_CLASS(ICESTORM_API) LinkExists : public ::Ice::UserExceptionHelper<LinkExists, ::Ice::UserException>
127 {
128 public:
129 
131 
132  LinkExists(const LinkExists&) = default;
133 
134  LinkExists() = default;
135 
140  LinkExists(const ::std::string& name) :
141  name(name)
142  {
143  }
144 
149  std::tuple<const ::std::string&> ice_tuple() const
150  {
151  return std::tie(name);
152  }
153 
158  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
159 
163  ::std::string name;
164 };
165 
167 static LinkExists _iceS_LinkExists_init;
169 
175 class ICE_CLASS(ICESTORM_API) NoSuchLink : public ::Ice::UserExceptionHelper<NoSuchLink, ::Ice::UserException>
176 {
177 public:
178 
180 
181  NoSuchLink(const NoSuchLink&) = default;
182 
183  NoSuchLink() = default;
184 
189  NoSuchLink(const ::std::string& name) :
190  name(name)
191  {
192  }
193 
198  std::tuple<const ::std::string&> ice_tuple() const
199  {
200  return std::tie(name);
201  }
202 
207  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
208 
212  ::std::string name;
213 };
214 
220 class ICE_CLASS(ICESTORM_API) AlreadySubscribed : public ::Ice::UserExceptionHelper<AlreadySubscribed, ::Ice::UserException>
221 {
222 public:
223 
225 
227 
228  AlreadySubscribed() = default;
229 
234  std::tuple<> ice_tuple() const
235  {
236  return std::tie();
237  }
238 
243  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
244 };
245 
251 class ICE_CLASS(ICESTORM_API) InvalidSubscriber : public ::Ice::UserExceptionHelper<InvalidSubscriber, ::Ice::UserException>
252 {
253 public:
254 
256 
258 
259  InvalidSubscriber() = default;
260 
265  InvalidSubscriber(const ::std::string& reason) :
266  reason(reason)
267  {
268  }
269 
274  std::tuple<const ::std::string&> ice_tuple() const
275  {
276  return std::tie(reason);
277  }
278 
283  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
284 
288  ::std::string reason;
289 };
290 
296 class ICE_CLASS(ICESTORM_API) BadQoS : public ::Ice::UserExceptionHelper<BadQoS, ::Ice::UserException>
297 {
298 public:
299 
301 
302  BadQoS(const BadQoS&) = default;
303 
304  BadQoS() = default;
305 
310  BadQoS(const ::std::string& reason) :
311  reason(reason)
312  {
313  }
314 
319  std::tuple<const ::std::string&> ice_tuple() const
320  {
321  return std::tie(reason);
322  }
323 
328  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
329 
333  ::std::string reason;
334 };
335 
339 using TopicDict = ::std::map<::std::string, ::std::shared_ptr<TopicPrx>>;
340 
346 class ICE_CLASS(ICESTORM_API) TopicExists : public ::Ice::UserExceptionHelper<TopicExists, ::Ice::UserException>
347 {
348 public:
349 
351 
352  TopicExists(const TopicExists&) = default;
353 
354  TopicExists() = default;
355 
360  TopicExists(const ::std::string& name) :
361  name(name)
362  {
363  }
364 
369  std::tuple<const ::std::string&> ice_tuple() const
370  {
371  return std::tie(name);
372  }
373 
378  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
379 
383  ::std::string name;
384 };
385 
391 class ICE_CLASS(ICESTORM_API) NoSuchTopic : public ::Ice::UserExceptionHelper<NoSuchTopic, ::Ice::UserException>
392 {
393 public:
394 
396 
397  NoSuchTopic(const NoSuchTopic&) = default;
398 
399  NoSuchTopic() = default;
400 
405  NoSuchTopic(const ::std::string& name) :
406  name(name)
407  {
408  }
409 
414  std::tuple<const ::std::string&> ice_tuple() const
415  {
416  return std::tie(name);
417  }
418 
423  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
424 
428  ::std::string name;
429 };
430 
431 using Ice::operator<;
432 using Ice::operator<=;
433 using Ice::operator>;
434 using Ice::operator>=;
435 using Ice::operator==;
436 using Ice::operator!=;
437 
438 }
439 
440 namespace IceStorm
441 {
442 
449 class ICESTORM_API Topic : public virtual ::Ice::Object
450 {
451 public:
452 
454 
461  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
462 
468  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
469 
475  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
476 
481  static const ::std::string& ice_staticId();
482 
489  virtual ::std::string getName(const ::Ice::Current& current) const = 0;
491  bool _iceD_getName(::IceInternal::Incoming&, const ::Ice::Current&) const;
493 
503  virtual ::std::shared_ptr<::Ice::ObjectPrx> getPublisher(const ::Ice::Current& current) const = 0;
505  bool _iceD_getPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const;
507 
516  virtual ::std::shared_ptr<::Ice::ObjectPrx> getNonReplicatedPublisher(const ::Ice::Current& current) const = 0;
518  bool _iceD_getNonReplicatedPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const;
520 
536  virtual ::std::shared_ptr<::Ice::ObjectPrx> subscribeAndGetPublisher(QoS theQoS, ::std::shared_ptr<::Ice::ObjectPrx> subscriber, const ::Ice::Current& current) = 0;
538  bool _iceD_subscribeAndGetPublisher(::IceInternal::Incoming&, const ::Ice::Current&);
540 
547  virtual void unsubscribe(::std::shared_ptr<::Ice::ObjectPrx> subscriber, const ::Ice::Current& current) = 0;
549  bool _iceD_unsubscribe(::IceInternal::Incoming&, const ::Ice::Current&);
551 
561  virtual void link(::std::shared_ptr<TopicPrx> linkTo, int cost, const ::Ice::Current& current) = 0;
563  bool _iceD_link(::IceInternal::Incoming&, const ::Ice::Current&);
565 
572  virtual void unlink(::std::shared_ptr<TopicPrx> linkTo, const ::Ice::Current& current) = 0;
574  bool _iceD_unlink(::IceInternal::Incoming&, const ::Ice::Current&);
576 
582  virtual LinkInfoSeq getLinkInfoSeq(const ::Ice::Current& current) const = 0;
584  bool _iceD_getLinkInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
586 
592  virtual ::Ice::IdentitySeq getSubscribers(const ::Ice::Current& current) const = 0;
594  bool _iceD_getSubscribers(::IceInternal::Incoming&, const ::Ice::Current&) const;
596 
601  virtual void destroy(const ::Ice::Current& current) = 0;
603  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
605 
607  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
609 };
610 
617 {
618 public:
619 
621 
628  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
629 
635  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
636 
642  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
643 
648  static const ::std::string& ice_staticId();
649 
658  virtual ::std::shared_ptr<TopicPrx> create(::std::string name, const ::Ice::Current& current) = 0;
660  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
662 
670  virtual ::std::shared_ptr<TopicPrx> retrieve(::std::string name, const ::Ice::Current& current) const = 0;
672  bool _iceD_retrieve(::IceInternal::Incoming&, const ::Ice::Current&) const;
674 
680  virtual TopicDict retrieveAll(const ::Ice::Current& current) const = 0;
682  bool _iceD_retrieveAll(::IceInternal::Incoming&, const ::Ice::Current&) const;
684 
690  virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current) const = 0;
692  bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
694 
696  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
698 };
699 
707 class ICESTORM_API Finder : public virtual ::Ice::Object
708 {
709 public:
710 
712 
719  virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
720 
726  virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
727 
733  virtual ::std::string ice_id(const ::Ice::Current& current) const override;
734 
739  static const ::std::string& ice_staticId();
740 
747  virtual ::std::shared_ptr<TopicManagerPrx> getTopicManager(const ::Ice::Current& current) = 0;
749  bool _iceD_getTopicManager(::IceInternal::Incoming&, const ::Ice::Current&);
751 
753  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
755 };
756 
757 }
758 
759 namespace IceStorm
760 {
761 
768 class ICE_CLASS(ICESTORM_API) TopicPrx : public virtual ::Ice::Proxy<TopicPrx, ::Ice::ObjectPrx>
769 {
770 public:
771 
779  {
780  return _makePromiseOutgoing<::std::string>(true, this, &TopicPrx::_iceI_getName, context).get();
781  }
782 
789  template<template<typename> class P = ::std::promise>
791  -> decltype(::std::declval<P<::std::string>>().get_future())
792  {
793  return _makePromiseOutgoing<::std::string, P>(false, this, &TopicPrx::_iceI_getName, context);
794  }
795 
805  ::std::function<void()>
806  getNameAsync(::std::function<void(::std::string)> response,
807  ::std::function<void(::std::exception_ptr)> ex = nullptr,
808  ::std::function<void(bool)> sent = nullptr,
810  {
811  return _makeLamdaOutgoing<::std::string>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_getName, context);
812  }
813 
815  ICE_MEMBER(ICESTORM_API) void _iceI_getName(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, const ::Ice::Context&);
817 
827  ::std::shared_ptr<::Ice::ObjectPrx> getPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
828  {
829  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &TopicPrx::_iceI_getPublisher, context).get();
830  }
831 
841  template<template<typename> class P = ::std::promise>
843  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
844  {
845  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &TopicPrx::_iceI_getPublisher, context);
846  }
847 
860  ::std::function<void()>
861  getPublisherAsync(::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
862  ::std::function<void(::std::exception_ptr)> ex = nullptr,
863  ::std::function<void(bool)> sent = nullptr,
865  {
866  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_getPublisher, context);
867  }
868 
870  ICE_MEMBER(ICESTORM_API) void _iceI_getPublisher(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::Ice::Context&);
872 
881  ::std::shared_ptr<::Ice::ObjectPrx> getNonReplicatedPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
882  {
883  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &TopicPrx::_iceI_getNonReplicatedPublisher, context).get();
884  }
885 
894  template<template<typename> class P = ::std::promise>
896  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
897  {
898  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &TopicPrx::_iceI_getNonReplicatedPublisher, context);
899  }
900 
912  ::std::function<void()>
913  getNonReplicatedPublisherAsync(::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
914  ::std::function<void(::std::exception_ptr)> ex = nullptr,
915  ::std::function<void(bool)> sent = nullptr,
917  {
918  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_getNonReplicatedPublisher, context);
919  }
920 
922  ICE_MEMBER(ICESTORM_API) void _iceI_getNonReplicatedPublisher(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::Ice::Context&);
924 
940  ::std::shared_ptr<::Ice::ObjectPrx> subscribeAndGetPublisher(const QoS& theQoS, const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
941  {
942  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &TopicPrx::_iceI_subscribeAndGetPublisher, theQoS, subscriber, context).get();
943  }
944 
955  template<template<typename> class P = ::std::promise>
956  auto subscribeAndGetPublisherAsync(const QoS& theQoS, const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
957  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
958  {
959  return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &TopicPrx::_iceI_subscribeAndGetPublisher, theQoS, subscriber, context);
960  }
961 
975  ::std::function<void()>
976  subscribeAndGetPublisherAsync(const QoS& theQoS, const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber,
977  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
978  ::std::function<void(::std::exception_ptr)> ex = nullptr,
979  ::std::function<void(bool)> sent = nullptr,
981  {
982  return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_subscribeAndGetPublisher, theQoS, subscriber, context);
983  }
984 
986  ICE_MEMBER(ICESTORM_API) void _iceI_subscribeAndGetPublisher(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const QoS&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
988 
995  void unsubscribe(const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
996  {
997  _makePromiseOutgoing<void>(true, this, &TopicPrx::_iceI_unsubscribe, subscriber, context).get();
998  }
999 
1007  template<template<typename> class P = ::std::promise>
1008  auto unsubscribeAsync(const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
1009  -> decltype(::std::declval<P<void>>().get_future())
1010  {
1011  return _makePromiseOutgoing<void, P>(false, this, &TopicPrx::_iceI_unsubscribe, subscriber, context);
1012  }
1013 
1024  ::std::function<void()>
1025  unsubscribeAsync(const ::std::shared_ptr<::Ice::ObjectPrx>& subscriber,
1026  ::std::function<void()> response,
1027  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1028  ::std::function<void(bool)> sent = nullptr,
1030  {
1031  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_unsubscribe, subscriber, context);
1032  }
1033 
1035  ICE_MEMBER(ICESTORM_API) void _iceI_unsubscribe(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
1037 
1047  void link(const ::std::shared_ptr<TopicPrx>& linkTo, int cost, const ::Ice::Context& context = ::Ice::noExplicitContext)
1048  {
1049  _makePromiseOutgoing<void>(true, this, &TopicPrx::_iceI_link, linkTo, cost, context).get();
1050  }
1051 
1060  template<template<typename> class P = ::std::promise>
1061  auto linkAsync(const ::std::shared_ptr<TopicPrx>& linkTo, int cost, const ::Ice::Context& context = ::Ice::noExplicitContext)
1062  -> decltype(::std::declval<P<void>>().get_future())
1063  {
1064  return _makePromiseOutgoing<void, P>(false, this, &TopicPrx::_iceI_link, linkTo, cost, context);
1065  }
1066 
1078  ::std::function<void()>
1079  linkAsync(const ::std::shared_ptr<TopicPrx>& linkTo, int cost,
1080  ::std::function<void()> response,
1081  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1082  ::std::function<void(bool)> sent = nullptr,
1084  {
1085  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_link, linkTo, cost, context);
1086  }
1087 
1089  ICE_MEMBER(ICESTORM_API) void _iceI_link(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<TopicPrx>&, int, const ::Ice::Context&);
1091 
1098  void unlink(const ::std::shared_ptr<TopicPrx>& linkTo, const ::Ice::Context& context = ::Ice::noExplicitContext)
1099  {
1100  _makePromiseOutgoing<void>(true, this, &TopicPrx::_iceI_unlink, linkTo, context).get();
1101  }
1102 
1109  template<template<typename> class P = ::std::promise>
1110  auto unlinkAsync(const ::std::shared_ptr<TopicPrx>& linkTo, const ::Ice::Context& context = ::Ice::noExplicitContext)
1111  -> decltype(::std::declval<P<void>>().get_future())
1112  {
1113  return _makePromiseOutgoing<void, P>(false, this, &TopicPrx::_iceI_unlink, linkTo, context);
1114  }
1115 
1125  ::std::function<void()>
1126  unlinkAsync(const ::std::shared_ptr<TopicPrx>& linkTo,
1127  ::std::function<void()> response,
1128  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1129  ::std::function<void(bool)> sent = nullptr,
1131  {
1132  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_unlink, linkTo, context);
1133  }
1134 
1136  ICE_MEMBER(ICESTORM_API) void _iceI_unlink(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<TopicPrx>&, const ::Ice::Context&);
1138 
1145  {
1146  return _makePromiseOutgoing<::IceStorm::LinkInfoSeq>(true, this, &TopicPrx::_iceI_getLinkInfoSeq, context).get();
1147  }
1148 
1154  template<template<typename> class P = ::std::promise>
1156  -> decltype(::std::declval<P<::IceStorm::LinkInfoSeq>>().get_future())
1157  {
1158  return _makePromiseOutgoing<::IceStorm::LinkInfoSeq, P>(false, this, &TopicPrx::_iceI_getLinkInfoSeq, context);
1159  }
1160 
1169  ::std::function<void()>
1170  getLinkInfoSeqAsync(::std::function<void(::IceStorm::LinkInfoSeq)> response,
1171  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1172  ::std::function<void(bool)> sent = nullptr,
1174  {
1175  return _makeLamdaOutgoing<::IceStorm::LinkInfoSeq>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_getLinkInfoSeq, context);
1176  }
1177 
1179  ICE_MEMBER(ICESTORM_API) void _iceI_getLinkInfoSeq(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceStorm::LinkInfoSeq>>&, const ::Ice::Context&);
1181 
1188  {
1189  return _makePromiseOutgoing<::Ice::IdentitySeq>(true, this, &TopicPrx::_iceI_getSubscribers, context).get();
1190  }
1191 
1197  template<template<typename> class P = ::std::promise>
1199  -> decltype(::std::declval<P<::Ice::IdentitySeq>>().get_future())
1200  {
1201  return _makePromiseOutgoing<::Ice::IdentitySeq, P>(false, this, &TopicPrx::_iceI_getSubscribers, context);
1202  }
1203 
1212  ::std::function<void()>
1213  getSubscribersAsync(::std::function<void(::Ice::IdentitySeq)> response,
1214  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1215  ::std::function<void(bool)> sent = nullptr,
1217  {
1218  return _makeLamdaOutgoing<::Ice::IdentitySeq>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_getSubscribers, context);
1219  }
1220 
1222  ICE_MEMBER(ICESTORM_API) void _iceI_getSubscribers(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::IdentitySeq>>&, const ::Ice::Context&);
1224 
1230  {
1231  _makePromiseOutgoing<void>(true, this, &TopicPrx::_iceI_destroy, context).get();
1232  }
1233 
1239  template<template<typename> class P = ::std::promise>
1241  -> decltype(::std::declval<P<void>>().get_future())
1242  {
1243  return _makePromiseOutgoing<void, P>(false, this, &TopicPrx::_iceI_destroy, context);
1244  }
1245 
1254  ::std::function<void()>
1255  destroyAsync(::std::function<void()> response,
1256  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1257  ::std::function<void(bool)> sent = nullptr,
1259  {
1260  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicPrx::_iceI_destroy, context);
1261  }
1262 
1264  ICE_MEMBER(ICESTORM_API) void _iceI_destroy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
1266 
1271  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
1272 
1273 protected:
1274 
1276  TopicPrx() = default;
1277  friend ::std::shared_ptr<TopicPrx> IceInternal::createProxy<TopicPrx>();
1278 
1279  ICE_MEMBER(ICESTORM_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1281 };
1282 
1288 class ICE_CLASS(ICESTORM_API) TopicManagerPrx : public virtual ::Ice::Proxy<TopicManagerPrx, ::Ice::ObjectPrx>
1289 {
1290 public:
1291 
1300  ::std::shared_ptr<TopicPrx> create(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1301  {
1302  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>>(true, this, &TopicManagerPrx::_iceI_create, name, context).get();
1303  }
1304 
1311  template<template<typename> class P = ::std::promise>
1312  auto createAsync(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1313  -> decltype(::std::declval<P<::std::shared_ptr<::IceStorm::TopicPrx>>>().get_future())
1314  {
1315  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>, P>(false, this, &TopicManagerPrx::_iceI_create, name, context);
1316  }
1317 
1327  ::std::function<void()>
1328  createAsync(const ::std::string& name,
1329  ::std::function<void(::std::shared_ptr<::IceStorm::TopicPrx>)> response,
1330  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1331  ::std::function<void(bool)> sent = nullptr,
1333  {
1334  return _makeLamdaOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicManagerPrx::_iceI_create, name, context);
1335  }
1336 
1338  ICE_MEMBER(ICESTORM_API) void _iceI_create(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceStorm::TopicPrx>>>&, const ::std::string&, const ::Ice::Context&);
1340 
1348  ::std::shared_ptr<TopicPrx> retrieve(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1349  {
1350  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>>(true, this, &TopicManagerPrx::_iceI_retrieve, name, context).get();
1351  }
1352 
1359  template<template<typename> class P = ::std::promise>
1360  auto retrieveAsync(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1361  -> decltype(::std::declval<P<::std::shared_ptr<::IceStorm::TopicPrx>>>().get_future())
1362  {
1363  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>, P>(false, this, &TopicManagerPrx::_iceI_retrieve, name, context);
1364  }
1365 
1375  ::std::function<void()>
1376  retrieveAsync(const ::std::string& name,
1377  ::std::function<void(::std::shared_ptr<::IceStorm::TopicPrx>)> response,
1378  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1379  ::std::function<void(bool)> sent = nullptr,
1381  {
1382  return _makeLamdaOutgoing<::std::shared_ptr<::IceStorm::TopicPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicManagerPrx::_iceI_retrieve, name, context);
1383  }
1384 
1386  ICE_MEMBER(ICESTORM_API) void _iceI_retrieve(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceStorm::TopicPrx>>>&, const ::std::string&, const ::Ice::Context&);
1388 
1395  {
1396  return _makePromiseOutgoing<::IceStorm::TopicDict>(true, this, &TopicManagerPrx::_iceI_retrieveAll, context).get();
1397  }
1398 
1404  template<template<typename> class P = ::std::promise>
1406  -> decltype(::std::declval<P<::IceStorm::TopicDict>>().get_future())
1407  {
1408  return _makePromiseOutgoing<::IceStorm::TopicDict, P>(false, this, &TopicManagerPrx::_iceI_retrieveAll, context);
1409  }
1410 
1419  ::std::function<void()>
1420  retrieveAllAsync(::std::function<void(::IceStorm::TopicDict)> response,
1421  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1422  ::std::function<void(bool)> sent = nullptr,
1424  {
1425  return _makeLamdaOutgoing<::IceStorm::TopicDict>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicManagerPrx::_iceI_retrieveAll, context);
1426  }
1427 
1429  ICE_MEMBER(ICESTORM_API) void _iceI_retrieveAll(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceStorm::TopicDict>>&, const ::Ice::Context&);
1431 
1438  {
1439  return _makePromiseOutgoing<::Ice::SliceChecksumDict>(true, this, &TopicManagerPrx::_iceI_getSliceChecksums, context).get();
1440  }
1441 
1447  template<template<typename> class P = ::std::promise>
1449  -> decltype(::std::declval<P<::Ice::SliceChecksumDict>>().get_future())
1450  {
1451  return _makePromiseOutgoing<::Ice::SliceChecksumDict, P>(false, this, &TopicManagerPrx::_iceI_getSliceChecksums, context);
1452  }
1453 
1462  ::std::function<void()>
1463  getSliceChecksumsAsync(::std::function<void(::Ice::SliceChecksumDict)> response,
1464  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1465  ::std::function<void(bool)> sent = nullptr,
1467  {
1468  return _makeLamdaOutgoing<::Ice::SliceChecksumDict>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::TopicManagerPrx::_iceI_getSliceChecksums, context);
1469  }
1470 
1472  ICE_MEMBER(ICESTORM_API) void _iceI_getSliceChecksums(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::SliceChecksumDict>>&, const ::Ice::Context&);
1474 
1479  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
1480 
1481 protected:
1482 
1484  TopicManagerPrx() = default;
1485  friend ::std::shared_ptr<TopicManagerPrx> IceInternal::createProxy<TopicManagerPrx>();
1486 
1487  ICE_MEMBER(ICESTORM_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1489 };
1490 
1498 class ICE_CLASS(ICESTORM_API) FinderPrx : public virtual ::Ice::Proxy<FinderPrx, ::Ice::ObjectPrx>
1499 {
1500 public:
1501 
1508  ::std::shared_ptr<TopicManagerPrx> getTopicManager(const ::Ice::Context& context = ::Ice::noExplicitContext)
1509  {
1510  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicManagerPrx>>(true, this, &FinderPrx::_iceI_getTopicManager, context).get();
1511  }
1512 
1519  template<template<typename> class P = ::std::promise>
1521  -> decltype(::std::declval<P<::std::shared_ptr<::IceStorm::TopicManagerPrx>>>().get_future())
1522  {
1523  return _makePromiseOutgoing<::std::shared_ptr<::IceStorm::TopicManagerPrx>, P>(false, this, &FinderPrx::_iceI_getTopicManager, context);
1524  }
1525 
1535  ::std::function<void()>
1536  getTopicManagerAsync(::std::function<void(::std::shared_ptr<::IceStorm::TopicManagerPrx>)> response,
1537  ::std::function<void(::std::exception_ptr)> ex = nullptr,
1538  ::std::function<void(bool)> sent = nullptr,
1540  {
1541  return _makeLamdaOutgoing<::std::shared_ptr<::IceStorm::TopicManagerPrx>>(std::move(response), std::move(ex), std::move(sent), this, &IceStorm::FinderPrx::_iceI_getTopicManager, context);
1542  }
1543 
1545  ICE_MEMBER(ICESTORM_API) void _iceI_getTopicManager(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::IceStorm::TopicManagerPrx>>>&, const ::Ice::Context&);
1547 
1552  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
1553 
1554 protected:
1555 
1557  FinderPrx() = default;
1558  friend ::std::shared_ptr<FinderPrx> IceInternal::createProxy<FinderPrx>();
1559 
1560  ICE_MEMBER(ICESTORM_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1562 };
1563 
1564 }
1565 
1567 namespace Ice
1568 {
1569 
1570 template<>
1571 struct StreamableTraits<::IceStorm::LinkInfo>
1572 {
1573  static const StreamHelperCategory helper = StreamHelperCategoryStruct;
1574  static const int minWireSize = 7;
1575  static const bool fixedLength = false;
1576 };
1577 
1578 template<typename S>
1579 struct StreamReader<::IceStorm::LinkInfo, S>
1580 {
1581  static void read(S* istr, ::IceStorm::LinkInfo& v)
1582  {
1583  istr->readAll(v.theTopic, v.name, v.cost);
1584  }
1585 };
1586 
1587 template<typename S>
1588 struct StreamReader<::IceStorm::LinkExists, S>
1589 {
1590  static void read(S* istr, ::IceStorm::LinkExists& v)
1591  {
1592  istr->readAll(v.name);
1593  }
1594 };
1595 
1596 template<typename S>
1597 struct StreamReader<::IceStorm::NoSuchLink, S>
1598 {
1599  static void read(S* istr, ::IceStorm::NoSuchLink& v)
1600  {
1601  istr->readAll(v.name);
1602  }
1603 };
1604 
1605 template<typename S>
1606 struct StreamReader<::IceStorm::InvalidSubscriber, S>
1607 {
1608  static void read(S* istr, ::IceStorm::InvalidSubscriber& v)
1609  {
1610  istr->readAll(v.reason);
1611  }
1612 };
1613 
1614 template<typename S>
1615 struct StreamReader<::IceStorm::BadQoS, S>
1616 {
1617  static void read(S* istr, ::IceStorm::BadQoS& v)
1618  {
1619  istr->readAll(v.reason);
1620  }
1621 };
1622 
1623 template<typename S>
1624 struct StreamReader<::IceStorm::TopicExists, S>
1625 {
1626  static void read(S* istr, ::IceStorm::TopicExists& v)
1627  {
1628  istr->readAll(v.name);
1629  }
1630 };
1631 
1632 template<typename S>
1633 struct StreamReader<::IceStorm::NoSuchTopic, S>
1634 {
1635  static void read(S* istr, ::IceStorm::NoSuchTopic& v)
1636  {
1637  istr->readAll(v.name);
1638  }
1639 };
1640 
1641 }
1643 
1645 namespace IceStorm
1646 {
1647 
1648 using TopicPtr = ::std::shared_ptr<Topic>;
1649 using TopicPrxPtr = ::std::shared_ptr<TopicPrx>;
1650 
1651 using TopicManagerPtr = ::std::shared_ptr<TopicManager>;
1652 using TopicManagerPrxPtr = ::std::shared_ptr<TopicManagerPrx>;
1653 
1654 using FinderPtr = ::std::shared_ptr<Finder>;
1655 using FinderPrxPtr = ::std::shared_ptr<FinderPrx>;
1656 
1657 }
1659 
1660 #else // C++98 mapping
1661 
1662 namespace IceProxy
1663 {
1664 
1665 namespace IceStorm
1666 {
1667 
1668 class Topic;
1670 ICESTORM_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Topic>&);
1671 ICESTORM_API ::IceProxy::Ice::Object* upCast(Topic*);
1673 
1674 class TopicManager;
1676 ICESTORM_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< TopicManager>&);
1677 ICESTORM_API ::IceProxy::Ice::Object* upCast(TopicManager*);
1679 
1680 class Finder;
1682 ICESTORM_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Finder>&);
1683 ICESTORM_API ::IceProxy::Ice::Object* upCast(Finder*);
1685 
1686 }
1687 
1688 }
1689 
1690 namespace IceStorm
1691 {
1692 
1693 class Topic;
1695 ICESTORM_API ::Ice::Object* upCast(Topic*);
1697 typedef ::IceInternal::Handle< Topic> TopicPtr;
1698 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceStorm::Topic> TopicPrx;
1699 typedef TopicPrx TopicPrxPtr;
1701 ICESTORM_API void _icePatchObjectPtr(TopicPtr&, const ::Ice::ObjectPtr&);
1703 
1704 class TopicManager;
1706 ICESTORM_API ::Ice::Object* upCast(TopicManager*);
1708 typedef ::IceInternal::Handle< TopicManager> TopicManagerPtr;
1709 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceStorm::TopicManager> TopicManagerPrx;
1710 typedef TopicManagerPrx TopicManagerPrxPtr;
1712 ICESTORM_API void _icePatchObjectPtr(TopicManagerPtr&, const ::Ice::ObjectPtr&);
1714 
1715 class Finder;
1717 ICESTORM_API ::Ice::Object* upCast(Finder*);
1719 typedef ::IceInternal::Handle< Finder> FinderPtr;
1720 typedef ::IceInternal::ProxyHandle< ::IceProxy::IceStorm::Finder> FinderPrx;
1721 typedef FinderPrx FinderPrxPtr;
1723 ICESTORM_API void _icePatchObjectPtr(FinderPtr&, const ::Ice::ObjectPtr&);
1725 
1726 }
1727 
1728 namespace IceStorm
1729 {
1730 
1735 struct LinkInfo
1736 {
1740  ::IceStorm::TopicPrx theTopic;
1744  ::std::string name;
1748  ::Ice::Int cost;
1749 };
1750 
1754 typedef ::std::vector<LinkInfo> LinkInfoSeq;
1755 
1760 typedef ::std::map< ::std::string, ::std::string> QoS;
1761 
1767 class ICESTORM_API LinkExists : public ::Ice::UserException
1768 {
1769 public:
1770 
1771  LinkExists() {}
1776  explicit LinkExists(const ::std::string& name);
1777 
1778 #ifdef ICE_CPP11_COMPILER
1779  LinkExists(const LinkExists&) = default;
1780  virtual ~LinkExists();
1781 #else
1782  virtual ~LinkExists() throw();
1783 #endif
1784 
1789  virtual ::std::string ice_id() const;
1794  virtual LinkExists* ice_clone() const;
1798  virtual void ice_throw() const;
1799 
1803  ::std::string name;
1804 
1805 protected:
1806 
1808  virtual void _writeImpl(::Ice::OutputStream*) const;
1809  virtual void _readImpl(::Ice::InputStream*);
1811 };
1812 
1814 static LinkExists _iceS_LinkExists_init;
1816 
1822 class ICESTORM_API NoSuchLink : public ::Ice::UserException
1823 {
1824 public:
1825 
1826  NoSuchLink() {}
1831  explicit NoSuchLink(const ::std::string& name);
1832 
1833 #ifdef ICE_CPP11_COMPILER
1834  NoSuchLink(const NoSuchLink&) = default;
1835  virtual ~NoSuchLink();
1836 #else
1837  virtual ~NoSuchLink() throw();
1838 #endif
1839 
1844  virtual ::std::string ice_id() const;
1849  virtual NoSuchLink* ice_clone() const;
1853  virtual void ice_throw() const;
1854 
1858  ::std::string name;
1859 
1860 protected:
1861 
1863  virtual void _writeImpl(::Ice::OutputStream*) const;
1864  virtual void _readImpl(::Ice::InputStream*);
1866 };
1867 
1873 class ICESTORM_API AlreadySubscribed : public ::Ice::UserException
1874 {
1875 public:
1876 
1877  AlreadySubscribed() {}
1878 
1879 #ifdef ICE_CPP11_COMPILER
1880  AlreadySubscribed(const AlreadySubscribed&) = default;
1881  virtual ~AlreadySubscribed();
1882 #else
1883  virtual ~AlreadySubscribed() throw();
1884 #endif
1885 
1890  virtual ::std::string ice_id() const;
1895  virtual AlreadySubscribed* ice_clone() const;
1899  virtual void ice_throw() const;
1900 
1901 protected:
1902 
1904  virtual void _writeImpl(::Ice::OutputStream*) const;
1905  virtual void _readImpl(::Ice::InputStream*);
1907 };
1908 
1914 class ICESTORM_API InvalidSubscriber : public ::Ice::UserException
1915 {
1916 public:
1917 
1918  InvalidSubscriber() {}
1923  explicit InvalidSubscriber(const ::std::string& reason);
1924 
1925 #ifdef ICE_CPP11_COMPILER
1926  InvalidSubscriber(const InvalidSubscriber&) = default;
1927  virtual ~InvalidSubscriber();
1928 #else
1929  virtual ~InvalidSubscriber() throw();
1930 #endif
1931 
1936  virtual ::std::string ice_id() const;
1941  virtual InvalidSubscriber* ice_clone() const;
1945  virtual void ice_throw() const;
1946 
1950  ::std::string reason;
1951 
1952 protected:
1953 
1955  virtual void _writeImpl(::Ice::OutputStream*) const;
1956  virtual void _readImpl(::Ice::InputStream*);
1958 };
1959 
1965 class ICESTORM_API BadQoS : public ::Ice::UserException
1966 {
1967 public:
1968 
1969  BadQoS() {}
1974  explicit BadQoS(const ::std::string& reason);
1975 
1976 #ifdef ICE_CPP11_COMPILER
1977  BadQoS(const BadQoS&) = default;
1978  virtual ~BadQoS();
1979 #else
1980  virtual ~BadQoS() throw();
1981 #endif
1982 
1987  virtual ::std::string ice_id() const;
1992  virtual BadQoS* ice_clone() const;
1996  virtual void ice_throw() const;
1997 
2001  ::std::string reason;
2002 
2003 protected:
2004 
2006  virtual void _writeImpl(::Ice::OutputStream*) const;
2007  virtual void _readImpl(::Ice::InputStream*);
2009 };
2010 
2014 typedef ::std::map< ::std::string, TopicPrx> TopicDict;
2015 
2021 class ICESTORM_API TopicExists : public ::Ice::UserException
2022 {
2023 public:
2024 
2025  TopicExists() {}
2030  explicit TopicExists(const ::std::string& name);
2031 
2032 #ifdef ICE_CPP11_COMPILER
2033  TopicExists(const TopicExists&) = default;
2034  virtual ~TopicExists();
2035 #else
2036  virtual ~TopicExists() throw();
2037 #endif
2038 
2043  virtual ::std::string ice_id() const;
2048  virtual TopicExists* ice_clone() const;
2052  virtual void ice_throw() const;
2053 
2057  ::std::string name;
2058 
2059 protected:
2060 
2062  virtual void _writeImpl(::Ice::OutputStream*) const;
2063  virtual void _readImpl(::Ice::InputStream*);
2065 };
2066 
2072 class ICESTORM_API NoSuchTopic : public ::Ice::UserException
2073 {
2074 public:
2075 
2076  NoSuchTopic() {}
2081  explicit NoSuchTopic(const ::std::string& name);
2082 
2083 #ifdef ICE_CPP11_COMPILER
2084  NoSuchTopic(const NoSuchTopic&) = default;
2085  virtual ~NoSuchTopic();
2086 #else
2087  virtual ~NoSuchTopic() throw();
2088 #endif
2089 
2094  virtual ::std::string ice_id() const;
2099  virtual NoSuchTopic* ice_clone() const;
2103  virtual void ice_throw() const;
2104 
2108  ::std::string name;
2109 
2110 protected:
2111 
2113  virtual void _writeImpl(::Ice::OutputStream*) const;
2114  virtual void _readImpl(::Ice::InputStream*);
2116 };
2117 
2118 }
2119 
2120 namespace IceStorm
2121 {
2122 
2128 class Callback_Topic_getName_Base : public virtual ::IceInternal::CallbackBase { };
2129 typedef ::IceUtil::Handle< Callback_Topic_getName_Base> Callback_Topic_getNamePtr;
2130 
2136 class Callback_Topic_getPublisher_Base : public virtual ::IceInternal::CallbackBase { };
2137 typedef ::IceUtil::Handle< Callback_Topic_getPublisher_Base> Callback_Topic_getPublisherPtr;
2138 
2144 class Callback_Topic_getNonReplicatedPublisher_Base : public virtual ::IceInternal::CallbackBase { };
2145 typedef ::IceUtil::Handle< Callback_Topic_getNonReplicatedPublisher_Base> Callback_Topic_getNonReplicatedPublisherPtr;
2146 
2152 class Callback_Topic_subscribeAndGetPublisher_Base : public virtual ::IceInternal::CallbackBase { };
2153 typedef ::IceUtil::Handle< Callback_Topic_subscribeAndGetPublisher_Base> Callback_Topic_subscribeAndGetPublisherPtr;
2154 
2160 class Callback_Topic_unsubscribe_Base : public virtual ::IceInternal::CallbackBase { };
2161 typedef ::IceUtil::Handle< Callback_Topic_unsubscribe_Base> Callback_Topic_unsubscribePtr;
2162 
2168 class Callback_Topic_link_Base : public virtual ::IceInternal::CallbackBase { };
2169 typedef ::IceUtil::Handle< Callback_Topic_link_Base> Callback_Topic_linkPtr;
2170 
2176 class Callback_Topic_unlink_Base : public virtual ::IceInternal::CallbackBase { };
2177 typedef ::IceUtil::Handle< Callback_Topic_unlink_Base> Callback_Topic_unlinkPtr;
2178 
2184 class Callback_Topic_getLinkInfoSeq_Base : public virtual ::IceInternal::CallbackBase { };
2185 typedef ::IceUtil::Handle< Callback_Topic_getLinkInfoSeq_Base> Callback_Topic_getLinkInfoSeqPtr;
2186 
2192 class Callback_Topic_getSubscribers_Base : public virtual ::IceInternal::CallbackBase { };
2193 typedef ::IceUtil::Handle< Callback_Topic_getSubscribers_Base> Callback_Topic_getSubscribersPtr;
2194 
2200 class Callback_Topic_destroy_Base : public virtual ::IceInternal::CallbackBase { };
2201 typedef ::IceUtil::Handle< Callback_Topic_destroy_Base> Callback_Topic_destroyPtr;
2202 
2208 class Callback_TopicManager_create_Base : public virtual ::IceInternal::CallbackBase { };
2209 typedef ::IceUtil::Handle< Callback_TopicManager_create_Base> Callback_TopicManager_createPtr;
2210 
2216 class Callback_TopicManager_retrieve_Base : public virtual ::IceInternal::CallbackBase { };
2217 typedef ::IceUtil::Handle< Callback_TopicManager_retrieve_Base> Callback_TopicManager_retrievePtr;
2218 
2224 class Callback_TopicManager_retrieveAll_Base : public virtual ::IceInternal::CallbackBase { };
2225 typedef ::IceUtil::Handle< Callback_TopicManager_retrieveAll_Base> Callback_TopicManager_retrieveAllPtr;
2226 
2232 class Callback_TopicManager_getSliceChecksums_Base : public virtual ::IceInternal::CallbackBase { };
2233 typedef ::IceUtil::Handle< Callback_TopicManager_getSliceChecksums_Base> Callback_TopicManager_getSliceChecksumsPtr;
2234 
2240 class Callback_Finder_getTopicManager_Base : public virtual ::IceInternal::CallbackBase { };
2241 typedef ::IceUtil::Handle< Callback_Finder_getTopicManager_Base> Callback_Finder_getTopicManagerPtr;
2242 
2243 }
2244 
2245 namespace IceProxy
2246 {
2247 
2248 namespace IceStorm
2249 {
2250 
2251 class ICE_CLASS(ICESTORM_API) Topic : public virtual ::Ice::Proxy<Topic, ::IceProxy::Ice::Object>
2252 {
2253 public:
2254 
2261  ICE_MEMBER(ICESTORM_API) ::std::string getName(const ::Ice::Context& context = ::Ice::noExplicitContext)
2262  {
2263  return end_getName(_iceI_begin_getName(context, ::IceInternal::dummyCallback, 0, true));
2264  }
2265 
2272  ::Ice::AsyncResultPtr begin_getName(const ::Ice::Context& context = ::Ice::noExplicitContext)
2273  {
2274  return _iceI_begin_getName(context, ::IceInternal::dummyCallback, 0);
2275  }
2276 
2284  ::Ice::AsyncResultPtr begin_getName(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2285  {
2286  return _iceI_begin_getName(::Ice::noExplicitContext, cb, cookie);
2287  }
2288 
2297  ::Ice::AsyncResultPtr begin_getName(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2298  {
2299  return _iceI_begin_getName(context, cb, cookie);
2300  }
2301 
2309  ::Ice::AsyncResultPtr begin_getName(const ::IceStorm::Callback_Topic_getNamePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2310  {
2311  return _iceI_begin_getName(::Ice::noExplicitContext, cb, cookie);
2312  }
2313 
2322  ::Ice::AsyncResultPtr begin_getName(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_getNamePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2323  {
2324  return _iceI_begin_getName(context, cb, cookie);
2325  }
2326 
2332  ICE_MEMBER(ICESTORM_API) ::std::string end_getName(const ::Ice::AsyncResultPtr& result);
2333 
2334 private:
2335 
2336  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getName(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2337 
2338 public:
2339 
2349  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx getPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
2350  {
2351  return end_getPublisher(_iceI_begin_getPublisher(context, ::IceInternal::dummyCallback, 0, true));
2352  }
2353 
2363  ::Ice::AsyncResultPtr begin_getPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
2364  {
2365  return _iceI_begin_getPublisher(context, ::IceInternal::dummyCallback, 0);
2366  }
2367 
2378  ::Ice::AsyncResultPtr begin_getPublisher(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2379  {
2380  return _iceI_begin_getPublisher(::Ice::noExplicitContext, cb, cookie);
2381  }
2382 
2394  ::Ice::AsyncResultPtr begin_getPublisher(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2395  {
2396  return _iceI_begin_getPublisher(context, cb, cookie);
2397  }
2398 
2409  ::Ice::AsyncResultPtr begin_getPublisher(const ::IceStorm::Callback_Topic_getPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2410  {
2411  return _iceI_begin_getPublisher(::Ice::noExplicitContext, cb, cookie);
2412  }
2413 
2425  ::Ice::AsyncResultPtr begin_getPublisher(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_getPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2426  {
2427  return _iceI_begin_getPublisher(context, cb, cookie);
2428  }
2429 
2435  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx end_getPublisher(const ::Ice::AsyncResultPtr& result);
2436 
2437 private:
2438 
2439  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getPublisher(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2440 
2441 public:
2442 
2451  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx getNonReplicatedPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
2452  {
2453  return end_getNonReplicatedPublisher(_iceI_begin_getNonReplicatedPublisher(context, ::IceInternal::dummyCallback, 0, true));
2454  }
2455 
2464  ::Ice::AsyncResultPtr begin_getNonReplicatedPublisher(const ::Ice::Context& context = ::Ice::noExplicitContext)
2465  {
2466  return _iceI_begin_getNonReplicatedPublisher(context, ::IceInternal::dummyCallback, 0);
2467  }
2468 
2478  ::Ice::AsyncResultPtr begin_getNonReplicatedPublisher(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2479  {
2480  return _iceI_begin_getNonReplicatedPublisher(::Ice::noExplicitContext, cb, cookie);
2481  }
2482 
2493  ::Ice::AsyncResultPtr begin_getNonReplicatedPublisher(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2494  {
2495  return _iceI_begin_getNonReplicatedPublisher(context, cb, cookie);
2496  }
2497 
2507  ::Ice::AsyncResultPtr begin_getNonReplicatedPublisher(const ::IceStorm::Callback_Topic_getNonReplicatedPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2508  {
2509  return _iceI_begin_getNonReplicatedPublisher(::Ice::noExplicitContext, cb, cookie);
2510  }
2511 
2522  ::Ice::AsyncResultPtr begin_getNonReplicatedPublisher(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_getNonReplicatedPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2523  {
2524  return _iceI_begin_getNonReplicatedPublisher(context, cb, cookie);
2525  }
2526 
2532  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx end_getNonReplicatedPublisher(const ::Ice::AsyncResultPtr& result);
2533 
2534 private:
2535 
2536  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getNonReplicatedPublisher(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2537 
2538 public:
2539 
2555  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
2556  {
2557  return end_subscribeAndGetPublisher(_iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, context, ::IceInternal::dummyCallback, 0, true));
2558  }
2559 
2570  ::Ice::AsyncResultPtr begin_subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
2571  {
2572  return _iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, context, ::IceInternal::dummyCallback, 0);
2573  }
2574 
2586  ::Ice::AsyncResultPtr begin_subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2587  {
2588  return _iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, ::Ice::noExplicitContext, cb, cookie);
2589  }
2590 
2603  ::Ice::AsyncResultPtr begin_subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2604  {
2605  return _iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, context, cb, cookie);
2606  }
2607 
2619  ::Ice::AsyncResultPtr begin_subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::IceStorm::Callback_Topic_subscribeAndGetPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2620  {
2621  return _iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, ::Ice::noExplicitContext, cb, cookie);
2622  }
2623 
2636  ::Ice::AsyncResultPtr begin_subscribeAndGetPublisher(const ::IceStorm::QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context, const ::IceStorm::Callback_Topic_subscribeAndGetPublisherPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2637  {
2638  return _iceI_begin_subscribeAndGetPublisher(theQoS, subscriber, context, cb, cookie);
2639  }
2640 
2651  ICE_MEMBER(ICESTORM_API) ::Ice::ObjectPrx end_subscribeAndGetPublisher(const ::Ice::AsyncResultPtr& result);
2652 
2653 private:
2654 
2655  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_subscribeAndGetPublisher(const ::IceStorm::QoS&, const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2656 
2657 public:
2658 
2665  ICE_MEMBER(ICESTORM_API) void unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
2666  {
2667  end_unsubscribe(_iceI_begin_unsubscribe(subscriber, context, ::IceInternal::dummyCallback, 0, true));
2668  }
2669 
2677  ::Ice::AsyncResultPtr begin_unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context = ::Ice::noExplicitContext)
2678  {
2679  return _iceI_begin_unsubscribe(subscriber, context, ::IceInternal::dummyCallback, 0);
2680  }
2681 
2690  ::Ice::AsyncResultPtr begin_unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2691  {
2692  return _iceI_begin_unsubscribe(subscriber, ::Ice::noExplicitContext, cb, cookie);
2693  }
2694 
2704  ::Ice::AsyncResultPtr begin_unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2705  {
2706  return _iceI_begin_unsubscribe(subscriber, context, cb, cookie);
2707  }
2708 
2717  ::Ice::AsyncResultPtr begin_unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::IceStorm::Callback_Topic_unsubscribePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2718  {
2719  return _iceI_begin_unsubscribe(subscriber, ::Ice::noExplicitContext, cb, cookie);
2720  }
2721 
2731  ::Ice::AsyncResultPtr begin_unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Context& context, const ::IceStorm::Callback_Topic_unsubscribePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2732  {
2733  return _iceI_begin_unsubscribe(subscriber, context, cb, cookie);
2734  }
2735 
2740  ICE_MEMBER(ICESTORM_API) void end_unsubscribe(const ::Ice::AsyncResultPtr& result);
2741 
2742 private:
2743 
2744  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_unsubscribe(const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2745 
2746 public:
2747 
2757  ICE_MEMBER(ICESTORM_API) void link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Context& context = ::Ice::noExplicitContext)
2758  {
2759  end_link(_iceI_begin_link(linkTo, cost, context, ::IceInternal::dummyCallback, 0, true));
2760  }
2761 
2770  ::Ice::AsyncResultPtr begin_link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Context& context = ::Ice::noExplicitContext)
2771  {
2772  return _iceI_begin_link(linkTo, cost, context, ::IceInternal::dummyCallback, 0);
2773  }
2774 
2784  ::Ice::AsyncResultPtr begin_link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2785  {
2786  return _iceI_begin_link(linkTo, cost, ::Ice::noExplicitContext, cb, cookie);
2787  }
2788 
2799  ::Ice::AsyncResultPtr begin_link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2800  {
2801  return _iceI_begin_link(linkTo, cost, context, cb, cookie);
2802  }
2803 
2813  ::Ice::AsyncResultPtr begin_link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::IceStorm::Callback_Topic_linkPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2814  {
2815  return _iceI_begin_link(linkTo, cost, ::Ice::noExplicitContext, cb, cookie);
2816  }
2817 
2828  ::Ice::AsyncResultPtr begin_link(const ::IceStorm::TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Context& context, const ::IceStorm::Callback_Topic_linkPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2829  {
2830  return _iceI_begin_link(linkTo, cost, context, cb, cookie);
2831  }
2832 
2839  ICE_MEMBER(ICESTORM_API) void end_link(const ::Ice::AsyncResultPtr& result);
2840 
2841 private:
2842 
2843  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_link(const ::IceStorm::TopicPrx&, ::Ice::Int, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2844 
2845 public:
2846 
2853  ICE_MEMBER(ICESTORM_API) void unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::Context& context = ::Ice::noExplicitContext)
2854  {
2855  end_unlink(_iceI_begin_unlink(linkTo, context, ::IceInternal::dummyCallback, 0, true));
2856  }
2857 
2864  ::Ice::AsyncResultPtr begin_unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::Context& context = ::Ice::noExplicitContext)
2865  {
2866  return _iceI_begin_unlink(linkTo, context, ::IceInternal::dummyCallback, 0);
2867  }
2868 
2876  ::Ice::AsyncResultPtr begin_unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2877  {
2878  return _iceI_begin_unlink(linkTo, ::Ice::noExplicitContext, cb, cookie);
2879  }
2880 
2889  ::Ice::AsyncResultPtr begin_unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2890  {
2891  return _iceI_begin_unlink(linkTo, context, cb, cookie);
2892  }
2893 
2901  ::Ice::AsyncResultPtr begin_unlink(const ::IceStorm::TopicPrx& linkTo, const ::IceStorm::Callback_Topic_unlinkPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2902  {
2903  return _iceI_begin_unlink(linkTo, ::Ice::noExplicitContext, cb, cookie);
2904  }
2905 
2914  ::Ice::AsyncResultPtr begin_unlink(const ::IceStorm::TopicPrx& linkTo, const ::Ice::Context& context, const ::IceStorm::Callback_Topic_unlinkPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2915  {
2916  return _iceI_begin_unlink(linkTo, context, cb, cookie);
2917  }
2918 
2924  ICE_MEMBER(ICESTORM_API) void end_unlink(const ::Ice::AsyncResultPtr& result);
2925 
2926 private:
2927 
2928  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_unlink(const ::IceStorm::TopicPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2929 
2930 public:
2931 
2937  ICE_MEMBER(ICESTORM_API) ::IceStorm::LinkInfoSeq getLinkInfoSeq(const ::Ice::Context& context = ::Ice::noExplicitContext)
2938  {
2939  return end_getLinkInfoSeq(_iceI_begin_getLinkInfoSeq(context, ::IceInternal::dummyCallback, 0, true));
2940  }
2941 
2947  ::Ice::AsyncResultPtr begin_getLinkInfoSeq(const ::Ice::Context& context = ::Ice::noExplicitContext)
2948  {
2949  return _iceI_begin_getLinkInfoSeq(context, ::IceInternal::dummyCallback, 0);
2950  }
2951 
2958  ::Ice::AsyncResultPtr begin_getLinkInfoSeq(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2959  {
2960  return _iceI_begin_getLinkInfoSeq(::Ice::noExplicitContext, cb, cookie);
2961  }
2962 
2970  ::Ice::AsyncResultPtr begin_getLinkInfoSeq(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2971  {
2972  return _iceI_begin_getLinkInfoSeq(context, cb, cookie);
2973  }
2974 
2981  ::Ice::AsyncResultPtr begin_getLinkInfoSeq(const ::IceStorm::Callback_Topic_getLinkInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2982  {
2983  return _iceI_begin_getLinkInfoSeq(::Ice::noExplicitContext, cb, cookie);
2984  }
2985 
2993  ::Ice::AsyncResultPtr begin_getLinkInfoSeq(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_getLinkInfoSeqPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2994  {
2995  return _iceI_begin_getLinkInfoSeq(context, cb, cookie);
2996  }
2997 
3003  ICE_MEMBER(ICESTORM_API) ::IceStorm::LinkInfoSeq end_getLinkInfoSeq(const ::Ice::AsyncResultPtr& result);
3004 
3005 private:
3006 
3007  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getLinkInfoSeq(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3008 
3009 public:
3010 
3016  ICE_MEMBER(ICESTORM_API) ::Ice::IdentitySeq getSubscribers(const ::Ice::Context& context = ::Ice::noExplicitContext)
3017  {
3018  return end_getSubscribers(_iceI_begin_getSubscribers(context, ::IceInternal::dummyCallback, 0, true));
3019  }
3020 
3026  ::Ice::AsyncResultPtr begin_getSubscribers(const ::Ice::Context& context = ::Ice::noExplicitContext)
3027  {
3028  return _iceI_begin_getSubscribers(context, ::IceInternal::dummyCallback, 0);
3029  }
3030 
3037  ::Ice::AsyncResultPtr begin_getSubscribers(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3038  {
3039  return _iceI_begin_getSubscribers(::Ice::noExplicitContext, cb, cookie);
3040  }
3041 
3049  ::Ice::AsyncResultPtr begin_getSubscribers(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3050  {
3051  return _iceI_begin_getSubscribers(context, cb, cookie);
3052  }
3053 
3060  ::Ice::AsyncResultPtr begin_getSubscribers(const ::IceStorm::Callback_Topic_getSubscribersPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3061  {
3062  return _iceI_begin_getSubscribers(::Ice::noExplicitContext, cb, cookie);
3063  }
3064 
3072  ::Ice::AsyncResultPtr begin_getSubscribers(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_getSubscribersPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3073  {
3074  return _iceI_begin_getSubscribers(context, cb, cookie);
3075  }
3076 
3082  ICE_MEMBER(ICESTORM_API) ::Ice::IdentitySeq end_getSubscribers(const ::Ice::AsyncResultPtr& result);
3083 
3084 private:
3085 
3086  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getSubscribers(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3087 
3088 public:
3089 
3095  {
3096  end_destroy(_iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0, true));
3097  }
3098 
3104  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context = ::Ice::noExplicitContext)
3105  {
3106  return _iceI_begin_destroy(context, ::IceInternal::dummyCallback, 0);
3107  }
3108 
3115  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3116  {
3117  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
3118  }
3119 
3127  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3128  {
3129  return _iceI_begin_destroy(context, cb, cookie);
3130  }
3131 
3138  ::Ice::AsyncResultPtr begin_destroy(const ::IceStorm::Callback_Topic_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3139  {
3140  return _iceI_begin_destroy(::Ice::noExplicitContext, cb, cookie);
3141  }
3142 
3150  ::Ice::AsyncResultPtr begin_destroy(const ::Ice::Context& context, const ::IceStorm::Callback_Topic_destroyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3151  {
3152  return _iceI_begin_destroy(context, cb, cookie);
3153  }
3154 
3159  ICE_MEMBER(ICESTORM_API) void end_destroy(const ::Ice::AsyncResultPtr& result);
3160 
3161 private:
3162 
3163  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_destroy(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3164 
3165 public:
3166 
3171  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
3172 
3173 protected:
3175 
3176  ICE_MEMBER(ICESTORM_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
3178 };
3179 
3180 class ICE_CLASS(ICESTORM_API) TopicManager : public virtual ::Ice::Proxy<TopicManager, ::IceProxy::Ice::Object>
3181 {
3182 public:
3183 
3192  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicPrx create(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
3193  {
3194  return end_create(_iceI_begin_create(name, context, ::IceInternal::dummyCallback, 0, true));
3195  }
3196 
3203  ::Ice::AsyncResultPtr begin_create(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
3204  {
3205  return _iceI_begin_create(name, context, ::IceInternal::dummyCallback, 0);
3206  }
3207 
3215  ::Ice::AsyncResultPtr begin_create(const ::std::string& name, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3216  {
3217  return _iceI_begin_create(name, ::Ice::noExplicitContext, cb, cookie);
3218  }
3219 
3228  ::Ice::AsyncResultPtr begin_create(const ::std::string& name, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3229  {
3230  return _iceI_begin_create(name, context, cb, cookie);
3231  }
3232 
3240  ::Ice::AsyncResultPtr begin_create(const ::std::string& name, const ::IceStorm::Callback_TopicManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3241  {
3242  return _iceI_begin_create(name, ::Ice::noExplicitContext, cb, cookie);
3243  }
3244 
3253  ::Ice::AsyncResultPtr begin_create(const ::std::string& name, const ::Ice::Context& context, const ::IceStorm::Callback_TopicManager_createPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3254  {
3255  return _iceI_begin_create(name, context, cb, cookie);
3256  }
3257 
3265  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicPrx end_create(const ::Ice::AsyncResultPtr& result);
3266 
3267 private:
3268 
3269  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_create(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3270 
3271 public:
3272 
3280  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicPrx retrieve(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
3281  {
3282  return end_retrieve(_iceI_begin_retrieve(name, context, ::IceInternal::dummyCallback, 0, true));
3283  }
3284 
3291  ::Ice::AsyncResultPtr begin_retrieve(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
3292  {
3293  return _iceI_begin_retrieve(name, context, ::IceInternal::dummyCallback, 0);
3294  }
3295 
3303  ::Ice::AsyncResultPtr begin_retrieve(const ::std::string& name, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3304  {
3305  return _iceI_begin_retrieve(name, ::Ice::noExplicitContext, cb, cookie);
3306  }
3307 
3316  ::Ice::AsyncResultPtr begin_retrieve(const ::std::string& name, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3317  {
3318  return _iceI_begin_retrieve(name, context, cb, cookie);
3319  }
3320 
3328  ::Ice::AsyncResultPtr begin_retrieve(const ::std::string& name, const ::IceStorm::Callback_TopicManager_retrievePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3329  {
3330  return _iceI_begin_retrieve(name, ::Ice::noExplicitContext, cb, cookie);
3331  }
3332 
3341  ::Ice::AsyncResultPtr begin_retrieve(const ::std::string& name, const ::Ice::Context& context, const ::IceStorm::Callback_TopicManager_retrievePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3342  {
3343  return _iceI_begin_retrieve(name, context, cb, cookie);
3344  }
3345 
3352  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicPrx end_retrieve(const ::Ice::AsyncResultPtr& result);
3353 
3354 private:
3355 
3356  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_retrieve(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3357 
3358 public:
3359 
3365  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicDict retrieveAll(const ::Ice::Context& context = ::Ice::noExplicitContext)
3366  {
3367  return end_retrieveAll(_iceI_begin_retrieveAll(context, ::IceInternal::dummyCallback, 0, true));
3368  }
3369 
3375  ::Ice::AsyncResultPtr begin_retrieveAll(const ::Ice::Context& context = ::Ice::noExplicitContext)
3376  {
3377  return _iceI_begin_retrieveAll(context, ::IceInternal::dummyCallback, 0);
3378  }
3379 
3386  ::Ice::AsyncResultPtr begin_retrieveAll(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3387  {
3388  return _iceI_begin_retrieveAll(::Ice::noExplicitContext, cb, cookie);
3389  }
3390 
3398  ::Ice::AsyncResultPtr begin_retrieveAll(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3399  {
3400  return _iceI_begin_retrieveAll(context, cb, cookie);
3401  }
3402 
3409  ::Ice::AsyncResultPtr begin_retrieveAll(const ::IceStorm::Callback_TopicManager_retrieveAllPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3410  {
3411  return _iceI_begin_retrieveAll(::Ice::noExplicitContext, cb, cookie);
3412  }
3413 
3421  ::Ice::AsyncResultPtr begin_retrieveAll(const ::Ice::Context& context, const ::IceStorm::Callback_TopicManager_retrieveAllPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3422  {
3423  return _iceI_begin_retrieveAll(context, cb, cookie);
3424  }
3425 
3431  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicDict end_retrieveAll(const ::Ice::AsyncResultPtr& result);
3432 
3433 private:
3434 
3435  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_retrieveAll(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3436 
3437 public:
3438 
3444  ICE_MEMBER(ICESTORM_API) ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
3445  {
3446  return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0, true));
3447  }
3448 
3454  ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
3455  {
3456  return _iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0);
3457  }
3458 
3465  ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3466  {
3467  return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
3468  }
3469 
3477  ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3478  {
3479  return _iceI_begin_getSliceChecksums(context, cb, cookie);
3480  }
3481 
3488  ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::IceStorm::Callback_TopicManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3489  {
3490  return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
3491  }
3492 
3500  ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::IceStorm::Callback_TopicManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3501  {
3502  return _iceI_begin_getSliceChecksums(context, cb, cookie);
3503  }
3504 
3510  ICE_MEMBER(ICESTORM_API) ::Ice::SliceChecksumDict end_getSliceChecksums(const ::Ice::AsyncResultPtr& result);
3511 
3512 private:
3513 
3514  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getSliceChecksums(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3515 
3516 public:
3517 
3522  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
3523 
3524 protected:
3526 
3527  ICE_MEMBER(ICESTORM_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
3529 };
3530 
3531 class ICE_CLASS(ICESTORM_API) Finder : public virtual ::Ice::Proxy<Finder, ::IceProxy::Ice::Object>
3532 {
3533 public:
3534 
3541  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicManagerPrx getTopicManager(const ::Ice::Context& context = ::Ice::noExplicitContext)
3542  {
3543  return end_getTopicManager(_iceI_begin_getTopicManager(context, ::IceInternal::dummyCallback, 0, true));
3544  }
3545 
3552  ::Ice::AsyncResultPtr begin_getTopicManager(const ::Ice::Context& context = ::Ice::noExplicitContext)
3553  {
3554  return _iceI_begin_getTopicManager(context, ::IceInternal::dummyCallback, 0);
3555  }
3556 
3564  ::Ice::AsyncResultPtr begin_getTopicManager(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3565  {
3566  return _iceI_begin_getTopicManager(::Ice::noExplicitContext, cb, cookie);
3567  }
3568 
3577  ::Ice::AsyncResultPtr begin_getTopicManager(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3578  {
3579  return _iceI_begin_getTopicManager(context, cb, cookie);
3580  }
3581 
3589  ::Ice::AsyncResultPtr begin_getTopicManager(const ::IceStorm::Callback_Finder_getTopicManagerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3590  {
3591  return _iceI_begin_getTopicManager(::Ice::noExplicitContext, cb, cookie);
3592  }
3593 
3602  ::Ice::AsyncResultPtr begin_getTopicManager(const ::Ice::Context& context, const ::IceStorm::Callback_Finder_getTopicManagerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
3603  {
3604  return _iceI_begin_getTopicManager(context, cb, cookie);
3605  }
3606 
3612  ICE_MEMBER(ICESTORM_API) ::IceStorm::TopicManagerPrx end_getTopicManager(const ::Ice::AsyncResultPtr& result);
3613 
3614 private:
3615 
3616  ICE_MEMBER(ICESTORM_API) ::Ice::AsyncResultPtr _iceI_begin_getTopicManager(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
3617 
3618 public:
3619 
3624  ICE_MEMBER(ICESTORM_API) static const ::std::string& ice_staticId();
3625 
3626 protected:
3628 
3629  ICE_MEMBER(ICESTORM_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
3631 };
3632 
3633 }
3634 
3635 }
3636 
3637 namespace IceStorm
3638 {
3639 
3646 class ICESTORM_API Topic : public virtual ::Ice::Object
3647 {
3648 public:
3649 
3650  typedef TopicPrx ProxyType;
3651  typedef TopicPtr PointerType;
3652 
3653  virtual ~Topic();
3654 
3655 #ifdef ICE_CPP11_COMPILER
3656  Topic() = default;
3657  Topic(const Topic&) = default;
3658  Topic& operator=(const Topic&) = default;
3659 #endif
3660 
3667  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3668 
3674  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3675 
3681  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3682 
3687  static const ::std::string& ice_staticId();
3688 
3695  virtual ::std::string getName(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3697  bool _iceD_getName(::IceInternal::Incoming&, const ::Ice::Current&) const;
3699 
3709  virtual ::Ice::ObjectPrx getPublisher(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3711  bool _iceD_getPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const;
3713 
3722  virtual ::Ice::ObjectPrx getNonReplicatedPublisher(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3724  bool _iceD_getNonReplicatedPublisher(::IceInternal::Incoming&, const ::Ice::Current&) const;
3726 
3742  virtual ::Ice::ObjectPrx subscribeAndGetPublisher(const QoS& theQoS, const ::Ice::ObjectPrx& subscriber, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3744  bool _iceD_subscribeAndGetPublisher(::IceInternal::Incoming&, const ::Ice::Current&);
3746 
3753  virtual void unsubscribe(const ::Ice::ObjectPrx& subscriber, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3755  bool _iceD_unsubscribe(::IceInternal::Incoming&, const ::Ice::Current&);
3757 
3767  virtual void link(const TopicPrx& linkTo, ::Ice::Int cost, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3769  bool _iceD_link(::IceInternal::Incoming&, const ::Ice::Current&);
3771 
3778  virtual void unlink(const TopicPrx& linkTo, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3780  bool _iceD_unlink(::IceInternal::Incoming&, const ::Ice::Current&);
3782 
3788  virtual LinkInfoSeq getLinkInfoSeq(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3790  bool _iceD_getLinkInfoSeq(::IceInternal::Incoming&, const ::Ice::Current&) const;
3792 
3798  virtual ::Ice::IdentitySeq getSubscribers(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3800  bool _iceD_getSubscribers(::IceInternal::Incoming&, const ::Ice::Current&) const;
3802 
3807  virtual void destroy(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3809  bool _iceD_destroy(::IceInternal::Incoming&, const ::Ice::Current&);
3811 
3813  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3815 
3816 protected:
3817 
3819  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3820  virtual void _iceReadImpl(::Ice::InputStream*);
3822 };
3823 
3825 inline bool operator==(const Topic& lhs, const Topic& rhs)
3826 {
3827  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3828 }
3829 
3830 inline bool operator<(const Topic& lhs, const Topic& rhs)
3831 {
3832  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3833 }
3835 
3841 class ICESTORM_API TopicManager : public virtual ::Ice::Object
3842 {
3843 public:
3844 
3845  typedef TopicManagerPrx ProxyType;
3846  typedef TopicManagerPtr PointerType;
3847 
3848  virtual ~TopicManager();
3849 
3850 #ifdef ICE_CPP11_COMPILER
3851  TopicManager() = default;
3852  TopicManager(const TopicManager&) = default;
3853  TopicManager& operator=(const TopicManager&) = default;
3854 #endif
3855 
3862  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3863 
3869  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3870 
3876  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3877 
3882  static const ::std::string& ice_staticId();
3883 
3892  virtual TopicPrx create(const ::std::string& name, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
3894  bool _iceD_create(::IceInternal::Incoming&, const ::Ice::Current&);
3896 
3904  virtual TopicPrx retrieve(const ::std::string& name, const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3906  bool _iceD_retrieve(::IceInternal::Incoming&, const ::Ice::Current&) const;
3908 
3914  virtual TopicDict retrieveAll(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3916  bool _iceD_retrieveAll(::IceInternal::Incoming&, const ::Ice::Current&) const;
3918 
3924  virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
3926  bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
3928 
3930  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
3932 
3933 protected:
3934 
3936  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3937  virtual void _iceReadImpl(::Ice::InputStream*);
3939 };
3940 
3942 inline bool operator==(const TopicManager& lhs, const TopicManager& rhs)
3943 {
3944  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3945 }
3946 
3947 inline bool operator<(const TopicManager& lhs, const TopicManager& rhs)
3948 {
3949  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3950 }
3952 
3960 class ICESTORM_API Finder : public virtual ::Ice::Object
3961 {
3962 public:
3963 
3964  typedef FinderPrx ProxyType;
3965  typedef FinderPtr PointerType;
3966 
3967  virtual ~Finder();
3968 
3969 #ifdef ICE_CPP11_COMPILER
3970  Finder() = default;
3971  Finder(const Finder&) = default;
3972  Finder& operator=(const Finder&) = default;
3973 #endif
3974 
3981  virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3982 
3988  virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3989 
3995  virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3996 
4001  static const ::std::string& ice_staticId();
4002 
4009  virtual TopicManagerPrx getTopicManager(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
4011  bool _iceD_getTopicManager(::IceInternal::Incoming&, const ::Ice::Current&);
4013 
4015  virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
4017 
4018 protected:
4019 
4021  virtual void _iceWriteImpl(::Ice::OutputStream*) const;
4022  virtual void _iceReadImpl(::Ice::InputStream*);
4024 };
4025 
4027 inline bool operator==(const Finder& lhs, const Finder& rhs)
4028 {
4029  return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
4030 }
4031 
4032 inline bool operator<(const Finder& lhs, const Finder& rhs)
4033 {
4034  return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
4035 }
4037 
4038 }
4039 
4041 namespace Ice
4042 {
4043 
4044 template<>
4045 struct StreamableTraits< ::IceStorm::LinkInfo>
4046 {
4047  static const StreamHelperCategory helper = StreamHelperCategoryStruct;
4048  static const int minWireSize = 7;
4049  static const bool fixedLength = false;
4050 };
4051 
4052 template<typename S>
4053 struct StreamWriter< ::IceStorm::LinkInfo, S>
4054 {
4055  static void write(S* ostr, const ::IceStorm::LinkInfo& v)
4056  {
4057  ostr->write(v.theTopic);
4058  ostr->write(v.name);
4059  ostr->write(v.cost);
4060  }
4061 };
4062 
4063 template<typename S>
4064 struct StreamReader< ::IceStorm::LinkInfo, S>
4065 {
4066  static void read(S* istr, ::IceStorm::LinkInfo& v)
4067  {
4068  istr->read(v.theTopic);
4069  istr->read(v.name);
4070  istr->read(v.cost);
4071  }
4072 };
4073 
4074 template<>
4075 struct StreamableTraits< ::IceStorm::LinkExists>
4076 {
4077  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4078 };
4079 
4080 template<typename S>
4081 struct StreamWriter< ::IceStorm::LinkExists, S>
4082 {
4083  static void write(S* ostr, const ::IceStorm::LinkExists& v)
4084  {
4085  ostr->write(v.name);
4086  }
4087 };
4088 
4089 template<typename S>
4090 struct StreamReader< ::IceStorm::LinkExists, S>
4091 {
4092  static void read(S* istr, ::IceStorm::LinkExists& v)
4093  {
4094  istr->read(v.name);
4095  }
4096 };
4097 
4098 template<>
4099 struct StreamableTraits< ::IceStorm::NoSuchLink>
4100 {
4101  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4102 };
4103 
4104 template<typename S>
4105 struct StreamWriter< ::IceStorm::NoSuchLink, S>
4106 {
4107  static void write(S* ostr, const ::IceStorm::NoSuchLink& v)
4108  {
4109  ostr->write(v.name);
4110  }
4111 };
4112 
4113 template<typename S>
4114 struct StreamReader< ::IceStorm::NoSuchLink, S>
4115 {
4116  static void read(S* istr, ::IceStorm::NoSuchLink& v)
4117  {
4118  istr->read(v.name);
4119  }
4120 };
4121 
4122 template<>
4123 struct StreamableTraits< ::IceStorm::AlreadySubscribed>
4124 {
4125  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4126 };
4127 
4128 template<>
4129 struct StreamableTraits< ::IceStorm::InvalidSubscriber>
4130 {
4131  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4132 };
4133 
4134 template<typename S>
4135 struct StreamWriter< ::IceStorm::InvalidSubscriber, S>
4136 {
4137  static void write(S* ostr, const ::IceStorm::InvalidSubscriber& v)
4138  {
4139  ostr->write(v.reason);
4140  }
4141 };
4142 
4143 template<typename S>
4144 struct StreamReader< ::IceStorm::InvalidSubscriber, S>
4145 {
4146  static void read(S* istr, ::IceStorm::InvalidSubscriber& v)
4147  {
4148  istr->read(v.reason);
4149  }
4150 };
4151 
4152 template<>
4153 struct StreamableTraits< ::IceStorm::BadQoS>
4154 {
4155  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4156 };
4157 
4158 template<typename S>
4159 struct StreamWriter< ::IceStorm::BadQoS, S>
4160 {
4161  static void write(S* ostr, const ::IceStorm::BadQoS& v)
4162  {
4163  ostr->write(v.reason);
4164  }
4165 };
4166 
4167 template<typename S>
4168 struct StreamReader< ::IceStorm::BadQoS, S>
4169 {
4170  static void read(S* istr, ::IceStorm::BadQoS& v)
4171  {
4172  istr->read(v.reason);
4173  }
4174 };
4175 
4176 template<>
4177 struct StreamableTraits< ::IceStorm::TopicExists>
4178 {
4179  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4180 };
4181 
4182 template<typename S>
4183 struct StreamWriter< ::IceStorm::TopicExists, S>
4184 {
4185  static void write(S* ostr, const ::IceStorm::TopicExists& v)
4186  {
4187  ostr->write(v.name);
4188  }
4189 };
4190 
4191 template<typename S>
4192 struct StreamReader< ::IceStorm::TopicExists, S>
4193 {
4194  static void read(S* istr, ::IceStorm::TopicExists& v)
4195  {
4196  istr->read(v.name);
4197  }
4198 };
4199 
4200 template<>
4201 struct StreamableTraits< ::IceStorm::NoSuchTopic>
4202 {
4203  static const StreamHelperCategory helper = StreamHelperCategoryUserException;
4204 };
4205 
4206 template<typename S>
4207 struct StreamWriter< ::IceStorm::NoSuchTopic, S>
4208 {
4209  static void write(S* ostr, const ::IceStorm::NoSuchTopic& v)
4210  {
4211  ostr->write(v.name);
4212  }
4213 };
4214 
4215 template<typename S>
4216 struct StreamReader< ::IceStorm::NoSuchTopic, S>
4217 {
4218  static void read(S* istr, ::IceStorm::NoSuchTopic& v)
4219  {
4220  istr->read(v.name);
4221  }
4222 };
4223 
4224 }
4226 
4227 namespace IceStorm
4228 {
4229 
4235 template<class T>
4236 class CallbackNC_Topic_getName : public Callback_Topic_getName_Base, public ::IceInternal::TwowayCallbackNC<T>
4237 {
4238 public:
4239 
4240  typedef IceUtil::Handle<T> TPtr;
4241 
4242  typedef void (T::*Exception)(const ::Ice::Exception&);
4243  typedef void (T::*Sent)(bool);
4244  typedef void (T::*Response)(const ::std::string&);
4245 
4246  CallbackNC_Topic_getName(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4247  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4248  {
4249  }
4250 
4252  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4253  {
4254  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4255  ::std::string ret;
4256  try
4257  {
4258  ret = proxy->end_getName(result);
4259  }
4260  catch(const ::Ice::Exception& ex)
4261  {
4262  ::IceInternal::CallbackNC<T>::exception(result, ex);
4263  return;
4264  }
4265  if(_response)
4266  {
4267  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4268  }
4269  }
4271 
4272 private:
4273 
4274  Response _response;
4275 };
4276 
4285 template<class T> Callback_Topic_getNamePtr
4286 newCallback_Topic_getName(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4287 {
4288  return new CallbackNC_Topic_getName<T>(instance, cb, excb, sentcb);
4289 }
4290 
4299 template<class T> Callback_Topic_getNamePtr
4300 newCallback_Topic_getName(T* instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4301 {
4302  return new CallbackNC_Topic_getName<T>(instance, cb, excb, sentcb);
4303 }
4304 
4310 template<class T, typename CT>
4311 class Callback_Topic_getName : public Callback_Topic_getName_Base, public ::IceInternal::TwowayCallback<T, CT>
4312 {
4313 public:
4314 
4315  typedef IceUtil::Handle<T> TPtr;
4316 
4317  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4318  typedef void (T::*Sent)(bool , const CT&);
4319  typedef void (T::*Response)(const ::std::string&, const CT&);
4320 
4321  Callback_Topic_getName(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4322  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4323  {
4324  }
4325 
4327  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4328  {
4329  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4330  ::std::string ret;
4331  try
4332  {
4333  ret = proxy->end_getName(result);
4334  }
4335  catch(const ::Ice::Exception& ex)
4336  {
4337  ::IceInternal::Callback<T, CT>::exception(result, ex);
4338  return;
4339  }
4340  if(_response)
4341  {
4342  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4343  }
4344  }
4346 
4347 private:
4348 
4349  Response _response;
4350 };
4351 
4361 template<class T, typename CT> Callback_Topic_getNamePtr
4362 newCallback_Topic_getName(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4363 {
4364  return new Callback_Topic_getName<T, CT>(instance, cb, excb, sentcb);
4365 }
4366 
4376 template<class T, typename CT> Callback_Topic_getNamePtr
4377 newCallback_Topic_getName(T* instance, void (T::*cb)(const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4378 {
4379  return new Callback_Topic_getName<T, CT>(instance, cb, excb, sentcb);
4380 }
4381 
4387 template<class T>
4388 class CallbackNC_Topic_getPublisher : public Callback_Topic_getPublisher_Base, public ::IceInternal::TwowayCallbackNC<T>
4389 {
4390 public:
4391 
4392  typedef IceUtil::Handle<T> TPtr;
4393 
4394  typedef void (T::*Exception)(const ::Ice::Exception&);
4395  typedef void (T::*Sent)(bool);
4396  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
4397 
4398  CallbackNC_Topic_getPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4399  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4400  {
4401  }
4402 
4404  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4405  {
4406  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4407  ::Ice::ObjectPrx ret;
4408  try
4409  {
4410  ret = proxy->end_getPublisher(result);
4411  }
4412  catch(const ::Ice::Exception& ex)
4413  {
4414  ::IceInternal::CallbackNC<T>::exception(result, ex);
4415  return;
4416  }
4417  if(_response)
4418  {
4419  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4420  }
4421  }
4423 
4424 private:
4425 
4426  Response _response;
4427 };
4428 
4437 template<class T> Callback_Topic_getPublisherPtr
4438 newCallback_Topic_getPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4439 {
4440  return new CallbackNC_Topic_getPublisher<T>(instance, cb, excb, sentcb);
4441 }
4442 
4451 template<class T> Callback_Topic_getPublisherPtr
4452 newCallback_Topic_getPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4453 {
4454  return new CallbackNC_Topic_getPublisher<T>(instance, cb, excb, sentcb);
4455 }
4456 
4462 template<class T, typename CT>
4463 class Callback_Topic_getPublisher : public Callback_Topic_getPublisher_Base, public ::IceInternal::TwowayCallback<T, CT>
4464 {
4465 public:
4466 
4467  typedef IceUtil::Handle<T> TPtr;
4468 
4469  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4470  typedef void (T::*Sent)(bool , const CT&);
4471  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
4472 
4473  Callback_Topic_getPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4474  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4475  {
4476  }
4477 
4479  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4480  {
4481  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4482  ::Ice::ObjectPrx ret;
4483  try
4484  {
4485  ret = proxy->end_getPublisher(result);
4486  }
4487  catch(const ::Ice::Exception& ex)
4488  {
4489  ::IceInternal::Callback<T, CT>::exception(result, ex);
4490  return;
4491  }
4492  if(_response)
4493  {
4494  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4495  }
4496  }
4498 
4499 private:
4500 
4501  Response _response;
4502 };
4503 
4513 template<class T, typename CT> Callback_Topic_getPublisherPtr
4514 newCallback_Topic_getPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4515 {
4516  return new Callback_Topic_getPublisher<T, CT>(instance, cb, excb, sentcb);
4517 }
4518 
4528 template<class T, typename CT> Callback_Topic_getPublisherPtr
4529 newCallback_Topic_getPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4530 {
4531  return new Callback_Topic_getPublisher<T, CT>(instance, cb, excb, sentcb);
4532 }
4533 
4539 template<class T>
4540 class CallbackNC_Topic_getNonReplicatedPublisher : public Callback_Topic_getNonReplicatedPublisher_Base, public ::IceInternal::TwowayCallbackNC<T>
4541 {
4542 public:
4543 
4544  typedef IceUtil::Handle<T> TPtr;
4545 
4546  typedef void (T::*Exception)(const ::Ice::Exception&);
4547  typedef void (T::*Sent)(bool);
4548  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
4549 
4550  CallbackNC_Topic_getNonReplicatedPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4551  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4552  {
4553  }
4554 
4556  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4557  {
4558  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4559  ::Ice::ObjectPrx ret;
4560  try
4561  {
4562  ret = proxy->end_getNonReplicatedPublisher(result);
4563  }
4564  catch(const ::Ice::Exception& ex)
4565  {
4566  ::IceInternal::CallbackNC<T>::exception(result, ex);
4567  return;
4568  }
4569  if(_response)
4570  {
4571  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4572  }
4573  }
4575 
4576 private:
4577 
4578  Response _response;
4579 };
4580 
4589 template<class T> Callback_Topic_getNonReplicatedPublisherPtr
4590 newCallback_Topic_getNonReplicatedPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4591 {
4592  return new CallbackNC_Topic_getNonReplicatedPublisher<T>(instance, cb, excb, sentcb);
4593 }
4594 
4603 template<class T> Callback_Topic_getNonReplicatedPublisherPtr
4604 newCallback_Topic_getNonReplicatedPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4605 {
4606  return new CallbackNC_Topic_getNonReplicatedPublisher<T>(instance, cb, excb, sentcb);
4607 }
4608 
4614 template<class T, typename CT>
4615 class Callback_Topic_getNonReplicatedPublisher : public Callback_Topic_getNonReplicatedPublisher_Base, public ::IceInternal::TwowayCallback<T, CT>
4616 {
4617 public:
4618 
4619  typedef IceUtil::Handle<T> TPtr;
4620 
4621  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4622  typedef void (T::*Sent)(bool , const CT&);
4623  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
4624 
4625  Callback_Topic_getNonReplicatedPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4626  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4627  {
4628  }
4629 
4631  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4632  {
4633  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4634  ::Ice::ObjectPrx ret;
4635  try
4636  {
4637  ret = proxy->end_getNonReplicatedPublisher(result);
4638  }
4639  catch(const ::Ice::Exception& ex)
4640  {
4641  ::IceInternal::Callback<T, CT>::exception(result, ex);
4642  return;
4643  }
4644  if(_response)
4645  {
4646  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4647  }
4648  }
4650 
4651 private:
4652 
4653  Response _response;
4654 };
4655 
4665 template<class T, typename CT> Callback_Topic_getNonReplicatedPublisherPtr
4666 newCallback_Topic_getNonReplicatedPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4667 {
4668  return new Callback_Topic_getNonReplicatedPublisher<T, CT>(instance, cb, excb, sentcb);
4669 }
4670 
4680 template<class T, typename CT> Callback_Topic_getNonReplicatedPublisherPtr
4681 newCallback_Topic_getNonReplicatedPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4682 {
4683  return new Callback_Topic_getNonReplicatedPublisher<T, CT>(instance, cb, excb, sentcb);
4684 }
4685 
4691 template<class T>
4692 class CallbackNC_Topic_subscribeAndGetPublisher : public Callback_Topic_subscribeAndGetPublisher_Base, public ::IceInternal::TwowayCallbackNC<T>
4693 {
4694 public:
4695 
4696  typedef IceUtil::Handle<T> TPtr;
4697 
4698  typedef void (T::*Exception)(const ::Ice::Exception&);
4699  typedef void (T::*Sent)(bool);
4700  typedef void (T::*Response)(const ::Ice::ObjectPrx&);
4701 
4702  CallbackNC_Topic_subscribeAndGetPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4703  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4704  {
4705  }
4706 
4708  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4709  {
4710  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4711  ::Ice::ObjectPrx ret;
4712  try
4713  {
4714  ret = proxy->end_subscribeAndGetPublisher(result);
4715  }
4716  catch(const ::Ice::Exception& ex)
4717  {
4718  ::IceInternal::CallbackNC<T>::exception(result, ex);
4719  return;
4720  }
4721  if(_response)
4722  {
4723  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4724  }
4725  }
4727 
4728 private:
4729 
4730  Response _response;
4731 };
4732 
4741 template<class T> Callback_Topic_subscribeAndGetPublisherPtr
4742 newCallback_Topic_subscribeAndGetPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4743 {
4744  return new CallbackNC_Topic_subscribeAndGetPublisher<T>(instance, cb, excb, sentcb);
4745 }
4746 
4755 template<class T> Callback_Topic_subscribeAndGetPublisherPtr
4756 newCallback_Topic_subscribeAndGetPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4757 {
4758  return new CallbackNC_Topic_subscribeAndGetPublisher<T>(instance, cb, excb, sentcb);
4759 }
4760 
4766 template<class T, typename CT>
4767 class Callback_Topic_subscribeAndGetPublisher : public Callback_Topic_subscribeAndGetPublisher_Base, public ::IceInternal::TwowayCallback<T, CT>
4768 {
4769 public:
4770 
4771  typedef IceUtil::Handle<T> TPtr;
4772 
4773  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4774  typedef void (T::*Sent)(bool , const CT&);
4775  typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
4776 
4777  Callback_Topic_subscribeAndGetPublisher(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4778  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4779  {
4780  }
4781 
4783  virtual void completed(const ::Ice::AsyncResultPtr& result) const
4784  {
4785  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
4786  ::Ice::ObjectPrx ret;
4787  try
4788  {
4789  ret = proxy->end_subscribeAndGetPublisher(result);
4790  }
4791  catch(const ::Ice::Exception& ex)
4792  {
4793  ::IceInternal::Callback<T, CT>::exception(result, ex);
4794  return;
4795  }
4796  if(_response)
4797  {
4798  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4799  }
4800  }
4802 
4803 private:
4804 
4805  Response _response;
4806 };
4807 
4817 template<class T, typename CT> Callback_Topic_subscribeAndGetPublisherPtr
4818 newCallback_Topic_subscribeAndGetPublisher(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4819 {
4820  return new Callback_Topic_subscribeAndGetPublisher<T, CT>(instance, cb, excb, sentcb);
4821 }
4822 
4832 template<class T, typename CT> Callback_Topic_subscribeAndGetPublisherPtr
4833 newCallback_Topic_subscribeAndGetPublisher(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4834 {
4835  return new Callback_Topic_subscribeAndGetPublisher<T, CT>(instance, cb, excb, sentcb);
4836 }
4837 
4843 template<class T>
4844 class CallbackNC_Topic_unsubscribe : public Callback_Topic_unsubscribe_Base, public ::IceInternal::OnewayCallbackNC<T>
4845 {
4846 public:
4847 
4848  typedef IceUtil::Handle<T> TPtr;
4849 
4850  typedef void (T::*Exception)(const ::Ice::Exception&);
4851  typedef void (T::*Sent)(bool);
4852  typedef void (T::*Response)();
4853 
4854  CallbackNC_Topic_unsubscribe(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4855  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
4856  {
4857  }
4858 };
4859 
4868 template<class T> Callback_Topic_unsubscribePtr
4869 newCallback_Topic_unsubscribe(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4870 {
4871  return new CallbackNC_Topic_unsubscribe<T>(instance, cb, excb, sentcb);
4872 }
4873 
4881 template<class T> Callback_Topic_unsubscribePtr
4882 newCallback_Topic_unsubscribe(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4883 {
4884  return new CallbackNC_Topic_unsubscribe<T>(instance, 0, excb, sentcb);
4885 }
4886 
4895 template<class T> Callback_Topic_unsubscribePtr
4896 newCallback_Topic_unsubscribe(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4897 {
4898  return new CallbackNC_Topic_unsubscribe<T>(instance, cb, excb, sentcb);
4899 }
4900 
4908 template<class T> Callback_Topic_unsubscribePtr
4909 newCallback_Topic_unsubscribe(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4910 {
4911  return new CallbackNC_Topic_unsubscribe<T>(instance, 0, excb, sentcb);
4912 }
4913 
4919 template<class T, typename CT>
4920 class Callback_Topic_unsubscribe : public Callback_Topic_unsubscribe_Base, public ::IceInternal::OnewayCallback<T, CT>
4921 {
4922 public:
4923 
4924  typedef IceUtil::Handle<T> TPtr;
4925 
4926  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4927  typedef void (T::*Sent)(bool , const CT&);
4928  typedef void (T::*Response)(const CT&);
4929 
4930  Callback_Topic_unsubscribe(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4931  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
4932  {
4933  }
4934 };
4935 
4945 template<class T, typename CT> Callback_Topic_unsubscribePtr
4946 newCallback_Topic_unsubscribe(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)
4947 {
4948  return new Callback_Topic_unsubscribe<T, CT>(instance, cb, excb, sentcb);
4949 }
4950 
4959 template<class T, typename CT> Callback_Topic_unsubscribePtr
4960 newCallback_Topic_unsubscribe(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4961 {
4962  return new Callback_Topic_unsubscribe<T, CT>(instance, 0, excb, sentcb);
4963 }
4964 
4974 template<class T, typename CT> Callback_Topic_unsubscribePtr
4975 newCallback_Topic_unsubscribe(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4976 {
4977  return new Callback_Topic_unsubscribe<T, CT>(instance, cb, excb, sentcb);
4978 }
4979 
4988 template<class T, typename CT> Callback_Topic_unsubscribePtr
4989 newCallback_Topic_unsubscribe(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4990 {
4991  return new Callback_Topic_unsubscribe<T, CT>(instance, 0, excb, sentcb);
4992 }
4993 
4999 template<class T>
5000 class CallbackNC_Topic_link : public Callback_Topic_link_Base, public ::IceInternal::TwowayCallbackNC<T>
5001 {
5002 public:
5003 
5004  typedef IceUtil::Handle<T> TPtr;
5005 
5006  typedef void (T::*Exception)(const ::Ice::Exception&);
5007  typedef void (T::*Sent)(bool);
5008  typedef void (T::*Response)();
5009 
5010  CallbackNC_Topic_link(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5011  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5012  {
5013  }
5014 
5016  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5017  {
5018  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5019  try
5020  {
5021  proxy->end_link(result);
5022  }
5023  catch(const ::Ice::Exception& ex)
5024  {
5025  ::IceInternal::CallbackNC<T>::exception(result, ex);
5026  return;
5027  }
5028  if(_response)
5029  {
5030  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
5031  }
5032  }
5034 
5035 private:
5036 
5037  Response _response;
5038 };
5039 
5048 template<class T> Callback_Topic_linkPtr
5049 newCallback_Topic_link(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5050 {
5051  return new CallbackNC_Topic_link<T>(instance, cb, excb, sentcb);
5052 }
5053 
5061 template<class T> Callback_Topic_linkPtr
5062 newCallback_Topic_link(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5063 {
5064  return new CallbackNC_Topic_link<T>(instance, 0, excb, sentcb);
5065 }
5066 
5075 template<class T> Callback_Topic_linkPtr
5076 newCallback_Topic_link(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5077 {
5078  return new CallbackNC_Topic_link<T>(instance, cb, excb, sentcb);
5079 }
5080 
5088 template<class T> Callback_Topic_linkPtr
5089 newCallback_Topic_link(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5090 {
5091  return new CallbackNC_Topic_link<T>(instance, 0, excb, sentcb);
5092 }
5093 
5099 template<class T, typename CT>
5100 class Callback_Topic_link : public Callback_Topic_link_Base, public ::IceInternal::TwowayCallback<T, CT>
5101 {
5102 public:
5103 
5104  typedef IceUtil::Handle<T> TPtr;
5105 
5106  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5107  typedef void (T::*Sent)(bool , const CT&);
5108  typedef void (T::*Response)(const CT&);
5109 
5110  Callback_Topic_link(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5111  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5112  {
5113  }
5114 
5116  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5117  {
5118  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5119  try
5120  {
5121  proxy->end_link(result);
5122  }
5123  catch(const ::Ice::Exception& ex)
5124  {
5125  ::IceInternal::Callback<T, CT>::exception(result, ex);
5126  return;
5127  }
5128  if(_response)
5129  {
5130  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
5131  }
5132  }
5134 
5135 private:
5136 
5137  Response _response;
5138 };
5139 
5149 template<class T, typename CT> Callback_Topic_linkPtr
5150 newCallback_Topic_link(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)
5151 {
5152  return new Callback_Topic_link<T, CT>(instance, cb, excb, sentcb);
5153 }
5154 
5163 template<class T, typename CT> Callback_Topic_linkPtr
5164 newCallback_Topic_link(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5165 {
5166  return new Callback_Topic_link<T, CT>(instance, 0, excb, sentcb);
5167 }
5168 
5178 template<class T, typename CT> Callback_Topic_linkPtr
5179 newCallback_Topic_link(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5180 {
5181  return new Callback_Topic_link<T, CT>(instance, cb, excb, sentcb);
5182 }
5183 
5192 template<class T, typename CT> Callback_Topic_linkPtr
5193 newCallback_Topic_link(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5194 {
5195  return new Callback_Topic_link<T, CT>(instance, 0, excb, sentcb);
5196 }
5197 
5203 template<class T>
5204 class CallbackNC_Topic_unlink : public Callback_Topic_unlink_Base, public ::IceInternal::TwowayCallbackNC<T>
5205 {
5206 public:
5207 
5208  typedef IceUtil::Handle<T> TPtr;
5209 
5210  typedef void (T::*Exception)(const ::Ice::Exception&);
5211  typedef void (T::*Sent)(bool);
5212  typedef void (T::*Response)();
5213 
5214  CallbackNC_Topic_unlink(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5215  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5216  {
5217  }
5218 
5220  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5221  {
5222  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5223  try
5224  {
5225  proxy->end_unlink(result);
5226  }
5227  catch(const ::Ice::Exception& ex)
5228  {
5229  ::IceInternal::CallbackNC<T>::exception(result, ex);
5230  return;
5231  }
5232  if(_response)
5233  {
5234  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
5235  }
5236  }
5238 
5239 private:
5240 
5241  Response _response;
5242 };
5243 
5252 template<class T> Callback_Topic_unlinkPtr
5253 newCallback_Topic_unlink(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5254 {
5255  return new CallbackNC_Topic_unlink<T>(instance, cb, excb, sentcb);
5256 }
5257 
5265 template<class T> Callback_Topic_unlinkPtr
5266 newCallback_Topic_unlink(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5267 {
5268  return new CallbackNC_Topic_unlink<T>(instance, 0, excb, sentcb);
5269 }
5270 
5279 template<class T> Callback_Topic_unlinkPtr
5280 newCallback_Topic_unlink(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5281 {
5282  return new CallbackNC_Topic_unlink<T>(instance, cb, excb, sentcb);
5283 }
5284 
5292 template<class T> Callback_Topic_unlinkPtr
5293 newCallback_Topic_unlink(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5294 {
5295  return new CallbackNC_Topic_unlink<T>(instance, 0, excb, sentcb);
5296 }
5297 
5303 template<class T, typename CT>
5304 class Callback_Topic_unlink : public Callback_Topic_unlink_Base, public ::IceInternal::TwowayCallback<T, CT>
5305 {
5306 public:
5307 
5308  typedef IceUtil::Handle<T> TPtr;
5309 
5310  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5311  typedef void (T::*Sent)(bool , const CT&);
5312  typedef void (T::*Response)(const CT&);
5313 
5314  Callback_Topic_unlink(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5315  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5316  {
5317  }
5318 
5320  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5321  {
5322  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5323  try
5324  {
5325  proxy->end_unlink(result);
5326  }
5327  catch(const ::Ice::Exception& ex)
5328  {
5329  ::IceInternal::Callback<T, CT>::exception(result, ex);
5330  return;
5331  }
5332  if(_response)
5333  {
5334  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
5335  }
5336  }
5338 
5339 private:
5340 
5341  Response _response;
5342 };
5343 
5353 template<class T, typename CT> Callback_Topic_unlinkPtr
5354 newCallback_Topic_unlink(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)
5355 {
5356  return new Callback_Topic_unlink<T, CT>(instance, cb, excb, sentcb);
5357 }
5358 
5367 template<class T, typename CT> Callback_Topic_unlinkPtr
5368 newCallback_Topic_unlink(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5369 {
5370  return new Callback_Topic_unlink<T, CT>(instance, 0, excb, sentcb);
5371 }
5372 
5382 template<class T, typename CT> Callback_Topic_unlinkPtr
5383 newCallback_Topic_unlink(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5384 {
5385  return new Callback_Topic_unlink<T, CT>(instance, cb, excb, sentcb);
5386 }
5387 
5396 template<class T, typename CT> Callback_Topic_unlinkPtr
5397 newCallback_Topic_unlink(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5398 {
5399  return new Callback_Topic_unlink<T, CT>(instance, 0, excb, sentcb);
5400 }
5401 
5407 template<class T>
5408 class CallbackNC_Topic_getLinkInfoSeq : public Callback_Topic_getLinkInfoSeq_Base, public ::IceInternal::TwowayCallbackNC<T>
5409 {
5410 public:
5411 
5412  typedef IceUtil::Handle<T> TPtr;
5413 
5414  typedef void (T::*Exception)(const ::Ice::Exception&);
5415  typedef void (T::*Sent)(bool);
5416  typedef void (T::*Response)(const LinkInfoSeq&);
5417 
5418  CallbackNC_Topic_getLinkInfoSeq(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5419  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5420  {
5421  }
5422 
5424  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5425  {
5426  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5427  LinkInfoSeq ret;
5428  try
5429  {
5430  ret = proxy->end_getLinkInfoSeq(result);
5431  }
5432  catch(const ::Ice::Exception& ex)
5433  {
5434  ::IceInternal::CallbackNC<T>::exception(result, ex);
5435  return;
5436  }
5437  if(_response)
5438  {
5439  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5440  }
5441  }
5443 
5444 private:
5445 
5446  Response _response;
5447 };
5448 
5457 template<class T> Callback_Topic_getLinkInfoSeqPtr
5458 newCallback_Topic_getLinkInfoSeq(const IceUtil::Handle<T>& instance, void (T::*cb)(const LinkInfoSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5459 {
5460  return new CallbackNC_Topic_getLinkInfoSeq<T>(instance, cb, excb, sentcb);
5461 }
5462 
5471 template<class T> Callback_Topic_getLinkInfoSeqPtr
5472 newCallback_Topic_getLinkInfoSeq(T* instance, void (T::*cb)(const LinkInfoSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5473 {
5474  return new CallbackNC_Topic_getLinkInfoSeq<T>(instance, cb, excb, sentcb);
5475 }
5476 
5482 template<class T, typename CT>
5483 class Callback_Topic_getLinkInfoSeq : public Callback_Topic_getLinkInfoSeq_Base, public ::IceInternal::TwowayCallback<T, CT>
5484 {
5485 public:
5486 
5487  typedef IceUtil::Handle<T> TPtr;
5488 
5489  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5490  typedef void (T::*Sent)(bool , const CT&);
5491  typedef void (T::*Response)(const LinkInfoSeq&, const CT&);
5492 
5493  Callback_Topic_getLinkInfoSeq(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5494  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5495  {
5496  }
5497 
5499  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5500  {
5501  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5502  LinkInfoSeq ret;
5503  try
5504  {
5505  ret = proxy->end_getLinkInfoSeq(result);
5506  }
5507  catch(const ::Ice::Exception& ex)
5508  {
5509  ::IceInternal::Callback<T, CT>::exception(result, ex);
5510  return;
5511  }
5512  if(_response)
5513  {
5514  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5515  }
5516  }
5518 
5519 private:
5520 
5521  Response _response;
5522 };
5523 
5533 template<class T, typename CT> Callback_Topic_getLinkInfoSeqPtr
5534 newCallback_Topic_getLinkInfoSeq(const IceUtil::Handle<T>& instance, void (T::*cb)(const LinkInfoSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5535 {
5536  return new Callback_Topic_getLinkInfoSeq<T, CT>(instance, cb, excb, sentcb);
5537 }
5538 
5548 template<class T, typename CT> Callback_Topic_getLinkInfoSeqPtr
5549 newCallback_Topic_getLinkInfoSeq(T* instance, void (T::*cb)(const LinkInfoSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5550 {
5551  return new Callback_Topic_getLinkInfoSeq<T, CT>(instance, cb, excb, sentcb);
5552 }
5553 
5559 template<class T>
5560 class CallbackNC_Topic_getSubscribers : public Callback_Topic_getSubscribers_Base, public ::IceInternal::TwowayCallbackNC<T>
5561 {
5562 public:
5563 
5564  typedef IceUtil::Handle<T> TPtr;
5565 
5566  typedef void (T::*Exception)(const ::Ice::Exception&);
5567  typedef void (T::*Sent)(bool);
5568  typedef void (T::*Response)(const ::Ice::IdentitySeq&);
5569 
5570  CallbackNC_Topic_getSubscribers(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5571  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5572  {
5573  }
5574 
5576  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5577  {
5578  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5579  ::Ice::IdentitySeq ret;
5580  try
5581  {
5582  ret = proxy->end_getSubscribers(result);
5583  }
5584  catch(const ::Ice::Exception& ex)
5585  {
5586  ::IceInternal::CallbackNC<T>::exception(result, ex);
5587  return;
5588  }
5589  if(_response)
5590  {
5591  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5592  }
5593  }
5595 
5596 private:
5597 
5598  Response _response;
5599 };
5600 
5609 template<class T> Callback_Topic_getSubscribersPtr
5610 newCallback_Topic_getSubscribers(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::IdentitySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5611 {
5612  return new CallbackNC_Topic_getSubscribers<T>(instance, cb, excb, sentcb);
5613 }
5614 
5623 template<class T> Callback_Topic_getSubscribersPtr
5624 newCallback_Topic_getSubscribers(T* instance, void (T::*cb)(const ::Ice::IdentitySeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5625 {
5626  return new CallbackNC_Topic_getSubscribers<T>(instance, cb, excb, sentcb);
5627 }
5628 
5634 template<class T, typename CT>
5635 class Callback_Topic_getSubscribers : public Callback_Topic_getSubscribers_Base, public ::IceInternal::TwowayCallback<T, CT>
5636 {
5637 public:
5638 
5639  typedef IceUtil::Handle<T> TPtr;
5640 
5641  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5642  typedef void (T::*Sent)(bool , const CT&);
5643  typedef void (T::*Response)(const ::Ice::IdentitySeq&, const CT&);
5644 
5645  Callback_Topic_getSubscribers(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5646  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5647  {
5648  }
5649 
5651  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5652  {
5653  TopicPrx proxy = TopicPrx::uncheckedCast(result->getProxy());
5654  ::Ice::IdentitySeq ret;
5655  try
5656  {
5657  ret = proxy->end_getSubscribers(result);
5658  }
5659  catch(const ::Ice::Exception& ex)
5660  {
5661  ::IceInternal::Callback<T, CT>::exception(result, ex);
5662  return;
5663  }
5664  if(_response)
5665  {
5666  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5667  }
5668  }
5670 
5671 private:
5672 
5673  Response _response;
5674 };
5675 
5685 template<class T, typename CT> Callback_Topic_getSubscribersPtr
5686 newCallback_Topic_getSubscribers(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)
5687 {
5688  return new Callback_Topic_getSubscribers<T, CT>(instance, cb, excb, sentcb);
5689 }
5690 
5700 template<class T, typename CT> Callback_Topic_getSubscribersPtr
5701 newCallback_Topic_getSubscribers(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)
5702 {
5703  return new Callback_Topic_getSubscribers<T, CT>(instance, cb, excb, sentcb);
5704 }
5705 
5711 template<class T>
5712 class CallbackNC_Topic_destroy : public Callback_Topic_destroy_Base, public ::IceInternal::OnewayCallbackNC<T>
5713 {
5714 public:
5715 
5716  typedef IceUtil::Handle<T> TPtr;
5717 
5718  typedef void (T::*Exception)(const ::Ice::Exception&);
5719  typedef void (T::*Sent)(bool);
5720  typedef void (T::*Response)();
5721 
5722  CallbackNC_Topic_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5723  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
5724  {
5725  }
5726 };
5727 
5736 template<class T> Callback_Topic_destroyPtr
5737 newCallback_Topic_destroy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5738 {
5739  return new CallbackNC_Topic_destroy<T>(instance, cb, excb, sentcb);
5740 }
5741 
5749 template<class T> Callback_Topic_destroyPtr
5750 newCallback_Topic_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5751 {
5752  return new CallbackNC_Topic_destroy<T>(instance, 0, excb, sentcb);
5753 }
5754 
5763 template<class T> Callback_Topic_destroyPtr
5764 newCallback_Topic_destroy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5765 {
5766  return new CallbackNC_Topic_destroy<T>(instance, cb, excb, sentcb);
5767 }
5768 
5776 template<class T> Callback_Topic_destroyPtr
5777 newCallback_Topic_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5778 {
5779  return new CallbackNC_Topic_destroy<T>(instance, 0, excb, sentcb);
5780 }
5781 
5787 template<class T, typename CT>
5788 class Callback_Topic_destroy : public Callback_Topic_destroy_Base, public ::IceInternal::OnewayCallback<T, CT>
5789 {
5790 public:
5791 
5792  typedef IceUtil::Handle<T> TPtr;
5793 
5794  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5795  typedef void (T::*Sent)(bool , const CT&);
5796  typedef void (T::*Response)(const CT&);
5797 
5798  Callback_Topic_destroy(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5799  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
5800  {
5801  }
5802 };
5803 
5813 template<class T, typename CT> Callback_Topic_destroyPtr
5814 newCallback_Topic_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)
5815 {
5816  return new Callback_Topic_destroy<T, CT>(instance, cb, excb, sentcb);
5817 }
5818 
5827 template<class T, typename CT> Callback_Topic_destroyPtr
5828 newCallback_Topic_destroy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5829 {
5830  return new Callback_Topic_destroy<T, CT>(instance, 0, excb, sentcb);
5831 }
5832 
5842 template<class T, typename CT> Callback_Topic_destroyPtr
5843 newCallback_Topic_destroy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5844 {
5845  return new Callback_Topic_destroy<T, CT>(instance, cb, excb, sentcb);
5846 }
5847 
5856 template<class T, typename CT> Callback_Topic_destroyPtr
5857 newCallback_Topic_destroy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5858 {
5859  return new Callback_Topic_destroy<T, CT>(instance, 0, excb, sentcb);
5860 }
5861 
5867 template<class T>
5868 class CallbackNC_TopicManager_create : public Callback_TopicManager_create_Base, public ::IceInternal::TwowayCallbackNC<T>
5869 {
5870 public:
5871 
5872  typedef IceUtil::Handle<T> TPtr;
5873 
5874  typedef void (T::*Exception)(const ::Ice::Exception&);
5875  typedef void (T::*Sent)(bool);
5876  typedef void (T::*Response)(const TopicPrx&);
5877 
5878  CallbackNC_TopicManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5879  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
5880  {
5881  }
5882 
5884  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5885  {
5886  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
5887  TopicPrx ret;
5888  try
5889  {
5890  ret = proxy->end_create(result);
5891  }
5892  catch(const ::Ice::Exception& ex)
5893  {
5894  ::IceInternal::CallbackNC<T>::exception(result, ex);
5895  return;
5896  }
5897  if(_response)
5898  {
5899  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
5900  }
5901  }
5903 
5904 private:
5905 
5906  Response _response;
5907 };
5908 
5917 template<class T> Callback_TopicManager_createPtr
5918 newCallback_TopicManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5919 {
5920  return new CallbackNC_TopicManager_create<T>(instance, cb, excb, sentcb);
5921 }
5922 
5931 template<class T> Callback_TopicManager_createPtr
5932 newCallback_TopicManager_create(T* instance, void (T::*cb)(const TopicPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
5933 {
5934  return new CallbackNC_TopicManager_create<T>(instance, cb, excb, sentcb);
5935 }
5936 
5942 template<class T, typename CT>
5943 class Callback_TopicManager_create : public Callback_TopicManager_create_Base, public ::IceInternal::TwowayCallback<T, CT>
5944 {
5945 public:
5946 
5947  typedef IceUtil::Handle<T> TPtr;
5948 
5949  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
5950  typedef void (T::*Sent)(bool , const CT&);
5951  typedef void (T::*Response)(const TopicPrx&, const CT&);
5952 
5953  Callback_TopicManager_create(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
5954  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
5955  {
5956  }
5957 
5959  virtual void completed(const ::Ice::AsyncResultPtr& result) const
5960  {
5961  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
5962  TopicPrx ret;
5963  try
5964  {
5965  ret = proxy->end_create(result);
5966  }
5967  catch(const ::Ice::Exception& ex)
5968  {
5969  ::IceInternal::Callback<T, CT>::exception(result, ex);
5970  return;
5971  }
5972  if(_response)
5973  {
5974  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
5975  }
5976  }
5978 
5979 private:
5980 
5981  Response _response;
5982 };
5983 
5993 template<class T, typename CT> Callback_TopicManager_createPtr
5994 newCallback_TopicManager_create(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
5995 {
5996  return new Callback_TopicManager_create<T, CT>(instance, cb, excb, sentcb);
5997 }
5998 
6008 template<class T, typename CT> Callback_TopicManager_createPtr
6009 newCallback_TopicManager_create(T* instance, void (T::*cb)(const TopicPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6010 {
6011  return new Callback_TopicManager_create<T, CT>(instance, cb, excb, sentcb);
6012 }
6013 
6019 template<class T>
6020 class CallbackNC_TopicManager_retrieve : public Callback_TopicManager_retrieve_Base, public ::IceInternal::TwowayCallbackNC<T>
6021 {
6022 public:
6023 
6024  typedef IceUtil::Handle<T> TPtr;
6025 
6026  typedef void (T::*Exception)(const ::Ice::Exception&);
6027  typedef void (T::*Sent)(bool);
6028  typedef void (T::*Response)(const TopicPrx&);
6029 
6030  CallbackNC_TopicManager_retrieve(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6031  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
6032  {
6033  }
6034 
6036  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6037  {
6038  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6039  TopicPrx ret;
6040  try
6041  {
6042  ret = proxy->end_retrieve(result);
6043  }
6044  catch(const ::Ice::Exception& ex)
6045  {
6046  ::IceInternal::CallbackNC<T>::exception(result, ex);
6047  return;
6048  }
6049  if(_response)
6050  {
6051  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
6052  }
6053  }
6055 
6056 private:
6057 
6058  Response _response;
6059 };
6060 
6069 template<class T> Callback_TopicManager_retrievePtr
6070 newCallback_TopicManager_retrieve(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6071 {
6072  return new CallbackNC_TopicManager_retrieve<T>(instance, cb, excb, sentcb);
6073 }
6074 
6083 template<class T> Callback_TopicManager_retrievePtr
6084 newCallback_TopicManager_retrieve(T* instance, void (T::*cb)(const TopicPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6085 {
6086  return new CallbackNC_TopicManager_retrieve<T>(instance, cb, excb, sentcb);
6087 }
6088 
6094 template<class T, typename CT>
6095 class Callback_TopicManager_retrieve : public Callback_TopicManager_retrieve_Base, public ::IceInternal::TwowayCallback<T, CT>
6096 {
6097 public:
6098 
6099  typedef IceUtil::Handle<T> TPtr;
6100 
6101  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
6102  typedef void (T::*Sent)(bool , const CT&);
6103  typedef void (T::*Response)(const TopicPrx&, const CT&);
6104 
6105  Callback_TopicManager_retrieve(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6106  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
6107  {
6108  }
6109 
6111  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6112  {
6113  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6114  TopicPrx ret;
6115  try
6116  {
6117  ret = proxy->end_retrieve(result);
6118  }
6119  catch(const ::Ice::Exception& ex)
6120  {
6121  ::IceInternal::Callback<T, CT>::exception(result, ex);
6122  return;
6123  }
6124  if(_response)
6125  {
6126  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
6127  }
6128  }
6130 
6131 private:
6132 
6133  Response _response;
6134 };
6135 
6145 template<class T, typename CT> Callback_TopicManager_retrievePtr
6146 newCallback_TopicManager_retrieve(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6147 {
6148  return new Callback_TopicManager_retrieve<T, CT>(instance, cb, excb, sentcb);
6149 }
6150 
6160 template<class T, typename CT> Callback_TopicManager_retrievePtr
6161 newCallback_TopicManager_retrieve(T* instance, void (T::*cb)(const TopicPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6162 {
6163  return new Callback_TopicManager_retrieve<T, CT>(instance, cb, excb, sentcb);
6164 }
6165 
6171 template<class T>
6172 class CallbackNC_TopicManager_retrieveAll : public Callback_TopicManager_retrieveAll_Base, public ::IceInternal::TwowayCallbackNC<T>
6173 {
6174 public:
6175 
6176  typedef IceUtil::Handle<T> TPtr;
6177 
6178  typedef void (T::*Exception)(const ::Ice::Exception&);
6179  typedef void (T::*Sent)(bool);
6180  typedef void (T::*Response)(const TopicDict&);
6181 
6182  CallbackNC_TopicManager_retrieveAll(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6183  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
6184  {
6185  }
6186 
6188  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6189  {
6190  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6191  TopicDict ret;
6192  try
6193  {
6194  ret = proxy->end_retrieveAll(result);
6195  }
6196  catch(const ::Ice::Exception& ex)
6197  {
6198  ::IceInternal::CallbackNC<T>::exception(result, ex);
6199  return;
6200  }
6201  if(_response)
6202  {
6203  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
6204  }
6205  }
6207 
6208 private:
6209 
6210  Response _response;
6211 };
6212 
6221 template<class T> Callback_TopicManager_retrieveAllPtr
6222 newCallback_TopicManager_retrieveAll(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6223 {
6224  return new CallbackNC_TopicManager_retrieveAll<T>(instance, cb, excb, sentcb);
6225 }
6226 
6235 template<class T> Callback_TopicManager_retrieveAllPtr
6236 newCallback_TopicManager_retrieveAll(T* instance, void (T::*cb)(const TopicDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6237 {
6238  return new CallbackNC_TopicManager_retrieveAll<T>(instance, cb, excb, sentcb);
6239 }
6240 
6246 template<class T, typename CT>
6247 class Callback_TopicManager_retrieveAll : public Callback_TopicManager_retrieveAll_Base, public ::IceInternal::TwowayCallback<T, CT>
6248 {
6249 public:
6250 
6251  typedef IceUtil::Handle<T> TPtr;
6252 
6253  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
6254  typedef void (T::*Sent)(bool , const CT&);
6255  typedef void (T::*Response)(const TopicDict&, const CT&);
6256 
6257  Callback_TopicManager_retrieveAll(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6258  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
6259  {
6260  }
6261 
6263  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6264  {
6265  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6266  TopicDict ret;
6267  try
6268  {
6269  ret = proxy->end_retrieveAll(result);
6270  }
6271  catch(const ::Ice::Exception& ex)
6272  {
6273  ::IceInternal::Callback<T, CT>::exception(result, ex);
6274  return;
6275  }
6276  if(_response)
6277  {
6278  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
6279  }
6280  }
6282 
6283 private:
6284 
6285  Response _response;
6286 };
6287 
6297 template<class T, typename CT> Callback_TopicManager_retrieveAllPtr
6298 newCallback_TopicManager_retrieveAll(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6299 {
6300  return new Callback_TopicManager_retrieveAll<T, CT>(instance, cb, excb, sentcb);
6301 }
6302 
6312 template<class T, typename CT> Callback_TopicManager_retrieveAllPtr
6313 newCallback_TopicManager_retrieveAll(T* instance, void (T::*cb)(const TopicDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6314 {
6315  return new Callback_TopicManager_retrieveAll<T, CT>(instance, cb, excb, sentcb);
6316 }
6317 
6323 template<class T>
6324 class CallbackNC_TopicManager_getSliceChecksums : public Callback_TopicManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallbackNC<T>
6325 {
6326 public:
6327 
6328  typedef IceUtil::Handle<T> TPtr;
6329 
6330  typedef void (T::*Exception)(const ::Ice::Exception&);
6331  typedef void (T::*Sent)(bool);
6332  typedef void (T::*Response)(const ::Ice::SliceChecksumDict&);
6333 
6334  CallbackNC_TopicManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6335  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
6336  {
6337  }
6338 
6340  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6341  {
6342  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6344  try
6345  {
6346  ret = proxy->end_getSliceChecksums(result);
6347  }
6348  catch(const ::Ice::Exception& ex)
6349  {
6350  ::IceInternal::CallbackNC<T>::exception(result, ex);
6351  return;
6352  }
6353  if(_response)
6354  {
6355  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
6356  }
6357  }
6359 
6360 private:
6361 
6362  Response _response;
6363 };
6364 
6373 template<class T> Callback_TopicManager_getSliceChecksumsPtr
6374 newCallback_TopicManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6375 {
6376  return new CallbackNC_TopicManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
6377 }
6378 
6387 template<class T> Callback_TopicManager_getSliceChecksumsPtr
6388 newCallback_TopicManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6389 {
6390  return new CallbackNC_TopicManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
6391 }
6392 
6398 template<class T, typename CT>
6399 class Callback_TopicManager_getSliceChecksums : public Callback_TopicManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallback<T, CT>
6400 {
6401 public:
6402 
6403  typedef IceUtil::Handle<T> TPtr;
6404 
6405  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
6406  typedef void (T::*Sent)(bool , const CT&);
6407  typedef void (T::*Response)(const ::Ice::SliceChecksumDict&, const CT&);
6408 
6409  Callback_TopicManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6410  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
6411  {
6412  }
6413 
6415  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6416  {
6417  TopicManagerPrx proxy = TopicManagerPrx::uncheckedCast(result->getProxy());
6419  try
6420  {
6421  ret = proxy->end_getSliceChecksums(result);
6422  }
6423  catch(const ::Ice::Exception& ex)
6424  {
6425  ::IceInternal::Callback<T, CT>::exception(result, ex);
6426  return;
6427  }
6428  if(_response)
6429  {
6430  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
6431  }
6432  }
6434 
6435 private:
6436 
6437  Response _response;
6438 };
6439 
6449 template<class T, typename CT> Callback_TopicManager_getSliceChecksumsPtr
6450 newCallback_TopicManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6451 {
6452  return new Callback_TopicManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
6453 }
6454 
6464 template<class T, typename CT> Callback_TopicManager_getSliceChecksumsPtr
6465 newCallback_TopicManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6466 {
6467  return new Callback_TopicManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
6468 }
6469 
6475 template<class T>
6476 class CallbackNC_Finder_getTopicManager : public Callback_Finder_getTopicManager_Base, public ::IceInternal::TwowayCallbackNC<T>
6477 {
6478 public:
6479 
6480  typedef IceUtil::Handle<T> TPtr;
6481 
6482  typedef void (T::*Exception)(const ::Ice::Exception&);
6483  typedef void (T::*Sent)(bool);
6484  typedef void (T::*Response)(const TopicManagerPrx&);
6485 
6486  CallbackNC_Finder_getTopicManager(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6487  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
6488  {
6489  }
6490 
6492  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6493  {
6494  FinderPrx proxy = FinderPrx::uncheckedCast(result->getProxy());
6495  TopicManagerPrx ret;
6496  try
6497  {
6498  ret = proxy->end_getTopicManager(result);
6499  }
6500  catch(const ::Ice::Exception& ex)
6501  {
6502  ::IceInternal::CallbackNC<T>::exception(result, ex);
6503  return;
6504  }
6505  if(_response)
6506  {
6507  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
6508  }
6509  }
6511 
6512 private:
6513 
6514  Response _response;
6515 };
6516 
6525 template<class T> Callback_Finder_getTopicManagerPtr
6526 newCallback_Finder_getTopicManager(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicManagerPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6527 {
6528  return new CallbackNC_Finder_getTopicManager<T>(instance, cb, excb, sentcb);
6529 }
6530 
6539 template<class T> Callback_Finder_getTopicManagerPtr
6540 newCallback_Finder_getTopicManager(T* instance, void (T::*cb)(const TopicManagerPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
6541 {
6542  return new CallbackNC_Finder_getTopicManager<T>(instance, cb, excb, sentcb);
6543 }
6544 
6550 template<class T, typename CT>
6551 class Callback_Finder_getTopicManager : public Callback_Finder_getTopicManager_Base, public ::IceInternal::TwowayCallback<T, CT>
6552 {
6553 public:
6554 
6555  typedef IceUtil::Handle<T> TPtr;
6556 
6557  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
6558  typedef void (T::*Sent)(bool , const CT&);
6559  typedef void (T::*Response)(const TopicManagerPrx&, const CT&);
6560 
6561  Callback_Finder_getTopicManager(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
6562  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
6563  {
6564  }
6565 
6567  virtual void completed(const ::Ice::AsyncResultPtr& result) const
6568  {
6569  FinderPrx proxy = FinderPrx::uncheckedCast(result->getProxy());
6570  TopicManagerPrx ret;
6571  try
6572  {
6573  ret = proxy->end_getTopicManager(result);
6574  }
6575  catch(const ::Ice::Exception& ex)
6576  {
6577  ::IceInternal::Callback<T, CT>::exception(result, ex);
6578  return;
6579  }
6580  if(_response)
6581  {
6582  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
6583  }
6584  }
6586 
6587 private:
6588 
6589  Response _response;
6590 };
6591 
6601 template<class T, typename CT> Callback_Finder_getTopicManagerPtr
6602 newCallback_Finder_getTopicManager(const IceUtil::Handle<T>& instance, void (T::*cb)(const TopicManagerPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6603 {
6604  return new Callback_Finder_getTopicManager<T, CT>(instance, cb, excb, sentcb);
6605 }
6606 
6616 template<class T, typename CT> Callback_Finder_getTopicManagerPtr
6617 newCallback_Finder_getTopicManager(T* instance, void (T::*cb)(const TopicManagerPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
6618 {
6619  return new Callback_Finder_getTopicManager<T, CT>(instance, cb, excb, sentcb);
6620 }
6621 
6622 }
6623 
6624 #endif
6625 
6627 #endif
IceStorm::TopicManager::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.
IceStorm::LinkExists::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:149
IceStorm::TopicExists::~TopicExists
virtual ~TopicExists()
Ice::LocalObjectPtr
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
IceStorm::NoSuchTopic
This exception indicates that an attempt was made to retrieve a topic that does not exist.
Definition: IceStorm.h:392
IceStorm::Topic::destroy
virtual void destroy(const ::Ice::Current &current)=0
Destroy the topic.
IceStorm::QoS
::std::map<::std::string, ::std::string > QoS
This dictionary represents quality of service parameters.
Definition: IceStorm.h:119
IceStorm::TopicPrx::getPublisher
::std::shared_ptr<::Ice::ObjectPrx > getPublisher(const ::Ice::Context &context=::Ice::noExplicitContext)
Get a proxy to a publisher object for this topic.
Definition: IceStorm.h:827
Optional.h
IceStorm::TopicPrx::destroy
void destroy(const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the topic.
Definition: IceStorm.h:1229
IceStorm
Definition: IceStorm.h:67
IceStorm::Topic::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceStorm::TopicPrx::unlinkAsync
auto unlinkAsync(const ::std::shared_ptr< TopicPrx > &linkTo, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Destroy the link from this topic to the given topic linkTo.
Definition: IceStorm.h:1110
Ice::Context
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
Ice::InputStream
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition: InputStream.h:50
IceStorm::InvalidSubscriber::reason
::std::string reason
The reason for the failure.
Definition: IceStorm.h:288
IceStorm::BadQoS::~BadQoS
virtual ~BadQoS()
IceStorm::TopicPrx::getName
::std::string getName(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the name of this topic.
Definition: IceStorm.h:778
IceStorm::TopicPrx::unlink
void unlink(const ::std::shared_ptr< TopicPrx > &linkTo, const ::Ice::Context &context=::Ice::noExplicitContext)
Destroy the link from this topic to the given topic linkTo.
Definition: IceStorm.h:1098
IceStorm::Topic::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.
IceStorm::Topic::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.
Ice::emptyCurrent
const Current emptyCurrent
A default-initialized Current instance.
IceStorm::LinkExists::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
IceStorm::TopicExists::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
IceStorm::NoSuchTopic::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
StreamHelpers.h
IceStorm::Topic::getSubscribers
virtual ::Ice::IdentitySeq getSubscribers(const ::Ice::Current &current) const =0
Retrieve the list of subscribers for this topic.
IceStorm::TopicManagerPrx::getSliceChecksumsAsync
auto getSliceChecksumsAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::SliceChecksumDict >>().get_future())
Returns the checksums for the IceStorm Slice definitions.
Definition: IceStorm.h:1448
IceStorm::LinkExists::LinkExists
LinkExists()=default
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
IceStorm::TopicPrx::unsubscribeAsync
auto unsubscribeAsync(const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Unsubscribe the given subscriber.
Definition: IceStorm.h:1008
Ice::Exception
IceUtil::Exception Exception
Definition: Exception.h:20
IceStorm::TopicPrx::getPublisherAsync
auto getPublisherAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Get a proxy to a publisher object for this topic.
Definition: IceStorm.h:842
IceStorm::TopicManager::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.
IceStorm::TopicManager::retrieve
virtual ::std::shared_ptr< TopicPrx > retrieve(::std::string name, const ::Ice::Current &current) const =0
Retrieve a topic by name.
IceStorm::TopicManagerPrx::createAsync
auto createAsync(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceStorm::TopicPrx >>>().get_future())
Create a new topic.
Definition: IceStorm.h:1312
IceStorm::InvalidSubscriber::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:274
IceStorm::FinderPrx::getTopicManager
::std::shared_ptr< TopicManagerPrx > getTopicManager(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the topic manager proxy.
Definition: IceStorm.h:1508
GCObject.h
IceStorm::TopicManager::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.
IceStorm::LinkExists
This exception indicates that an attempt was made to create a link that already exists.
Definition: IceStorm.h:127
IceStorm::LinkInfoSeq
::std::vector< LinkInfo > LinkInfoSeq
A sequence of LinkInfo objects.
Definition: IceStorm.h:113
IceStorm::TopicManager::create
virtual ::std::shared_ptr< TopicPrx > create(::std::string name, const ::Ice::Current &current)=0
Create a new topic.
IceStorm::TopicPrx::getSubscribers
::Ice::IdentitySeq getSubscribers(const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve the list of subscribers for this topic.
Definition: IceStorm.h:1187
IceStorm::TopicPrx::getNameAsync
::std::function< void()> getNameAsync(::std::function< void(::std::string)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the name of this topic.
Definition: IceStorm.h:806
IceStorm::TopicPrx::getNonReplicatedPublisherAsync
::std::function< void()> getNonReplicatedPublisherAsync(::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get a non-replicated proxy to a publisher object for this topic.
Definition: IceStorm.h:913
IceStorm::Topic::getNonReplicatedPublisher
virtual ::std::shared_ptr<::Ice::ObjectPrx > getNonReplicatedPublisher(const ::Ice::Current &current) const =0
Get a non-replicated proxy to a publisher object for this topic.
IceStorm::LinkInfo
Information on the topic links.
Definition: IceStorm.h:86
Ice::SliceChecksumDict
::std::map<::std::string, ::std::string > SliceChecksumDict
A mapping from type IDs to Slice checksums.
Definition: SliceChecksumDict.h:63
Incoming.h
IceStorm::BadQoS::BadQoS
BadQoS(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition: IceStorm.h:310
IceStorm::TopicPrx::destroyAsync
auto destroyAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Destroy the topic.
Definition: IceStorm.h:1240
IceStorm::TopicPrx::link
void link(const ::std::shared_ptr< TopicPrx > &linkTo, int cost, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a link to the given topic.
Definition: IceStorm.h:1047
IceStorm::TopicExists::name
::std::string name
The name of the topic that already exists.
Definition: IceStorm.h:383
IceStorm::InvalidSubscriber::~InvalidSubscriber
virtual ~InvalidSubscriber()
IceStorm::TopicManagerPrx::retrieveAllAsync
::std::function< void()> retrieveAllAsync(::std::function< void(::IceStorm::TopicDict)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve all topics managed by this topic manager.
Definition: IceStorm.h:1420
IceStorm::TopicPrx::unsubscribeAsync
::std::function< void()> unsubscribeAsync(const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Unsubscribe the given subscriber.
Definition: IceStorm.h:1025
IceStorm::TopicPrx::linkAsync
::std::function< void()> linkAsync(const ::std::shared_ptr< TopicPrx > &linkTo, int cost, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a link to the given topic.
Definition: IceStorm.h:1079
IceStorm::Topic::unlink
virtual void unlink(::std::shared_ptr< TopicPrx > linkTo, const ::Ice::Current &current)=0
Destroy the link from this topic to the given topic linkTo.
Ice::UserExceptionHelper
Helper template for the implementation of Ice::UserException.
Definition: ExceptionHelpers.h:39
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
FactoryTableInit.h
IceStorm::LinkExists::name
::std::string name
The name of the linked topic.
Definition: IceStorm.h:163
IceStorm::AlreadySubscribed::AlreadySubscribed
AlreadySubscribed(const AlreadySubscribed &)=default
IceStorm::BadQoS::BadQoS
BadQoS(const BadQoS &)=default
IceStorm::NoSuchTopic::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:414
IceStorm::InvalidSubscriber::InvalidSubscriber
InvalidSubscriber(const InvalidSubscriber &)=default
IceStorm::BadQoS::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:319
IceStorm::TopicManager::getSliceChecksums
virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current &current) const =0
Returns the checksums for the IceStorm Slice definitions.
IceStorm::TopicManager::retrieveAll
virtual TopicDict retrieveAll(const ::Ice::Current &current) const =0
Retrieve all topics managed by this topic manager.
IceStorm::LinkExists::~LinkExists
virtual ~LinkExists()
IceStorm::TopicManagerPrx
A topic manager manages topics, and subscribers to topics.
Definition: IceStorm.h:1289
IceStorm::BadQoS
This exception indicates that a subscription failed due to an invalid QoS.
Definition: IceStorm.h:297
IceStorm::NoSuchTopic::name
::std::string name
The name of the topic that does not exist.
Definition: IceStorm.h:428
IceStorm::LinkInfo::ice_tuple
std::tuple< const ::std::shared_ptr<::IceStorm::TopicPrx > &, const ::std::string &, const int & > ice_tuple() const
Obtains a tuple containing all of the struct's data members.
Definition: IceStorm.h:104
IceStorm::TopicExists::TopicExists
TopicExists()=default
IceStorm::TopicExists
This exception indicates that an attempt was made to create a topic that already exists.
Definition: IceStorm.h:347
IceStorm::LinkExists::LinkExists
LinkExists(const LinkExists &)=default
IceStorm::AlreadySubscribed::AlreadySubscribed
AlreadySubscribed()=default
IceStorm::FinderPrx::getTopicManagerAsync
auto getTopicManagerAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceStorm::TopicManagerPrx >>>().get_future())
Get the topic manager proxy.
Definition: IceStorm.h:1520
ICESTORM_API
#define ICESTORM_API
Definition: IceStorm.h:60
LocalObject.h
IceStorm::Finder::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.
PushDisableWarnings.h
IceStorm::TopicManagerPrx::retrieveAll
TopicDict retrieveAll(const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve all topics managed by this topic manager.
Definition: IceStorm.h:1394
IceStorm::Topic::getLinkInfoSeq
virtual LinkInfoSeq getLinkInfoSeq(const ::Ice::Current &current) const =0
Retrieve information on the current links.
IceStorm::Finder::getTopicManager
virtual ::std::shared_ptr< TopicManagerPrx > getTopicManager(const ::Ice::Current &current)=0
Get the topic manager proxy.
IceStorm::NoSuchTopic::NoSuchTopic
NoSuchTopic()=default
IceStorm::TopicPrx::getLinkInfoSeqAsync
::std::function< void()> getLinkInfoSeqAsync(::std::function< void(::IceStorm::LinkInfoSeq)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve information on the current links.
Definition: IceStorm.h:1170
IceStorm::Finder::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.
ProxyF.h
IceStorm::InvalidSubscriber::InvalidSubscriber
InvalidSubscriber(const ::std::string &reason)
One-shot constructor to initialize all data members.
Definition: IceStorm.h:265
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
IceStorm::NoSuchTopic::NoSuchTopic
NoSuchTopic(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition: IceStorm.h:405
IceStorm::LinkExists::LinkExists
LinkExists(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition: IceStorm.h:140
IceStorm::FinderPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceStorm::BadQoS::BadQoS
BadQoS()=default
IceStorm::BadQoS::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
IceStorm::AlreadySubscribed::~AlreadySubscribed
virtual ~AlreadySubscribed()
IceStorm::InvalidSubscriber
This exception indicates that an attempt was made to subscribe a proxy that is null.
Definition: IceStorm.h:252
IceStorm::LinkInfo::name
::std::string name
The name of the linked topic.
Definition: IceStorm.h:94
Object.h
Ice::IdentitySeq
::std::vector< Identity > IdentitySeq
A sequence of identities.
Definition: Identity.h:95
IceStorm::NoSuchTopic::NoSuchTopic
NoSuchTopic(const NoSuchTopic &)=default
Proxy.h
IceStorm::InvalidSubscriber::InvalidSubscriber
InvalidSubscriber()=default
IceStorm::TopicPrx
Publishers publish information on a particular topic.
Definition: IceStorm.h:769
UndefSysMacros.h
Ice::OutputStream
Interface for output streams used to create a sequence of bytes from Slice types.
Definition: OutputStream.h:28
IceStorm::TopicPrx::getSubscribersAsync
::std::function< void()> getSubscribersAsync(::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)
Retrieve the list of subscribers for this topic.
Definition: IceStorm.h:1213
IceStorm::TopicPrx::getNonReplicatedPublisher
::std::shared_ptr<::Ice::ObjectPrx > getNonReplicatedPublisher(const ::Ice::Context &context=::Ice::noExplicitContext)
Get a non-replicated proxy to a publisher object for this topic.
Definition: IceStorm.h:881
IceStorm::Finder::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.
IceStorm::TopicPrx::unlinkAsync
::std::function< void()> unlinkAsync(const ::std::shared_ptr< TopicPrx > &linkTo, ::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 link from this topic to the given topic linkTo.
Definition: IceStorm.h:1126
IceStorm::Finder::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceStorm::Topic::unsubscribe
virtual void unsubscribe(::std::shared_ptr<::Ice::ObjectPrx > subscriber, const ::Ice::Current &current)=0
Unsubscribe the given subscriber.
IceStorm::Topic::subscribeAndGetPublisher
virtual ::std::shared_ptr<::Ice::ObjectPrx > subscribeAndGetPublisher(QoS theQoS, ::std::shared_ptr<::Ice::ObjectPrx > subscriber, const ::Ice::Current &current)=0
Subscribe with the given qos to this topic.
ObjectF.h
IceStorm::TopicManagerPrx::retrieveAsync
::std::function< void()> retrieveAsync(const ::std::string &name, ::std::function< void(::std::shared_ptr<::IceStorm::TopicPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve a topic by name.
Definition: IceStorm.h:1376
IceStorm::TopicManagerPrx::getSliceChecksums
::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the checksums for the IceStorm Slice definitions.
Definition: IceStorm.h:1437
IceStorm::AlreadySubscribed::ice_tuple
std::tuple ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:234
Ice
Definition: BuiltinSequences.h:56
IceStorm::TopicPrx::unsubscribe
void unsubscribe(const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, const ::Ice::Context &context=::Ice::noExplicitContext)
Unsubscribe the given subscriber.
Definition: IceStorm.h:995
IceStorm::AlreadySubscribed::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
IceStorm::TopicPrx::getPublisherAsync
::std::function< void()> getPublisherAsync(::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get a proxy to a publisher object for this topic.
Definition: IceStorm.h:861
IceStorm::TopicPrx::subscribeAndGetPublisherAsync
auto subscribeAndGetPublisherAsync(const QoS &theQoS, const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Subscribe with the given qos to this topic.
Definition: IceStorm.h:956
Metrics.h
IceStorm::Topic
Publishers publish information on a particular topic.
Definition: IceStorm.h:450
IceStorm::NoSuchTopic::~NoSuchTopic
virtual ~NoSuchTopic()
IceStorm::Topic::getName
virtual ::std::string getName(const ::Ice::Current &current) const =0
Get the name of this topic.
IceStorm::TopicPrx::getSubscribersAsync
auto getSubscribersAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::Ice::IdentitySeq >>().get_future())
Retrieve the list of subscribers for this topic.
Definition: IceStorm.h:1198
Identity.h
IceStorm::TopicPrx::subscribeAndGetPublisherAsync
::std::function< void()> subscribeAndGetPublisherAsync(const QoS &theQoS, const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, ::std::function< void(::std::shared_ptr<::Ice::ObjectPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Subscribe with the given qos to this topic.
Definition: IceStorm.h:976
IceUtil::Handle
Definition: Handle.h:143
Ice::ObjectPrx
Base class of all object proxies.
Definition: Proxy.h:317
IceStorm::Topic::getPublisher
virtual ::std::shared_ptr<::Ice::ObjectPrx > getPublisher(const ::Ice::Current &current) const =0
Get a proxy to a publisher object for this topic.
IceStorm::LinkInfo::theTopic
::std::shared_ptr<::IceStorm::TopicPrx > theTopic
The linked topic.
Definition: IceStorm.h:90
IceStorm::BadQoS::reason
::std::string reason
The reason for the failure.
Definition: IceStorm.h:333
IceStorm::TopicManager
A topic manager manages topics, and subscribers to topics.
Definition: IceStorm.h:617
ExceptionHelpers.h
IceStorm::TopicPrx::linkAsync
auto linkAsync(const ::std::shared_ptr< TopicPrx > &linkTo, int cost, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Create a link to the given topic.
Definition: IceStorm.h:1061
IceStorm::Topic::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.
IceStorm::TopicPrx::getLinkInfoSeqAsync
auto getLinkInfoSeqAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::IceStorm::LinkInfoSeq >>().get_future())
Retrieve information on the current links.
Definition: IceStorm.h:1155
IceStorm::FinderPrx::getTopicManagerAsync
::std::function< void()> getTopicManagerAsync(::std::function< void(::std::shared_ptr<::IceStorm::TopicManagerPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the topic manager proxy.
Definition: IceStorm.h:1536
IceStorm::TopicExists::ice_tuple
std::tuple< const ::std::string & > ice_tuple() const
Obtains a tuple containing all of the exception's data members.
Definition: IceStorm.h:369
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
IceStorm::TopicPrx::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 topic.
Definition: IceStorm.h:1255
Comparable.h
IceStorm::TopicExists::TopicExists
TopicExists(const ::std::string &name)
One-shot constructor to initialize all data members.
Definition: IceStorm.h:360
Config.h
ScopedArray.h
IceStorm::TopicPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceStorm::TopicManagerPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
IceStorm::TopicPrx::getLinkInfoSeq
LinkInfoSeq getLinkInfoSeq(const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve information on the current links.
Definition: IceStorm.h:1144
IceStorm::TopicManagerPrx::getSliceChecksumsAsync
::std::function< void()> getSliceChecksumsAsync(::std::function< void(::Ice::SliceChecksumDict)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Returns the checksums for the IceStorm Slice definitions.
Definition: IceStorm.h:1463
SliceChecksumDict.h
Ice::Proxy
Helper template that supplies proxy factory functions.
Definition: Proxy.h:1204
IceStorm::Finder
This inferface is advertised by the IceStorm service through the Ice object with the identity `IceSto...
Definition: IceStorm.h:708
IceStorm::TopicDict
::std::map<::std::string, ::std::shared_ptr< TopicPrx > > TopicDict
Mapping of topic name to topic proxy.
Definition: IceStorm.h:339
IceStorm::TopicManagerPrx::retrieve
::std::shared_ptr< TopicPrx > retrieve(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Retrieve a topic by name.
Definition: IceStorm.h:1348
IceStorm::TopicManagerPrx::create
::std::shared_ptr< TopicPrx > create(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new topic.
Definition: IceStorm.h:1300
IceStorm::TopicManager::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
IceStorm::Topic::link
virtual void link(::std::shared_ptr< TopicPrx > linkTo, int cost, const ::Ice::Current &current)=0
Create a link to the given topic.
Exception.h
ValueF.h
IceStorm::FinderPrx
This inferface is advertised by the IceStorm service through the Ice object with the identity `IceSto...
Definition: IceStorm.h:1499
IceStorm::TopicPrx::getNonReplicatedPublisherAsync
auto getNonReplicatedPublisherAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::Ice::ObjectPrx >>>().get_future())
Get a non-replicated proxy to a publisher object for this topic.
Definition: IceStorm.h:895
IceStorm::TopicManagerPrx::createAsync
::std::function< void()> createAsync(const ::std::string &name, ::std::function< void(::std::shared_ptr<::IceStorm::TopicPrx >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
Create a new topic.
Definition: IceStorm.h:1328
IceStorm::AlreadySubscribed
This exception indicates that an attempt was made to subscribe a proxy for which a subscription alrea...
Definition: IceStorm.h:221
IceStorm::LinkInfo::cost
int cost
The cost of traversing this link.
Definition: IceStorm.h:98
IceStorm::TopicManagerPrx::retrieveAsync
auto retrieveAsync(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::shared_ptr<::IceStorm::TopicPrx >>>().get_future())
Retrieve a topic by name.
Definition: IceStorm.h:1360
IceStorm::TopicExists::TopicExists
TopicExists(const TopicExists &)=default
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
IceStorm::TopicPrx::getNameAsync
auto getNameAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::std::string >>().get_future())
Get the name of this topic.
Definition: IceStorm.h:790
Ice::noExplicitContext
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Value.h
IceStorm::TopicPrx::subscribeAndGetPublisher
::std::shared_ptr<::Ice::ObjectPrx > subscribeAndGetPublisher(const QoS &theQoS, const ::std::shared_ptr<::Ice::ObjectPrx > &subscriber, const ::Ice::Context &context=::Ice::noExplicitContext)
Subscribe with the given qos to this topic.
Definition: IceStorm.h:940
IceStorm::TopicManagerPrx::retrieveAllAsync
auto retrieveAllAsync(const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P<::IceStorm::TopicDict >>().get_future())
Retrieve all topics managed by this topic manager.
Definition: IceStorm.h:1405
IceStorm::InvalidSubscriber::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this exception.
Ice::UserException
Base class for all Ice user exceptions.
Definition: Exception.h:68
PopDisableWarnings.h