zeroc-ice 3.7.3 → 3.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/ext/Communicator.cpp +3 -0
  3. data/ext/Config.h +11 -0
  4. data/ext/Types.cpp +18 -2
  5. data/ext/Util.cpp +15 -3
  6. data/ext/Util.h +36 -0
  7. data/ext/ice/cpp/include/Ice/Exception.h +3 -3
  8. data/ext/ice/cpp/include/Ice/Functional.h +3 -1
  9. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +1 -1
  10. data/ext/ice/cpp/include/Ice/Initialize.h +1 -1
  11. data/ext/ice/cpp/include/Ice/Object.h +7 -0
  12. data/ext/ice/cpp/include/Ice/Optional.h +1 -1
  13. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -0
  14. data/ext/ice/cpp/include/Ice/Proxy.h +56 -25
  15. data/ext/ice/cpp/include/Ice/Service.h +1 -1
  16. data/ext/ice/cpp/include/IceSSL/Plugin.h +142 -0
  17. data/ext/ice/cpp/include/IceUtil/Config.h +3 -2
  18. data/ext/ice/cpp/include/IceUtil/Functional.h +3 -1
  19. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +4 -4
  20. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
  21. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
  22. data/ext/ice/cpp/include/generated/Ice/Communicator.h +10 -4
  23. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
  24. data/ext/ice/cpp/include/generated/Ice/Connection.h +58 -15
  25. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
  26. data/ext/ice/cpp/include/generated/Ice/Current.h +2 -2
  27. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +50 -14
  28. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +2 -2
  29. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
  30. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +2 -2
  31. data/ext/ice/cpp/include/generated/Ice/Identity.h +2 -2
  32. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +8 -2
  33. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +2 -2
  34. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +62 -2
  35. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +2 -2
  36. data/ext/ice/cpp/include/generated/Ice/LocalException.h +523 -127
  37. data/ext/ice/cpp/include/generated/Ice/Locator.h +62 -14
  38. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +2 -2
  39. data/ext/ice/cpp/include/generated/Ice/Logger.h +8 -2
  40. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +2 -2
  41. data/ext/ice/cpp/include/generated/Ice/Metrics.h +79 -27
  42. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +8 -2
  43. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +2 -2
  44. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +8 -2
  45. data/ext/ice/cpp/include/generated/Ice/Plugin.h +14 -2
  46. data/ext/ice/cpp/include/generated/Ice/PluginF.h +2 -2
  47. data/ext/ice/cpp/include/generated/Ice/Process.h +10 -4
  48. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
  49. data/ext/ice/cpp/include/generated/Ice/Properties.h +8 -2
  50. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +11 -5
  51. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
  52. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +26 -8
  53. data/ext/ice/cpp/include/generated/Ice/Router.h +18 -6
  54. data/ext/ice/cpp/include/generated/Ice/RouterF.h +2 -2
  55. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +8 -2
  56. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +2 -2
  57. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
  58. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +14 -2
  59. data/ext/ice/cpp/include/generated/Ice/Version.h +2 -2
  60. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +10 -5
  61. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
  62. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +8 -3
  63. data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
  64. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
  65. data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
  66. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
  67. data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
  68. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
  69. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +3 -3
  70. data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
  71. data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
  72. data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
  73. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
  74. data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
  75. data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
  76. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
  77. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
  78. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +1 -1
  79. data/ext/ice/cpp/src/Ice/Initialize.cpp +1 -1
  80. data/ext/ice/cpp/src/Ice/InputStream.cpp +29 -14
  81. data/ext/ice/cpp/src/Ice/Instance.cpp +3 -0
  82. data/ext/ice/cpp/src/Ice/Instance.h +2 -0
  83. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
  84. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
  85. data/ext/ice/cpp/src/Ice/LocalException.cpp +398 -2
  86. data/ext/ice/cpp/src/Ice/Locator.cpp +32 -2
  87. data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
  88. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +3 -3
  89. data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
  90. data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
  91. data/ext/ice/cpp/src/Ice/Metrics.cpp +8 -2
  92. data/ext/ice/cpp/src/Ice/Network.cpp +1 -1
  93. data/ext/ice/cpp/src/Ice/Network.h +0 -0
  94. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
  95. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
  96. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +4 -4
  97. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +8 -8
  98. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
  99. data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
  100. data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
  101. data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
  102. data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
  103. data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
  104. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
  105. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
  106. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +6 -3
  107. data/ext/ice/cpp/src/Ice/PropertyNames.h +1 -1
  108. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +9 -0
  109. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +8 -2
  110. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +5 -2
  111. data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
  112. data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
  113. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +6 -2
  114. data/ext/ice/cpp/src/Ice/SHA1.cpp +2 -0
  115. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
  116. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
  117. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
  118. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -0
  119. data/ext/ice/cpp/src/Ice/Thread.cpp +2 -2
  120. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +5 -1
  121. data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -4
  122. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -0
  123. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +2 -2
  124. data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
  125. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
  126. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +491 -6
  127. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
  128. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +16 -4
  129. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +12 -1
  130. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +23 -1
  131. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
  132. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +2 -2
  133. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
  134. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +124 -19
  135. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +60 -1
  136. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +105 -2
  137. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +1 -0
  138. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +2 -0
  139. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +114 -0
  140. data/ext/ice/cpp/src/IceSSL/PluginI.h +21 -0
  141. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +142 -1
  142. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +117 -3
  143. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +1 -0
  144. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +20 -1
  145. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +4 -0
  146. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +133 -2
  147. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +151 -89
  148. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +1 -0
  149. data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -0
  150. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +6 -0
  151. data/ext/ice/cpp/src/IceUtil/Time.cpp +8 -10
  152. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +6 -2
  153. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +12 -4
  154. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +4 -0
  155. data/ext/ice/cpp/src/Slice/Parser.cpp +11 -7
  156. data/ext/ice/cpp/src/Slice/Parser.h +2 -2
  157. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +12 -0
  158. data/ext/ice/cpp/src/Slice/Preprocessor.h +1 -1
  159. data/ext/ice/cpp/src/Slice/Python.cpp +1 -1
  160. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +17 -5
  161. data/ext/ice/cpp/src/Slice/Scanner.cpp +621 -369
  162. data/ext/ice/mcpp/CMakeLists.txt +80 -0
  163. data/ext/ice/mcpp/expand.c +6 -6
  164. data/ice.gemspec +1 -1
  165. data/lib/Glacier2/Metrics.rb +1 -1
  166. data/lib/Glacier2/PermissionsVerifier.rb +1 -1
  167. data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
  168. data/lib/Glacier2/Router.rb +1 -1
  169. data/lib/Glacier2/RouterF.rb +1 -1
  170. data/lib/Glacier2/SSLInfo.rb +1 -1
  171. data/lib/Glacier2/Session.rb +1 -1
  172. data/lib/Ice/BuiltinSequences.rb +1 -1
  173. data/lib/Ice/Communicator.rb +1 -1
  174. data/lib/Ice/CommunicatorF.rb +1 -1
  175. data/lib/Ice/Connection.rb +1 -1
  176. data/lib/Ice/ConnectionF.rb +1 -1
  177. data/lib/Ice/Current.rb +1 -1
  178. data/lib/Ice/Endpoint.rb +1 -1
  179. data/lib/Ice/EndpointF.rb +1 -1
  180. data/lib/Ice/EndpointTypes.rb +1 -1
  181. data/lib/Ice/FacetMap.rb +1 -1
  182. data/lib/Ice/Identity.rb +1 -1
  183. data/lib/Ice/ImplicitContext.rb +1 -1
  184. data/lib/Ice/ImplicitContextF.rb +1 -1
  185. data/lib/Ice/Instrumentation.rb +1 -1
  186. data/lib/Ice/InstrumentationF.rb +1 -1
  187. data/lib/Ice/LocalException.rb +1 -1
  188. data/lib/Ice/Locator.rb +1 -1
  189. data/lib/Ice/LocatorF.rb +1 -1
  190. data/lib/Ice/Logger.rb +1 -1
  191. data/lib/Ice/LoggerF.rb +1 -1
  192. data/lib/Ice/Metrics.rb +1 -1
  193. data/lib/Ice/ObjectAdapter.rb +1 -1
  194. data/lib/Ice/ObjectAdapterF.rb +1 -1
  195. data/lib/Ice/ObjectFactory.rb +1 -1
  196. data/lib/Ice/Plugin.rb +1 -1
  197. data/lib/Ice/PluginF.rb +1 -1
  198. data/lib/Ice/Process.rb +1 -1
  199. data/lib/Ice/ProcessF.rb +1 -1
  200. data/lib/Ice/Properties.rb +1 -1
  201. data/lib/Ice/PropertiesAdmin.rb +1 -1
  202. data/lib/Ice/PropertiesF.rb +1 -1
  203. data/lib/Ice/RemoteLogger.rb +1 -1
  204. data/lib/Ice/Router.rb +1 -1
  205. data/lib/Ice/RouterF.rb +1 -1
  206. data/lib/Ice/ServantLocator.rb +1 -1
  207. data/lib/Ice/ServantLocatorF.rb +1 -1
  208. data/lib/Ice/SliceChecksumDict.rb +1 -1
  209. data/lib/Ice/ValueFactory.rb +1 -1
  210. data/lib/Ice/Version.rb +1 -1
  211. data/lib/IceBox/IceBox.rb +1 -1
  212. data/lib/IceGrid/Admin.rb +1 -1
  213. data/lib/IceGrid/Descriptor.rb +1 -1
  214. data/lib/IceGrid/Exception.rb +1 -1
  215. data/lib/IceGrid/FileParser.rb +1 -1
  216. data/lib/IceGrid/PluginFacade.rb +1 -1
  217. data/lib/IceGrid/Registry.rb +1 -1
  218. data/lib/IceGrid/Session.rb +1 -1
  219. data/lib/IceGrid/UserAccountMapper.rb +1 -1
  220. data/lib/IcePatch2/FileInfo.rb +1 -1
  221. data/lib/IcePatch2/FileServer.rb +1 -1
  222. data/lib/IceStorm/IceStorm.rb +1 -1
  223. data/lib/IceStorm/Metrics.rb +1 -1
  224. data/slice/Ice/Communicator.ice +1 -1
  225. data/slice/IceBox/IceBox.ice +17 -2
  226. data/slice/IceDiscovery/IceDiscovery.ice +56 -0
  227. metadata +4 -4
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.3
5
+ // Ice version 3.7.7
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -42,7 +42,7 @@
42
42
  # if ICE_INT_VERSION % 100 >= 50
43
43
  # error Beta header file detected
44
44
  # endif
45
- # if ICE_INT_VERSION % 100 < 3
45
+ # if ICE_INT_VERSION % 100 < 7
46
46
  # error Ice patch level mismatch!
47
47
  # endif
48
48
  #endif
@@ -62,6 +62,11 @@ class LookupPrx;
62
62
  namespace IceDiscovery
63
63
  {
64
64
 
65
+ /**
66
+ * The LookupReply interface is used by IceDiscovery clients to answer requests
67
+ * received on the Lookup interface.
68
+ * \headerfile IceDiscovery/IceDiscovery.h
69
+ */
65
70
  class LookupReply : public virtual ::Ice::Object
66
71
  {
67
72
  public:
@@ -96,11 +101,26 @@ public:
96
101
  */
97
102
  static const ::std::string& ice_staticId();
98
103
 
104
+ /**
105
+ * Reply to the findObjectById request.
106
+ * @param id The identity of the object.
107
+ * @param prx The proxy of the object.
108
+ * @param current The Current object for the invocation.
109
+ */
99
110
  virtual void foundObjectById(::Ice::Identity id, ::std::shared_ptr<::Ice::ObjectPrx> prx, const ::Ice::Current& current) = 0;
100
111
  /// \cond INTERNAL
101
112
  bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
102
113
  /// \endcond
103
114
 
115
+ /**
116
+ * Reply to the findAdpaterById request.
117
+ * @param id The adapter ID.
118
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
119
+ * The proxy provides the adapter endpoints.
120
+ * @param isReplicaGroup True if the adapter is also a member of a
121
+ * replica group.
122
+ * @param current The Current object for the invocation.
123
+ */
104
124
  virtual void foundAdapterById(::std::string id, ::std::shared_ptr<::Ice::ObjectPrx> prx, bool isReplicaGroup, const ::Ice::Current& current) = 0;
105
125
  /// \cond INTERNAL
106
126
  bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
@@ -111,6 +131,11 @@ public:
111
131
  /// \endcond
112
132
  };
113
133
 
134
+ /**
135
+ * The Lookup interface is used by IceDiscovery clients to look for objects
136
+ * and adapters using UDP multicast.
137
+ * \headerfile IceDiscovery/IceDiscovery.h
138
+ */
114
139
  class Lookup : public virtual ::Ice::Object
115
140
  {
116
141
  public:
@@ -145,11 +170,29 @@ public:
145
170
  */
146
171
  static const ::std::string& ice_staticId();
147
172
 
173
+ /**
174
+ * Request to find an Ice object
175
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
176
+ * replies to requests with a matching domain identifier.
177
+ * @param id The object identity.
178
+ * @param reply The proxy of the LookupReply interface that should be used to send
179
+ * the reply if a matching object is found.
180
+ * @param current The Current object for the invocation.
181
+ */
148
182
  virtual void findObjectById(::std::string domainId, ::Ice::Identity id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
149
183
  /// \cond INTERNAL
150
184
  bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
151
185
  /// \endcond
152
186
 
187
+ /**
188
+ * Request to find an object adapter
189
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
190
+ * replies to requests with a matching domain identifier.
191
+ * @param id The adapter ID.
192
+ * @param reply The proxy of the LookupReply interface that should be used to send
193
+ * the reply if a matching adapter is found.
194
+ * @param current The Current object for the invocation.
195
+ */
153
196
  virtual void findAdapterById(::std::string domainId, ::std::string id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
154
197
  /// \cond INTERNAL
155
198
  bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
@@ -165,15 +208,33 @@ public:
165
208
  namespace IceDiscovery
166
209
  {
167
210
 
211
+ /**
212
+ * The LookupReply interface is used by IceDiscovery clients to answer requests
213
+ * received on the Lookup interface.
214
+ * \headerfile IceDiscovery/IceDiscovery.h
215
+ */
168
216
  class LookupReplyPrx : public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
169
217
  {
170
218
  public:
171
219
 
220
+ /**
221
+ * Reply to the findObjectById request.
222
+ * @param id The identity of the object.
223
+ * @param prx The proxy of the object.
224
+ * @param context The Context map to send with the invocation.
225
+ */
172
226
  void foundObjectById(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
173
227
  {
174
228
  _makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context).get();
175
229
  }
176
230
 
231
+ /**
232
+ * Reply to the findObjectById request.
233
+ * @param id The identity of the object.
234
+ * @param prx The proxy of the object.
235
+ * @param context The Context map to send with the invocation.
236
+ * @return The future object for the invocation.
237
+ */
177
238
  template<template<typename> class P = ::std::promise>
178
239
  auto foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
179
240
  -> decltype(::std::declval<P<void>>().get_future())
@@ -181,6 +242,16 @@ public:
181
242
  return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
182
243
  }
183
244
 
245
+ /**
246
+ * Reply to the findObjectById request.
247
+ * @param id The identity of the object.
248
+ * @param prx The proxy of the object.
249
+ * @param response The response callback.
250
+ * @param ex The exception callback.
251
+ * @param sent The sent callback.
252
+ * @param context The Context map to send with the invocation.
253
+ * @return A function that can be called to cancel the invocation locally.
254
+ */
184
255
  ::std::function<void()>
185
256
  foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
186
257
  ::std::function<void()> response,
@@ -188,18 +259,37 @@ public:
188
259
  ::std::function<void(bool)> sent = nullptr,
189
260
  const ::Ice::Context& context = ::Ice::noExplicitContext)
190
261
  {
191
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
262
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
192
263
  }
193
264
 
194
265
  /// \cond INTERNAL
195
266
  void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
196
267
  /// \endcond
197
268
 
269
+ /**
270
+ * Reply to the findAdpaterById request.
271
+ * @param id The adapter ID.
272
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
273
+ * The proxy provides the adapter endpoints.
274
+ * @param isReplicaGroup True if the adapter is also a member of a
275
+ * replica group.
276
+ * @param context The Context map to send with the invocation.
277
+ */
198
278
  void foundAdapterById(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
199
279
  {
200
280
  _makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context).get();
201
281
  }
202
282
 
283
+ /**
284
+ * Reply to the findAdpaterById request.
285
+ * @param id The adapter ID.
286
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
287
+ * The proxy provides the adapter endpoints.
288
+ * @param isReplicaGroup True if the adapter is also a member of a
289
+ * replica group.
290
+ * @param context The Context map to send with the invocation.
291
+ * @return The future object for the invocation.
292
+ */
203
293
  template<template<typename> class P = ::std::promise>
204
294
  auto foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
205
295
  -> decltype(::std::declval<P<void>>().get_future())
@@ -207,6 +297,19 @@ public:
207
297
  return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
208
298
  }
209
299
 
300
+ /**
301
+ * Reply to the findAdpaterById request.
302
+ * @param id The adapter ID.
303
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
304
+ * The proxy provides the adapter endpoints.
305
+ * @param isReplicaGroup True if the adapter is also a member of a
306
+ * replica group.
307
+ * @param response The response callback.
308
+ * @param ex The exception callback.
309
+ * @param sent The sent callback.
310
+ * @param context The Context map to send with the invocation.
311
+ * @return A function that can be called to cancel the invocation locally.
312
+ */
210
313
  ::std::function<void()>
211
314
  foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup,
212
315
  ::std::function<void()> response,
@@ -214,7 +317,7 @@ public:
214
317
  ::std::function<void(bool)> sent = nullptr,
215
318
  const ::Ice::Context& context = ::Ice::noExplicitContext)
216
319
  {
217
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
320
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
218
321
  }
219
322
 
220
323
  /// \cond INTERNAL
@@ -237,15 +340,39 @@ protected:
237
340
  /// \endcond
238
341
  };
239
342
 
343
+ /**
344
+ * The Lookup interface is used by IceDiscovery clients to look for objects
345
+ * and adapters using UDP multicast.
346
+ * \headerfile IceDiscovery/IceDiscovery.h
347
+ */
240
348
  class LookupPrx : public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
241
349
  {
242
350
  public:
243
351
 
352
+ /**
353
+ * Request to find an Ice object
354
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
355
+ * replies to requests with a matching domain identifier.
356
+ * @param id The object identity.
357
+ * @param reply The proxy of the LookupReply interface that should be used to send
358
+ * the reply if a matching object is found.
359
+ * @param context The Context map to send with the invocation.
360
+ */
244
361
  void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
245
362
  {
246
363
  _makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context).get();
247
364
  }
248
365
 
366
+ /**
367
+ * Request to find an Ice object
368
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
369
+ * replies to requests with a matching domain identifier.
370
+ * @param id The object identity.
371
+ * @param reply The proxy of the LookupReply interface that should be used to send
372
+ * the reply if a matching object is found.
373
+ * @param context The Context map to send with the invocation.
374
+ * @return The future object for the invocation.
375
+ */
249
376
  template<template<typename> class P = ::std::promise>
250
377
  auto findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
251
378
  -> decltype(::std::declval<P<void>>().get_future())
@@ -253,6 +380,19 @@ public:
253
380
  return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
254
381
  }
255
382
 
383
+ /**
384
+ * Request to find an Ice object
385
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
386
+ * replies to requests with a matching domain identifier.
387
+ * @param id The object identity.
388
+ * @param reply The proxy of the LookupReply interface that should be used to send
389
+ * the reply if a matching object is found.
390
+ * @param response The response callback.
391
+ * @param ex The exception callback.
392
+ * @param sent The sent callback.
393
+ * @param context The Context map to send with the invocation.
394
+ * @return A function that can be called to cancel the invocation locally.
395
+ */
256
396
  ::std::function<void()>
257
397
  findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
258
398
  ::std::function<void()> response,
@@ -260,18 +400,37 @@ public:
260
400
  ::std::function<void(bool)> sent = nullptr,
261
401
  const ::Ice::Context& context = ::Ice::noExplicitContext)
262
402
  {
263
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
403
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
264
404
  }
265
405
 
266
406
  /// \cond INTERNAL
267
407
  void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Identity&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
268
408
  /// \endcond
269
409
 
410
+ /**
411
+ * Request to find an object adapter
412
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
413
+ * replies to requests with a matching domain identifier.
414
+ * @param id The adapter ID.
415
+ * @param reply The proxy of the LookupReply interface that should be used to send
416
+ * the reply if a matching adapter is found.
417
+ * @param context The Context map to send with the invocation.
418
+ */
270
419
  void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
271
420
  {
272
421
  _makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context).get();
273
422
  }
274
423
 
424
+ /**
425
+ * Request to find an object adapter
426
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
427
+ * replies to requests with a matching domain identifier.
428
+ * @param id The adapter ID.
429
+ * @param reply The proxy of the LookupReply interface that should be used to send
430
+ * the reply if a matching adapter is found.
431
+ * @param context The Context map to send with the invocation.
432
+ * @return The future object for the invocation.
433
+ */
275
434
  template<template<typename> class P = ::std::promise>
276
435
  auto findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
277
436
  -> decltype(::std::declval<P<void>>().get_future())
@@ -279,6 +438,19 @@ public:
279
438
  return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
280
439
  }
281
440
 
441
+ /**
442
+ * Request to find an object adapter
443
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
444
+ * replies to requests with a matching domain identifier.
445
+ * @param id The adapter ID.
446
+ * @param reply The proxy of the LookupReply interface that should be used to send
447
+ * the reply if a matching adapter is found.
448
+ * @param response The response callback.
449
+ * @param ex The exception callback.
450
+ * @param sent The sent callback.
451
+ * @param context The Context map to send with the invocation.
452
+ * @return A function that can be called to cancel the invocation locally.
453
+ */
282
454
  ::std::function<void()>
283
455
  findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
284
456
  ::std::function<void()> response,
@@ -286,7 +458,7 @@ public:
286
458
  ::std::function<void(bool)> sent = nullptr,
287
459
  const ::Ice::Context& context = ::Ice::noExplicitContext)
288
460
  {
289
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
461
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
290
462
  }
291
463
 
292
464
  /// \cond INTERNAL
@@ -429,36 +601,87 @@ class LookupReply : public virtual ::Ice::Proxy<LookupReply, ::IceProxy::Ice::Ob
429
601
  {
430
602
  public:
431
603
 
604
+ /**
605
+ * Reply to the findObjectById request.
606
+ * @param id The identity of the object.
607
+ * @param prx The proxy of the object.
608
+ * @param context The Context map to send with the invocation.
609
+ */
432
610
  void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
433
611
  {
434
612
  end_foundObjectById(_iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0, true));
435
613
  }
436
614
 
615
+ /**
616
+ * Reply to the findObjectById request.
617
+ * @param id The identity of the object.
618
+ * @param prx The proxy of the object.
619
+ * @param context The Context map to send with the invocation.
620
+ * @return The asynchronous result object for the invocation.
621
+ */
437
622
  ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
438
623
  {
439
624
  return _iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0);
440
625
  }
441
626
 
627
+ /**
628
+ * Reply to the findObjectById request.
629
+ * @param id The identity of the object.
630
+ * @param prx The proxy of the object.
631
+ * @param cb Asynchronous callback object.
632
+ * @param cookie User-defined data to associate with the invocation.
633
+ * @return The asynchronous result object for the invocation.
634
+ */
442
635
  ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
443
636
  {
444
637
  return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
445
638
  }
446
639
 
640
+ /**
641
+ * Reply to the findObjectById request.
642
+ * @param id The identity of the object.
643
+ * @param prx The proxy of the object.
644
+ * @param context The Context map to send with the invocation.
645
+ * @param cb Asynchronous callback object.
646
+ * @param cookie User-defined data to associate with the invocation.
647
+ * @return The asynchronous result object for the invocation.
648
+ */
447
649
  ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
448
650
  {
449
651
  return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
450
652
  }
451
653
 
654
+ /**
655
+ * Reply to the findObjectById request.
656
+ * @param id The identity of the object.
657
+ * @param prx The proxy of the object.
658
+ * @param cb Asynchronous callback object.
659
+ * @param cookie User-defined data to associate with the invocation.
660
+ * @return The asynchronous result object for the invocation.
661
+ */
452
662
  ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
453
663
  {
454
664
  return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
455
665
  }
456
666
 
667
+ /**
668
+ * Reply to the findObjectById request.
669
+ * @param id The identity of the object.
670
+ * @param prx The proxy of the object.
671
+ * @param context The Context map to send with the invocation.
672
+ * @param cb Asynchronous callback object.
673
+ * @param cookie User-defined data to associate with the invocation.
674
+ * @return The asynchronous result object for the invocation.
675
+ */
457
676
  ::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
458
677
  {
459
678
  return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
460
679
  }
461
680
 
681
+ /**
682
+ * Completes an invocation of begin_foundObjectById.
683
+ * @param result The asynchronous result object for the invocation.
684
+ */
462
685
  void end_foundObjectById(const ::Ice::AsyncResultPtr& result);
463
686
 
464
687
  private:
@@ -467,36 +690,105 @@ private:
467
690
 
468
691
  public:
469
692
 
693
+ /**
694
+ * Reply to the findAdpaterById request.
695
+ * @param id The adapter ID.
696
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
697
+ * The proxy provides the adapter endpoints.
698
+ * @param isReplicaGroup True if the adapter is also a member of a
699
+ * replica group.
700
+ * @param context The Context map to send with the invocation.
701
+ */
470
702
  void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
471
703
  {
472
704
  end_foundAdapterById(_iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0, true));
473
705
  }
474
706
 
707
+ /**
708
+ * Reply to the findAdpaterById request.
709
+ * @param id The adapter ID.
710
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
711
+ * The proxy provides the adapter endpoints.
712
+ * @param isReplicaGroup True if the adapter is also a member of a
713
+ * replica group.
714
+ * @param context The Context map to send with the invocation.
715
+ * @return The asynchronous result object for the invocation.
716
+ */
475
717
  ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
476
718
  {
477
719
  return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
478
720
  }
479
721
 
722
+ /**
723
+ * Reply to the findAdpaterById request.
724
+ * @param id The adapter ID.
725
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
726
+ * The proxy provides the adapter endpoints.
727
+ * @param isReplicaGroup True if the adapter is also a member of a
728
+ * replica group.
729
+ * @param cb Asynchronous callback object.
730
+ * @param cookie User-defined data to associate with the invocation.
731
+ * @return The asynchronous result object for the invocation.
732
+ */
480
733
  ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
481
734
  {
482
735
  return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
483
736
  }
484
737
 
738
+ /**
739
+ * Reply to the findAdpaterById request.
740
+ * @param id The adapter ID.
741
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
742
+ * The proxy provides the adapter endpoints.
743
+ * @param isReplicaGroup True if the adapter is also a member of a
744
+ * replica group.
745
+ * @param context The Context map to send with the invocation.
746
+ * @param cb Asynchronous callback object.
747
+ * @param cookie User-defined data to associate with the invocation.
748
+ * @return The asynchronous result object for the invocation.
749
+ */
485
750
  ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
486
751
  {
487
752
  return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
488
753
  }
489
754
 
755
+ /**
756
+ * Reply to the findAdpaterById request.
757
+ * @param id The adapter ID.
758
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
759
+ * The proxy provides the adapter endpoints.
760
+ * @param isReplicaGroup True if the adapter is also a member of a
761
+ * replica group.
762
+ * @param cb Asynchronous callback object.
763
+ * @param cookie User-defined data to associate with the invocation.
764
+ * @return The asynchronous result object for the invocation.
765
+ */
490
766
  ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
491
767
  {
492
768
  return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
493
769
  }
494
770
 
771
+ /**
772
+ * Reply to the findAdpaterById request.
773
+ * @param id The adapter ID.
774
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
775
+ * The proxy provides the adapter endpoints.
776
+ * @param isReplicaGroup True if the adapter is also a member of a
777
+ * replica group.
778
+ * @param context The Context map to send with the invocation.
779
+ * @param cb Asynchronous callback object.
780
+ * @param cookie User-defined data to associate with the invocation.
781
+ * @return The asynchronous result object for the invocation.
782
+ */
495
783
  ::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
496
784
  {
497
785
  return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
498
786
  }
499
787
 
788
+ /**
789
+ * Completes an invocation of begin_foundAdapterById.
790
+ * @param result The asynchronous result object for the invocation.
791
+ */
500
792
  void end_foundAdapterById(const ::Ice::AsyncResultPtr& result);
501
793
 
502
794
  private:
@@ -522,36 +814,105 @@ class Lookup : public virtual ::Ice::Proxy<Lookup, ::IceProxy::Ice::Object>
522
814
  {
523
815
  public:
524
816
 
817
+ /**
818
+ * Request to find an Ice object
819
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
820
+ * replies to requests with a matching domain identifier.
821
+ * @param id The object identity.
822
+ * @param reply The proxy of the LookupReply interface that should be used to send
823
+ * the reply if a matching object is found.
824
+ * @param context The Context map to send with the invocation.
825
+ */
525
826
  void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
526
827
  {
527
828
  end_findObjectById(_iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
528
829
  }
529
830
 
831
+ /**
832
+ * Request to find an Ice object
833
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
834
+ * replies to requests with a matching domain identifier.
835
+ * @param id The object identity.
836
+ * @param reply The proxy of the LookupReply interface that should be used to send
837
+ * the reply if a matching object is found.
838
+ * @param context The Context map to send with the invocation.
839
+ * @return The asynchronous result object for the invocation.
840
+ */
530
841
  ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
531
842
  {
532
843
  return _iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
533
844
  }
534
845
 
846
+ /**
847
+ * Request to find an Ice object
848
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
849
+ * replies to requests with a matching domain identifier.
850
+ * @param id The object identity.
851
+ * @param reply The proxy of the LookupReply interface that should be used to send
852
+ * the reply if a matching object is found.
853
+ * @param cb Asynchronous callback object.
854
+ * @param cookie User-defined data to associate with the invocation.
855
+ * @return The asynchronous result object for the invocation.
856
+ */
535
857
  ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
536
858
  {
537
859
  return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
538
860
  }
539
861
 
862
+ /**
863
+ * Request to find an Ice object
864
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
865
+ * replies to requests with a matching domain identifier.
866
+ * @param id The object identity.
867
+ * @param reply The proxy of the LookupReply interface that should be used to send
868
+ * the reply if a matching object is found.
869
+ * @param context The Context map to send with the invocation.
870
+ * @param cb Asynchronous callback object.
871
+ * @param cookie User-defined data to associate with the invocation.
872
+ * @return The asynchronous result object for the invocation.
873
+ */
540
874
  ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
541
875
  {
542
876
  return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
543
877
  }
544
878
 
879
+ /**
880
+ * Request to find an Ice object
881
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
882
+ * replies to requests with a matching domain identifier.
883
+ * @param id The object identity.
884
+ * @param reply The proxy of the LookupReply interface that should be used to send
885
+ * the reply if a matching object is found.
886
+ * @param cb Asynchronous callback object.
887
+ * @param cookie User-defined data to associate with the invocation.
888
+ * @return The asynchronous result object for the invocation.
889
+ */
545
890
  ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
546
891
  {
547
892
  return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
548
893
  }
549
894
 
895
+ /**
896
+ * Request to find an Ice object
897
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
898
+ * replies to requests with a matching domain identifier.
899
+ * @param id The object identity.
900
+ * @param reply The proxy of the LookupReply interface that should be used to send
901
+ * the reply if a matching object is found.
902
+ * @param context The Context map to send with the invocation.
903
+ * @param cb Asynchronous callback object.
904
+ * @param cookie User-defined data to associate with the invocation.
905
+ * @return The asynchronous result object for the invocation.
906
+ */
550
907
  ::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
551
908
  {
552
909
  return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
553
910
  }
554
911
 
912
+ /**
913
+ * Completes an invocation of begin_findObjectById.
914
+ * @param result The asynchronous result object for the invocation.
915
+ */
555
916
  void end_findObjectById(const ::Ice::AsyncResultPtr& result);
556
917
 
557
918
  private:
@@ -560,36 +921,105 @@ private:
560
921
 
561
922
  public:
562
923
 
924
+ /**
925
+ * Request to find an object adapter
926
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
927
+ * replies to requests with a matching domain identifier.
928
+ * @param id The adapter ID.
929
+ * @param reply The proxy of the LookupReply interface that should be used to send
930
+ * the reply if a matching adapter is found.
931
+ * @param context The Context map to send with the invocation.
932
+ */
563
933
  void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
564
934
  {
565
935
  end_findAdapterById(_iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
566
936
  }
567
937
 
938
+ /**
939
+ * Request to find an object adapter
940
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
941
+ * replies to requests with a matching domain identifier.
942
+ * @param id The adapter ID.
943
+ * @param reply The proxy of the LookupReply interface that should be used to send
944
+ * the reply if a matching adapter is found.
945
+ * @param context The Context map to send with the invocation.
946
+ * @return The asynchronous result object for the invocation.
947
+ */
568
948
  ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
569
949
  {
570
950
  return _iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
571
951
  }
572
952
 
953
+ /**
954
+ * Request to find an object adapter
955
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
956
+ * replies to requests with a matching domain identifier.
957
+ * @param id The adapter ID.
958
+ * @param reply The proxy of the LookupReply interface that should be used to send
959
+ * the reply if a matching adapter is found.
960
+ * @param cb Asynchronous callback object.
961
+ * @param cookie User-defined data to associate with the invocation.
962
+ * @return The asynchronous result object for the invocation.
963
+ */
573
964
  ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
574
965
  {
575
966
  return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
576
967
  }
577
968
 
969
+ /**
970
+ * Request to find an object adapter
971
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
972
+ * replies to requests with a matching domain identifier.
973
+ * @param id The adapter ID.
974
+ * @param reply The proxy of the LookupReply interface that should be used to send
975
+ * the reply if a matching adapter is found.
976
+ * @param context The Context map to send with the invocation.
977
+ * @param cb Asynchronous callback object.
978
+ * @param cookie User-defined data to associate with the invocation.
979
+ * @return The asynchronous result object for the invocation.
980
+ */
578
981
  ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
579
982
  {
580
983
  return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
581
984
  }
582
985
 
986
+ /**
987
+ * Request to find an object adapter
988
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
989
+ * replies to requests with a matching domain identifier.
990
+ * @param id The adapter ID.
991
+ * @param reply The proxy of the LookupReply interface that should be used to send
992
+ * the reply if a matching adapter is found.
993
+ * @param cb Asynchronous callback object.
994
+ * @param cookie User-defined data to associate with the invocation.
995
+ * @return The asynchronous result object for the invocation.
996
+ */
583
997
  ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
584
998
  {
585
999
  return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
586
1000
  }
587
1001
 
1002
+ /**
1003
+ * Request to find an object adapter
1004
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
1005
+ * replies to requests with a matching domain identifier.
1006
+ * @param id The adapter ID.
1007
+ * @param reply The proxy of the LookupReply interface that should be used to send
1008
+ * the reply if a matching adapter is found.
1009
+ * @param context The Context map to send with the invocation.
1010
+ * @param cb Asynchronous callback object.
1011
+ * @param cookie User-defined data to associate with the invocation.
1012
+ * @return The asynchronous result object for the invocation.
1013
+ */
588
1014
  ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
589
1015
  {
590
1016
  return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
591
1017
  }
592
1018
 
1019
+ /**
1020
+ * Completes an invocation of begin_findAdapterById.
1021
+ * @param result The asynchronous result object for the invocation.
1022
+ */
593
1023
  void end_findAdapterById(const ::Ice::AsyncResultPtr& result);
594
1024
 
595
1025
  private:
@@ -618,6 +1048,11 @@ protected:
618
1048
  namespace IceDiscovery
619
1049
  {
620
1050
 
1051
+ /**
1052
+ * The LookupReply interface is used by IceDiscovery clients to answer requests
1053
+ * received on the Lookup interface.
1054
+ * \headerfile IceDiscovery/IceDiscovery.h
1055
+ */
621
1056
  class LookupReply : public virtual ::Ice::Object
622
1057
  {
623
1058
  public:
@@ -627,6 +1062,12 @@ public:
627
1062
 
628
1063
  virtual ~LookupReply();
629
1064
 
1065
+ #ifdef ICE_CPP11_COMPILER
1066
+ LookupReply() = default;
1067
+ LookupReply(const LookupReply&) = default;
1068
+ LookupReply& operator=(const LookupReply&) = default;
1069
+ #endif
1070
+
630
1071
  /**
631
1072
  * Determines whether this object supports an interface with the given Slice type ID.
632
1073
  * @param id The fully-scoped Slice type ID.
@@ -655,11 +1096,26 @@ public:
655
1096
  */
656
1097
  static const ::std::string& ice_staticId();
657
1098
 
1099
+ /**
1100
+ * Reply to the findObjectById request.
1101
+ * @param id The identity of the object.
1102
+ * @param prx The proxy of the object.
1103
+ * @param current The Current object for the invocation.
1104
+ */
658
1105
  virtual void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
659
1106
  /// \cond INTERNAL
660
1107
  bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
661
1108
  /// \endcond
662
1109
 
1110
+ /**
1111
+ * Reply to the findAdpaterById request.
1112
+ * @param id The adapter ID.
1113
+ * @param prx The adapter proxy (a dummy proxy created by the adapter).
1114
+ * The proxy provides the adapter endpoints.
1115
+ * @param isReplicaGroup True if the adapter is also a member of a
1116
+ * replica group.
1117
+ * @param current The Current object for the invocation.
1118
+ */
663
1119
  virtual void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
664
1120
  /// \cond INTERNAL
665
1121
  bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
@@ -689,6 +1145,11 @@ inline bool operator<(const LookupReply& lhs, const LookupReply& rhs)
689
1145
  }
690
1146
  /// \endcond
691
1147
 
1148
+ /**
1149
+ * The Lookup interface is used by IceDiscovery clients to look for objects
1150
+ * and adapters using UDP multicast.
1151
+ * \headerfile IceDiscovery/IceDiscovery.h
1152
+ */
692
1153
  class Lookup : public virtual ::Ice::Object
693
1154
  {
694
1155
  public:
@@ -698,6 +1159,12 @@ public:
698
1159
 
699
1160
  virtual ~Lookup();
700
1161
 
1162
+ #ifdef ICE_CPP11_COMPILER
1163
+ Lookup() = default;
1164
+ Lookup(const Lookup&) = default;
1165
+ Lookup& operator=(const Lookup&) = default;
1166
+ #endif
1167
+
701
1168
  /**
702
1169
  * Determines whether this object supports an interface with the given Slice type ID.
703
1170
  * @param id The fully-scoped Slice type ID.
@@ -726,11 +1193,29 @@ public:
726
1193
  */
727
1194
  static const ::std::string& ice_staticId();
728
1195
 
1196
+ /**
1197
+ * Request to find an Ice object
1198
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
1199
+ * replies to requests with a matching domain identifier.
1200
+ * @param id The object identity.
1201
+ * @param reply The proxy of the LookupReply interface that should be used to send
1202
+ * the reply if a matching object is found.
1203
+ * @param current The Current object for the invocation.
1204
+ */
729
1205
  virtual void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
730
1206
  /// \cond INTERNAL
731
1207
  bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
732
1208
  /// \endcond
733
1209
 
1210
+ /**
1211
+ * Request to find an object adapter
1212
+ * @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
1213
+ * replies to requests with a matching domain identifier.
1214
+ * @param id The adapter ID.
1215
+ * @param reply The proxy of the LookupReply interface that should be used to send
1216
+ * the reply if a matching adapter is found.
1217
+ * @param current The Current object for the invocation.
1218
+ */
734
1219
  virtual void findAdapterById(const ::std::string& domainId, const ::std::string& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
735
1220
  /// \cond INTERNAL
736
1221
  bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);