zeroc-ice 3.7.0 → 3.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (691) hide show
  1. checksums.yaml +5 -5
  2. data/ICE_LICENSE +1 -1
  3. data/bin/slice2rb +1 -6
  4. data/ext/Communicator.cpp +78 -10
  5. data/ext/Communicator.h +1 -6
  6. data/ext/Config.h +35 -6
  7. data/ext/Connection.cpp +22 -11
  8. data/ext/Connection.h +4 -6
  9. data/ext/Endpoint.cpp +1 -10
  10. data/ext/Endpoint.h +1 -6
  11. data/ext/ImplicitContext.cpp +1 -6
  12. data/ext/ImplicitContext.h +1 -6
  13. data/ext/Init.cpp +1 -6
  14. data/ext/Logger.cpp +1 -6
  15. data/ext/Logger.h +1 -6
  16. data/ext/Operation.cpp +6 -11
  17. data/ext/Operation.h +1 -6
  18. data/ext/Properties.cpp +3 -8
  19. data/ext/Properties.h +1 -6
  20. data/ext/Proxy.cpp +90 -14
  21. data/ext/Proxy.h +1 -6
  22. data/ext/Slice.cpp +3 -18
  23. data/ext/Slice.h +1 -6
  24. data/ext/Types.cpp +92 -60
  25. data/ext/Types.h +1 -6
  26. data/ext/Util.cpp +61 -32
  27. data/ext/Util.h +108 -33
  28. data/ext/ValueFactoryManager.cpp +2 -7
  29. data/ext/ValueFactoryManager.h +2 -7
  30. data/ext/extconf.rb +5 -3
  31. data/ext/ice/cpp/include/Ice/Application.h +234 -81
  32. data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -6
  33. data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -6
  34. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -7
  35. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
  36. data/ext/ice/cpp/include/Ice/Buffer.h +1 -6
  37. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -6
  38. data/ext/ice/cpp/include/Ice/Comparable.h +81 -6
  39. data/ext/ice/cpp/include/Ice/Config.h +12 -6
  40. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -6
  41. data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -6
  42. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -6
  43. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -6
  44. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -7
  45. data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -7
  46. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -6
  47. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
  48. data/ext/ice/cpp/include/Ice/Exception.h +57 -20
  49. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +11 -6
  50. data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -7
  51. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +2 -7
  52. data/ext/ice/cpp/include/Ice/Format.h +13 -19
  53. data/ext/ice/cpp/include/Ice/Functional.h +6 -6
  54. data/ext/ice/cpp/include/Ice/GCObject.h +1 -6
  55. data/ext/ice/cpp/include/Ice/Handle.h +1 -6
  56. data/ext/ice/cpp/include/Ice/Ice.h +1 -6
  57. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +47 -18
  58. data/ext/ice/cpp/include/Ice/Incoming.h +27 -9
  59. data/ext/ice/cpp/include/Ice/IncomingAsync.h +47 -9
  60. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -6
  61. data/ext/ice/cpp/include/Ice/Initialize.h +775 -103
  62. data/ext/ice/cpp/include/Ice/InputStream.h +642 -122
  63. data/ext/ice/cpp/include/Ice/InstanceF.h +1 -6
  64. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -6
  65. data/ext/ice/cpp/include/Ice/LocalObject.h +5 -6
  66. data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
  67. data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -11
  68. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +11 -7
  69. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -6
  70. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +18 -7
  71. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -28
  72. data/ext/ice/cpp/include/Ice/Object.h +338 -52
  73. data/ext/ice/cpp/include/Ice/ObjectF.h +5 -6
  74. data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -6
  75. data/ext/ice/cpp/include/Ice/Optional.h +42 -12
  76. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +32 -8
  77. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -6
  78. data/ext/ice/cpp/include/Ice/OutputStream.h +441 -102
  79. data/ext/ice/cpp/include/Ice/Protocol.h +31 -6
  80. data/ext/ice/cpp/include/Ice/Proxy.h +2288 -207
  81. data/ext/ice/cpp/include/Ice/ProxyF.h +3 -6
  82. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
  83. data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -6
  84. data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
  85. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -14
  86. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -6
  87. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -6
  88. data/ext/ice/cpp/include/Ice/SHA1.h +1 -6
  89. data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
  90. data/ext/ice/cpp/include/Ice/Service.h +267 -143
  91. data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -6
  92. data/ext/ice/cpp/include/Ice/SlicedData.h +80 -38
  93. data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -6
  94. data/ext/ice/cpp/include/Ice/StreamHelpers.h +325 -122
  95. data/ext/ice/cpp/include/Ice/StringConverter.h +32 -6
  96. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
  97. data/ext/ice/cpp/include/Ice/UUID.h +2 -6
  98. data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -7
  99. data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -7
  100. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -6
  101. data/ext/ice/cpp/include/Ice/Value.h +41 -6
  102. data/ext/ice/cpp/include/Ice/ValueF.h +3 -6
  103. data/ext/ice/cpp/include/IceSSL/Config.h +1 -6
  104. data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -6
  105. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -58
  106. data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -223
  107. data/ext/ice/cpp/include/IceSSL/SChannel.h +41 -35
  108. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +39 -33
  109. data/ext/ice/cpp/include/IceSSL/UWP.h +33 -29
  110. data/ext/ice/cpp/include/IceUtil/Atomic.h +2 -7
  111. data/ext/ice/cpp/include/IceUtil/Cond.h +1 -6
  112. data/ext/ice/cpp/include/IceUtil/Config.h +35 -14
  113. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +5 -10
  114. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -6
  115. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +52 -36
  116. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -11
  117. data/ext/ice/cpp/include/IceUtil/Exception.h +130 -11
  118. data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -6
  119. data/ext/ice/cpp/include/IceUtil/Functional.h +5 -6
  120. data/ext/ice/cpp/include/IceUtil/Handle.h +1 -6
  121. data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -6
  122. data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -6
  123. data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -6
  124. data/ext/ice/cpp/include/IceUtil/Lock.h +1 -6
  125. data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -6
  126. data/ext/ice/cpp/include/IceUtil/Mutex.h +3 -13
  127. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -6
  128. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -6
  129. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -6
  130. data/ext/ice/cpp/include/IceUtil/Optional.h +103 -6
  131. data/ext/ice/cpp/include/IceUtil/Options.h +1 -6
  132. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +18 -20
  133. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -6
  134. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +8 -6
  135. data/ext/ice/cpp/include/IceUtil/Random.h +37 -6
  136. data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -6
  137. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -9
  138. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +12 -9
  139. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -6
  140. data/ext/ice/cpp/include/IceUtil/Shared.h +1 -6
  141. data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -6
  142. data/ext/ice/cpp/include/IceUtil/StringConverter.h +107 -92
  143. data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -6
  144. data/ext/ice/cpp/include/IceUtil/Thread.h +1 -6
  145. data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -6
  146. data/ext/ice/cpp/include/IceUtil/Time.h +1 -6
  147. data/ext/ice/cpp/include/IceUtil/Timer.h +5 -6
  148. data/ext/ice/cpp/include/IceUtil/UUID.h +5 -6
  149. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
  150. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +81 -26
  151. data/ext/ice/cpp/include/generated/Ice/Communicator.h +928 -136
  152. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +14 -11
  153. data/ext/ice/cpp/include/generated/Ice/Connection.h +968 -180
  154. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +22 -15
  155. data/ext/ice/cpp/include/generated/Ice/Current.h +166 -9
  156. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +476 -115
  157. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +42 -23
  158. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +30 -9
  159. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +12 -11
  160. data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -13
  161. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +151 -34
  162. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +14 -11
  163. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +630 -89
  164. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +20 -13
  165. data/ext/ice/cpp/include/generated/Ice/LocalException.h +5009 -770
  166. data/ext/ice/cpp/include/generated/Ice/Locator.h +2255 -441
  167. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +32 -19
  168. data/ext/ice/cpp/include/generated/Ice/Logger.h +105 -32
  169. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +14 -11
  170. data/ext/ice/cpp/include/generated/Ice/Metrics.h +2539 -471
  171. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1005 -132
  172. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +14 -11
  173. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +73 -18
  174. data/ext/ice/cpp/include/generated/Ice/Plugin.h +143 -34
  175. data/ext/ice/cpp/include/generated/Ice/PluginF.h +18 -13
  176. data/ext/ice/cpp/include/generated/Ice/Process.h +514 -79
  177. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +21 -14
  178. data/ext/ice/cpp/include/generated/Ice/Properties.h +307 -64
  179. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +738 -127
  180. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +25 -16
  181. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1524 -284
  182. data/ext/ice/cpp/include/generated/Ice/Router.h +1007 -201
  183. data/ext/ice/cpp/include/generated/Ice/RouterF.h +21 -14
  184. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +175 -24
  185. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +14 -11
  186. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +14 -9
  187. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +178 -29
  188. data/ext/ice/cpp/include/generated/Ice/Version.h +32 -9
  189. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +72 -21
  190. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +14 -11
  191. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +40 -15
  192. data/ext/ice/cpp/src/Ice/ACM.cpp +21 -14
  193. data/ext/ice/cpp/src/Ice/ACM.h +1 -6
  194. data/ext/ice/cpp/src/Ice/ACMF.h +1 -6
  195. data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -6
  196. data/ext/ice/cpp/src/Ice/Acceptor.h +1 -6
  197. data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
  198. data/ext/ice/cpp/src/Ice/ArgVector.cpp +8 -13
  199. data/ext/ice/cpp/src/Ice/ArgVector.h +1 -6
  200. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -7
  201. data/ext/ice/cpp/src/Ice/Base64.cpp +12 -18
  202. data/ext/ice/cpp/src/Ice/Base64.h +1 -6
  203. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +2 -7
  204. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -6
  205. data/ext/ice/cpp/src/Ice/Buffer.cpp +3 -8
  206. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +4 -9
  207. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +2 -8
  208. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -6
  209. data/ext/ice/cpp/src/Ice/Communicator.cpp +7 -10
  210. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +4 -9
  211. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +56 -22
  212. data/ext/ice/cpp/src/Ice/CommunicatorI.h +15 -16
  213. data/ext/ice/cpp/src/Ice/Cond.cpp +1 -6
  214. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -11
  215. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +5 -10
  216. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -6
  217. data/ext/ice/cpp/src/Ice/Connection.cpp +28 -17
  218. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +4 -9
  219. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +167 -52
  220. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +4 -6
  221. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -6
  222. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +78 -60
  223. data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -13
  224. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -6
  225. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +2 -7
  226. data/ext/ice/cpp/src/Ice/Connector.cpp +1 -6
  227. data/ext/ice/cpp/src/Ice/Connector.h +1 -6
  228. data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
  229. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -6
  230. data/ext/ice/cpp/src/Ice/Current.cpp +4 -9
  231. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -12
  232. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -6
  233. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -6
  234. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +14 -6
  235. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +7 -11
  236. data/ext/ice/cpp/src/Ice/Endpoint.cpp +25 -16
  237. data/ext/ice/cpp/src/Ice/EndpointF.cpp +4 -9
  238. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -6
  239. data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -6
  240. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
  241. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -18
  242. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -6
  243. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
  244. data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -7
  245. data/ext/ice/cpp/src/Ice/EndpointI.h +5 -10
  246. data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -6
  247. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +4 -9
  248. data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -6
  249. data/ext/ice/cpp/src/Ice/EventHandler.h +1 -6
  250. data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -6
  251. data/ext/ice/cpp/src/Ice/Exception.cpp +8 -13
  252. data/ext/ice/cpp/src/Ice/FacetMap.cpp +4 -9
  253. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -6
  254. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -6
  255. data/ext/ice/cpp/src/Ice/GCObject.cpp +2 -7
  256. data/ext/ice/cpp/src/Ice/HashUtil.h +2 -7
  257. data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -6
  258. data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
  259. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +37 -59
  260. data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -10
  261. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -6
  262. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -6
  263. data/ext/ice/cpp/src/Ice/Identity.cpp +4 -9
  264. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +7 -10
  265. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +4 -9
  266. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +3 -20
  267. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -6
  268. data/ext/ice/cpp/src/Ice/Incoming.cpp +11 -13
  269. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -6
  270. data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -6
  271. data/ext/ice/cpp/src/Ice/Initialize.cpp +15 -26
  272. data/ext/ice/cpp/src/Ice/InputStream.cpp +45 -77
  273. data/ext/ice/cpp/src/Ice/Instance.cpp +70 -46
  274. data/ext/ice/cpp/src/Ice/Instance.h +3 -6
  275. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +34 -19
  276. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +4 -9
  277. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +2 -7
  278. data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -6
  279. data/ext/ice/cpp/src/Ice/LocalException.cpp +280 -285
  280. data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -6
  281. data/ext/ice/cpp/src/Ice/Locator.cpp +274 -166
  282. data/ext/ice/cpp/src/Ice/LocatorF.cpp +4 -9
  283. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +28 -30
  284. data/ext/ice/cpp/src/Ice/LocatorInfo.h +3 -8
  285. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
  286. data/ext/ice/cpp/src/Ice/Logger.cpp +7 -10
  287. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +8 -19
  288. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -6
  289. data/ext/ice/cpp/src/Ice/LoggerF.cpp +4 -9
  290. data/ext/ice/cpp/src/Ice/LoggerI.cpp +13 -12
  291. data/ext/ice/cpp/src/Ice/LoggerI.h +1 -6
  292. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -6
  293. data/ext/ice/cpp/src/Ice/Metrics.cpp +296 -113
  294. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +10 -15
  295. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -6
  296. data/ext/ice/cpp/src/Ice/Network.cpp +252 -271
  297. data/ext/ice/cpp/src/Ice/Network.h +6 -20
  298. data/ext/ice/cpp/src/Ice/NetworkF.h +1 -6
  299. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +2 -8
  300. data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -6
  301. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -6
  302. data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
  303. data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
  304. data/ext/ice/cpp/src/Ice/Object.cpp +16 -17
  305. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +7 -10
  306. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +4 -9
  307. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -24
  308. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -6
  309. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -6
  310. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +137 -156
  311. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +15 -16
  312. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +7 -10
  313. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -6
  314. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +29 -51
  315. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -7
  316. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +6 -9
  317. data/ext/ice/cpp/src/Ice/OutputStream.cpp +29 -61
  318. data/ext/ice/cpp/src/Ice/Plugin.cpp +10 -11
  319. data/ext/ice/cpp/src/Ice/PluginF.cpp +4 -9
  320. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -39
  321. data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -8
  322. data/ext/ice/cpp/src/Ice/Process.cpp +66 -42
  323. data/ext/ice/cpp/src/Ice/ProcessF.cpp +4 -9
  324. data/ext/ice/cpp/src/Ice/Properties.cpp +7 -10
  325. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +84 -54
  326. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +3 -8
  327. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -6
  328. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +4 -9
  329. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +25 -35
  330. data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -15
  331. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +45 -8
  332. data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -7
  333. data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -18
  334. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -6
  335. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -6
  336. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
  337. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -6
  338. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -6
  339. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
  340. data/ext/ice/cpp/src/Ice/Proxy.cpp +54 -8
  341. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +11 -7
  342. data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -6
  343. data/ext/ice/cpp/src/Ice/Reference.cpp +116 -38
  344. data/ext/ice/cpp/src/Ice/Reference.h +13 -7
  345. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +52 -98
  346. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -6
  347. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
  348. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +4 -8
  349. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
  350. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +194 -113
  351. data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
  352. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -6
  353. data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -6
  354. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -6
  355. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -6
  356. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -6
  357. data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -6
  358. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +7 -9
  359. data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -6
  360. data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
  361. data/ext/ice/cpp/src/Ice/Router.cpp +160 -87
  362. data/ext/ice/cpp/src/Ice/RouterF.cpp +4 -9
  363. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +8 -35
  364. data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -8
  365. data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
  366. data/ext/ice/cpp/src/Ice/SHA1.cpp +3 -8
  367. data/ext/ice/cpp/src/Ice/Selector.cpp +76 -49
  368. data/ext/ice/cpp/src/Ice/Selector.h +1 -6
  369. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +7 -10
  370. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +4 -9
  371. data/ext/ice/cpp/src/Ice/ServantManager.cpp +21 -42
  372. data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
  373. data/ext/ice/cpp/src/Ice/SharedContext.h +1 -6
  374. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +4 -9
  375. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -6
  376. data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -6
  377. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +46 -69
  378. data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -6
  379. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -6
  380. data/ext/ice/cpp/src/Ice/StringUtil.h +1 -6
  381. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +3 -8
  382. data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -6
  383. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +66 -0
  384. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +39 -0
  385. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +13 -19
  386. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -6
  387. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +6 -6
  388. data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -6
  389. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +13 -16
  390. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -7
  391. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +6 -6
  392. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -6
  393. data/ext/ice/cpp/src/Ice/Thread.cpp +18 -14
  394. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +79 -19
  395. data/ext/ice/cpp/src/Ice/ThreadPool.h +11 -12
  396. data/ext/ice/cpp/src/Ice/Timer.cpp +11 -6
  397. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -6
  398. data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
  399. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -6
  400. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -6
  401. data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -6
  402. data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -6
  403. data/ext/ice/cpp/src/Ice/Transceiver.h +1 -6
  404. data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
  405. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +4 -6
  406. data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -6
  407. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +30 -33
  408. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -7
  409. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +49 -79
  410. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -6
  411. data/ext/ice/cpp/src/Ice/Value.cpp +1 -6
  412. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +10 -11
  413. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -12
  414. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -7
  415. data/ext/ice/cpp/src/Ice/Version.cpp +4 -9
  416. data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -6
  417. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -6
  418. data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -6
  419. data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -6
  420. data/ext/ice/cpp/src/Ice/WSConnector.h +1 -6
  421. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -10
  422. data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -7
  423. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +25 -30
  424. data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -7
  425. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +86 -33
  426. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1083 -129
  427. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +4 -7
  428. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -6
  429. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +5 -10
  430. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -6
  431. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -6
  432. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -6
  433. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +71 -30
  434. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +640 -79
  435. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -6
  436. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +122 -25
  437. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -9
  438. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -6
  439. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +4 -9
  440. data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -6
  441. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +7 -10
  442. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +4 -9
  443. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -9
  444. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -6
  445. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +9 -14
  446. data/ext/ice/cpp/src/IceSSL/EndpointI.h +3 -8
  447. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +7 -10
  448. data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -6
  449. data/ext/ice/cpp/src/IceSSL/Instance.h +1 -6
  450. data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -6
  451. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +11 -19
  452. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +100 -46
  453. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +3 -8
  454. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -6
  455. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -6
  456. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +190 -206
  457. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +2 -11
  458. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -6
  459. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -6
  460. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -6
  461. data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -6
  462. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -7
  463. data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -6
  464. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +5 -10
  465. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +69 -36
  466. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +5 -8
  467. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +5 -6
  468. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -6
  469. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +71 -62
  470. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +7 -6
  471. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +26 -28
  472. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +3 -6
  473. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -6
  474. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +37 -31
  475. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +44 -18
  476. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +5 -6
  477. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +4 -6
  478. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -6
  479. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +47 -27
  480. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +6 -7
  481. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +41 -34
  482. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +5 -6
  483. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -10
  484. data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -6
  485. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -6
  486. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +4 -9
  487. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +4 -9
  488. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -6
  489. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -6
  490. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -6
  491. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +5 -10
  492. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -6
  493. data/ext/ice/cpp/src/IceSSL/Util.cpp +12 -11
  494. data/ext/ice/cpp/src/IceSSL/Util.h +1 -6
  495. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -6
  496. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -6
  497. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -6
  498. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +3 -6
  499. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +6 -11
  500. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -6
  501. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -6
  502. data/ext/ice/cpp/src/IceUtil/Options.cpp +25 -15
  503. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +41 -16
  504. data/ext/ice/cpp/src/IceUtil/Random.cpp +3 -8
  505. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +2 -11
  506. data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -6
  507. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +6 -11
  508. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +45 -12
  509. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -6
  510. data/ext/ice/cpp/src/IceUtil/Time.cpp +10 -17
  511. data/ext/ice/cpp/src/IceUtil/UUID.cpp +8 -13
  512. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -6
  513. data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -6
  514. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +17 -16
  515. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +178 -170
  516. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +8 -12
  517. data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -6
  518. data/ext/ice/cpp/src/Slice/Checksum.h +1 -6
  519. data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -6
  520. data/ext/ice/cpp/src/Slice/FileTracker.h +1 -6
  521. data/ext/ice/cpp/src/Slice/Grammar.cpp +424 -438
  522. data/ext/ice/cpp/src/Slice/Grammar.h +7 -7
  523. data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -7
  524. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +195 -122
  525. data/ext/ice/cpp/src/Slice/JavaUtil.h +12 -12
  526. data/ext/ice/cpp/src/Slice/MD5.cpp +1 -6
  527. data/ext/ice/cpp/src/Slice/MD5.h +1 -6
  528. data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -0
  529. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +6 -6
  530. data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -6
  531. data/ext/ice/cpp/src/Slice/Parser.cpp +535 -266
  532. data/ext/ice/cpp/src/Slice/Parser.h +72 -12
  533. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +26 -17
  534. data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -7
  535. data/ext/ice/cpp/src/Slice/Python.cpp +28 -42
  536. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +137 -53
  537. data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -7
  538. data/ext/ice/cpp/src/Slice/Ruby.cpp +5 -10
  539. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +13 -15
  540. data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -6
  541. data/ext/ice/cpp/src/Slice/Scanner.cpp +296 -217
  542. data/ext/ice/cpp/src/Slice/SliceUtil.cpp +2 -8
  543. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +109 -27
  544. data/ext/ice/cpp/src/Slice/Util.h +5 -9
  545. data/ext/ice/mcpp/Makefile +2 -5
  546. data/ice.gemspec +3 -5
  547. data/lib/Glacier2.rb +1 -6
  548. data/lib/Glacier2/Metrics.rb +3 -8
  549. data/lib/Glacier2/PermissionsVerifier.rb +3 -8
  550. data/lib/Glacier2/PermissionsVerifierF.rb +3 -8
  551. data/lib/Glacier2/Router.rb +3 -8
  552. data/lib/Glacier2/RouterF.rb +3 -8
  553. data/lib/Glacier2/SSLInfo.rb +3 -8
  554. data/lib/Glacier2/Session.rb +3 -8
  555. data/lib/Ice.rb +2 -7
  556. data/lib/Ice/BuiltinSequences.rb +3 -8
  557. data/lib/Ice/Communicator.rb +3 -8
  558. data/lib/Ice/CommunicatorF.rb +3 -8
  559. data/lib/Ice/Connection.rb +3 -8
  560. data/lib/Ice/ConnectionF.rb +3 -8
  561. data/lib/Ice/Current.rb +3 -8
  562. data/lib/Ice/Endpoint.rb +3 -8
  563. data/lib/Ice/EndpointF.rb +3 -8
  564. data/lib/Ice/EndpointTypes.rb +3 -8
  565. data/lib/Ice/FacetMap.rb +3 -8
  566. data/lib/Ice/Identity.rb +3 -8
  567. data/lib/Ice/ImplicitContext.rb +3 -8
  568. data/lib/Ice/ImplicitContextF.rb +3 -8
  569. data/lib/Ice/Instrumentation.rb +3 -8
  570. data/lib/Ice/InstrumentationF.rb +3 -8
  571. data/lib/Ice/LocalException.rb +3 -8
  572. data/lib/Ice/Locator.rb +3 -8
  573. data/lib/Ice/LocatorF.rb +3 -8
  574. data/lib/Ice/Logger.rb +3 -8
  575. data/lib/Ice/LoggerF.rb +3 -8
  576. data/lib/Ice/Metrics.rb +3 -8
  577. data/lib/Ice/ObjectAdapter.rb +3 -8
  578. data/lib/Ice/ObjectAdapterF.rb +3 -8
  579. data/lib/Ice/ObjectFactory.rb +3 -8
  580. data/lib/Ice/Plugin.rb +3 -8
  581. data/lib/Ice/PluginF.rb +3 -8
  582. data/lib/Ice/Process.rb +3 -8
  583. data/lib/Ice/ProcessF.rb +3 -8
  584. data/lib/Ice/Properties.rb +3 -8
  585. data/lib/Ice/PropertiesAdmin.rb +3 -8
  586. data/lib/Ice/PropertiesF.rb +3 -8
  587. data/lib/Ice/RemoteLogger.rb +3 -8
  588. data/lib/Ice/Router.rb +3 -8
  589. data/lib/Ice/RouterF.rb +3 -8
  590. data/lib/Ice/ServantLocator.rb +3 -8
  591. data/lib/Ice/ServantLocatorF.rb +3 -8
  592. data/lib/Ice/SliceChecksumDict.rb +3 -8
  593. data/lib/Ice/ValueFactory.rb +3 -8
  594. data/lib/Ice/Version.rb +3 -8
  595. data/lib/IceBox.rb +1 -6
  596. data/lib/IceBox/IceBox.rb +3 -8
  597. data/lib/IceGrid.rb +1 -6
  598. data/lib/IceGrid/Admin.rb +3 -8
  599. data/lib/IceGrid/Descriptor.rb +3 -8
  600. data/lib/IceGrid/Exception.rb +3 -8
  601. data/lib/IceGrid/FileParser.rb +3 -8
  602. data/lib/IceGrid/PluginFacade.rb +3 -8
  603. data/lib/IceGrid/Registry.rb +3 -8
  604. data/lib/IceGrid/Session.rb +3 -8
  605. data/lib/IceGrid/UserAccountMapper.rb +3 -8
  606. data/lib/IcePatch2.rb +1 -6
  607. data/lib/IcePatch2/FileInfo.rb +3 -8
  608. data/lib/IcePatch2/FileServer.rb +3 -8
  609. data/lib/IceStorm.rb +1 -6
  610. data/lib/IceStorm/IceStorm.rb +3 -8
  611. data/lib/IceStorm/Metrics.rb +3 -8
  612. data/slice/Glacier2/Metrics.ice +14 -8
  613. data/slice/Glacier2/PermissionsVerifier.ice +11 -7
  614. data/slice/Glacier2/PermissionsVerifierF.ice +11 -7
  615. data/slice/Glacier2/Router.ice +12 -8
  616. data/slice/Glacier2/RouterF.ice +11 -7
  617. data/slice/Glacier2/SSLInfo.ice +11 -7
  618. data/slice/Glacier2/Session.ice +11 -7
  619. data/slice/Ice/BuiltinSequences.ice +13 -7
  620. data/slice/Ice/Communicator.ice +143 -102
  621. data/slice/Ice/CommunicatorF.ice +13 -7
  622. data/slice/Ice/Connection.ice +65 -29
  623. data/slice/Ice/ConnectionF.ice +13 -7
  624. data/slice/Ice/Current.ice +31 -26
  625. data/slice/Ice/Endpoint.ice +24 -21
  626. data/slice/Ice/EndpointF.ice +14 -8
  627. data/slice/Ice/EndpointTypes.ice +15 -9
  628. data/slice/Ice/FacetMap.ice +14 -8
  629. data/slice/Ice/Identity.ice +13 -7
  630. data/slice/Ice/ImplicitContext.ice +31 -25
  631. data/slice/Ice/ImplicitContextF.ice +12 -7
  632. data/slice/Ice/Instrumentation.ice +19 -13
  633. data/slice/Ice/InstrumentationF.ice +13 -7
  634. data/slice/Ice/LocalException.ice +35 -29
  635. data/slice/Ice/Locator.ice +14 -8
  636. data/slice/Ice/LocatorF.ice +13 -7
  637. data/slice/Ice/Logger.ice +19 -13
  638. data/slice/Ice/LoggerF.ice +13 -7
  639. data/slice/Ice/Metrics.ice +26 -18
  640. data/slice/Ice/ObjectAdapter.ice +63 -45
  641. data/slice/Ice/ObjectAdapterF.ice +13 -7
  642. data/slice/Ice/ObjectFactory.ice +20 -12
  643. data/slice/Ice/Plugin.ice +19 -10
  644. data/slice/Ice/PluginF.ice +17 -7
  645. data/slice/Ice/Process.ice +13 -7
  646. data/slice/Ice/ProcessF.ice +13 -7
  647. data/slice/Ice/Properties.ice +35 -24
  648. data/slice/Ice/PropertiesAdmin.ice +13 -7
  649. data/slice/Ice/PropertiesF.ice +13 -7
  650. data/slice/Ice/RemoteLogger.ice +23 -28
  651. data/slice/Ice/Router.ice +14 -8
  652. data/slice/Ice/RouterF.ice +13 -7
  653. data/slice/Ice/ServantLocator.ice +31 -23
  654. data/slice/Ice/ServantLocatorF.ice +13 -7
  655. data/slice/Ice/SliceChecksumDict.ice +13 -7
  656. data/slice/Ice/ValueFactory.ice +31 -26
  657. data/slice/Ice/Version.ice +13 -7
  658. data/slice/IceBT/ConnectionInfo.ice +12 -7
  659. data/slice/IceBT/EndpointInfo.ice +13 -8
  660. data/slice/IceBT/Types.ice +12 -7
  661. data/slice/IceBox/IceBox.ice +30 -11
  662. data/slice/IceDiscovery/IceDiscovery.ice +68 -7
  663. data/slice/IceGrid/Admin.ice +41 -35
  664. data/slice/IceGrid/Descriptor.ice +15 -10
  665. data/slice/IceGrid/Exception.ice +15 -10
  666. data/slice/IceGrid/FileParser.ice +14 -8
  667. data/slice/IceGrid/PluginFacade.ice +17 -11
  668. data/slice/IceGrid/Registry.ice +13 -7
  669. data/slice/IceGrid/Session.ice +18 -12
  670. data/slice/IceGrid/UserAccountMapper.ice +16 -10
  671. data/slice/IceIAP/ConnectionInfo.ice +11 -8
  672. data/slice/IceIAP/EndpointInfo.ice +11 -8
  673. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +12 -7
  674. data/slice/IcePatch2/FileInfo.ice +12 -7
  675. data/slice/IcePatch2/FileServer.ice +13 -8
  676. data/slice/IceSSL/ConnectionInfo.ice +16 -9
  677. data/slice/IceSSL/ConnectionInfoF.ice +14 -8
  678. data/slice/IceSSL/EndpointInfo.ice +14 -8
  679. data/slice/IceStorm/IceStorm.ice +20 -15
  680. data/slice/IceStorm/Metrics.ice +12 -8
  681. metadata +7 -13
  682. data/BZIP2_LICENSE +0 -42
  683. data/ext/ice/bzip2/blocksort.c +0 -1094
  684. data/ext/ice/bzip2/bzlib.c +0 -1572
  685. data/ext/ice/bzip2/bzlib.h +0 -282
  686. data/ext/ice/bzip2/bzlib_private.h +0 -509
  687. data/ext/ice/bzip2/compress.c +0 -672
  688. data/ext/ice/bzip2/crctable.c +0 -104
  689. data/ext/ice/bzip2/decompress.c +0 -646
  690. data/ext/ice/bzip2/huffman.c +0 -205
  691. data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,13 +1,8 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
5
- // This copy of Ice is licensed to you under the terms described in the
6
- // ICE_LICENSE file included in this distribution.
7
4
  //
8
- // **********************************************************************
9
- //
10
- // Ice version 3.7.0
5
+ // Ice version 3.7.5
11
6
  //
12
7
  // <auto-generated>
13
8
  //
@@ -47,10 +42,10 @@
47
42
  # if ICE_INT_VERSION / 100 != 307
48
43
  # error Ice version mismatch!
49
44
  # endif
50
- # if ICE_INT_VERSION % 100 > 50
45
+ # if ICE_INT_VERSION % 100 >= 50
51
46
  # error Beta header file detected
52
47
  # endif
53
- # if ICE_INT_VERSION % 100 < 0
48
+ # if ICE_INT_VERSION % 100 < 5
54
49
  # error Ice patch level mismatch!
55
50
  # endif
56
51
  #endif
@@ -82,7 +77,11 @@ class LocatorFinderPrx;
82
77
  namespace Ice
83
78
  {
84
79
 
85
- class ICE_CLASS(ICE_API) AdapterNotFoundException : public ::Ice::UserExceptionHelper<AdapterNotFoundException, ::Ice::UserException>
80
+ /**
81
+ * This exception is raised if an adapter cannot be found.
82
+ * \headerfile Ice/Ice.h
83
+ */
84
+ class ICE_CLASS(ICE_API) AdapterNotFoundException : public UserExceptionHelper<AdapterNotFoundException, UserException>
86
85
  {
87
86
  public:
88
87
 
@@ -92,17 +91,32 @@ public:
92
91
 
93
92
  AdapterNotFoundException() = default;
94
93
 
94
+ /**
95
+ * Obtains a tuple containing all of the exception's data members.
96
+ * @return The data members in a tuple.
97
+ */
95
98
  std::tuple<> ice_tuple() const
96
99
  {
97
100
  return std::tie();
98
101
  }
99
102
 
103
+ /**
104
+ * Obtains the Slice type ID of this exception.
105
+ * @return The fully-scoped type ID.
106
+ */
100
107
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
101
108
  };
102
109
 
110
+ /// \cond INTERNAL
103
111
  static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
112
+ /// \endcond
104
113
 
105
- class ICE_CLASS(ICE_API) InvalidReplicaGroupIdException : public ::Ice::UserExceptionHelper<InvalidReplicaGroupIdException, ::Ice::UserException>
114
+ /**
115
+ * This exception is raised if the replica group provided by the
116
+ * server is invalid.
117
+ * \headerfile Ice/Ice.h
118
+ */
119
+ class ICE_CLASS(ICE_API) InvalidReplicaGroupIdException : public UserExceptionHelper<InvalidReplicaGroupIdException, UserException>
106
120
  {
107
121
  public:
108
122
 
@@ -112,15 +126,28 @@ public:
112
126
 
113
127
  InvalidReplicaGroupIdException() = default;
114
128
 
129
+ /**
130
+ * Obtains a tuple containing all of the exception's data members.
131
+ * @return The data members in a tuple.
132
+ */
115
133
  std::tuple<> ice_tuple() const
116
134
  {
117
135
  return std::tie();
118
136
  }
119
137
 
138
+ /**
139
+ * Obtains the Slice type ID of this exception.
140
+ * @return The fully-scoped type ID.
141
+ */
120
142
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
121
143
  };
122
144
 
123
- class ICE_CLASS(ICE_API) AdapterAlreadyActiveException : public ::Ice::UserExceptionHelper<AdapterAlreadyActiveException, ::Ice::UserException>
145
+ /**
146
+ * This exception is raised if a server tries to set endpoints for
147
+ * an adapter that is already active.
148
+ * \headerfile Ice/Ice.h
149
+ */
150
+ class ICE_CLASS(ICE_API) AdapterAlreadyActiveException : public UserExceptionHelper<AdapterAlreadyActiveException, UserException>
124
151
  {
125
152
  public:
126
153
 
@@ -130,15 +157,27 @@ public:
130
157
 
131
158
  AdapterAlreadyActiveException() = default;
132
159
 
160
+ /**
161
+ * Obtains a tuple containing all of the exception's data members.
162
+ * @return The data members in a tuple.
163
+ */
133
164
  std::tuple<> ice_tuple() const
134
165
  {
135
166
  return std::tie();
136
167
  }
137
168
 
169
+ /**
170
+ * Obtains the Slice type ID of this exception.
171
+ * @return The fully-scoped type ID.
172
+ */
138
173
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
139
174
  };
140
175
 
141
- class ICE_CLASS(ICE_API) ObjectNotFoundException : public ::Ice::UserExceptionHelper<ObjectNotFoundException, ::Ice::UserException>
176
+ /**
177
+ * This exception is raised if an object cannot be found.
178
+ * \headerfile Ice/Ice.h
179
+ */
180
+ class ICE_CLASS(ICE_API) ObjectNotFoundException : public UserExceptionHelper<ObjectNotFoundException, UserException>
142
181
  {
143
182
  public:
144
183
 
@@ -148,15 +187,27 @@ public:
148
187
 
149
188
  ObjectNotFoundException() = default;
150
189
 
190
+ /**
191
+ * Obtains a tuple containing all of the exception's data members.
192
+ * @return The data members in a tuple.
193
+ */
151
194
  std::tuple<> ice_tuple() const
152
195
  {
153
196
  return std::tie();
154
197
  }
155
198
 
199
+ /**
200
+ * Obtains the Slice type ID of this exception.
201
+ * @return The fully-scoped type ID.
202
+ */
156
203
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
157
204
  };
158
205
 
159
- class ICE_CLASS(ICE_API) ServerNotFoundException : public ::Ice::UserExceptionHelper<ServerNotFoundException, ::Ice::UserException>
206
+ /**
207
+ * This exception is raised if a server cannot be found.
208
+ * \headerfile Ice/Ice.h
209
+ */
210
+ class ICE_CLASS(ICE_API) ServerNotFoundException : public UserExceptionHelper<ServerNotFoundException, UserException>
160
211
  {
161
212
  public:
162
213
 
@@ -166,11 +217,19 @@ public:
166
217
 
167
218
  ServerNotFoundException() = default;
168
219
 
220
+ /**
221
+ * Obtains a tuple containing all of the exception's data members.
222
+ * @return The data members in a tuple.
223
+ */
169
224
  std::tuple<> ice_tuple() const
170
225
  {
171
226
  return std::tie();
172
227
  }
173
228
 
229
+ /**
230
+ * Obtains the Slice type ID of this exception.
231
+ * @return The fully-scoped type ID.
232
+ */
174
233
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
175
234
  };
176
235
 
@@ -179,70 +238,263 @@ public:
179
238
  namespace Ice
180
239
  {
181
240
 
182
- class ICE_API Locator : public virtual ::Ice::Object
241
+ /**
242
+ * The Ice locator interface. This interface is used by clients to
243
+ * lookup adapters and objects. It is also used by servers to get the
244
+ * locator registry proxy.
245
+ *
246
+ * <p class="Note">The {@link Locator} interface is intended to be used by
247
+ * Ice internals and by locator implementations. Regular user code
248
+ * should not attempt to use any functionality of this interface
249
+ * directly.
250
+ * \headerfile Ice/Ice.h
251
+ */
252
+ class ICE_API Locator : public virtual Object
183
253
  {
184
254
  public:
185
255
 
186
256
  using ProxyType = LocatorPrx;
187
257
 
188
- virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
189
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
190
- virtual ::std::string ice_id(const ::Ice::Current&) const override;
191
-
258
+ /**
259
+ * Determines whether this object supports an interface with the given Slice type ID.
260
+ * @param id The fully-scoped Slice type ID.
261
+ * @param current The Current object for the invocation.
262
+ * @return True if this object supports the interface, false, otherwise.
263
+ */
264
+ virtual bool ice_isA(::std::string id, const Current& current) const override;
265
+
266
+ /**
267
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
268
+ * @param current The Current object for the invocation.
269
+ * @return A list of fully-scoped type IDs.
270
+ */
271
+ virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
272
+
273
+ /**
274
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
275
+ * @param current The Current object for the invocation.
276
+ * @return A fully-scoped type ID.
277
+ */
278
+ virtual ::std::string ice_id(const Current& current) const override;
279
+
280
+ /**
281
+ * Obtains the Slice type ID corresponding to this class.
282
+ * @return A fully-scoped type ID.
283
+ */
192
284
  static const ::std::string& ice_staticId();
193
285
 
194
- virtual void findObjectByIdAsync(::Ice::Identity, ::std::function<void(const ::std::shared_ptr<::Ice::ObjectPrx>&)>, ::std::function<void(::std::exception_ptr)>, const ::Ice::Current&) const = 0;
195
- bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
196
-
197
- virtual void findAdapterByIdAsync(::std::string, ::std::function<void(const ::std::shared_ptr<::Ice::ObjectPrx>&)>, ::std::function<void(::std::exception_ptr)>, const ::Ice::Current&) const = 0;
198
- bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&) const;
199
-
200
- virtual ::std::shared_ptr<::Ice::LocatorRegistryPrx> getRegistry(const ::Ice::Current&) const = 0;
201
- bool _iceD_getRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
202
-
203
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
286
+ /**
287
+ * Find an object by identity and return a proxy that contains
288
+ * the adapter ID or endpoints which can be used to access the
289
+ * object.
290
+ * @param id The identity.
291
+ * @param response The response callback.
292
+ * @param exception The exception callback.
293
+ * @param current The Current object for the invocation.
294
+ * @throws Ice::ObjectNotFoundException Raised if the object cannot
295
+ * be found.
296
+ */
297
+ virtual void findObjectByIdAsync(Identity id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
298
+ /// \cond INTERNAL
299
+ bool _iceD_findObjectById(::IceInternal::Incoming&, const Current&) const;
300
+ /// \endcond
301
+
302
+ /**
303
+ * Find an adapter by id and return a proxy that contains
304
+ * its endpoints.
305
+ * @param id The adapter id.
306
+ * @param response The response callback.
307
+ * @param exception The exception callback.
308
+ * @param current The Current object for the invocation.
309
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
310
+ * found.
311
+ */
312
+ virtual void findAdapterByIdAsync(::std::string id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
313
+ /// \cond INTERNAL
314
+ bool _iceD_findAdapterById(::IceInternal::Incoming&, const Current&) const;
315
+ /// \endcond
316
+
317
+ /**
318
+ * Get the locator registry.
319
+ * @param current The Current object for the invocation.
320
+ * @return The locator registry.
321
+ */
322
+ virtual ::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Current& current) const = 0;
323
+ /// \cond INTERNAL
324
+ bool _iceD_getRegistry(::IceInternal::Incoming&, const Current&) const;
325
+ /// \endcond
326
+
327
+ /// \cond INTERNAL
328
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
329
+ /// \endcond
204
330
  };
205
331
 
206
- class ICE_API LocatorRegistry : public virtual ::Ice::Object
332
+ /**
333
+ * The Ice locator registry interface. This interface is used by
334
+ * servers to register adapter endpoints with the locator.
335
+ *
336
+ * <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
337
+ * by Ice internals and by locator implementations. Regular user
338
+ * code should not attempt to use any functionality of this interface
339
+ * directly.
340
+ * \headerfile Ice/Ice.h
341
+ */
342
+ class ICE_API LocatorRegistry : public virtual Object
207
343
  {
208
344
  public:
209
345
 
210
346
  using ProxyType = LocatorRegistryPrx;
211
347
 
212
- virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
213
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
214
- virtual ::std::string ice_id(const ::Ice::Current&) const override;
215
-
348
+ /**
349
+ * Determines whether this object supports an interface with the given Slice type ID.
350
+ * @param id The fully-scoped Slice type ID.
351
+ * @param current The Current object for the invocation.
352
+ * @return True if this object supports the interface, false, otherwise.
353
+ */
354
+ virtual bool ice_isA(::std::string id, const Current& current) const override;
355
+
356
+ /**
357
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
358
+ * @param current The Current object for the invocation.
359
+ * @return A list of fully-scoped type IDs.
360
+ */
361
+ virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
362
+
363
+ /**
364
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
365
+ * @param current The Current object for the invocation.
366
+ * @return A fully-scoped type ID.
367
+ */
368
+ virtual ::std::string ice_id(const Current& current) const override;
369
+
370
+ /**
371
+ * Obtains the Slice type ID corresponding to this class.
372
+ * @return A fully-scoped type ID.
373
+ */
216
374
  static const ::std::string& ice_staticId();
217
375
 
218
- virtual void setAdapterDirectProxyAsync(::std::string, ::std::shared_ptr<::Ice::ObjectPrx>, ::std::function<void()>, ::std::function<void(::std::exception_ptr)>, const ::Ice::Current&) = 0;
219
- bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
220
-
221
- virtual void setReplicatedAdapterDirectProxyAsync(::std::string, ::std::string, ::std::shared_ptr<::Ice::ObjectPrx>, ::std::function<void()>, ::std::function<void(::std::exception_ptr)>, const ::Ice::Current&) = 0;
222
- bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
223
-
224
- virtual void setServerProcessProxyAsync(::std::string, ::std::shared_ptr<::Ice::ProcessPrx>, ::std::function<void()>, ::std::function<void(::std::exception_ptr)>, const ::Ice::Current&) = 0;
225
- bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const ::Ice::Current&);
226
-
227
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
376
+ /**
377
+ * Set the adapter endpoints with the locator registry.
378
+ * @param id The adapter id.
379
+ * @param proxy The adapter proxy (a dummy direct proxy created
380
+ * by the adapter). The direct proxy contains the adapter
381
+ * endpoints.
382
+ * @param response The response callback.
383
+ * @param exception The exception callback.
384
+ * @param current The Current object for the invocation.
385
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
386
+ * id is already active.
387
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
388
+ * be found, or if the locator only allows
389
+ * registered adapters to set their active proxy and the
390
+ * adapter is not registered with the locator.
391
+ */
392
+ virtual void setAdapterDirectProxyAsync(::std::string id, ::std::shared_ptr<ObjectPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
393
+ /// \cond INTERNAL
394
+ bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
395
+ /// \endcond
396
+
397
+ /**
398
+ * Set the adapter endpoints with the locator registry.
399
+ * @param adapterId The adapter id.
400
+ * @param replicaGroupId The replica group id.
401
+ * @param p The adapter proxy (a dummy direct proxy created
402
+ * by the adapter). The direct proxy contains the adapter
403
+ * endpoints.
404
+ * @param response The response callback.
405
+ * @param exception The exception callback.
406
+ * @param current The Current object for the invocation.
407
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
408
+ * id is already active.
409
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
410
+ * be found, or if the locator only allows registered adapters to
411
+ * set their active proxy and the adapter is not registered with
412
+ * the locator.
413
+ * @throws Ice::InvalidReplicaGroupIdException Raised if the given
414
+ * replica group doesn't match the one registered with the
415
+ * locator registry for this object adapter.
416
+ */
417
+ virtual void setReplicatedAdapterDirectProxyAsync(::std::string adapterId, ::std::string replicaGroupId, ::std::shared_ptr<ObjectPrx> p, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
418
+ /// \cond INTERNAL
419
+ bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
420
+ /// \endcond
421
+
422
+ /**
423
+ * Set the process proxy for a server.
424
+ * @param id The server id.
425
+ * @param proxy The process proxy.
426
+ * @param response The response callback.
427
+ * @param exception The exception callback.
428
+ * @param current The Current object for the invocation.
429
+ * @throws Ice::ServerNotFoundException Raised if the server cannot
430
+ * be found.
431
+ */
432
+ virtual void setServerProcessProxyAsync(::std::string id, ::std::shared_ptr<ProcessPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
433
+ /// \cond INTERNAL
434
+ bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const Current&);
435
+ /// \endcond
436
+
437
+ /// \cond INTERNAL
438
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
439
+ /// \endcond
228
440
  };
229
441
 
230
- class ICE_API LocatorFinder : public virtual ::Ice::Object
442
+ /**
443
+ * This inferface should be implemented by services implementing the
444
+ * Ice::Locator interface. It should be advertised through an Ice
445
+ * object with the identity `Ice/LocatorFinder'. This allows clients
446
+ * to retrieve the locator proxy with just the endpoint information of
447
+ * the service.
448
+ * \headerfile Ice/Ice.h
449
+ */
450
+ class ICE_API LocatorFinder : public virtual Object
231
451
  {
232
452
  public:
233
453
 
234
454
  using ProxyType = LocatorFinderPrx;
235
455
 
236
- virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
237
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
238
- virtual ::std::string ice_id(const ::Ice::Current&) const override;
239
-
456
+ /**
457
+ * Determines whether this object supports an interface with the given Slice type ID.
458
+ * @param id The fully-scoped Slice type ID.
459
+ * @param current The Current object for the invocation.
460
+ * @return True if this object supports the interface, false, otherwise.
461
+ */
462
+ virtual bool ice_isA(::std::string id, const Current& current) const override;
463
+
464
+ /**
465
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
466
+ * @param current The Current object for the invocation.
467
+ * @return A list of fully-scoped type IDs.
468
+ */
469
+ virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
470
+
471
+ /**
472
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
473
+ * @param current The Current object for the invocation.
474
+ * @return A fully-scoped type ID.
475
+ */
476
+ virtual ::std::string ice_id(const Current& current) const override;
477
+
478
+ /**
479
+ * Obtains the Slice type ID corresponding to this class.
480
+ * @return A fully-scoped type ID.
481
+ */
240
482
  static const ::std::string& ice_staticId();
241
483
 
242
- virtual ::std::shared_ptr<::Ice::LocatorPrx> getLocator(const ::Ice::Current&) = 0;
243
- bool _iceD_getLocator(::IceInternal::Incoming&, const ::Ice::Current&);
244
-
245
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
484
+ /**
485
+ * Get the locator proxy implemented by the process hosting this
486
+ * finder object. The proxy might point to several replicas.
487
+ * @param current The Current object for the invocation.
488
+ * @return The locator proxy.
489
+ */
490
+ virtual ::std::shared_ptr<LocatorPrx> getLocator(const Current& current) = 0;
491
+ /// \cond INTERNAL
492
+ bool _iceD_getLocator(::IceInternal::Incoming&, const Current&);
493
+ /// \endcond
494
+
495
+ /// \cond INTERNAL
496
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
497
+ /// \endcond
246
498
  };
247
499
 
248
500
  }
@@ -250,221 +502,480 @@ public:
250
502
  namespace Ice
251
503
  {
252
504
 
253
- class ICE_CLASS(ICE_API) LocatorPrx : public virtual ::Ice::Proxy<LocatorPrx, ::Ice::ObjectPrx>
505
+ /**
506
+ * The Ice locator interface. This interface is used by clients to
507
+ * lookup adapters and objects. It is also used by servers to get the
508
+ * locator registry proxy.
509
+ *
510
+ * <p class="Note">The {@link Locator} interface is intended to be used by
511
+ * Ice internals and by locator implementations. Regular user code
512
+ * should not attempt to use any functionality of this interface
513
+ * directly.
514
+ * \headerfile Ice/Ice.h
515
+ */
516
+ class ICE_CLASS(ICE_API) LocatorPrx : public virtual Proxy<LocatorPrx, ObjectPrx>
254
517
  {
255
518
  public:
256
519
 
257
- ::std::shared_ptr<::Ice::ObjectPrx> findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context = Ice::noExplicitContext)
258
- {
259
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &Ice::LocatorPrx::_iceI_findObjectById, iceP_id, context).get();
260
- }
261
-
520
+ /**
521
+ * Find an object by identity and return a proxy that contains
522
+ * the adapter ID or endpoints which can be used to access the
523
+ * object.
524
+ * @param id The identity.
525
+ * @param context The Context map to send with the invocation.
526
+ * @return The proxy, or null if the object is not active.
527
+ * @throws Ice::ObjectNotFoundException Raised if the object cannot
528
+ * be found.
529
+ */
530
+ ::std::shared_ptr<ObjectPrx> findObjectById(const Identity& id, const Context& context = noExplicitContext)
531
+ {
532
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findObjectById, id, context).get();
533
+ }
534
+
535
+ /**
536
+ * Find an object by identity and return a proxy that contains
537
+ * the adapter ID or endpoints which can be used to access the
538
+ * object.
539
+ * @param id The identity.
540
+ * @param context The Context map to send with the invocation.
541
+ * @return The future object for the invocation.
542
+ */
262
543
  template<template<typename> class P = ::std::promise>
263
- auto findObjectByIdAsync(const ::Ice::Identity& iceP_id, const ::Ice::Context& context = Ice::noExplicitContext)
544
+ auto findObjectByIdAsync(const Identity& id, const Context& context = noExplicitContext)
264
545
  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
265
546
  {
266
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &Ice::LocatorPrx::_iceI_findObjectById, iceP_id, context);
547
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findObjectById, id, context);
267
548
  }
268
549
 
550
+ /**
551
+ * Find an object by identity and return a proxy that contains
552
+ * the adapter ID or endpoints which can be used to access the
553
+ * object.
554
+ * @param id The identity.
555
+ * @param response The response callback.
556
+ * @param ex The exception callback.
557
+ * @param sent The sent callback.
558
+ * @param context The Context map to send with the invocation.
559
+ * @return A function that can be called to cancel the invocation locally.
560
+ */
269
561
  ::std::function<void()>
270
- findObjectByIdAsync(const ::Ice::Identity& iceP_id,
562
+ findObjectByIdAsync(const Identity& id,
271
563
  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
272
564
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
273
565
  ::std::function<void(bool)> sent = nullptr,
274
- const ::Ice::Context& context = Ice::noExplicitContext)
566
+ const Context& context = noExplicitContext)
275
567
  {
276
- return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_findObjectById, iceP_id, context);
568
+ return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_findObjectById, id, context);
277
569
  }
278
570
 
279
- ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::Ice::Identity&, const ::Ice::Context&);
571
+ /// \cond INTERNAL
572
+ ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const Identity&, const Context&);
573
+ /// \endcond
280
574
 
281
- ::std::shared_ptr<::Ice::ObjectPrx> findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context = Ice::noExplicitContext)
575
+ /**
576
+ * Find an adapter by id and return a proxy that contains
577
+ * its endpoints.
578
+ * @param id The adapter id.
579
+ * @param context The Context map to send with the invocation.
580
+ * @return The adapter proxy, or null if the adapter is not active.
581
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
582
+ * found.
583
+ */
584
+ ::std::shared_ptr<ObjectPrx> findAdapterById(const ::std::string& id, const Context& context = noExplicitContext)
282
585
  {
283
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &Ice::LocatorPrx::_iceI_findAdapterById, iceP_id, context).get();
586
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findAdapterById, id, context).get();
284
587
  }
285
588
 
589
+ /**
590
+ * Find an adapter by id and return a proxy that contains
591
+ * its endpoints.
592
+ * @param id The adapter id.
593
+ * @param context The Context map to send with the invocation.
594
+ * @return The future object for the invocation.
595
+ */
286
596
  template<template<typename> class P = ::std::promise>
287
- auto findAdapterByIdAsync(const ::std::string& iceP_id, const ::Ice::Context& context = Ice::noExplicitContext)
597
+ auto findAdapterByIdAsync(const ::std::string& id, const Context& context = noExplicitContext)
288
598
  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
289
599
  {
290
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &Ice::LocatorPrx::_iceI_findAdapterById, iceP_id, context);
600
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findAdapterById, id, context);
291
601
  }
292
602
 
603
+ /**
604
+ * Find an adapter by id and return a proxy that contains
605
+ * its endpoints.
606
+ * @param id The adapter id.
607
+ * @param response The response callback.
608
+ * @param ex The exception callback.
609
+ * @param sent The sent callback.
610
+ * @param context The Context map to send with the invocation.
611
+ * @return A function that can be called to cancel the invocation locally.
612
+ */
293
613
  ::std::function<void()>
294
- findAdapterByIdAsync(const ::std::string& iceP_id,
614
+ findAdapterByIdAsync(const ::std::string& id,
295
615
  ::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
296
616
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
297
617
  ::std::function<void(bool)> sent = nullptr,
298
- const ::Ice::Context& context = Ice::noExplicitContext)
618
+ const Context& context = noExplicitContext)
299
619
  {
300
- return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_findAdapterById, iceP_id, context);
620
+ return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_findAdapterById, id, context);
301
621
  }
302
622
 
303
- ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, const ::Ice::Context&);
623
+ /// \cond INTERNAL
624
+ ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, const Context&);
625
+ /// \endcond
304
626
 
305
- ::std::shared_ptr<::Ice::LocatorRegistryPrx> getRegistry(const ::Ice::Context& context = Ice::noExplicitContext)
627
+ /**
628
+ * Get the locator registry.
629
+ * @param context The Context map to send with the invocation.
630
+ * @return The locator registry.
631
+ */
632
+ ::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Context& context = noExplicitContext)
306
633
  {
307
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(true, this, &Ice::LocatorPrx::_iceI_getRegistry, context).get();
634
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(true, this, &LocatorPrx::_iceI_getRegistry, context).get();
308
635
  }
309
636
 
637
+ /**
638
+ * Get the locator registry.
639
+ * @param context The Context map to send with the invocation.
640
+ * @return The future object for the invocation.
641
+ */
310
642
  template<template<typename> class P = ::std::promise>
311
- auto getRegistryAsync(const ::Ice::Context& context = Ice::noExplicitContext)
643
+ auto getRegistryAsync(const Context& context = noExplicitContext)
312
644
  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>().get_future())
313
645
  {
314
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>, P>(false, this, &Ice::LocatorPrx::_iceI_getRegistry, context);
646
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>, P>(false, this, &LocatorPrx::_iceI_getRegistry, context);
315
647
  }
316
648
 
649
+ /**
650
+ * Get the locator registry.
651
+ * @param response The response callback.
652
+ * @param ex The exception callback.
653
+ * @param sent The sent callback.
654
+ * @param context The Context map to send with the invocation.
655
+ * @return A function that can be called to cancel the invocation locally.
656
+ */
317
657
  ::std::function<void()>
318
658
  getRegistryAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorRegistryPrx>)> response,
319
659
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
320
660
  ::std::function<void(bool)> sent = nullptr,
321
- const ::Ice::Context& context = Ice::noExplicitContext)
661
+ const Context& context = noExplicitContext)
322
662
  {
323
- return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_getRegistry, context);
663
+ return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorPrx::_iceI_getRegistry, context);
324
664
  }
325
665
 
326
- ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>&, const ::Ice::Context&);
666
+ /// \cond INTERNAL
667
+ ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>&, const Context&);
668
+ /// \endcond
327
669
 
670
+ /**
671
+ * Obtains the Slice type ID of this interface.
672
+ * @return The fully-scoped type ID.
673
+ */
328
674
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
329
675
 
330
676
  protected:
331
677
 
678
+ /// \cond INTERNAL
332
679
  LocatorPrx() = default;
333
680
  friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
334
681
 
335
- ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
682
+ ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
683
+ /// \endcond
336
684
  };
337
685
 
338
- class ICE_CLASS(ICE_API) LocatorRegistryPrx : public virtual ::Ice::Proxy<LocatorRegistryPrx, ::Ice::ObjectPrx>
686
+ /**
687
+ * The Ice locator registry interface. This interface is used by
688
+ * servers to register adapter endpoints with the locator.
689
+ *
690
+ * <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
691
+ * by Ice internals and by locator implementations. Regular user
692
+ * code should not attempt to use any functionality of this interface
693
+ * directly.
694
+ * \headerfile Ice/Ice.h
695
+ */
696
+ class ICE_CLASS(ICE_API) LocatorRegistryPrx : public virtual Proxy<LocatorRegistryPrx, ObjectPrx>
339
697
  {
340
698
  public:
341
699
 
342
- void setAdapterDirectProxy(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_proxy, const ::Ice::Context& context = Ice::noExplicitContext)
343
- {
344
- _makePromiseOutgoing<void>(true, this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy, iceP_id, iceP_proxy, context).get();
345
- }
346
-
700
+ /**
701
+ * Set the adapter endpoints with the locator registry.
702
+ * @param id The adapter id.
703
+ * @param proxy The adapter proxy (a dummy direct proxy created
704
+ * by the adapter). The direct proxy contains the adapter
705
+ * endpoints.
706
+ * @param context The Context map to send with the invocation.
707
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
708
+ * id is already active.
709
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
710
+ * be found, or if the locator only allows
711
+ * registered adapters to set their active proxy and the
712
+ * adapter is not registered with the locator.
713
+ */
714
+ void setAdapterDirectProxy(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
715
+ {
716
+ _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context).get();
717
+ }
718
+
719
+ /**
720
+ * Set the adapter endpoints with the locator registry.
721
+ * @param id The adapter id.
722
+ * @param proxy The adapter proxy (a dummy direct proxy created
723
+ * by the adapter). The direct proxy contains the adapter
724
+ * endpoints.
725
+ * @param context The Context map to send with the invocation.
726
+ * @return The future object for the invocation.
727
+ */
347
728
  template<template<typename> class P = ::std::promise>
348
- auto setAdapterDirectProxyAsync(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_proxy, const ::Ice::Context& context = Ice::noExplicitContext)
729
+ auto setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
349
730
  -> decltype(::std::declval<P<void>>().get_future())
350
731
  {
351
- return _makePromiseOutgoing<void, P>(false, this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy, iceP_id, iceP_proxy, context);
352
- }
353
-
732
+ return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
733
+ }
734
+
735
+ /**
736
+ * Set the adapter endpoints with the locator registry.
737
+ * @param id The adapter id.
738
+ * @param proxy The adapter proxy (a dummy direct proxy created
739
+ * by the adapter). The direct proxy contains the adapter
740
+ * endpoints.
741
+ * @param response The response callback.
742
+ * @param ex The exception callback.
743
+ * @param sent The sent callback.
744
+ * @param context The Context map to send with the invocation.
745
+ * @return A function that can be called to cancel the invocation locally.
746
+ */
354
747
  ::std::function<void()>
355
- setAdapterDirectProxyAsync(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_proxy,
748
+ setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy,
356
749
  ::std::function<void()> response,
357
750
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
358
751
  ::std::function<void(bool)> sent = nullptr,
359
- const ::Ice::Context& context = Ice::noExplicitContext)
360
- {
361
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy, iceP_id, iceP_proxy, context);
362
- }
363
-
364
- ICE_MEMBER(ICE_API) void _iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
365
-
366
- void setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_p, const ::Ice::Context& context = Ice::noExplicitContext)
367
- {
368
- _makePromiseOutgoing<void>(true, this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, iceP_adapterId, iceP_replicaGroupId, iceP_p, context).get();
369
- }
370
-
752
+ const Context& context = noExplicitContext)
753
+ {
754
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
755
+ }
756
+
757
+ /// \cond INTERNAL
758
+ ICE_MEMBER(ICE_API) void _iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
759
+ /// \endcond
760
+
761
+ /**
762
+ * Set the adapter endpoints with the locator registry.
763
+ * @param adapterId The adapter id.
764
+ * @param replicaGroupId The replica group id.
765
+ * @param p The adapter proxy (a dummy direct proxy created
766
+ * by the adapter). The direct proxy contains the adapter
767
+ * endpoints.
768
+ * @param context The Context map to send with the invocation.
769
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
770
+ * id is already active.
771
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
772
+ * be found, or if the locator only allows registered adapters to
773
+ * set their active proxy and the adapter is not registered with
774
+ * the locator.
775
+ * @throws Ice::InvalidReplicaGroupIdException Raised if the given
776
+ * replica group doesn't match the one registered with the
777
+ * locator registry for this object adapter.
778
+ */
779
+ void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
780
+ {
781
+ _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context).get();
782
+ }
783
+
784
+ /**
785
+ * Set the adapter endpoints with the locator registry.
786
+ * @param adapterId The adapter id.
787
+ * @param replicaGroupId The replica group id.
788
+ * @param p The adapter proxy (a dummy direct proxy created
789
+ * by the adapter). The direct proxy contains the adapter
790
+ * endpoints.
791
+ * @param context The Context map to send with the invocation.
792
+ * @return The future object for the invocation.
793
+ */
371
794
  template<template<typename> class P = ::std::promise>
372
- auto setReplicatedAdapterDirectProxyAsync(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_p, const ::Ice::Context& context = Ice::noExplicitContext)
795
+ auto setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
373
796
  -> decltype(::std::declval<P<void>>().get_future())
374
797
  {
375
- return _makePromiseOutgoing<void, P>(false, this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, iceP_adapterId, iceP_replicaGroupId, iceP_p, context);
376
- }
377
-
798
+ return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
799
+ }
800
+
801
+ /**
802
+ * Set the adapter endpoints with the locator registry.
803
+ * @param adapterId The adapter id.
804
+ * @param replicaGroupId The replica group id.
805
+ * @param p The adapter proxy (a dummy direct proxy created
806
+ * by the adapter). The direct proxy contains the adapter
807
+ * endpoints.
808
+ * @param response The response callback.
809
+ * @param ex The exception callback.
810
+ * @param sent The sent callback.
811
+ * @param context The Context map to send with the invocation.
812
+ * @return A function that can be called to cancel the invocation locally.
813
+ */
378
814
  ::std::function<void()>
379
- setReplicatedAdapterDirectProxyAsync(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_p,
815
+ setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p,
380
816
  ::std::function<void()> response,
381
817
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
382
818
  ::std::function<void(bool)> sent = nullptr,
383
- const ::Ice::Context& context = Ice::noExplicitContext)
819
+ const Context& context = noExplicitContext)
384
820
  {
385
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, iceP_adapterId, iceP_replicaGroupId, iceP_p, context);
821
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
386
822
  }
387
823
 
388
- ICE_MEMBER(ICE_API) void _iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
824
+ /// \cond INTERNAL
825
+ ICE_MEMBER(ICE_API) void _iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
826
+ /// \endcond
389
827
 
390
- void setServerProcessProxy(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ProcessPrx>& iceP_proxy, const ::Ice::Context& context = Ice::noExplicitContext)
828
+ /**
829
+ * Set the process proxy for a server.
830
+ * @param id The server id.
831
+ * @param proxy The process proxy.
832
+ * @param context The Context map to send with the invocation.
833
+ * @throws Ice::ServerNotFoundException Raised if the server cannot
834
+ * be found.
835
+ */
836
+ void setServerProcessProxy(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
391
837
  {
392
- _makePromiseOutgoing<void>(true, this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy, iceP_id, iceP_proxy, context).get();
838
+ _makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context).get();
393
839
  }
394
840
 
841
+ /**
842
+ * Set the process proxy for a server.
843
+ * @param id The server id.
844
+ * @param proxy The process proxy.
845
+ * @param context The Context map to send with the invocation.
846
+ * @return The future object for the invocation.
847
+ */
395
848
  template<template<typename> class P = ::std::promise>
396
- auto setServerProcessProxyAsync(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ProcessPrx>& iceP_proxy, const ::Ice::Context& context = Ice::noExplicitContext)
849
+ auto setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
397
850
  -> decltype(::std::declval<P<void>>().get_future())
398
851
  {
399
- return _makePromiseOutgoing<void, P>(false, this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy, iceP_id, iceP_proxy, context);
852
+ return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
400
853
  }
401
854
 
855
+ /**
856
+ * Set the process proxy for a server.
857
+ * @param id The server id.
858
+ * @param proxy The process proxy.
859
+ * @param response The response callback.
860
+ * @param ex The exception callback.
861
+ * @param sent The sent callback.
862
+ * @param context The Context map to send with the invocation.
863
+ * @return A function that can be called to cancel the invocation locally.
864
+ */
402
865
  ::std::function<void()>
403
- setServerProcessProxyAsync(const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ProcessPrx>& iceP_proxy,
866
+ setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy,
404
867
  ::std::function<void()> response,
405
868
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
406
869
  ::std::function<void(bool)> sent = nullptr,
407
- const ::Ice::Context& context = Ice::noExplicitContext)
870
+ const Context& context = noExplicitContext)
408
871
  {
409
- return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy, iceP_id, iceP_proxy, context);
872
+ return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
410
873
  }
411
874
 
412
- ICE_MEMBER(ICE_API) void _iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ProcessPrx>&, const ::Ice::Context&);
875
+ /// \cond INTERNAL
876
+ ICE_MEMBER(ICE_API) void _iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ProcessPrx>&, const Context&);
877
+ /// \endcond
413
878
 
879
+ /**
880
+ * Obtains the Slice type ID of this interface.
881
+ * @return The fully-scoped type ID.
882
+ */
414
883
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
415
884
 
416
885
  protected:
417
886
 
887
+ /// \cond INTERNAL
418
888
  LocatorRegistryPrx() = default;
419
889
  friend ::std::shared_ptr<LocatorRegistryPrx> IceInternal::createProxy<LocatorRegistryPrx>();
420
890
 
421
- ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
891
+ ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
892
+ /// \endcond
422
893
  };
423
894
 
424
- class ICE_CLASS(ICE_API) LocatorFinderPrx : public virtual ::Ice::Proxy<LocatorFinderPrx, ::Ice::ObjectPrx>
895
+ /**
896
+ * This inferface should be implemented by services implementing the
897
+ * Ice::Locator interface. It should be advertised through an Ice
898
+ * object with the identity `Ice/LocatorFinder'. This allows clients
899
+ * to retrieve the locator proxy with just the endpoint information of
900
+ * the service.
901
+ * \headerfile Ice/Ice.h
902
+ */
903
+ class ICE_CLASS(ICE_API) LocatorFinderPrx : public virtual Proxy<LocatorFinderPrx, ObjectPrx>
425
904
  {
426
905
  public:
427
906
 
428
- ::std::shared_ptr<::Ice::LocatorPrx> getLocator(const ::Ice::Context& context = Ice::noExplicitContext)
907
+ /**
908
+ * Get the locator proxy implemented by the process hosting this
909
+ * finder object. The proxy might point to several replicas.
910
+ * @param context The Context map to send with the invocation.
911
+ * @return The locator proxy.
912
+ */
913
+ ::std::shared_ptr<LocatorPrx> getLocator(const Context& context = noExplicitContext)
429
914
  {
430
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(true, this, &Ice::LocatorFinderPrx::_iceI_getLocator, context).get();
915
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(true, this, &LocatorFinderPrx::_iceI_getLocator, context).get();
431
916
  }
432
917
 
918
+ /**
919
+ * Get the locator proxy implemented by the process hosting this
920
+ * finder object. The proxy might point to several replicas.
921
+ * @param context The Context map to send with the invocation.
922
+ * @return The future object for the invocation.
923
+ */
433
924
  template<template<typename> class P = ::std::promise>
434
- auto getLocatorAsync(const ::Ice::Context& context = Ice::noExplicitContext)
925
+ auto getLocatorAsync(const Context& context = noExplicitContext)
435
926
  -> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorPrx>>>().get_future())
436
927
  {
437
- return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>, P>(false, this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
928
+ return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>, P>(false, this, &LocatorFinderPrx::_iceI_getLocator, context);
438
929
  }
439
930
 
931
+ /**
932
+ * Get the locator proxy implemented by the process hosting this
933
+ * finder object. The proxy might point to several replicas.
934
+ * @param response The response callback.
935
+ * @param ex The exception callback.
936
+ * @param sent The sent callback.
937
+ * @param context The Context map to send with the invocation.
938
+ * @return A function that can be called to cancel the invocation locally.
939
+ */
440
940
  ::std::function<void()>
441
941
  getLocatorAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorPrx>)> response,
442
942
  ::std::function<void(::std::exception_ptr)> ex = nullptr,
443
943
  ::std::function<void(bool)> sent = nullptr,
444
- const ::Ice::Context& context = Ice::noExplicitContext)
944
+ const Context& context = noExplicitContext)
445
945
  {
446
- return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(response, ex, sent, this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
946
+ return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
447
947
  }
448
948
 
449
- ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>&, const ::Ice::Context&);
949
+ /// \cond INTERNAL
950
+ ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>&, const Context&);
951
+ /// \endcond
450
952
 
953
+ /**
954
+ * Obtains the Slice type ID of this interface.
955
+ * @return The fully-scoped type ID.
956
+ */
451
957
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
452
958
 
453
959
  protected:
454
960
 
961
+ /// \cond INTERNAL
455
962
  LocatorFinderPrx() = default;
456
963
  friend ::std::shared_ptr<LocatorFinderPrx> IceInternal::createProxy<LocatorFinderPrx>();
457
964
 
458
- ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
965
+ ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
966
+ /// \endcond
459
967
  };
460
968
 
461
969
  }
462
970
 
971
+ /// \cond STREAM
463
972
  namespace Ice
464
973
  {
465
974
 
466
975
  }
976
+ /// \endcond
467
977
 
978
+ /// \cond INTERNAL
468
979
  namespace Ice
469
980
  {
470
981
 
@@ -478,6 +989,7 @@ using LocatorFinderPtr = ::std::shared_ptr<LocatorFinder>;
478
989
  using LocatorFinderPrxPtr = ::std::shared_ptr<LocatorFinderPrx>;
479
990
 
480
991
  }
992
+ /// \endcond
481
993
 
482
994
  #else // C++98 mapping
483
995
 
@@ -488,16 +1000,22 @@ namespace Ice
488
1000
  {
489
1001
 
490
1002
  class LocatorRegistry;
491
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry>&);
492
- ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::LocatorRegistry*);
1003
+ /// \cond INTERNAL
1004
+ ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LocatorRegistry>&);
1005
+ ICE_API ::IceProxy::Ice::Object* upCast(LocatorRegistry*);
1006
+ /// \endcond
493
1007
 
494
1008
  class Locator;
495
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>&);
496
- ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
1009
+ /// \cond INTERNAL
1010
+ ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Locator>&);
1011
+ ICE_API ::IceProxy::Ice::Object* upCast(Locator*);
1012
+ /// \endcond
497
1013
 
498
1014
  class LocatorFinder;
499
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder>&);
500
- ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::LocatorFinder*);
1015
+ /// \cond INTERNAL
1016
+ ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LocatorFinder>&);
1017
+ ICE_API ::IceProxy::Ice::Object* upCast(LocatorFinder*);
1018
+ /// \endcond
501
1019
 
502
1020
  }
503
1021
 
@@ -507,116 +1025,217 @@ namespace Ice
507
1025
  {
508
1026
 
509
1027
  class LocatorRegistry;
510
- ICE_API ::Ice::Object* upCast(::Ice::LocatorRegistry*);
511
- typedef ::IceInternal::Handle< ::Ice::LocatorRegistry> LocatorRegistryPtr;
1028
+ /// \cond INTERNAL
1029
+ ICE_API Object* upCast(LocatorRegistry*);
1030
+ /// \endcond
1031
+ typedef ::IceInternal::Handle< LocatorRegistry> LocatorRegistryPtr;
512
1032
  typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
513
1033
  typedef LocatorRegistryPrx LocatorRegistryPrxPtr;
514
- ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&, const ::Ice::ObjectPtr&);
1034
+ /// \cond INTERNAL
1035
+ ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&, const ObjectPtr&);
1036
+ /// \endcond
515
1037
 
516
1038
  class Locator;
517
- ICE_API ::Ice::Object* upCast(::Ice::Locator*);
518
- typedef ::IceInternal::Handle< ::Ice::Locator> LocatorPtr;
1039
+ /// \cond INTERNAL
1040
+ ICE_API Object* upCast(Locator*);
1041
+ /// \endcond
1042
+ typedef ::IceInternal::Handle< Locator> LocatorPtr;
519
1043
  typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
520
1044
  typedef LocatorPrx LocatorPrxPtr;
521
- ICE_API void _icePatchObjectPtr(LocatorPtr&, const ::Ice::ObjectPtr&);
1045
+ /// \cond INTERNAL
1046
+ ICE_API void _icePatchObjectPtr(LocatorPtr&, const ObjectPtr&);
1047
+ /// \endcond
522
1048
 
523
1049
  class LocatorFinder;
524
- ICE_API ::Ice::Object* upCast(::Ice::LocatorFinder*);
525
- typedef ::IceInternal::Handle< ::Ice::LocatorFinder> LocatorFinderPtr;
1050
+ /// \cond INTERNAL
1051
+ ICE_API Object* upCast(LocatorFinder*);
1052
+ /// \endcond
1053
+ typedef ::IceInternal::Handle< LocatorFinder> LocatorFinderPtr;
526
1054
  typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder> LocatorFinderPrx;
527
1055
  typedef LocatorFinderPrx LocatorFinderPrxPtr;
528
- ICE_API void _icePatchObjectPtr(LocatorFinderPtr&, const ::Ice::ObjectPtr&);
1056
+ /// \cond INTERNAL
1057
+ ICE_API void _icePatchObjectPtr(LocatorFinderPtr&, const ObjectPtr&);
1058
+ /// \endcond
529
1059
 
530
1060
  }
531
1061
 
532
1062
  namespace Ice
533
1063
  {
534
1064
 
535
- class ICE_API AdapterNotFoundException : public ::Ice::UserException
1065
+ /**
1066
+ * This exception is raised if an adapter cannot be found.
1067
+ * \headerfile Ice/Ice.h
1068
+ */
1069
+ class ICE_API AdapterNotFoundException : public UserException
536
1070
  {
537
1071
  public:
538
1072
 
539
1073
  AdapterNotFoundException() {}
540
1074
  virtual ~AdapterNotFoundException() throw();
541
1075
 
1076
+ /**
1077
+ * Obtains the Slice type ID of this exception.
1078
+ * @return The fully-scoped type ID.
1079
+ */
542
1080
  virtual ::std::string ice_id() const;
1081
+ /**
1082
+ * Polymporphically clones this exception.
1083
+ * @return A shallow copy of this exception.
1084
+ */
543
1085
  virtual AdapterNotFoundException* ice_clone() const;
1086
+ /**
1087
+ * Throws this exception.
1088
+ */
544
1089
  virtual void ice_throw() const;
545
1090
 
546
1091
  protected:
547
1092
 
548
- virtual void _writeImpl(::Ice::OutputStream*) const;
549
- virtual void _readImpl(::Ice::InputStream*);
1093
+ /// \cond STREAM
1094
+ virtual void _writeImpl(OutputStream*) const;
1095
+ virtual void _readImpl(InputStream*);
1096
+ /// \endcond
550
1097
  };
551
1098
 
1099
+ /// \cond INTERNAL
552
1100
  static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
1101
+ /// \endcond
553
1102
 
554
- class ICE_API InvalidReplicaGroupIdException : public ::Ice::UserException
1103
+ /**
1104
+ * This exception is raised if the replica group provided by the
1105
+ * server is invalid.
1106
+ * \headerfile Ice/Ice.h
1107
+ */
1108
+ class ICE_API InvalidReplicaGroupIdException : public UserException
555
1109
  {
556
1110
  public:
557
1111
 
558
1112
  InvalidReplicaGroupIdException() {}
559
1113
  virtual ~InvalidReplicaGroupIdException() throw();
560
1114
 
1115
+ /**
1116
+ * Obtains the Slice type ID of this exception.
1117
+ * @return The fully-scoped type ID.
1118
+ */
561
1119
  virtual ::std::string ice_id() const;
1120
+ /**
1121
+ * Polymporphically clones this exception.
1122
+ * @return A shallow copy of this exception.
1123
+ */
562
1124
  virtual InvalidReplicaGroupIdException* ice_clone() const;
1125
+ /**
1126
+ * Throws this exception.
1127
+ */
563
1128
  virtual void ice_throw() const;
564
1129
 
565
1130
  protected:
566
1131
 
567
- virtual void _writeImpl(::Ice::OutputStream*) const;
568
- virtual void _readImpl(::Ice::InputStream*);
1132
+ /// \cond STREAM
1133
+ virtual void _writeImpl(OutputStream*) const;
1134
+ virtual void _readImpl(InputStream*);
1135
+ /// \endcond
569
1136
  };
570
1137
 
571
- class ICE_API AdapterAlreadyActiveException : public ::Ice::UserException
1138
+ /**
1139
+ * This exception is raised if a server tries to set endpoints for
1140
+ * an adapter that is already active.
1141
+ * \headerfile Ice/Ice.h
1142
+ */
1143
+ class ICE_API AdapterAlreadyActiveException : public UserException
572
1144
  {
573
1145
  public:
574
1146
 
575
1147
  AdapterAlreadyActiveException() {}
576
1148
  virtual ~AdapterAlreadyActiveException() throw();
577
1149
 
1150
+ /**
1151
+ * Obtains the Slice type ID of this exception.
1152
+ * @return The fully-scoped type ID.
1153
+ */
578
1154
  virtual ::std::string ice_id() const;
1155
+ /**
1156
+ * Polymporphically clones this exception.
1157
+ * @return A shallow copy of this exception.
1158
+ */
579
1159
  virtual AdapterAlreadyActiveException* ice_clone() const;
1160
+ /**
1161
+ * Throws this exception.
1162
+ */
580
1163
  virtual void ice_throw() const;
581
1164
 
582
1165
  protected:
583
1166
 
584
- virtual void _writeImpl(::Ice::OutputStream*) const;
585
- virtual void _readImpl(::Ice::InputStream*);
1167
+ /// \cond STREAM
1168
+ virtual void _writeImpl(OutputStream*) const;
1169
+ virtual void _readImpl(InputStream*);
1170
+ /// \endcond
586
1171
  };
587
1172
 
588
- class ICE_API ObjectNotFoundException : public ::Ice::UserException
1173
+ /**
1174
+ * This exception is raised if an object cannot be found.
1175
+ * \headerfile Ice/Ice.h
1176
+ */
1177
+ class ICE_API ObjectNotFoundException : public UserException
589
1178
  {
590
1179
  public:
591
1180
 
592
1181
  ObjectNotFoundException() {}
593
1182
  virtual ~ObjectNotFoundException() throw();
594
1183
 
1184
+ /**
1185
+ * Obtains the Slice type ID of this exception.
1186
+ * @return The fully-scoped type ID.
1187
+ */
595
1188
  virtual ::std::string ice_id() const;
1189
+ /**
1190
+ * Polymporphically clones this exception.
1191
+ * @return A shallow copy of this exception.
1192
+ */
596
1193
  virtual ObjectNotFoundException* ice_clone() const;
1194
+ /**
1195
+ * Throws this exception.
1196
+ */
597
1197
  virtual void ice_throw() const;
598
1198
 
599
1199
  protected:
600
1200
 
601
- virtual void _writeImpl(::Ice::OutputStream*) const;
602
- virtual void _readImpl(::Ice::InputStream*);
1201
+ /// \cond STREAM
1202
+ virtual void _writeImpl(OutputStream*) const;
1203
+ virtual void _readImpl(InputStream*);
1204
+ /// \endcond
603
1205
  };
604
1206
 
605
- class ICE_API ServerNotFoundException : public ::Ice::UserException
1207
+ /**
1208
+ * This exception is raised if a server cannot be found.
1209
+ * \headerfile Ice/Ice.h
1210
+ */
1211
+ class ICE_API ServerNotFoundException : public UserException
606
1212
  {
607
1213
  public:
608
1214
 
609
1215
  ServerNotFoundException() {}
610
1216
  virtual ~ServerNotFoundException() throw();
611
1217
 
1218
+ /**
1219
+ * Obtains the Slice type ID of this exception.
1220
+ * @return The fully-scoped type ID.
1221
+ */
612
1222
  virtual ::std::string ice_id() const;
1223
+ /**
1224
+ * Polymporphically clones this exception.
1225
+ * @return A shallow copy of this exception.
1226
+ */
613
1227
  virtual ServerNotFoundException* ice_clone() const;
1228
+ /**
1229
+ * Throws this exception.
1230
+ */
614
1231
  virtual void ice_throw() const;
615
1232
 
616
1233
  protected:
617
1234
 
618
- virtual void _writeImpl(::Ice::OutputStream*) const;
619
- virtual void _readImpl(::Ice::InputStream*);
1235
+ /// \cond STREAM
1236
+ virtual void _writeImpl(OutputStream*) const;
1237
+ virtual void _readImpl(InputStream*);
1238
+ /// \endcond
620
1239
  };
621
1240
 
622
1241
  }
@@ -624,56 +1243,98 @@ protected:
624
1243
  namespace Ice
625
1244
  {
626
1245
 
627
- class ICE_API AMD_Locator_findObjectById : public virtual ::Ice::AMDCallback
1246
+ /**
1247
+ * AMD callback class for Ice::Locator::findObjectById_async.
1248
+ * Call the ice_response method for a successful completion, or the ice_exception
1249
+ * method in the case of an error.
1250
+ */
1251
+ class ICE_API AMD_Locator_findObjectById : public virtual AMDCallback
628
1252
  {
629
1253
  public:
630
1254
 
631
1255
  virtual ~AMD_Locator_findObjectById();
632
1256
 
633
- virtual void ice_response(const ::Ice::ObjectPrx&) = 0;
1257
+ /**
1258
+ * Call ice_response for a successful completion.
1259
+ * @param result The proxy, or null if the object is not active.
1260
+ */
1261
+ virtual void ice_response(const ObjectPrx& result) = 0;
634
1262
  };
635
1263
 
636
1264
  typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findObjectById> AMD_Locator_findObjectByIdPtr;
637
1265
 
638
- class ICE_API AMD_Locator_findAdapterById : public virtual ::Ice::AMDCallback
1266
+ /**
1267
+ * AMD callback class for Ice::Locator::findAdapterById_async.
1268
+ * Call the ice_response method for a successful completion, or the ice_exception
1269
+ * method in the case of an error.
1270
+ */
1271
+ class ICE_API AMD_Locator_findAdapterById : public virtual AMDCallback
639
1272
  {
640
1273
  public:
641
1274
 
642
1275
  virtual ~AMD_Locator_findAdapterById();
643
1276
 
644
- virtual void ice_response(const ::Ice::ObjectPrx&) = 0;
1277
+ /**
1278
+ * Call ice_response for a successful completion.
1279
+ * @param result The adapter proxy, or null if the adapter is not active.
1280
+ */
1281
+ virtual void ice_response(const ObjectPrx& result) = 0;
645
1282
  };
646
1283
 
647
1284
  typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findAdapterById> AMD_Locator_findAdapterByIdPtr;
648
1285
 
649
- class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy : public virtual ::Ice::AMDCallback
1286
+ /**
1287
+ * AMD callback class for Ice::LocatorRegistry::setAdapterDirectProxy_async.
1288
+ * Call the ice_response method for a successful completion, or the ice_exception
1289
+ * method in the case of an error.
1290
+ */
1291
+ class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy : public virtual AMDCallback
650
1292
  {
651
1293
  public:
652
1294
 
653
1295
  virtual ~AMD_LocatorRegistry_setAdapterDirectProxy();
654
1296
 
1297
+ /**
1298
+ * Call ice_response for a successful completion.
1299
+ */
655
1300
  virtual void ice_response() = 0;
656
1301
  };
657
1302
 
658
1303
  typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy> AMD_LocatorRegistry_setAdapterDirectProxyPtr;
659
1304
 
660
- class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy : public virtual ::Ice::AMDCallback
1305
+ /**
1306
+ * AMD callback class for Ice::LocatorRegistry::setReplicatedAdapterDirectProxy_async.
1307
+ * Call the ice_response method for a successful completion, or the ice_exception
1308
+ * method in the case of an error.
1309
+ */
1310
+ class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy : public virtual AMDCallback
661
1311
  {
662
1312
  public:
663
1313
 
664
1314
  virtual ~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy();
665
1315
 
1316
+ /**
1317
+ * Call ice_response for a successful completion.
1318
+ */
666
1319
  virtual void ice_response() = 0;
667
1320
  };
668
1321
 
669
1322
  typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy> AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
670
1323
 
671
- class ICE_API AMD_LocatorRegistry_setServerProcessProxy : public virtual ::Ice::AMDCallback
1324
+ /**
1325
+ * AMD callback class for Ice::LocatorRegistry::setServerProcessProxy_async.
1326
+ * Call the ice_response method for a successful completion, or the ice_exception
1327
+ * method in the case of an error.
1328
+ */
1329
+ class ICE_API AMD_LocatorRegistry_setServerProcessProxy : public virtual AMDCallback
672
1330
  {
673
1331
  public:
674
1332
 
675
1333
  virtual ~AMD_LocatorRegistry_setServerProcessProxy();
676
1334
 
1335
+ /**
1336
+ * Call ice_response for a successful completion.
1337
+ */
677
1338
  virtual void ice_response() = 0;
678
1339
  };
679
1340
 
@@ -681,12 +1342,18 @@ typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setServerProcessProxy> AMD
681
1342
 
682
1343
  }
683
1344
 
1345
+ /// \cond INTERNAL
684
1346
  namespace IceAsync
685
1347
  {
686
1348
 
687
1349
  namespace Ice
688
1350
  {
689
1351
 
1352
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1353
+ # pragma warning(push)
1354
+ # pragma warning(disable:4239)
1355
+ #endif
1356
+
690
1357
  class ICE_API AMD_Locator_findObjectById : public ::Ice::AMD_Locator_findObjectById, public ::IceInternal::IncomingAsync
691
1358
  {
692
1359
  public:
@@ -696,6 +1363,15 @@ public:
696
1363
  virtual void ice_response(const ::Ice::ObjectPrx&);
697
1364
  };
698
1365
 
1366
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1367
+ # pragma warning(pop)
1368
+ #endif
1369
+
1370
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1371
+ # pragma warning(push)
1372
+ # pragma warning(disable:4239)
1373
+ #endif
1374
+
699
1375
  class ICE_API AMD_Locator_findAdapterById : public ::Ice::AMD_Locator_findAdapterById, public ::IceInternal::IncomingAsync
700
1376
  {
701
1377
  public:
@@ -705,6 +1381,15 @@ public:
705
1381
  virtual void ice_response(const ::Ice::ObjectPrx&);
706
1382
  };
707
1383
 
1384
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1385
+ # pragma warning(pop)
1386
+ #endif
1387
+
1388
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1389
+ # pragma warning(push)
1390
+ # pragma warning(disable:4239)
1391
+ #endif
1392
+
708
1393
  class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy : public ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy, public ::IceInternal::IncomingAsync
709
1394
  {
710
1395
  public:
@@ -714,6 +1399,15 @@ public:
714
1399
  virtual void ice_response();
715
1400
  };
716
1401
 
1402
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1403
+ # pragma warning(pop)
1404
+ #endif
1405
+
1406
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1407
+ # pragma warning(push)
1408
+ # pragma warning(disable:4239)
1409
+ #endif
1410
+
717
1411
  class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy : public ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy, public ::IceInternal::IncomingAsync
718
1412
  {
719
1413
  public:
@@ -723,6 +1417,15 @@ public:
723
1417
  virtual void ice_response();
724
1418
  };
725
1419
 
1420
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1421
+ # pragma warning(pop)
1422
+ #endif
1423
+
1424
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1425
+ # pragma warning(push)
1426
+ # pragma warning(disable:4239)
1427
+ #endif
1428
+
726
1429
  class ICE_API AMD_LocatorRegistry_setServerProcessProxy : public ::Ice::AMD_LocatorRegistry_setServerProcessProxy, public ::IceInternal::IncomingAsync
727
1430
  {
728
1431
  public:
@@ -732,31 +1435,71 @@ public:
732
1435
  virtual void ice_response();
733
1436
  };
734
1437
 
1438
+ #if defined(_MSC_VER) && (_MSC_VER >= 1900)
1439
+ # pragma warning(pop)
1440
+ #endif
1441
+
735
1442
  }
736
1443
 
737
1444
  }
1445
+ /// \endcond
738
1446
 
739
1447
  namespace Ice
740
1448
  {
741
1449
 
1450
+ /**
1451
+ * Base class for asynchronous callback wrapper classes used for calls to
1452
+ * IceProxy::Ice::Locator::begin_findObjectById.
1453
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
1454
+ */
742
1455
  class Callback_Locator_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
743
1456
  typedef ::IceUtil::Handle< Callback_Locator_findObjectById_Base> Callback_Locator_findObjectByIdPtr;
744
1457
 
1458
+ /**
1459
+ * Base class for asynchronous callback wrapper classes used for calls to
1460
+ * IceProxy::Ice::Locator::begin_findAdapterById.
1461
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
1462
+ */
745
1463
  class Callback_Locator_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
746
1464
  typedef ::IceUtil::Handle< Callback_Locator_findAdapterById_Base> Callback_Locator_findAdapterByIdPtr;
747
1465
 
1466
+ /**
1467
+ * Base class for asynchronous callback wrapper classes used for calls to
1468
+ * IceProxy::Ice::Locator::begin_getRegistry.
1469
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
1470
+ */
748
1471
  class Callback_Locator_getRegistry_Base : public virtual ::IceInternal::CallbackBase { };
749
1472
  typedef ::IceUtil::Handle< Callback_Locator_getRegistry_Base> Callback_Locator_getRegistryPtr;
750
1473
 
1474
+ /**
1475
+ * Base class for asynchronous callback wrapper classes used for calls to
1476
+ * IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
1477
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
1478
+ */
751
1479
  class Callback_LocatorRegistry_setAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
752
1480
  typedef ::IceUtil::Handle< Callback_LocatorRegistry_setAdapterDirectProxy_Base> Callback_LocatorRegistry_setAdapterDirectProxyPtr;
753
1481
 
1482
+ /**
1483
+ * Base class for asynchronous callback wrapper classes used for calls to
1484
+ * IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
1485
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
1486
+ */
754
1487
  class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
755
1488
  typedef ::IceUtil::Handle< Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
756
1489
 
1490
+ /**
1491
+ * Base class for asynchronous callback wrapper classes used for calls to
1492
+ * IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
1493
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
1494
+ */
757
1495
  class Callback_LocatorRegistry_setServerProcessProxy_Base : public virtual ::IceInternal::CallbackBase { };
758
1496
  typedef ::IceUtil::Handle< Callback_LocatorRegistry_setServerProcessProxy_Base> Callback_LocatorRegistry_setServerProcessProxyPtr;
759
1497
 
1498
+ /**
1499
+ * Base class for asynchronous callback wrapper classes used for calls to
1500
+ * IceProxy::Ice::LocatorFinder::begin_getLocator.
1501
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
1502
+ */
760
1503
  class Callback_LocatorFinder_getLocator_Base : public virtual ::IceInternal::CallbackBase { };
761
1504
  typedef ::IceUtil::Handle< Callback_LocatorFinder_getLocator_Base> Callback_LocatorFinder_getLocatorPtr;
762
1505
 
@@ -772,37 +1515,100 @@ class ICE_CLASS(ICE_API) Locator : public virtual ::Ice::Proxy<Locator, ::IcePro
772
1515
  {
773
1516
  public:
774
1517
 
775
- ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context = ::Ice::noExplicitContext)
776
- {
777
- return end_findObjectById(_iceI_begin_findObjectById(iceP_id, context, ::IceInternal::dummyCallback, 0, true));
778
- }
779
-
780
- ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context = ::Ice::noExplicitContext)
781
- {
782
- return _iceI_begin_findObjectById(iceP_id, context, ::IceInternal::dummyCallback, 0);
783
- }
784
-
785
- ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
786
- {
787
- return _iceI_begin_findObjectById(iceP_id, ::Ice::noExplicitContext, del, cookie);
788
- }
789
-
790
- ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
791
- {
792
- return _iceI_begin_findObjectById(iceP_id, context, del, cookie);
793
- }
794
-
795
- ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Callback_Locator_findObjectByIdPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
796
- {
797
- return _iceI_begin_findObjectById(iceP_id, ::Ice::noExplicitContext, del, cookie);
798
- }
799
-
800
- ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findObjectByIdPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
801
- {
802
- return _iceI_begin_findObjectById(iceP_id, context, del, cookie);
803
- }
804
-
805
- ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr&);
1518
+ /**
1519
+ * Find an object by identity and return a proxy that contains
1520
+ * the adapter ID or endpoints which can be used to access the
1521
+ * object.
1522
+ * @param id The identity.
1523
+ * @param context The Context map to send with the invocation.
1524
+ * @return The proxy, or null if the object is not active.
1525
+ * @throws Ice::ObjectNotFoundException Raised if the object cannot
1526
+ * be found.
1527
+ */
1528
+ ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1529
+ {
1530
+ return end_findObjectById(_iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0, true));
1531
+ }
1532
+
1533
+ /**
1534
+ * Find an object by identity and return a proxy that contains
1535
+ * the adapter ID or endpoints which can be used to access the
1536
+ * object.
1537
+ * @param id The identity.
1538
+ * @param context The Context map to send with the invocation.
1539
+ * @return The asynchronous result object for the invocation.
1540
+ */
1541
+ ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1542
+ {
1543
+ return _iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0);
1544
+ }
1545
+
1546
+ /**
1547
+ * Find an object by identity and return a proxy that contains
1548
+ * the adapter ID or endpoints which can be used to access the
1549
+ * object.
1550
+ * @param id The identity.
1551
+ * @param cb Asynchronous callback object.
1552
+ * @param cookie User-defined data to associate with the invocation.
1553
+ * @return The asynchronous result object for the invocation.
1554
+ */
1555
+ ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1556
+ {
1557
+ return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1558
+ }
1559
+
1560
+ /**
1561
+ * Find an object by identity and return a proxy that contains
1562
+ * the adapter ID or endpoints which can be used to access the
1563
+ * object.
1564
+ * @param id The identity.
1565
+ * @param context The Context map to send with the invocation.
1566
+ * @param cb Asynchronous callback object.
1567
+ * @param cookie User-defined data to associate with the invocation.
1568
+ * @return The asynchronous result object for the invocation.
1569
+ */
1570
+ ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1571
+ {
1572
+ return _iceI_begin_findObjectById(id, context, cb, cookie);
1573
+ }
1574
+
1575
+ /**
1576
+ * Find an object by identity and return a proxy that contains
1577
+ * the adapter ID or endpoints which can be used to access the
1578
+ * object.
1579
+ * @param id The identity.
1580
+ * @param cb Asynchronous callback object.
1581
+ * @param cookie User-defined data to associate with the invocation.
1582
+ * @return The asynchronous result object for the invocation.
1583
+ */
1584
+ ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1585
+ {
1586
+ return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
1587
+ }
1588
+
1589
+ /**
1590
+ * Find an object by identity and return a proxy that contains
1591
+ * the adapter ID or endpoints which can be used to access the
1592
+ * object.
1593
+ * @param id The identity.
1594
+ * @param context The Context map to send with the invocation.
1595
+ * @param cb Asynchronous callback object.
1596
+ * @param cookie User-defined data to associate with the invocation.
1597
+ * @return The asynchronous result object for the invocation.
1598
+ */
1599
+ ::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1600
+ {
1601
+ return _iceI_begin_findObjectById(id, context, cb, cookie);
1602
+ }
1603
+
1604
+ /**
1605
+ * Completes an invocation of begin_findObjectById.
1606
+ * @param result The asynchronous result object for the invocation.
1607
+ * @return The proxy, or null if the object is not active.
1608
+ * @throws Ice::ObjectNotFoundException Raised if the object cannot
1609
+ * be found.
1610
+ */
1611
+ ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr& result);
806
1612
 
807
1613
  private:
808
1614
 
@@ -810,37 +1616,94 @@ private:
810
1616
 
811
1617
  public:
812
1618
 
813
- ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context = ::Ice::noExplicitContext)
814
- {
815
- return end_findAdapterById(_iceI_begin_findAdapterById(iceP_id, context, ::IceInternal::dummyCallback, 0, true));
816
- }
817
-
818
- ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context = ::Ice::noExplicitContext)
819
- {
820
- return _iceI_begin_findAdapterById(iceP_id, context, ::IceInternal::dummyCallback, 0);
821
- }
822
-
823
- ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
824
- {
825
- return _iceI_begin_findAdapterById(iceP_id, ::Ice::noExplicitContext, del, cookie);
826
- }
827
-
828
- ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
829
- {
830
- return _iceI_begin_findAdapterById(iceP_id, context, del, cookie);
831
- }
832
-
833
- ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Callback_Locator_findAdapterByIdPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
834
- {
835
- return _iceI_begin_findAdapterById(iceP_id, ::Ice::noExplicitContext, del, cookie);
836
- }
837
-
838
- ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findAdapterByIdPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
839
- {
840
- return _iceI_begin_findAdapterById(iceP_id, context, del, cookie);
841
- }
842
-
843
- ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findAdapterById(const ::Ice::AsyncResultPtr&);
1619
+ /**
1620
+ * Find an adapter by id and return a proxy that contains
1621
+ * its endpoints.
1622
+ * @param id The adapter id.
1623
+ * @param context The Context map to send with the invocation.
1624
+ * @return The adapter proxy, or null if the adapter is not active.
1625
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
1626
+ * found.
1627
+ */
1628
+ ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1629
+ {
1630
+ return end_findAdapterById(_iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0, true));
1631
+ }
1632
+
1633
+ /**
1634
+ * Find an adapter by id and return a proxy that contains
1635
+ * its endpoints.
1636
+ * @param id The adapter id.
1637
+ * @param context The Context map to send with the invocation.
1638
+ * @return The asynchronous result object for the invocation.
1639
+ */
1640
+ ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1641
+ {
1642
+ return _iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0);
1643
+ }
1644
+
1645
+ /**
1646
+ * Find an adapter by id and return a proxy that contains
1647
+ * its endpoints.
1648
+ * @param id The adapter id.
1649
+ * @param cb Asynchronous callback object.
1650
+ * @param cookie User-defined data to associate with the invocation.
1651
+ * @return The asynchronous result object for the invocation.
1652
+ */
1653
+ ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1654
+ {
1655
+ return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
1656
+ }
1657
+
1658
+ /**
1659
+ * Find an adapter by id and return a proxy that contains
1660
+ * its endpoints.
1661
+ * @param id The adapter id.
1662
+ * @param context The Context map to send with the invocation.
1663
+ * @param cb Asynchronous callback object.
1664
+ * @param cookie User-defined data to associate with the invocation.
1665
+ * @return The asynchronous result object for the invocation.
1666
+ */
1667
+ ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1668
+ {
1669
+ return _iceI_begin_findAdapterById(id, context, cb, cookie);
1670
+ }
1671
+
1672
+ /**
1673
+ * Find an adapter by id and return a proxy that contains
1674
+ * its endpoints.
1675
+ * @param id The adapter id.
1676
+ * @param cb Asynchronous callback object.
1677
+ * @param cookie User-defined data to associate with the invocation.
1678
+ * @return The asynchronous result object for the invocation.
1679
+ */
1680
+ ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1681
+ {
1682
+ return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
1683
+ }
1684
+
1685
+ /**
1686
+ * Find an adapter by id and return a proxy that contains
1687
+ * its endpoints.
1688
+ * @param id The adapter id.
1689
+ * @param context The Context map to send with the invocation.
1690
+ * @param cb Asynchronous callback object.
1691
+ * @param cookie User-defined data to associate with the invocation.
1692
+ * @return The asynchronous result object for the invocation.
1693
+ */
1694
+ ::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1695
+ {
1696
+ return _iceI_begin_findAdapterById(id, context, cb, cookie);
1697
+ }
1698
+
1699
+ /**
1700
+ * Completes an invocation of begin_findAdapterById.
1701
+ * @param result The asynchronous result object for the invocation.
1702
+ * @return The adapter proxy, or null if the adapter is not active.
1703
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
1704
+ * found.
1705
+ */
1706
+ ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findAdapterById(const ::Ice::AsyncResultPtr& result);
844
1707
 
845
1708
  private:
846
1709
 
@@ -848,37 +1711,78 @@ private:
848
1711
 
849
1712
  public:
850
1713
 
1714
+ /**
1715
+ * Get the locator registry.
1716
+ * @param context The Context map to send with the invocation.
1717
+ * @return The locator registry.
1718
+ */
851
1719
  ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
852
1720
  {
853
1721
  return end_getRegistry(_iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0, true));
854
1722
  }
855
1723
 
1724
+ /**
1725
+ * Get the locator registry.
1726
+ * @param context The Context map to send with the invocation.
1727
+ * @return The asynchronous result object for the invocation.
1728
+ */
856
1729
  ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
857
1730
  {
858
1731
  return _iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0);
859
1732
  }
860
1733
 
861
- ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
1734
+ /**
1735
+ * Get the locator registry.
1736
+ * @param cb Asynchronous callback object.
1737
+ * @param cookie User-defined data to associate with the invocation.
1738
+ * @return The asynchronous result object for the invocation.
1739
+ */
1740
+ ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
862
1741
  {
863
- return _iceI_begin_getRegistry(::Ice::noExplicitContext, del, cookie);
1742
+ return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
864
1743
  }
865
1744
 
866
- ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
1745
+ /**
1746
+ * Get the locator registry.
1747
+ * @param context The Context map to send with the invocation.
1748
+ * @param cb Asynchronous callback object.
1749
+ * @param cookie User-defined data to associate with the invocation.
1750
+ * @return The asynchronous result object for the invocation.
1751
+ */
1752
+ ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
867
1753
  {
868
- return _iceI_begin_getRegistry(context, del, cookie);
1754
+ return _iceI_begin_getRegistry(context, cb, cookie);
869
1755
  }
870
1756
 
871
- ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
1757
+ /**
1758
+ * Get the locator registry.
1759
+ * @param cb Asynchronous callback object.
1760
+ * @param cookie User-defined data to associate with the invocation.
1761
+ * @return The asynchronous result object for the invocation.
1762
+ */
1763
+ ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
872
1764
  {
873
- return _iceI_begin_getRegistry(::Ice::noExplicitContext, del, cookie);
1765
+ return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
874
1766
  }
875
1767
 
876
- ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::Callback_Locator_getRegistryPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
1768
+ /**
1769
+ * Get the locator registry.
1770
+ * @param context The Context map to send with the invocation.
1771
+ * @param cb Asynchronous callback object.
1772
+ * @param cookie User-defined data to associate with the invocation.
1773
+ * @return The asynchronous result object for the invocation.
1774
+ */
1775
+ ::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
877
1776
  {
878
- return _iceI_begin_getRegistry(context, del, cookie);
1777
+ return _iceI_begin_getRegistry(context, cb, cookie);
879
1778
  }
880
1779
 
881
- ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx end_getRegistry(const ::Ice::AsyncResultPtr&);
1780
+ /**
1781
+ * Completes an invocation of begin_getRegistry.
1782
+ * @param result The asynchronous result object for the invocation.
1783
+ * @return The locator registry.
1784
+ */
1785
+ ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx end_getRegistry(const ::Ice::AsyncResultPtr& result);
882
1786
 
883
1787
  private:
884
1788
 
@@ -886,48 +1790,129 @@ private:
886
1790
 
887
1791
  public:
888
1792
 
1793
+ /**
1794
+ * Obtains the Slice type ID corresponding to this interface.
1795
+ * @return A fully-scoped type ID.
1796
+ */
889
1797
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
890
1798
 
891
1799
  protected:
1800
+ /// \cond INTERNAL
892
1801
 
893
1802
  ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1803
+ /// \endcond
894
1804
  };
895
1805
 
896
1806
  class ICE_CLASS(ICE_API) LocatorRegistry : public virtual ::Ice::Proxy<LocatorRegistry, ::IceProxy::Ice::Object>
897
1807
  {
898
1808
  public:
899
1809
 
900
- ICE_MEMBER(ICE_API) void setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
901
- {
902
- end_setAdapterDirectProxy(_iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, context, ::IceInternal::dummyCallback, 0, true));
903
- }
904
-
905
- ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
906
- {
907
- return _iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, context, ::IceInternal::dummyCallback, 0);
908
- }
909
-
910
- ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
911
- {
912
- return _iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, ::Ice::noExplicitContext, del, cookie);
913
- }
914
-
915
- ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
916
- {
917
- return _iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, context, del, cookie);
918
- }
919
-
920
- ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
921
- {
922
- return _iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, ::Ice::noExplicitContext, del, cookie);
923
- }
924
-
925
- ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
926
- {
927
- return _iceI_begin_setAdapterDirectProxy(iceP_id, iceP_proxy, context, del, cookie);
928
- }
929
-
930
- ICE_MEMBER(ICE_API) void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr&);
1810
+ /**
1811
+ * Set the adapter endpoints with the locator registry.
1812
+ * @param id The adapter id.
1813
+ * @param proxy The adapter proxy (a dummy direct proxy created
1814
+ * by the adapter). The direct proxy contains the adapter
1815
+ * endpoints.
1816
+ * @param context The Context map to send with the invocation.
1817
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
1818
+ * id is already active.
1819
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
1820
+ * be found, or if the locator only allows
1821
+ * registered adapters to set their active proxy and the
1822
+ * adapter is not registered with the locator.
1823
+ */
1824
+ ICE_MEMBER(ICE_API) void setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1825
+ {
1826
+ end_setAdapterDirectProxy(_iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
1827
+ }
1828
+
1829
+ /**
1830
+ * Set the adapter endpoints with the locator registry.
1831
+ * @param id The adapter id.
1832
+ * @param proxy The adapter proxy (a dummy direct proxy created
1833
+ * by the adapter). The direct proxy contains the adapter
1834
+ * endpoints.
1835
+ * @param context The Context map to send with the invocation.
1836
+ * @return The asynchronous result object for the invocation.
1837
+ */
1838
+ ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
1839
+ {
1840
+ return _iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
1841
+ }
1842
+
1843
+ /**
1844
+ * Set the adapter endpoints with the locator registry.
1845
+ * @param id The adapter id.
1846
+ * @param proxy The adapter proxy (a dummy direct proxy created
1847
+ * by the adapter). The direct proxy contains the adapter
1848
+ * endpoints.
1849
+ * @param cb Asynchronous callback object.
1850
+ * @param cookie User-defined data to associate with the invocation.
1851
+ * @return The asynchronous result object for the invocation.
1852
+ */
1853
+ ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1854
+ {
1855
+ return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
1856
+ }
1857
+
1858
+ /**
1859
+ * Set the adapter endpoints with the locator registry.
1860
+ * @param id The adapter id.
1861
+ * @param proxy The adapter proxy (a dummy direct proxy created
1862
+ * by the adapter). The direct proxy contains the adapter
1863
+ * endpoints.
1864
+ * @param context The Context map to send with the invocation.
1865
+ * @param cb Asynchronous callback object.
1866
+ * @param cookie User-defined data to associate with the invocation.
1867
+ * @return The asynchronous result object for the invocation.
1868
+ */
1869
+ ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1870
+ {
1871
+ return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
1872
+ }
1873
+
1874
+ /**
1875
+ * Set the adapter endpoints with the locator registry.
1876
+ * @param id The adapter id.
1877
+ * @param proxy The adapter proxy (a dummy direct proxy created
1878
+ * by the adapter). The direct proxy contains the adapter
1879
+ * endpoints.
1880
+ * @param cb Asynchronous callback object.
1881
+ * @param cookie User-defined data to associate with the invocation.
1882
+ * @return The asynchronous result object for the invocation.
1883
+ */
1884
+ ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1885
+ {
1886
+ return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
1887
+ }
1888
+
1889
+ /**
1890
+ * Set the adapter endpoints with the locator registry.
1891
+ * @param id The adapter id.
1892
+ * @param proxy The adapter proxy (a dummy direct proxy created
1893
+ * by the adapter). The direct proxy contains the adapter
1894
+ * endpoints.
1895
+ * @param context The Context map to send with the invocation.
1896
+ * @param cb Asynchronous callback object.
1897
+ * @param cookie User-defined data to associate with the invocation.
1898
+ * @return The asynchronous result object for the invocation.
1899
+ */
1900
+ ::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1901
+ {
1902
+ return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
1903
+ }
1904
+
1905
+ /**
1906
+ * Completes an invocation of begin_setAdapterDirectProxy.
1907
+ * @param result The asynchronous result object for the invocation.
1908
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
1909
+ * id is already active.
1910
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
1911
+ * be found, or if the locator only allows
1912
+ * registered adapters to set their active proxy and the
1913
+ * adapter is not registered with the locator.
1914
+ */
1915
+ ICE_MEMBER(ICE_API) void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
931
1916
 
932
1917
  private:
933
1918
 
@@ -935,37 +1920,124 @@ private:
935
1920
 
936
1921
  public:
937
1922
 
938
- ICE_MEMBER(ICE_API) void setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context = ::Ice::noExplicitContext)
939
- {
940
- end_setReplicatedAdapterDirectProxy(_iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, context, ::IceInternal::dummyCallback, 0, true));
941
- }
942
-
943
- ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context = ::Ice::noExplicitContext)
944
- {
945
- return _iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, context, ::IceInternal::dummyCallback, 0);
946
- }
947
-
948
- ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
949
- {
950
- return _iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, ::Ice::noExplicitContext, del, cookie);
951
- }
952
-
953
- ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
954
- {
955
- return _iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, context, del, cookie);
956
- }
957
-
958
- ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
959
- {
960
- return _iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, ::Ice::noExplicitContext, del, cookie);
961
- }
962
-
963
- ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
964
- {
965
- return _iceI_begin_setReplicatedAdapterDirectProxy(iceP_adapterId, iceP_replicaGroupId, iceP_p, context, del, cookie);
966
- }
967
-
968
- ICE_MEMBER(ICE_API) void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr&);
1923
+ /**
1924
+ * Set the adapter endpoints with the locator registry.
1925
+ * @param adapterId The adapter id.
1926
+ * @param replicaGroupId The replica group id.
1927
+ * @param p The adapter proxy (a dummy direct proxy created
1928
+ * by the adapter). The direct proxy contains the adapter
1929
+ * endpoints.
1930
+ * @param context The Context map to send with the invocation.
1931
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
1932
+ * id is already active.
1933
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
1934
+ * be found, or if the locator only allows registered adapters to
1935
+ * set their active proxy and the adapter is not registered with
1936
+ * the locator.
1937
+ * @throws Ice::InvalidReplicaGroupIdException Raised if the given
1938
+ * replica group doesn't match the one registered with the
1939
+ * locator registry for this object adapter.
1940
+ */
1941
+ ICE_MEMBER(ICE_API) void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
1942
+ {
1943
+ end_setReplicatedAdapterDirectProxy(_iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0, true));
1944
+ }
1945
+
1946
+ /**
1947
+ * Set the adapter endpoints with the locator registry.
1948
+ * @param adapterId The adapter id.
1949
+ * @param replicaGroupId The replica group id.
1950
+ * @param p The adapter proxy (a dummy direct proxy created
1951
+ * by the adapter). The direct proxy contains the adapter
1952
+ * endpoints.
1953
+ * @param context The Context map to send with the invocation.
1954
+ * @return The asynchronous result object for the invocation.
1955
+ */
1956
+ ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
1957
+ {
1958
+ return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0);
1959
+ }
1960
+
1961
+ /**
1962
+ * Set the adapter endpoints with the locator registry.
1963
+ * @param adapterId The adapter id.
1964
+ * @param replicaGroupId The replica group id.
1965
+ * @param p The adapter proxy (a dummy direct proxy created
1966
+ * by the adapter). The direct proxy contains the adapter
1967
+ * endpoints.
1968
+ * @param cb Asynchronous callback object.
1969
+ * @param cookie User-defined data to associate with the invocation.
1970
+ * @return The asynchronous result object for the invocation.
1971
+ */
1972
+ ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1973
+ {
1974
+ return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
1975
+ }
1976
+
1977
+ /**
1978
+ * Set the adapter endpoints with the locator registry.
1979
+ * @param adapterId The adapter id.
1980
+ * @param replicaGroupId The replica group id.
1981
+ * @param p The adapter proxy (a dummy direct proxy created
1982
+ * by the adapter). The direct proxy contains the adapter
1983
+ * endpoints.
1984
+ * @param context The Context map to send with the invocation.
1985
+ * @param cb Asynchronous callback object.
1986
+ * @param cookie User-defined data to associate with the invocation.
1987
+ * @return The asynchronous result object for the invocation.
1988
+ */
1989
+ ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1990
+ {
1991
+ return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
1992
+ }
1993
+
1994
+ /**
1995
+ * Set the adapter endpoints with the locator registry.
1996
+ * @param adapterId The adapter id.
1997
+ * @param replicaGroupId The replica group id.
1998
+ * @param p The adapter proxy (a dummy direct proxy created
1999
+ * by the adapter). The direct proxy contains the adapter
2000
+ * endpoints.
2001
+ * @param cb Asynchronous callback object.
2002
+ * @param cookie User-defined data to associate with the invocation.
2003
+ * @return The asynchronous result object for the invocation.
2004
+ */
2005
+ ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2006
+ {
2007
+ return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
2008
+ }
2009
+
2010
+ /**
2011
+ * Set the adapter endpoints with the locator registry.
2012
+ * @param adapterId The adapter id.
2013
+ * @param replicaGroupId The replica group id.
2014
+ * @param p The adapter proxy (a dummy direct proxy created
2015
+ * by the adapter). The direct proxy contains the adapter
2016
+ * endpoints.
2017
+ * @param context The Context map to send with the invocation.
2018
+ * @param cb Asynchronous callback object.
2019
+ * @param cookie User-defined data to associate with the invocation.
2020
+ * @return The asynchronous result object for the invocation.
2021
+ */
2022
+ ::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2023
+ {
2024
+ return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
2025
+ }
2026
+
2027
+ /**
2028
+ * Completes an invocation of begin_setReplicatedAdapterDirectProxy.
2029
+ * @param result The asynchronous result object for the invocation.
2030
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
2031
+ * id is already active.
2032
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
2033
+ * be found, or if the locator only allows registered adapters to
2034
+ * set their active proxy and the adapter is not registered with
2035
+ * the locator.
2036
+ * @throws Ice::InvalidReplicaGroupIdException Raised if the given
2037
+ * replica group doesn't match the one registered with the
2038
+ * locator registry for this object adapter.
2039
+ */
2040
+ ICE_MEMBER(ICE_API) void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
969
2041
 
970
2042
  private:
971
2043
 
@@ -973,37 +2045,92 @@ private:
973
2045
 
974
2046
  public:
975
2047
 
976
- ICE_MEMBER(ICE_API) void setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
977
- {
978
- end_setServerProcessProxy(_iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, context, ::IceInternal::dummyCallback, 0, true));
979
- }
980
-
981
- ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
982
- {
983
- return _iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, context, ::IceInternal::dummyCallback, 0);
984
- }
985
-
986
- ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
987
- {
988
- return _iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, ::Ice::noExplicitContext, del, cookie);
989
- }
990
-
991
- ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
992
- {
993
- return _iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, context, del, cookie);
994
- }
995
-
996
- ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
997
- {
998
- return _iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, ::Ice::noExplicitContext, del, cookie);
999
- }
1000
-
1001
- ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
1002
- {
1003
- return _iceI_begin_setServerProcessProxy(iceP_id, iceP_proxy, context, del, cookie);
1004
- }
1005
-
1006
- ICE_MEMBER(ICE_API) void end_setServerProcessProxy(const ::Ice::AsyncResultPtr&);
2048
+ /**
2049
+ * Set the process proxy for a server.
2050
+ * @param id The server id.
2051
+ * @param proxy The process proxy.
2052
+ * @param context The Context map to send with the invocation.
2053
+ * @throws Ice::ServerNotFoundException Raised if the server cannot
2054
+ * be found.
2055
+ */
2056
+ ICE_MEMBER(ICE_API) void setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
2057
+ {
2058
+ end_setServerProcessProxy(_iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
2059
+ }
2060
+
2061
+ /**
2062
+ * Set the process proxy for a server.
2063
+ * @param id The server id.
2064
+ * @param proxy The process proxy.
2065
+ * @param context The Context map to send with the invocation.
2066
+ * @return The asynchronous result object for the invocation.
2067
+ */
2068
+ ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
2069
+ {
2070
+ return _iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
2071
+ }
2072
+
2073
+ /**
2074
+ * Set the process proxy for a server.
2075
+ * @param id The server id.
2076
+ * @param proxy The process proxy.
2077
+ * @param cb Asynchronous callback object.
2078
+ * @param cookie User-defined data to associate with the invocation.
2079
+ * @return The asynchronous result object for the invocation.
2080
+ */
2081
+ ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2082
+ {
2083
+ return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
2084
+ }
2085
+
2086
+ /**
2087
+ * Set the process proxy for a server.
2088
+ * @param id The server id.
2089
+ * @param proxy The process proxy.
2090
+ * @param context The Context map to send with the invocation.
2091
+ * @param cb Asynchronous callback object.
2092
+ * @param cookie User-defined data to associate with the invocation.
2093
+ * @return The asynchronous result object for the invocation.
2094
+ */
2095
+ ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2096
+ {
2097
+ return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
2098
+ }
2099
+
2100
+ /**
2101
+ * Set the process proxy for a server.
2102
+ * @param id The server id.
2103
+ * @param proxy The process proxy.
2104
+ * @param cb Asynchronous callback object.
2105
+ * @param cookie User-defined data to associate with the invocation.
2106
+ * @return The asynchronous result object for the invocation.
2107
+ */
2108
+ ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2109
+ {
2110
+ return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
2111
+ }
2112
+
2113
+ /**
2114
+ * Set the process proxy for a server.
2115
+ * @param id The server id.
2116
+ * @param proxy The process proxy.
2117
+ * @param context The Context map to send with the invocation.
2118
+ * @param cb Asynchronous callback object.
2119
+ * @param cookie User-defined data to associate with the invocation.
2120
+ * @return The asynchronous result object for the invocation.
2121
+ */
2122
+ ::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2123
+ {
2124
+ return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
2125
+ }
2126
+
2127
+ /**
2128
+ * Completes an invocation of begin_setServerProcessProxy.
2129
+ * @param result The asynchronous result object for the invocation.
2130
+ * @throws Ice::ServerNotFoundException Raised if the server cannot
2131
+ * be found.
2132
+ */
2133
+ ICE_MEMBER(ICE_API) void end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result);
1007
2134
 
1008
2135
  private:
1009
2136
 
@@ -1011,48 +2138,101 @@ private:
1011
2138
 
1012
2139
  public:
1013
2140
 
2141
+ /**
2142
+ * Obtains the Slice type ID corresponding to this interface.
2143
+ * @return A fully-scoped type ID.
2144
+ */
1014
2145
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
1015
2146
 
1016
2147
  protected:
2148
+ /// \cond INTERNAL
1017
2149
 
1018
2150
  ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2151
+ /// \endcond
1019
2152
  };
1020
2153
 
1021
2154
  class ICE_CLASS(ICE_API) LocatorFinder : public virtual ::Ice::Proxy<LocatorFinder, ::IceProxy::Ice::Object>
1022
2155
  {
1023
2156
  public:
1024
2157
 
2158
+ /**
2159
+ * Get the locator proxy implemented by the process hosting this
2160
+ * finder object. The proxy might point to several replicas.
2161
+ * @param context The Context map to send with the invocation.
2162
+ * @return The locator proxy.
2163
+ */
1025
2164
  ICE_MEMBER(ICE_API) ::Ice::LocatorPrx getLocator(const ::Ice::Context& context = ::Ice::noExplicitContext)
1026
2165
  {
1027
2166
  return end_getLocator(_iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0, true));
1028
2167
  }
1029
2168
 
2169
+ /**
2170
+ * Get the locator proxy implemented by the process hosting this
2171
+ * finder object. The proxy might point to several replicas.
2172
+ * @param context The Context map to send with the invocation.
2173
+ * @return The asynchronous result object for the invocation.
2174
+ */
1030
2175
  ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context = ::Ice::noExplicitContext)
1031
2176
  {
1032
2177
  return _iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0);
1033
2178
  }
1034
2179
 
1035
- ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
2180
+ /**
2181
+ * Get the locator proxy implemented by the process hosting this
2182
+ * finder object. The proxy might point to several replicas.
2183
+ * @param cb Asynchronous callback object.
2184
+ * @param cookie User-defined data to associate with the invocation.
2185
+ * @return The asynchronous result object for the invocation.
2186
+ */
2187
+ ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1036
2188
  {
1037
- return _iceI_begin_getLocator(::Ice::noExplicitContext, del, cookie);
2189
+ return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
1038
2190
  }
1039
2191
 
1040
- ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
2192
+ /**
2193
+ * Get the locator proxy implemented by the process hosting this
2194
+ * finder object. The proxy might point to several replicas.
2195
+ * @param context The Context map to send with the invocation.
2196
+ * @param cb Asynchronous callback object.
2197
+ * @param cookie User-defined data to associate with the invocation.
2198
+ * @return The asynchronous result object for the invocation.
2199
+ */
2200
+ ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1041
2201
  {
1042
- return _iceI_begin_getLocator(context, del, cookie);
2202
+ return _iceI_begin_getLocator(context, cb, cookie);
1043
2203
  }
1044
2204
 
1045
- ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
2205
+ /**
2206
+ * Get the locator proxy implemented by the process hosting this
2207
+ * finder object. The proxy might point to several replicas.
2208
+ * @param cb Asynchronous callback object.
2209
+ * @param cookie User-defined data to associate with the invocation.
2210
+ * @return The asynchronous result object for the invocation.
2211
+ */
2212
+ ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1046
2213
  {
1047
- return _iceI_begin_getLocator(::Ice::noExplicitContext, del, cookie);
2214
+ return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
1048
2215
  }
1049
2216
 
1050
- ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::Callback_LocatorFinder_getLocatorPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
2217
+ /**
2218
+ * Get the locator proxy implemented by the process hosting this
2219
+ * finder object. The proxy might point to several replicas.
2220
+ * @param context The Context map to send with the invocation.
2221
+ * @param cb Asynchronous callback object.
2222
+ * @param cookie User-defined data to associate with the invocation.
2223
+ * @return The asynchronous result object for the invocation.
2224
+ */
2225
+ ::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1051
2226
  {
1052
- return _iceI_begin_getLocator(context, del, cookie);
2227
+ return _iceI_begin_getLocator(context, cb, cookie);
1053
2228
  }
1054
2229
 
1055
- ICE_MEMBER(ICE_API) ::Ice::LocatorPrx end_getLocator(const ::Ice::AsyncResultPtr&);
2230
+ /**
2231
+ * Completes an invocation of begin_getLocator.
2232
+ * @param result The asynchronous result object for the invocation.
2233
+ * @return The locator proxy.
2234
+ */
2235
+ ICE_MEMBER(ICE_API) ::Ice::LocatorPrx end_getLocator(const ::Ice::AsyncResultPtr& result);
1056
2236
 
1057
2237
  private:
1058
2238
 
@@ -1060,11 +2240,17 @@ private:
1060
2240
 
1061
2241
  public:
1062
2242
 
2243
+ /**
2244
+ * Obtains the Slice type ID corresponding to this interface.
2245
+ * @return A fully-scoped type ID.
2246
+ */
1063
2247
  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
1064
2248
 
1065
2249
  protected:
2250
+ /// \cond INTERNAL
1066
2251
 
1067
2252
  ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2253
+ /// \endcond
1068
2254
  };
1069
2255
 
1070
2256
  }
@@ -1074,7 +2260,18 @@ protected:
1074
2260
  namespace Ice
1075
2261
  {
1076
2262
 
1077
- class ICE_API Locator : public virtual ::Ice::Object
2263
+ /**
2264
+ * The Ice locator interface. This interface is used by clients to
2265
+ * lookup adapters and objects. It is also used by servers to get the
2266
+ * locator registry proxy.
2267
+ *
2268
+ * <p class="Note">The {@link Locator} interface is intended to be used by
2269
+ * Ice internals and by locator implementations. Regular user code
2270
+ * should not attempt to use any functionality of this interface
2271
+ * directly.
2272
+ * \headerfile Ice/Ice.h
2273
+ */
2274
+ class ICE_API Locator : public virtual Object
1078
2275
  {
1079
2276
  public:
1080
2277
 
@@ -1083,40 +2280,108 @@ public:
1083
2280
 
1084
2281
  virtual ~Locator();
1085
2282
 
1086
- virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) const;
1087
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1088
- virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1089
-
2283
+ /**
2284
+ * Determines whether this object supports an interface with the given Slice type ID.
2285
+ * @param id The fully-scoped Slice type ID.
2286
+ * @param current The Current object for the invocation.
2287
+ * @return True if this object supports the interface, false, otherwise.
2288
+ */
2289
+ virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2290
+
2291
+ /**
2292
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2293
+ * @param current The Current object for the invocation.
2294
+ * @return A list of fully-scoped type IDs.
2295
+ */
2296
+ virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2297
+
2298
+ /**
2299
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
2300
+ * @param current The Current object for the invocation.
2301
+ * @return A fully-scoped type ID.
2302
+ */
2303
+ virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2304
+
2305
+ /**
2306
+ * Obtains the Slice type ID corresponding to this class.
2307
+ * @return A fully-scoped type ID.
2308
+ */
1090
2309
  static const ::std::string& ice_staticId();
1091
2310
 
1092
- virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr&, const ::Ice::Identity&, const ::Ice::Current& = ::Ice::emptyCurrent) const = 0;
2311
+ /**
2312
+ * Find an object by identity and return a proxy that contains
2313
+ * the adapter ID or endpoints which can be used to access the
2314
+ * object.
2315
+ * @param cb The AMD callback object for the invocation.
2316
+ * @param id The identity.
2317
+ * @param current The Current object for the invocation.
2318
+ * @throws Ice::ObjectNotFoundException Raised if the object cannot
2319
+ * be found.
2320
+ */
2321
+ virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr& cb, const Identity& id, const Current& current = emptyCurrent) const = 0;
2322
+ /// \cond INTERNAL
1093
2323
  bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
1094
-
1095
- virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr&, const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) const = 0;
2324
+ /// \endcond
2325
+
2326
+ /**
2327
+ * Find an adapter by id and return a proxy that contains
2328
+ * its endpoints.
2329
+ * @param cb The AMD callback object for the invocation.
2330
+ * @param id The adapter id.
2331
+ * @param current The Current object for the invocation.
2332
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
2333
+ * found.
2334
+ */
2335
+ virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr& cb, const ::std::string& id, const Current& current = emptyCurrent) const = 0;
2336
+ /// \cond INTERNAL
1096
2337
  bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&) const;
1097
-
1098
- virtual ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Current& = ::Ice::emptyCurrent) const = 0;
2338
+ /// \endcond
2339
+
2340
+ /**
2341
+ * Get the locator registry.
2342
+ * @param current The Current object for the invocation.
2343
+ * @return The locator registry.
2344
+ */
2345
+ virtual LocatorRegistryPrx getRegistry(const Current& current = emptyCurrent) const = 0;
2346
+ /// \cond INTERNAL
1099
2347
  bool _iceD_getRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
2348
+ /// \endcond
1100
2349
 
1101
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2350
+ /// \cond INTERNAL
2351
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2352
+ /// \endcond
1102
2353
 
1103
2354
  protected:
1104
2355
 
1105
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1106
- virtual void _iceReadImpl(::Ice::InputStream*);
2356
+ /// \cond STREAM
2357
+ virtual void _iceWriteImpl(OutputStream*) const;
2358
+ virtual void _iceReadImpl(InputStream*);
2359
+ /// \endcond
1107
2360
  };
1108
2361
 
2362
+ /// \cond INTERNAL
1109
2363
  inline bool operator==(const Locator& lhs, const Locator& rhs)
1110
2364
  {
1111
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2365
+ return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
1112
2366
  }
1113
2367
 
1114
2368
  inline bool operator<(const Locator& lhs, const Locator& rhs)
1115
2369
  {
1116
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2370
+ return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
1117
2371
  }
2372
+ /// \endcond
1118
2373
 
1119
- class ICE_API LocatorRegistry : public virtual ::Ice::Object
2374
+ /**
2375
+ * The Ice locator registry interface. This interface is used by
2376
+ * servers to register adapter endpoints with the locator.
2377
+ *
2378
+ * <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
2379
+ * by Ice internals and by locator implementations. Regular user
2380
+ * code should not attempt to use any functionality of this interface
2381
+ * directly.
2382
+ * \headerfile Ice/Ice.h
2383
+ */
2384
+ class ICE_API LocatorRegistry : public virtual Object
1120
2385
  {
1121
2386
  public:
1122
2387
 
@@ -1125,40 +2390,125 @@ public:
1125
2390
 
1126
2391
  virtual ~LocatorRegistry();
1127
2392
 
1128
- virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) const;
1129
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1130
- virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1131
-
2393
+ /**
2394
+ * Determines whether this object supports an interface with the given Slice type ID.
2395
+ * @param id The fully-scoped Slice type ID.
2396
+ * @param current The Current object for the invocation.
2397
+ * @return True if this object supports the interface, false, otherwise.
2398
+ */
2399
+ virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2400
+
2401
+ /**
2402
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2403
+ * @param current The Current object for the invocation.
2404
+ * @return A list of fully-scoped type IDs.
2405
+ */
2406
+ virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2407
+
2408
+ /**
2409
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
2410
+ * @param current The Current object for the invocation.
2411
+ * @return A fully-scoped type ID.
2412
+ */
2413
+ virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2414
+
2415
+ /**
2416
+ * Obtains the Slice type ID corresponding to this class.
2417
+ * @return A fully-scoped type ID.
2418
+ */
1132
2419
  static const ::std::string& ice_staticId();
1133
2420
 
1134
- virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr&, const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
2421
+ /**
2422
+ * Set the adapter endpoints with the locator registry.
2423
+ * @param cb The AMD callback object for the invocation.
2424
+ * @param id The adapter id.
2425
+ * @param proxy The adapter proxy (a dummy direct proxy created
2426
+ * by the adapter). The direct proxy contains the adapter
2427
+ * endpoints.
2428
+ * @param current The Current object for the invocation.
2429
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
2430
+ * id is already active.
2431
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
2432
+ * be found, or if the locator only allows
2433
+ * registered adapters to set their active proxy and the
2434
+ * adapter is not registered with the locator.
2435
+ */
2436
+ virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::std::string& id, const ObjectPrx& proxy, const Current& current = emptyCurrent) = 0;
2437
+ /// \cond INTERNAL
1135
2438
  bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
1136
-
1137
- virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr&, const ::std::string&, const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
2439
+ /// \endcond
2440
+
2441
+ /**
2442
+ * Set the adapter endpoints with the locator registry.
2443
+ * @param cb The AMD callback object for the invocation.
2444
+ * @param adapterId The adapter id.
2445
+ * @param replicaGroupId The replica group id.
2446
+ * @param p The adapter proxy (a dummy direct proxy created
2447
+ * by the adapter). The direct proxy contains the adapter
2448
+ * endpoints.
2449
+ * @param current The Current object for the invocation.
2450
+ * @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
2451
+ * id is already active.
2452
+ * @throws Ice::AdapterNotFoundException Raised if the adapter cannot
2453
+ * be found, or if the locator only allows registered adapters to
2454
+ * set their active proxy and the adapter is not registered with
2455
+ * the locator.
2456
+ * @throws Ice::InvalidReplicaGroupIdException Raised if the given
2457
+ * replica group doesn't match the one registered with the
2458
+ * locator registry for this object adapter.
2459
+ */
2460
+ virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::std::string& adapterId, const ::std::string& replicaGroupId, const ObjectPrx& p, const Current& current = emptyCurrent) = 0;
2461
+ /// \cond INTERNAL
1138
2462
  bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
1139
-
1140
- virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr&, const ::std::string&, const ::Ice::ProcessPrx&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
2463
+ /// \endcond
2464
+
2465
+ /**
2466
+ * Set the process proxy for a server.
2467
+ * @param cb The AMD callback object for the invocation.
2468
+ * @param id The server id.
2469
+ * @param proxy The process proxy.
2470
+ * @param current The Current object for the invocation.
2471
+ * @throws Ice::ServerNotFoundException Raised if the server cannot
2472
+ * be found.
2473
+ */
2474
+ virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr& cb, const ::std::string& id, const ProcessPrx& proxy, const Current& current = emptyCurrent) = 0;
2475
+ /// \cond INTERNAL
1141
2476
  bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const ::Ice::Current&);
2477
+ /// \endcond
1142
2478
 
1143
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2479
+ /// \cond INTERNAL
2480
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2481
+ /// \endcond
1144
2482
 
1145
2483
  protected:
1146
2484
 
1147
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1148
- virtual void _iceReadImpl(::Ice::InputStream*);
2485
+ /// \cond STREAM
2486
+ virtual void _iceWriteImpl(OutputStream*) const;
2487
+ virtual void _iceReadImpl(InputStream*);
2488
+ /// \endcond
1149
2489
  };
1150
2490
 
2491
+ /// \cond INTERNAL
1151
2492
  inline bool operator==(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
1152
2493
  {
1153
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2494
+ return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
1154
2495
  }
1155
2496
 
1156
2497
  inline bool operator<(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
1157
2498
  {
1158
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2499
+ return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
1159
2500
  }
2501
+ /// \endcond
1160
2502
 
1161
- class ICE_API LocatorFinder : public virtual ::Ice::Object
2503
+ /**
2504
+ * This inferface should be implemented by services implementing the
2505
+ * Ice::Locator interface. It should be advertised through an Ice
2506
+ * object with the identity `Ice/LocatorFinder'. This allows clients
2507
+ * to retrieve the locator proxy with just the endpoint information of
2508
+ * the service.
2509
+ * \headerfile Ice/Ice.h
2510
+ */
2511
+ class ICE_API LocatorFinder : public virtual Object
1162
2512
  {
1163
2513
  public:
1164
2514
 
@@ -1167,35 +2517,72 @@ public:
1167
2517
 
1168
2518
  virtual ~LocatorFinder();
1169
2519
 
1170
- virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) const;
1171
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1172
- virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::emptyCurrent) const;
1173
-
2520
+ /**
2521
+ * Determines whether this object supports an interface with the given Slice type ID.
2522
+ * @param id The fully-scoped Slice type ID.
2523
+ * @param current The Current object for the invocation.
2524
+ * @return True if this object supports the interface, false, otherwise.
2525
+ */
2526
+ virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
2527
+
2528
+ /**
2529
+ * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2530
+ * @param current The Current object for the invocation.
2531
+ * @return A list of fully-scoped type IDs.
2532
+ */
2533
+ virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
2534
+
2535
+ /**
2536
+ * Obtains a Slice type ID representing the most-derived interface supported by this object.
2537
+ * @param current The Current object for the invocation.
2538
+ * @return A fully-scoped type ID.
2539
+ */
2540
+ virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
2541
+
2542
+ /**
2543
+ * Obtains the Slice type ID corresponding to this class.
2544
+ * @return A fully-scoped type ID.
2545
+ */
1174
2546
  static const ::std::string& ice_staticId();
1175
2547
 
1176
- virtual ::Ice::LocatorPrx getLocator(const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
2548
+ /**
2549
+ * Get the locator proxy implemented by the process hosting this
2550
+ * finder object. The proxy might point to several replicas.
2551
+ * @param current The Current object for the invocation.
2552
+ * @return The locator proxy.
2553
+ */
2554
+ virtual LocatorPrx getLocator(const Current& current = emptyCurrent) = 0;
2555
+ /// \cond INTERNAL
1177
2556
  bool _iceD_getLocator(::IceInternal::Incoming&, const ::Ice::Current&);
2557
+ /// \endcond
1178
2558
 
1179
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2559
+ /// \cond INTERNAL
2560
+ virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
2561
+ /// \endcond
1180
2562
 
1181
2563
  protected:
1182
2564
 
1183
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1184
- virtual void _iceReadImpl(::Ice::InputStream*);
2565
+ /// \cond STREAM
2566
+ virtual void _iceWriteImpl(OutputStream*) const;
2567
+ virtual void _iceReadImpl(InputStream*);
2568
+ /// \endcond
1185
2569
  };
1186
2570
 
2571
+ /// \cond INTERNAL
1187
2572
  inline bool operator==(const LocatorFinder& lhs, const LocatorFinder& rhs)
1188
2573
  {
1189
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2574
+ return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
1190
2575
  }
1191
2576
 
1192
2577
  inline bool operator<(const LocatorFinder& lhs, const LocatorFinder& rhs)
1193
2578
  {
1194
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2579
+ return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
1195
2580
  }
2581
+ /// \endcond
1196
2582
 
1197
2583
  }
1198
2584
 
2585
+ /// \cond STREAM
1199
2586
  namespace Ice
1200
2587
  {
1201
2588
 
@@ -1230,10 +2617,16 @@ struct StreamableTraits< ::Ice::ServerNotFoundException>
1230
2617
  };
1231
2618
 
1232
2619
  }
2620
+ /// \endcond
1233
2621
 
1234
2622
  namespace Ice
1235
2623
  {
1236
2624
 
2625
+ /**
2626
+ * Type-safe asynchronous callback wrapper class used for calls to
2627
+ * IceProxy::Ice::Locator::begin_findObjectById.
2628
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
2629
+ */
1237
2630
  template<class T>
1238
2631
  class CallbackNC_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallbackNC<T>
1239
2632
  {
@@ -1243,17 +2636,18 @@ public:
1243
2636
 
1244
2637
  typedef void (T::*Exception)(const ::Ice::Exception&);
1245
2638
  typedef void (T::*Sent)(bool);
1246
- typedef void (T::*Response)(const ::Ice::ObjectPrx&);
2639
+ typedef void (T::*Response)(const ObjectPrx&);
1247
2640
 
1248
2641
  CallbackNC_Locator_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1249
2642
  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
1250
2643
  {
1251
2644
  }
1252
2645
 
1253
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2646
+ /// \cond INTERNAL
2647
+ virtual void completed(const AsyncResultPtr& result) const
1254
2648
  {
1255
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1256
- ::Ice::ObjectPrx ret;
2649
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2650
+ ObjectPrx ret;
1257
2651
  try
1258
2652
  {
1259
2653
  ret = proxy->end_findObjectById(result);
@@ -1268,24 +2662,46 @@ public:
1268
2662
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
1269
2663
  }
1270
2664
  }
2665
+ /// \endcond
1271
2666
 
1272
2667
  private:
1273
2668
 
1274
2669
  Response _response;
1275
2670
  };
1276
2671
 
2672
+ /**
2673
+ * Creates a callback wrapper instance that delegates to your object.
2674
+ * @param instance The callback object.
2675
+ * @param cb The success method of the callback object.
2676
+ * @param excb The exception method of the callback object.
2677
+ * @param sentcb The sent method of the callback object.
2678
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
2679
+ */
1277
2680
  template<class T> Callback_Locator_findObjectByIdPtr
1278
- newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2681
+ newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1279
2682
  {
1280
2683
  return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
1281
2684
  }
1282
2685
 
2686
+ /**
2687
+ * Creates a callback wrapper instance that delegates to your object.
2688
+ * @param instance The callback object.
2689
+ * @param cb The success method of the callback object.
2690
+ * @param excb The exception method of the callback object.
2691
+ * @param sentcb The sent method of the callback object.
2692
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
2693
+ */
1283
2694
  template<class T> Callback_Locator_findObjectByIdPtr
1284
- newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2695
+ newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1285
2696
  {
1286
2697
  return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
1287
2698
  }
1288
2699
 
2700
+ /**
2701
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2702
+ * IceProxy::Ice::Locator::begin_findObjectById.
2703
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
2704
+ */
1289
2705
  template<class T, typename CT>
1290
2706
  class Callback_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallback<T, CT>
1291
2707
  {
@@ -1295,17 +2711,18 @@ public:
1295
2711
 
1296
2712
  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1297
2713
  typedef void (T::*Sent)(bool , const CT&);
1298
- typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
2714
+ typedef void (T::*Response)(const ObjectPrx&, const CT&);
1299
2715
 
1300
2716
  Callback_Locator_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1301
2717
  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
1302
2718
  {
1303
2719
  }
1304
2720
 
1305
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2721
+ /// \cond INTERNAL
2722
+ virtual void completed(const AsyncResultPtr& result) const
1306
2723
  {
1307
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1308
- ::Ice::ObjectPrx ret;
2724
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2725
+ ObjectPrx ret;
1309
2726
  try
1310
2727
  {
1311
2728
  ret = proxy->end_findObjectById(result);
@@ -1320,24 +2737,48 @@ public:
1320
2737
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
1321
2738
  }
1322
2739
  }
2740
+ /// \endcond
1323
2741
 
1324
2742
  private:
1325
2743
 
1326
2744
  Response _response;
1327
2745
  };
1328
2746
 
2747
+ /**
2748
+ * Creates a callback wrapper instance that delegates to your object.
2749
+ * Use this overload when your callback methods receive a cookie value.
2750
+ * @param instance The callback object.
2751
+ * @param cb The success method of the callback object.
2752
+ * @param excb The exception method of the callback object.
2753
+ * @param sentcb The sent method of the callback object.
2754
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
2755
+ */
1329
2756
  template<class T, typename CT> Callback_Locator_findObjectByIdPtr
1330
- newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2757
+ newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1331
2758
  {
1332
2759
  return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
1333
2760
  }
1334
2761
 
2762
+ /**
2763
+ * Creates a callback wrapper instance that delegates to your object.
2764
+ * Use this overload when your callback methods receive a cookie value.
2765
+ * @param instance The callback object.
2766
+ * @param cb The success method of the callback object.
2767
+ * @param excb The exception method of the callback object.
2768
+ * @param sentcb The sent method of the callback object.
2769
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
2770
+ */
1335
2771
  template<class T, typename CT> Callback_Locator_findObjectByIdPtr
1336
- newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2772
+ newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1337
2773
  {
1338
2774
  return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
1339
2775
  }
1340
2776
 
2777
+ /**
2778
+ * Type-safe asynchronous callback wrapper class used for calls to
2779
+ * IceProxy::Ice::Locator::begin_findAdapterById.
2780
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
2781
+ */
1341
2782
  template<class T>
1342
2783
  class CallbackNC_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallbackNC<T>
1343
2784
  {
@@ -1347,17 +2788,18 @@ public:
1347
2788
 
1348
2789
  typedef void (T::*Exception)(const ::Ice::Exception&);
1349
2790
  typedef void (T::*Sent)(bool);
1350
- typedef void (T::*Response)(const ::Ice::ObjectPrx&);
2791
+ typedef void (T::*Response)(const ObjectPrx&);
1351
2792
 
1352
2793
  CallbackNC_Locator_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1353
2794
  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
1354
2795
  {
1355
2796
  }
1356
2797
 
1357
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2798
+ /// \cond INTERNAL
2799
+ virtual void completed(const AsyncResultPtr& result) const
1358
2800
  {
1359
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1360
- ::Ice::ObjectPrx ret;
2801
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2802
+ ObjectPrx ret;
1361
2803
  try
1362
2804
  {
1363
2805
  ret = proxy->end_findAdapterById(result);
@@ -1372,24 +2814,46 @@ public:
1372
2814
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
1373
2815
  }
1374
2816
  }
2817
+ /// \endcond
1375
2818
 
1376
2819
  private:
1377
2820
 
1378
2821
  Response _response;
1379
2822
  };
1380
2823
 
2824
+ /**
2825
+ * Creates a callback wrapper instance that delegates to your object.
2826
+ * @param instance The callback object.
2827
+ * @param cb The success method of the callback object.
2828
+ * @param excb The exception method of the callback object.
2829
+ * @param sentcb The sent method of the callback object.
2830
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
2831
+ */
1381
2832
  template<class T> Callback_Locator_findAdapterByIdPtr
1382
- newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2833
+ newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1383
2834
  {
1384
2835
  return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
1385
2836
  }
1386
2837
 
2838
+ /**
2839
+ * Creates a callback wrapper instance that delegates to your object.
2840
+ * @param instance The callback object.
2841
+ * @param cb The success method of the callback object.
2842
+ * @param excb The exception method of the callback object.
2843
+ * @param sentcb The sent method of the callback object.
2844
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
2845
+ */
1387
2846
  template<class T> Callback_Locator_findAdapterByIdPtr
1388
- newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ::Ice::ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2847
+ newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1389
2848
  {
1390
2849
  return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
1391
2850
  }
1392
2851
 
2852
+ /**
2853
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2854
+ * IceProxy::Ice::Locator::begin_findAdapterById.
2855
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
2856
+ */
1393
2857
  template<class T, typename CT>
1394
2858
  class Callback_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallback<T, CT>
1395
2859
  {
@@ -1399,17 +2863,18 @@ public:
1399
2863
 
1400
2864
  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1401
2865
  typedef void (T::*Sent)(bool , const CT&);
1402
- typedef void (T::*Response)(const ::Ice::ObjectPrx&, const CT&);
2866
+ typedef void (T::*Response)(const ObjectPrx&, const CT&);
1403
2867
 
1404
2868
  Callback_Locator_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1405
2869
  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
1406
2870
  {
1407
2871
  }
1408
2872
 
1409
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2873
+ /// \cond INTERNAL
2874
+ virtual void completed(const AsyncResultPtr& result) const
1410
2875
  {
1411
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1412
- ::Ice::ObjectPrx ret;
2876
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2877
+ ObjectPrx ret;
1413
2878
  try
1414
2879
  {
1415
2880
  ret = proxy->end_findAdapterById(result);
@@ -1424,24 +2889,48 @@ public:
1424
2889
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
1425
2890
  }
1426
2891
  }
2892
+ /// \endcond
1427
2893
 
1428
2894
  private:
1429
2895
 
1430
2896
  Response _response;
1431
2897
  };
1432
2898
 
2899
+ /**
2900
+ * Creates a callback wrapper instance that delegates to your object.
2901
+ * Use this overload when your callback methods receive a cookie value.
2902
+ * @param instance The callback object.
2903
+ * @param cb The success method of the callback object.
2904
+ * @param excb The exception method of the callback object.
2905
+ * @param sentcb The sent method of the callback object.
2906
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
2907
+ */
1433
2908
  template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
1434
- newCallback_Locator_findAdapterById(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)
2909
+ newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1435
2910
  {
1436
2911
  return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1437
2912
  }
1438
2913
 
2914
+ /**
2915
+ * Creates a callback wrapper instance that delegates to your object.
2916
+ * Use this overload when your callback methods receive a cookie value.
2917
+ * @param instance The callback object.
2918
+ * @param cb The success method of the callback object.
2919
+ * @param excb The exception method of the callback object.
2920
+ * @param sentcb The sent method of the callback object.
2921
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
2922
+ */
1439
2923
  template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
1440
- newCallback_Locator_findAdapterById(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)
2924
+ newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1441
2925
  {
1442
2926
  return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
1443
2927
  }
1444
2928
 
2929
+ /**
2930
+ * Type-safe asynchronous callback wrapper class used for calls to
2931
+ * IceProxy::Ice::Locator::begin_getRegistry.
2932
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
2933
+ */
1445
2934
  template<class T>
1446
2935
  class CallbackNC_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallbackNC<T>
1447
2936
  {
@@ -1451,17 +2940,18 @@ public:
1451
2940
 
1452
2941
  typedef void (T::*Exception)(const ::Ice::Exception&);
1453
2942
  typedef void (T::*Sent)(bool);
1454
- typedef void (T::*Response)(const ::Ice::LocatorRegistryPrx&);
2943
+ typedef void (T::*Response)(const LocatorRegistryPrx&);
1455
2944
 
1456
2945
  CallbackNC_Locator_getRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1457
2946
  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
1458
2947
  {
1459
2948
  }
1460
2949
 
1461
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2950
+ /// \cond INTERNAL
2951
+ virtual void completed(const AsyncResultPtr& result) const
1462
2952
  {
1463
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1464
- ::Ice::LocatorRegistryPrx ret;
2953
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
2954
+ LocatorRegistryPrx ret;
1465
2955
  try
1466
2956
  {
1467
2957
  ret = proxy->end_getRegistry(result);
@@ -1476,24 +2966,46 @@ public:
1476
2966
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
1477
2967
  }
1478
2968
  }
2969
+ /// \endcond
1479
2970
 
1480
2971
  private:
1481
2972
 
1482
2973
  Response _response;
1483
2974
  };
1484
2975
 
2976
+ /**
2977
+ * Creates a callback wrapper instance that delegates to your object.
2978
+ * @param instance The callback object.
2979
+ * @param cb The success method of the callback object.
2980
+ * @param excb The exception method of the callback object.
2981
+ * @param sentcb The sent method of the callback object.
2982
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
2983
+ */
1485
2984
  template<class T> Callback_Locator_getRegistryPtr
1486
- newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2985
+ newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1487
2986
  {
1488
2987
  return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
1489
2988
  }
1490
2989
 
2990
+ /**
2991
+ * Creates a callback wrapper instance that delegates to your object.
2992
+ * @param instance The callback object.
2993
+ * @param cb The success method of the callback object.
2994
+ * @param excb The exception method of the callback object.
2995
+ * @param sentcb The sent method of the callback object.
2996
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
2997
+ */
1491
2998
  template<class T> Callback_Locator_getRegistryPtr
1492
- newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const ::Ice::LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2999
+ newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1493
3000
  {
1494
3001
  return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
1495
3002
  }
1496
3003
 
3004
+ /**
3005
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3006
+ * IceProxy::Ice::Locator::begin_getRegistry.
3007
+ * Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
3008
+ */
1497
3009
  template<class T, typename CT>
1498
3010
  class Callback_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallback<T, CT>
1499
3011
  {
@@ -1503,17 +3015,18 @@ public:
1503
3015
 
1504
3016
  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1505
3017
  typedef void (T::*Sent)(bool , const CT&);
1506
- typedef void (T::*Response)(const ::Ice::LocatorRegistryPrx&, const CT&);
3018
+ typedef void (T::*Response)(const LocatorRegistryPrx&, const CT&);
1507
3019
 
1508
3020
  Callback_Locator_getRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1509
3021
  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
1510
3022
  {
1511
3023
  }
1512
3024
 
1513
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3025
+ /// \cond INTERNAL
3026
+ virtual void completed(const AsyncResultPtr& result) const
1514
3027
  {
1515
- ::Ice::LocatorPrx proxy = ::Ice::LocatorPrx::uncheckedCast(result->getProxy());
1516
- ::Ice::LocatorRegistryPrx ret;
3028
+ LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
3029
+ LocatorRegistryPrx ret;
1517
3030
  try
1518
3031
  {
1519
3032
  ret = proxy->end_getRegistry(result);
@@ -1528,24 +3041,48 @@ public:
1528
3041
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
1529
3042
  }
1530
3043
  }
3044
+ /// \endcond
1531
3045
 
1532
3046
  private:
1533
3047
 
1534
3048
  Response _response;
1535
3049
  };
1536
3050
 
3051
+ /**
3052
+ * Creates a callback wrapper instance that delegates to your object.
3053
+ * Use this overload when your callback methods receive a cookie value.
3054
+ * @param instance The callback object.
3055
+ * @param cb The success method of the callback object.
3056
+ * @param excb The exception method of the callback object.
3057
+ * @param sentcb The sent method of the callback object.
3058
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
3059
+ */
1537
3060
  template<class T, typename CT> Callback_Locator_getRegistryPtr
1538
- newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3061
+ newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1539
3062
  {
1540
3063
  return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
1541
3064
  }
1542
3065
 
3066
+ /**
3067
+ * Creates a callback wrapper instance that delegates to your object.
3068
+ * Use this overload when your callback methods receive a cookie value.
3069
+ * @param instance The callback object.
3070
+ * @param cb The success method of the callback object.
3071
+ * @param excb The exception method of the callback object.
3072
+ * @param sentcb The sent method of the callback object.
3073
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
3074
+ */
1543
3075
  template<class T, typename CT> Callback_Locator_getRegistryPtr
1544
- newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const ::Ice::LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3076
+ newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1545
3077
  {
1546
3078
  return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
1547
3079
  }
1548
3080
 
3081
+ /**
3082
+ * Type-safe asynchronous callback wrapper class used for calls to
3083
+ * IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3084
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
3085
+ */
1549
3086
  template<class T>
1550
3087
  class CallbackNC_LocatorRegistry_setAdapterDirectProxy : public Callback_LocatorRegistry_setAdapterDirectProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
1551
3088
  {
@@ -1562,9 +3099,10 @@ public:
1562
3099
  {
1563
3100
  }
1564
3101
 
1565
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3102
+ /// \cond INTERNAL
3103
+ virtual void completed(const AsyncResultPtr& result) const
1566
3104
  {
1567
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3105
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1568
3106
  try
1569
3107
  {
1570
3108
  proxy->end_setAdapterDirectProxy(result);
@@ -1579,36 +3117,72 @@ public:
1579
3117
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
1580
3118
  }
1581
3119
  }
3120
+ /// \endcond
1582
3121
 
1583
3122
  private:
1584
3123
 
1585
3124
  Response _response;
1586
3125
  };
1587
3126
 
3127
+ /**
3128
+ * Creates a callback wrapper instance that delegates to your object.
3129
+ * @param instance The callback object.
3130
+ * @param cb The success method of the callback object.
3131
+ * @param excb The exception method of the callback object.
3132
+ * @param sentcb The sent method of the callback object.
3133
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3134
+ */
1588
3135
  template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1589
3136
  newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1590
3137
  {
1591
3138
  return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
1592
3139
  }
1593
3140
 
3141
+ /**
3142
+ * Creates a callback wrapper instance that delegates to your object.
3143
+ * @param instance The callback object.
3144
+ * @param excb The exception method of the callback object.
3145
+ * @param sentcb The sent method of the callback object.
3146
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3147
+ */
1594
3148
  template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1595
3149
  newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1596
3150
  {
1597
3151
  return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
1598
3152
  }
1599
3153
 
3154
+ /**
3155
+ * Creates a callback wrapper instance that delegates to your object.
3156
+ * @param instance The callback object.
3157
+ * @param cb The success method of the callback object.
3158
+ * @param excb The exception method of the callback object.
3159
+ * @param sentcb The sent method of the callback object.
3160
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3161
+ */
1600
3162
  template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1601
3163
  newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1602
3164
  {
1603
3165
  return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
1604
3166
  }
1605
3167
 
3168
+ /**
3169
+ * Creates a callback wrapper instance that delegates to your object.
3170
+ * @param instance The callback object.
3171
+ * @param excb The exception method of the callback object.
3172
+ * @param sentcb The sent method of the callback object.
3173
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3174
+ */
1606
3175
  template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1607
3176
  newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1608
3177
  {
1609
3178
  return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
1610
3179
  }
1611
3180
 
3181
+ /**
3182
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3183
+ * IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3184
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
3185
+ */
1612
3186
  template<class T, typename CT>
1613
3187
  class Callback_LocatorRegistry_setAdapterDirectProxy : public Callback_LocatorRegistry_setAdapterDirectProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
1614
3188
  {
@@ -1625,9 +3199,10 @@ public:
1625
3199
  {
1626
3200
  }
1627
3201
 
1628
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3202
+ /// \cond INTERNAL
3203
+ virtual void completed(const AsyncResultPtr& result) const
1629
3204
  {
1630
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3205
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1631
3206
  try
1632
3207
  {
1633
3208
  proxy->end_setAdapterDirectProxy(result);
@@ -1642,36 +3217,76 @@ public:
1642
3217
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
1643
3218
  }
1644
3219
  }
3220
+ /// \endcond
1645
3221
 
1646
3222
  private:
1647
3223
 
1648
3224
  Response _response;
1649
3225
  };
1650
3226
 
3227
+ /**
3228
+ * Creates a callback wrapper instance that delegates to your object.
3229
+ * Use this overload when your callback methods receive a cookie value.
3230
+ * @param instance The callback object.
3231
+ * @param cb The success method of the callback object.
3232
+ * @param excb The exception method of the callback object.
3233
+ * @param sentcb The sent method of the callback object.
3234
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3235
+ */
1651
3236
  template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1652
3237
  newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1653
3238
  {
1654
3239
  return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
1655
3240
  }
1656
3241
 
3242
+ /**
3243
+ * Creates a callback wrapper instance that delegates to your object.
3244
+ * Use this overload when your callback methods receive a cookie value.
3245
+ * @param instance The callback object.
3246
+ * @param excb The exception method of the callback object.
3247
+ * @param sentcb The sent method of the callback object.
3248
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3249
+ */
1657
3250
  template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1658
3251
  newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1659
3252
  {
1660
3253
  return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
1661
3254
  }
1662
3255
 
3256
+ /**
3257
+ * Creates a callback wrapper instance that delegates to your object.
3258
+ * Use this overload when your callback methods receive a cookie value.
3259
+ * @param instance The callback object.
3260
+ * @param cb The success method of the callback object.
3261
+ * @param excb The exception method of the callback object.
3262
+ * @param sentcb The sent method of the callback object.
3263
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3264
+ */
1663
3265
  template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1664
3266
  newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1665
3267
  {
1666
3268
  return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
1667
3269
  }
1668
3270
 
3271
+ /**
3272
+ * Creates a callback wrapper instance that delegates to your object.
3273
+ * Use this overload when your callback methods receive a cookie value.
3274
+ * @param instance The callback object.
3275
+ * @param excb The exception method of the callback object.
3276
+ * @param sentcb The sent method of the callback object.
3277
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
3278
+ */
1669
3279
  template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
1670
3280
  newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1671
3281
  {
1672
3282
  return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
1673
3283
  }
1674
3284
 
3285
+ /**
3286
+ * Type-safe asynchronous callback wrapper class used for calls to
3287
+ * IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3288
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
3289
+ */
1675
3290
  template<class T>
1676
3291
  class CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy : public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
1677
3292
  {
@@ -1688,9 +3303,10 @@ public:
1688
3303
  {
1689
3304
  }
1690
3305
 
1691
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3306
+ /// \cond INTERNAL
3307
+ virtual void completed(const AsyncResultPtr& result) const
1692
3308
  {
1693
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3309
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1694
3310
  try
1695
3311
  {
1696
3312
  proxy->end_setReplicatedAdapterDirectProxy(result);
@@ -1705,36 +3321,72 @@ public:
1705
3321
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
1706
3322
  }
1707
3323
  }
3324
+ /// \endcond
1708
3325
 
1709
3326
  private:
1710
3327
 
1711
3328
  Response _response;
1712
3329
  };
1713
3330
 
3331
+ /**
3332
+ * Creates a callback wrapper instance that delegates to your object.
3333
+ * @param instance The callback object.
3334
+ * @param cb The success method of the callback object.
3335
+ * @param excb The exception method of the callback object.
3336
+ * @param sentcb The sent method of the callback object.
3337
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3338
+ */
1714
3339
  template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1715
3340
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1716
3341
  {
1717
3342
  return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
1718
3343
  }
1719
3344
 
3345
+ /**
3346
+ * Creates a callback wrapper instance that delegates to your object.
3347
+ * @param instance The callback object.
3348
+ * @param excb The exception method of the callback object.
3349
+ * @param sentcb The sent method of the callback object.
3350
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3351
+ */
1720
3352
  template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1721
3353
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1722
3354
  {
1723
3355
  return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
1724
3356
  }
1725
3357
 
3358
+ /**
3359
+ * Creates a callback wrapper instance that delegates to your object.
3360
+ * @param instance The callback object.
3361
+ * @param cb The success method of the callback object.
3362
+ * @param excb The exception method of the callback object.
3363
+ * @param sentcb The sent method of the callback object.
3364
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3365
+ */
1726
3366
  template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1727
3367
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1728
3368
  {
1729
3369
  return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
1730
3370
  }
1731
3371
 
3372
+ /**
3373
+ * Creates a callback wrapper instance that delegates to your object.
3374
+ * @param instance The callback object.
3375
+ * @param excb The exception method of the callback object.
3376
+ * @param sentcb The sent method of the callback object.
3377
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3378
+ */
1732
3379
  template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1733
3380
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1734
3381
  {
1735
3382
  return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
1736
3383
  }
1737
3384
 
3385
+ /**
3386
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3387
+ * IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3388
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
3389
+ */
1738
3390
  template<class T, typename CT>
1739
3391
  class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy : public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
1740
3392
  {
@@ -1751,9 +3403,10 @@ public:
1751
3403
  {
1752
3404
  }
1753
3405
 
1754
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3406
+ /// \cond INTERNAL
3407
+ virtual void completed(const AsyncResultPtr& result) const
1755
3408
  {
1756
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3409
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1757
3410
  try
1758
3411
  {
1759
3412
  proxy->end_setReplicatedAdapterDirectProxy(result);
@@ -1768,36 +3421,76 @@ public:
1768
3421
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
1769
3422
  }
1770
3423
  }
3424
+ /// \endcond
1771
3425
 
1772
3426
  private:
1773
3427
 
1774
3428
  Response _response;
1775
3429
  };
1776
3430
 
3431
+ /**
3432
+ * Creates a callback wrapper instance that delegates to your object.
3433
+ * Use this overload when your callback methods receive a cookie value.
3434
+ * @param instance The callback object.
3435
+ * @param cb The success method of the callback object.
3436
+ * @param excb The exception method of the callback object.
3437
+ * @param sentcb The sent method of the callback object.
3438
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3439
+ */
1777
3440
  template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1778
3441
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1779
3442
  {
1780
3443
  return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
1781
3444
  }
1782
3445
 
3446
+ /**
3447
+ * Creates a callback wrapper instance that delegates to your object.
3448
+ * Use this overload when your callback methods receive a cookie value.
3449
+ * @param instance The callback object.
3450
+ * @param excb The exception method of the callback object.
3451
+ * @param sentcb The sent method of the callback object.
3452
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3453
+ */
1783
3454
  template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1784
3455
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1785
3456
  {
1786
3457
  return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
1787
3458
  }
1788
3459
 
3460
+ /**
3461
+ * Creates a callback wrapper instance that delegates to your object.
3462
+ * Use this overload when your callback methods receive a cookie value.
3463
+ * @param instance The callback object.
3464
+ * @param cb The success method of the callback object.
3465
+ * @param excb The exception method of the callback object.
3466
+ * @param sentcb The sent method of the callback object.
3467
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3468
+ */
1789
3469
  template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1790
3470
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1791
3471
  {
1792
3472
  return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
1793
3473
  }
1794
3474
 
3475
+ /**
3476
+ * Creates a callback wrapper instance that delegates to your object.
3477
+ * Use this overload when your callback methods receive a cookie value.
3478
+ * @param instance The callback object.
3479
+ * @param excb The exception method of the callback object.
3480
+ * @param sentcb The sent method of the callback object.
3481
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
3482
+ */
1795
3483
  template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
1796
3484
  newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1797
3485
  {
1798
3486
  return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
1799
3487
  }
1800
3488
 
3489
+ /**
3490
+ * Type-safe asynchronous callback wrapper class used for calls to
3491
+ * IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3492
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
3493
+ */
1801
3494
  template<class T>
1802
3495
  class CallbackNC_LocatorRegistry_setServerProcessProxy : public Callback_LocatorRegistry_setServerProcessProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
1803
3496
  {
@@ -1814,9 +3507,10 @@ public:
1814
3507
  {
1815
3508
  }
1816
3509
 
1817
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3510
+ /// \cond INTERNAL
3511
+ virtual void completed(const AsyncResultPtr& result) const
1818
3512
  {
1819
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3513
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1820
3514
  try
1821
3515
  {
1822
3516
  proxy->end_setServerProcessProxy(result);
@@ -1831,36 +3525,72 @@ public:
1831
3525
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
1832
3526
  }
1833
3527
  }
3528
+ /// \endcond
1834
3529
 
1835
3530
  private:
1836
3531
 
1837
3532
  Response _response;
1838
3533
  };
1839
3534
 
3535
+ /**
3536
+ * Creates a callback wrapper instance that delegates to your object.
3537
+ * @param instance The callback object.
3538
+ * @param cb The success method of the callback object.
3539
+ * @param excb The exception method of the callback object.
3540
+ * @param sentcb The sent method of the callback object.
3541
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3542
+ */
1840
3543
  template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
1841
3544
  newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1842
3545
  {
1843
3546
  return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
1844
3547
  }
1845
3548
 
3549
+ /**
3550
+ * Creates a callback wrapper instance that delegates to your object.
3551
+ * @param instance The callback object.
3552
+ * @param excb The exception method of the callback object.
3553
+ * @param sentcb The sent method of the callback object.
3554
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3555
+ */
1846
3556
  template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
1847
3557
  newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1848
3558
  {
1849
3559
  return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
1850
3560
  }
1851
3561
 
3562
+ /**
3563
+ * Creates a callback wrapper instance that delegates to your object.
3564
+ * @param instance The callback object.
3565
+ * @param cb The success method of the callback object.
3566
+ * @param excb The exception method of the callback object.
3567
+ * @param sentcb The sent method of the callback object.
3568
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3569
+ */
1852
3570
  template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
1853
3571
  newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1854
3572
  {
1855
3573
  return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
1856
3574
  }
1857
3575
 
3576
+ /**
3577
+ * Creates a callback wrapper instance that delegates to your object.
3578
+ * @param instance The callback object.
3579
+ * @param excb The exception method of the callback object.
3580
+ * @param sentcb The sent method of the callback object.
3581
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3582
+ */
1858
3583
  template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
1859
3584
  newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1860
3585
  {
1861
3586
  return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
1862
3587
  }
1863
3588
 
3589
+ /**
3590
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3591
+ * IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3592
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
3593
+ */
1864
3594
  template<class T, typename CT>
1865
3595
  class Callback_LocatorRegistry_setServerProcessProxy : public Callback_LocatorRegistry_setServerProcessProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
1866
3596
  {
@@ -1877,9 +3607,10 @@ public:
1877
3607
  {
1878
3608
  }
1879
3609
 
1880
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3610
+ /// \cond INTERNAL
3611
+ virtual void completed(const AsyncResultPtr& result) const
1881
3612
  {
1882
- ::Ice::LocatorRegistryPrx proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(result->getProxy());
3613
+ LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
1883
3614
  try
1884
3615
  {
1885
3616
  proxy->end_setServerProcessProxy(result);
@@ -1894,36 +3625,76 @@ public:
1894
3625
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
1895
3626
  }
1896
3627
  }
3628
+ /// \endcond
1897
3629
 
1898
3630
  private:
1899
3631
 
1900
3632
  Response _response;
1901
3633
  };
1902
3634
 
3635
+ /**
3636
+ * Creates a callback wrapper instance that delegates to your object.
3637
+ * Use this overload when your callback methods receive a cookie value.
3638
+ * @param instance The callback object.
3639
+ * @param cb The success method of the callback object.
3640
+ * @param excb The exception method of the callback object.
3641
+ * @param sentcb The sent method of the callback object.
3642
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3643
+ */
1903
3644
  template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
1904
3645
  newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1905
3646
  {
1906
3647
  return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
1907
3648
  }
1908
3649
 
3650
+ /**
3651
+ * Creates a callback wrapper instance that delegates to your object.
3652
+ * Use this overload when your callback methods receive a cookie value.
3653
+ * @param instance The callback object.
3654
+ * @param excb The exception method of the callback object.
3655
+ * @param sentcb The sent method of the callback object.
3656
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3657
+ */
1909
3658
  template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
1910
3659
  newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1911
3660
  {
1912
3661
  return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
1913
3662
  }
1914
3663
 
3664
+ /**
3665
+ * Creates a callback wrapper instance that delegates to your object.
3666
+ * Use this overload when your callback methods receive a cookie value.
3667
+ * @param instance The callback object.
3668
+ * @param cb The success method of the callback object.
3669
+ * @param excb The exception method of the callback object.
3670
+ * @param sentcb The sent method of the callback object.
3671
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3672
+ */
1915
3673
  template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
1916
3674
  newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1917
3675
  {
1918
3676
  return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
1919
3677
  }
1920
3678
 
3679
+ /**
3680
+ * Creates a callback wrapper instance that delegates to your object.
3681
+ * Use this overload when your callback methods receive a cookie value.
3682
+ * @param instance The callback object.
3683
+ * @param excb The exception method of the callback object.
3684
+ * @param sentcb The sent method of the callback object.
3685
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
3686
+ */
1921
3687
  template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
1922
3688
  newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
1923
3689
  {
1924
3690
  return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
1925
3691
  }
1926
3692
 
3693
+ /**
3694
+ * Type-safe asynchronous callback wrapper class used for calls to
3695
+ * IceProxy::Ice::LocatorFinder::begin_getLocator.
3696
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
3697
+ */
1927
3698
  template<class T>
1928
3699
  class CallbackNC_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallbackNC<T>
1929
3700
  {
@@ -1933,17 +3704,18 @@ public:
1933
3704
 
1934
3705
  typedef void (T::*Exception)(const ::Ice::Exception&);
1935
3706
  typedef void (T::*Sent)(bool);
1936
- typedef void (T::*Response)(const ::Ice::LocatorPrx&);
3707
+ typedef void (T::*Response)(const LocatorPrx&);
1937
3708
 
1938
3709
  CallbackNC_LocatorFinder_getLocator(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1939
3710
  : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
1940
3711
  {
1941
3712
  }
1942
3713
 
1943
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3714
+ /// \cond INTERNAL
3715
+ virtual void completed(const AsyncResultPtr& result) const
1944
3716
  {
1945
- ::Ice::LocatorFinderPrx proxy = ::Ice::LocatorFinderPrx::uncheckedCast(result->getProxy());
1946
- ::Ice::LocatorPrx ret;
3717
+ LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
3718
+ LocatorPrx ret;
1947
3719
  try
1948
3720
  {
1949
3721
  ret = proxy->end_getLocator(result);
@@ -1958,24 +3730,46 @@ public:
1958
3730
  (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
1959
3731
  }
1960
3732
  }
3733
+ /// \endcond
1961
3734
 
1962
3735
  private:
1963
3736
 
1964
3737
  Response _response;
1965
3738
  };
1966
3739
 
3740
+ /**
3741
+ * Creates a callback wrapper instance that delegates to your object.
3742
+ * @param instance The callback object.
3743
+ * @param cb The success method of the callback object.
3744
+ * @param excb The exception method of the callback object.
3745
+ * @param sentcb The sent method of the callback object.
3746
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
3747
+ */
1967
3748
  template<class T> Callback_LocatorFinder_getLocatorPtr
1968
- newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3749
+ newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1969
3750
  {
1970
3751
  return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
1971
3752
  }
1972
3753
 
3754
+ /**
3755
+ * Creates a callback wrapper instance that delegates to your object.
3756
+ * @param instance The callback object.
3757
+ * @param cb The success method of the callback object.
3758
+ * @param excb The exception method of the callback object.
3759
+ * @param sentcb The sent method of the callback object.
3760
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
3761
+ */
1973
3762
  template<class T> Callback_LocatorFinder_getLocatorPtr
1974
- newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const ::Ice::LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3763
+ newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
1975
3764
  {
1976
3765
  return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
1977
3766
  }
1978
3767
 
3768
+ /**
3769
+ * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3770
+ * IceProxy::Ice::LocatorFinder::begin_getLocator.
3771
+ * Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
3772
+ */
1979
3773
  template<class T, typename CT>
1980
3774
  class Callback_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallback<T, CT>
1981
3775
  {
@@ -1985,17 +3779,18 @@ public:
1985
3779
 
1986
3780
  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
1987
3781
  typedef void (T::*Sent)(bool , const CT&);
1988
- typedef void (T::*Response)(const ::Ice::LocatorPrx&, const CT&);
3782
+ typedef void (T::*Response)(const LocatorPrx&, const CT&);
1989
3783
 
1990
3784
  Callback_LocatorFinder_getLocator(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
1991
3785
  : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
1992
3786
  {
1993
3787
  }
1994
3788
 
1995
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3789
+ /// \cond INTERNAL
3790
+ virtual void completed(const AsyncResultPtr& result) const
1996
3791
  {
1997
- ::Ice::LocatorFinderPrx proxy = ::Ice::LocatorFinderPrx::uncheckedCast(result->getProxy());
1998
- ::Ice::LocatorPrx ret;
3792
+ LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
3793
+ LocatorPrx ret;
1999
3794
  try
2000
3795
  {
2001
3796
  ret = proxy->end_getLocator(result);
@@ -2010,20 +3805,39 @@ public:
2010
3805
  (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2011
3806
  }
2012
3807
  }
3808
+ /// \endcond
2013
3809
 
2014
3810
  private:
2015
3811
 
2016
3812
  Response _response;
2017
3813
  };
2018
3814
 
3815
+ /**
3816
+ * Creates a callback wrapper instance that delegates to your object.
3817
+ * Use this overload when your callback methods receive a cookie value.
3818
+ * @param instance The callback object.
3819
+ * @param cb The success method of the callback object.
3820
+ * @param excb The exception method of the callback object.
3821
+ * @param sentcb The sent method of the callback object.
3822
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
3823
+ */
2019
3824
  template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
2020
- newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3825
+ newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2021
3826
  {
2022
3827
  return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
2023
3828
  }
2024
3829
 
3830
+ /**
3831
+ * Creates a callback wrapper instance that delegates to your object.
3832
+ * Use this overload when your callback methods receive a cookie value.
3833
+ * @param instance The callback object.
3834
+ * @param cb The success method of the callback object.
3835
+ * @param excb The exception method of the callback object.
3836
+ * @param sentcb The sent method of the callback object.
3837
+ * @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
3838
+ */
2025
3839
  template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
2026
- newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const ::Ice::LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3840
+ newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2027
3841
  {
2028
3842
  return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
2029
3843
  }