zeroc-ice 3.7.11 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (895) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +159 -376
  3. data/dist/IceRuby/Communicator.h +8 -9
  4. data/dist/IceRuby/Config.h +23 -89
  5. data/dist/IceRuby/Connection.cpp +111 -219
  6. data/dist/IceRuby/Connection.h +8 -12
  7. data/dist/IceRuby/DefaultSliceLoader.cpp +45 -0
  8. data/dist/IceRuby/DefaultSliceLoader.h +25 -0
  9. data/dist/IceRuby/Endpoint.cpp +63 -65
  10. data/dist/IceRuby/Endpoint.h +7 -11
  11. data/dist/IceRuby/ImplicitContext.cpp +26 -31
  12. data/dist/IceRuby/ImplicitContext.h +6 -10
  13. data/dist/IceRuby/Init.cpp +27 -40
  14. data/dist/IceRuby/Logger.cpp +23 -28
  15. data/dist/IceRuby/Logger.h +8 -12
  16. data/dist/IceRuby/Operation.cpp +177 -219
  17. data/dist/IceRuby/Operation.h +15 -18
  18. data/dist/IceRuby/Properties.cpp +133 -89
  19. data/dist/IceRuby/Properties.h +6 -10
  20. data/dist/IceRuby/Proxy.cpp +179 -649
  21. data/dist/IceRuby/Proxy.h +11 -12
  22. data/dist/IceRuby/RubySliceLoader.cpp +39 -0
  23. data/dist/IceRuby/RubySliceLoader.h +27 -0
  24. data/dist/IceRuby/Slice.cpp +88 -94
  25. data/dist/IceRuby/Slice.h +3 -7
  26. data/dist/IceRuby/Types.cpp +987 -1190
  27. data/dist/IceRuby/Types.h +390 -461
  28. data/dist/IceRuby/Util.cpp +214 -473
  29. data/dist/IceRuby/Util.h +378 -479
  30. data/dist/ice/cpp/include/Ice/AsyncResponseHandler.h +85 -0
  31. data/dist/ice/cpp/include/Ice/BatchRequest.h +39 -0
  32. data/dist/ice/cpp/include/Ice/BatchRequestQueueF.h +4 -10
  33. data/dist/ice/cpp/include/Ice/Buffer.h +116 -111
  34. data/dist/ice/cpp/include/Ice/Communicator.h +411 -0
  35. data/dist/ice/cpp/include/Ice/CommunicatorF.h +16 -0
  36. data/dist/ice/cpp/include/Ice/Config.h +46 -62
  37. data/dist/ice/cpp/include/Ice/Connection.h +410 -0
  38. data/dist/ice/cpp/include/Ice/ConnectionF.h +36 -0
  39. data/dist/ice/cpp/include/Ice/ConnectionIF.h +6 -28
  40. data/dist/ice/cpp/include/Ice/CtrlCHandler.h +56 -0
  41. data/dist/ice/cpp/include/Ice/Current.h +60 -0
  42. data/dist/ice/cpp/include/Ice/DefaultSliceLoader.h +160 -0
  43. data/dist/ice/cpp/include/Ice/Demangle.h +17 -0
  44. data/dist/ice/cpp/include/Ice/Endpoint.h +298 -0
  45. data/dist/ice/cpp/include/Ice/EndpointF.h +44 -0
  46. data/dist/ice/cpp/include/Ice/EndpointSelectionType.h +21 -0
  47. data/dist/ice/cpp/include/Ice/Exception.h +46 -151
  48. data/dist/ice/cpp/include/Ice/FacetMap.h +16 -0
  49. data/dist/ice/cpp/include/Ice/Format.h +11 -27
  50. data/dist/ice/cpp/include/Ice/Ice.h +53 -48
  51. data/dist/ice/cpp/include/Ice/IconvStringConverter.h +165 -326
  52. data/dist/ice/cpp/include/Ice/ImplicitContext.h +76 -0
  53. data/dist/ice/cpp/include/Ice/IncomingRequest.h +75 -0
  54. data/dist/ice/cpp/include/Ice/Initialize.h +113 -927
  55. data/dist/ice/cpp/include/Ice/InputStream.h +748 -1320
  56. data/dist/ice/cpp/include/Ice/InstanceF.h +4 -10
  57. data/dist/ice/cpp/include/Ice/Instrumentation.h +319 -0
  58. data/dist/ice/cpp/include/Ice/LocalException.h +58 -0
  59. data/dist/ice/cpp/include/Ice/LocalExceptions.h +870 -0
  60. data/dist/ice/cpp/include/Ice/Logger.h +62 -0
  61. data/dist/ice/cpp/include/Ice/LoggerUtil.h +124 -147
  62. data/dist/ice/cpp/include/Ice/MarshaledResult.h +50 -0
  63. data/dist/ice/cpp/include/Ice/NativePropertiesAdmin.h +41 -71
  64. data/dist/ice/cpp/include/Ice/Object.h +151 -490
  65. data/dist/ice/cpp/include/Ice/ObjectAdapter.h +324 -0
  66. data/dist/ice/cpp/include/Ice/ObjectAdapterF.h +16 -0
  67. data/dist/ice/cpp/include/Ice/ObjectF.h +5 -19
  68. data/dist/ice/cpp/include/Ice/ObserverHelper.h +115 -132
  69. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +392 -748
  70. data/dist/ice/cpp/include/Ice/OutgoingResponse.h +129 -0
  71. data/dist/ice/cpp/include/Ice/OutputStream.h +756 -956
  72. data/dist/ice/cpp/include/Ice/Plugin.h +73 -0
  73. data/dist/ice/cpp/include/Ice/PluginFactory.h +77 -0
  74. data/dist/ice/cpp/include/{IceUtil → Ice}/PopDisableWarnings.h +8 -6
  75. data/dist/ice/cpp/include/Ice/Properties.h +307 -0
  76. data/dist/ice/cpp/include/Ice/PropertiesF.h +19 -0
  77. data/dist/ice/cpp/include/Ice/Proxy.h +665 -5094
  78. data/dist/ice/cpp/include/Ice/ProxyF.h +2 -44
  79. data/dist/ice/cpp/include/Ice/ProxyFunctions.h +209 -0
  80. data/dist/ice/cpp/include/Ice/PushDisableWarnings.h +29 -0
  81. data/dist/ice/cpp/include/Ice/ReferenceF.h +4 -19
  82. data/dist/ice/cpp/include/Ice/RequestHandlerF.h +8 -18
  83. data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +276 -0
  84. data/dist/ice/cpp/include/Ice/SSL/Config.h +54 -0
  85. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfo.h +107 -0
  86. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfoF.h +39 -0
  87. data/dist/ice/cpp/include/Ice/SSL/EndpointInfo.h +40 -0
  88. data/dist/ice/cpp/include/Ice/SSL/SSLException.h +32 -0
  89. data/dist/ice/cpp/include/Ice/SSL/ServerAuthenticationOptions.h +286 -0
  90. data/dist/ice/cpp/include/Ice/ServantLocator.h +51 -0
  91. data/dist/ice/cpp/include/Ice/Service.h +182 -342
  92. data/dist/ice/cpp/include/Ice/SliceLoader.h +67 -0
  93. data/dist/ice/cpp/include/Ice/SlicedData.h +113 -160
  94. data/dist/ice/cpp/include/Ice/SlicedDataF.h +17 -27
  95. data/dist/ice/cpp/include/Ice/StreamHelpers.h +532 -1070
  96. data/dist/ice/cpp/include/Ice/StreamableTraits.h +291 -0
  97. data/dist/ice/cpp/include/Ice/StringConverter.h +152 -63
  98. data/dist/ice/cpp/include/Ice/StringUtil.h +114 -0
  99. data/dist/ice/cpp/include/Ice/TimerTask.h +24 -0
  100. data/dist/ice/cpp/include/Ice/TupleCompare.h +103 -0
  101. data/dist/ice/cpp/include/Ice/UUID.h +6 -9
  102. data/dist/ice/cpp/include/Ice/UserException.h +46 -0
  103. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +4 -79
  104. data/dist/ice/cpp/include/Ice/Value.h +103 -115
  105. data/dist/ice/cpp/include/Ice/ValueF.h +6 -11
  106. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +16 -1877
  107. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +16 -1185
  108. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +46 -146
  109. data/dist/ice/cpp/include/generated/Ice/Context.h +40 -0
  110. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +49 -93
  111. data/dist/ice/cpp/include/generated/Ice/Identity.h +70 -226
  112. data/dist/ice/cpp/include/generated/Ice/Locator.h +494 -3850
  113. data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +443 -0
  114. data/dist/ice/cpp/include/generated/Ice/Metrics.h +937 -4603
  115. data/dist/ice/cpp/include/generated/Ice/OperationMode.h +73 -0
  116. data/dist/ice/cpp/include/generated/Ice/Process.h +197 -929
  117. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +249 -1301
  118. data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +39 -0
  119. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +637 -2620
  120. data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +94 -0
  121. data/dist/ice/cpp/include/generated/Ice/Router.h +429 -1783
  122. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +18 -65
  123. data/dist/ice/cpp/include/generated/Ice/Version.h +73 -318
  124. data/dist/ice/cpp/include/generated/IceDiscovery/Lookup.h +498 -0
  125. data/dist/ice/cpp/include/generated/IceLocatorDiscovery/Lookup.h +387 -0
  126. data/dist/ice/cpp/src/Ice/Acceptor.h +28 -24
  127. data/dist/ice/cpp/src/Ice/AcceptorF.h +6 -14
  128. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories.h +16 -0
  129. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_all.cpp +43 -0
  130. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_min.cpp +17 -0
  131. data/dist/ice/cpp/src/Ice/ArgVector.cpp +17 -18
  132. data/dist/ice/cpp/src/Ice/ArgVector.h +19 -25
  133. data/dist/ice/cpp/src/Ice/Base64.cpp +66 -66
  134. data/dist/ice/cpp/src/Ice/Base64.h +14 -19
  135. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +70 -121
  136. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +37 -47
  137. data/dist/ice/cpp/src/Ice/Buffer.cpp +73 -41
  138. data/dist/ice/cpp/src/Ice/CheckIdentity.h +21 -0
  139. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +215 -249
  140. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +38 -60
  141. data/dist/ice/cpp/src/Ice/Communicator.cpp +399 -0
  142. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.cpp +140 -0
  143. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.h +39 -0
  144. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.cpp +63 -184
  145. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +30 -51
  146. data/dist/ice/cpp/src/Ice/ConnectRequestHandlerF.h +4 -14
  147. data/dist/ice/cpp/src/Ice/Connection.cpp +44 -0
  148. data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +578 -792
  149. data/dist/ice/cpp/src/Ice/ConnectionFactory.h +200 -200
  150. data/dist/ice/cpp/src/Ice/ConnectionFactoryF.h +6 -19
  151. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +1674 -1782
  152. data/dist/ice/cpp/src/Ice/ConnectionI.h +333 -293
  153. data/dist/ice/cpp/src/Ice/ConnectionOptions.h +22 -0
  154. data/dist/ice/cpp/src/Ice/Connector.h +25 -19
  155. data/dist/ice/cpp/src/Ice/ConnectorF.h +4 -11
  156. data/dist/ice/cpp/src/{IceUtil → Ice}/ConsoleUtil.cpp +32 -53
  157. data/dist/ice/cpp/src/Ice/ConsoleUtil.h +79 -0
  158. data/dist/ice/cpp/src/Ice/CtrlCHandler.cpp +189 -0
  159. data/dist/ice/cpp/src/Ice/Current.cpp +29 -0
  160. data/dist/ice/cpp/src/Ice/DLLMain.cpp +25 -35
  161. data/dist/ice/cpp/src/Ice/DefaultSliceLoader.cpp +39 -0
  162. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +41 -119
  163. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.h +27 -41
  164. data/dist/ice/cpp/src/Ice/DefaultsAndOverridesF.h +4 -11
  165. data/dist/ice/cpp/src/Ice/Demangle.cpp +26 -0
  166. data/dist/ice/cpp/src/Ice/DisableWarnings.h +31 -0
  167. data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +44 -112
  168. data/dist/ice/cpp/src/Ice/DynamicLibrary.h +91 -0
  169. data/dist/ice/cpp/src/Ice/Endian.h +40 -0
  170. data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +35 -59
  171. data/dist/ice/cpp/src/Ice/EndpointFactory.h +82 -103
  172. data/dist/ice/cpp/src/Ice/EndpointFactoryF.h +4 -11
  173. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.cpp +54 -87
  174. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.h +28 -33
  175. data/dist/ice/cpp/src/Ice/EndpointFactoryManagerF.h +4 -11
  176. data/dist/ice/cpp/src/Ice/EndpointI.cpp +53 -23
  177. data/dist/ice/cpp/src/Ice/EndpointI.h +132 -200
  178. data/dist/ice/cpp/src/Ice/EndpointIF.h +11 -39
  179. data/dist/ice/cpp/src/Ice/EventHandler.cpp +3 -26
  180. data/dist/ice/cpp/src/Ice/EventHandler.h +46 -56
  181. data/dist/ice/cpp/src/Ice/EventHandlerF.h +4 -14
  182. data/dist/ice/cpp/src/Ice/Exception.cpp +3 -816
  183. data/dist/ice/cpp/src/Ice/FileUtil.cpp +476 -0
  184. data/dist/ice/cpp/src/Ice/FileUtil.h +152 -0
  185. data/dist/ice/cpp/src/Ice/FixedRequestHandler.cpp +34 -0
  186. data/dist/ice/cpp/src/Ice/FixedRequestHandler.h +29 -0
  187. data/dist/ice/cpp/src/Ice/HashUtil.h +46 -32
  188. data/dist/ice/cpp/src/Ice/HttpParser.cpp +431 -431
  189. data/dist/ice/cpp/src/Ice/HttpParser.h +95 -100
  190. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +207 -324
  191. data/dist/ice/cpp/src/Ice/IPEndpointI.h +80 -126
  192. data/dist/ice/cpp/src/Ice/IPEndpointIF.h +6 -17
  193. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.cpp +172 -0
  194. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.h +89 -0
  195. data/dist/ice/cpp/src/Ice/ImplicitContext.cpp +109 -0
  196. data/dist/ice/cpp/src/Ice/IncomingRequest.cpp +66 -0
  197. data/dist/ice/cpp/src/Ice/Initialize.cpp +48 -542
  198. data/dist/ice/cpp/src/Ice/InputStream.cpp +848 -1385
  199. data/dist/ice/cpp/src/Ice/Instance.cpp +816 -827
  200. data/dist/ice/cpp/src/Ice/Instance.h +202 -212
  201. data/dist/ice/cpp/src/Ice/InstrumentationI.cpp +526 -661
  202. data/dist/ice/cpp/src/Ice/InstrumentationI.h +171 -192
  203. data/dist/ice/cpp/src/Ice/LocalException.cpp +518 -0
  204. data/dist/ice/cpp/src/Ice/LocalExceptions.cpp +577 -0
  205. data/dist/ice/cpp/src/Ice/LocatorInfo.cpp +291 -329
  206. data/dist/ice/cpp/src/Ice/LocatorInfo.h +144 -157
  207. data/dist/ice/cpp/src/Ice/LocatorInfoF.h +8 -17
  208. data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +561 -743
  209. data/dist/ice/cpp/src/Ice/LoggerAdminI.h +18 -28
  210. data/dist/ice/cpp/src/Ice/LoggerI.cpp +66 -91
  211. data/dist/ice/cpp/src/Ice/LoggerI.h +36 -41
  212. data/dist/ice/cpp/src/Ice/LoggerMiddleware.cpp +176 -0
  213. data/dist/ice/cpp/src/Ice/LoggerMiddleware.h +42 -0
  214. data/dist/ice/cpp/src/Ice/LoggerUtil.cpp +14 -38
  215. data/dist/ice/cpp/src/Ice/MarshaledResult.cpp +20 -0
  216. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +194 -280
  217. data/dist/ice/cpp/src/Ice/MetricsAdminI.h +600 -0
  218. data/dist/ice/cpp/src/Ice/MetricsFunctional.h +92 -0
  219. data/dist/ice/cpp/src/Ice/MetricsObserverI.h +587 -0
  220. data/dist/ice/cpp/src/Ice/NativePropertiesAdmin.cpp +185 -0
  221. data/dist/ice/cpp/src/Ice/Network.cpp +595 -917
  222. data/dist/ice/cpp/src/Ice/Network.h +189 -213
  223. data/dist/ice/cpp/src/Ice/NetworkF.h +2 -10
  224. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +99 -104
  225. data/dist/ice/cpp/src/Ice/NetworkProxy.h +49 -54
  226. data/dist/ice/cpp/src/Ice/NetworkProxyF.h +4 -11
  227. data/dist/ice/cpp/src/Ice/OSLogLoggerI.cpp +16 -18
  228. data/dist/ice/cpp/src/Ice/OSLogLoggerI.h +22 -27
  229. data/dist/ice/cpp/src/Ice/Object.cpp +152 -338
  230. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +170 -113
  231. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.h +41 -41
  232. data/dist/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +4 -15
  233. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +580 -727
  234. data/dist/ice/cpp/src/Ice/ObjectAdapterI.h +149 -145
  235. data/dist/ice/cpp/src/Ice/ObserverHelper.cpp +36 -17
  236. data/dist/ice/cpp/src/Ice/ObserverMiddleware.cpp +96 -0
  237. data/dist/ice/cpp/src/Ice/ObserverMiddleware.h +25 -0
  238. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.cpp +147 -187
  239. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.h +56 -64
  240. data/dist/ice/cpp/src/{IceUtil → Ice}/Options.cpp +187 -258
  241. data/dist/ice/cpp/src/Ice/Options.h +119 -0
  242. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +516 -732
  243. data/dist/ice/cpp/src/Ice/OutgoingResponse.cpp +276 -0
  244. data/dist/ice/cpp/src/Ice/OutputStream.cpp +610 -543
  245. data/dist/ice/cpp/src/Ice/OutputUtil.cpp +344 -0
  246. data/dist/ice/cpp/src/Ice/OutputUtil.h +173 -0
  247. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +118 -277
  248. data/dist/ice/cpp/src/Ice/PluginManagerI.h +41 -48
  249. data/dist/ice/cpp/src/Ice/Properties.cpp +931 -0
  250. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +519 -1341
  251. data/dist/ice/cpp/src/Ice/PropertyNames.h +49 -64
  252. data/dist/ice/cpp/src/Ice/PropertyUtil.cpp +103 -0
  253. data/dist/ice/cpp/src/Ice/PropertyUtil.h +31 -0
  254. data/dist/ice/cpp/src/Ice/Protocol.cpp +129 -94
  255. data/dist/ice/cpp/src/Ice/Protocol.h +116 -0
  256. data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +117 -62
  257. data/dist/ice/cpp/src/Ice/ProtocolInstance.h +63 -82
  258. data/dist/ice/cpp/src/Ice/ProtocolInstanceF.h +4 -11
  259. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +10 -32
  260. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.h +25 -54
  261. data/dist/ice/cpp/src/Ice/Proxy.cpp +294 -1357
  262. data/dist/ice/cpp/src/Ice/ProxyAsync.cpp +684 -0
  263. data/dist/ice/cpp/src/Ice/ProxyFunctions.cpp +90 -0
  264. data/dist/ice/cpp/src/Ice/PushDisableDeprecatedWarnings.h +15 -0
  265. data/dist/ice/cpp/src/Ice/Random.cpp +29 -0
  266. data/dist/ice/cpp/src/Ice/Random.h +23 -0
  267. data/dist/ice/cpp/src/Ice/Reference.cpp +635 -1097
  268. data/dist/ice/cpp/src/Ice/Reference.h +314 -298
  269. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +320 -378
  270. data/dist/ice/cpp/src/Ice/ReferenceFactory.h +48 -66
  271. data/dist/ice/cpp/src/Ice/ReferenceFactoryF.h +4 -9
  272. data/dist/ice/cpp/src/Ice/RequestHandler.cpp +15 -24
  273. data/dist/ice/cpp/src/Ice/RequestHandler.h +43 -68
  274. data/dist/ice/cpp/src/Ice/RequestHandlerCache.cpp +76 -0
  275. data/dist/ice/cpp/src/Ice/RequestHandlerCache.h +33 -0
  276. data/dist/ice/cpp/src/Ice/ResourceConfig.h +27 -0
  277. data/dist/ice/cpp/src/Ice/RetryQueue.cpp +51 -57
  278. data/dist/ice/cpp/src/Ice/RetryQueue.h +39 -46
  279. data/dist/ice/cpp/src/Ice/RetryQueueF.h +4 -9
  280. data/dist/ice/cpp/src/Ice/RouterInfo.cpp +97 -201
  281. data/dist/ice/cpp/src/Ice/RouterInfo.h +61 -118
  282. data/dist/ice/cpp/src/Ice/RouterInfoF.h +6 -14
  283. data/dist/ice/cpp/src/Ice/SHA1.cpp +86 -60
  284. data/dist/ice/cpp/src/Ice/SHA1.h +35 -0
  285. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.cpp +89 -0
  286. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.h +87 -0
  287. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.cpp +521 -0
  288. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.h +40 -0
  289. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngineF.h +13 -0
  290. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp +646 -0
  291. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +80 -0
  292. data/dist/ice/cpp/src/{IceSSL → Ice/SSL}/RFC2253.cpp +85 -88
  293. data/dist/ice/cpp/src/Ice/SSL/RFC2253.h +58 -0
  294. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.cpp +124 -0
  295. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.h +52 -0
  296. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.cpp +92 -0
  297. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.h +38 -0
  298. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.cpp +377 -0
  299. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.h +84 -0
  300. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.cpp +115 -0
  301. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.h +69 -0
  302. data/dist/ice/cpp/src/Ice/SSL/SSLEngineF.h +14 -0
  303. data/dist/ice/cpp/src/Ice/SSL/SSLException.cpp +18 -0
  304. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.cpp +27 -0
  305. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.h +26 -0
  306. data/dist/ice/cpp/src/Ice/SSL/SSLInstanceF.h +19 -0
  307. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.cpp +673 -0
  308. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.h +118 -0
  309. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +1449 -0
  310. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.h +58 -0
  311. data/dist/ice/cpp/src/Ice/SSL/SchannelEngineF.h +18 -0
  312. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.cpp +1088 -0
  313. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +118 -0
  314. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +825 -0
  315. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.h +44 -0
  316. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngineF.h +18 -0
  317. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp +621 -0
  318. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.h +91 -0
  319. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.cpp +1048 -0
  320. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +40 -0
  321. data/dist/ice/cpp/src/Ice/SSL/TrustManager.cpp +233 -0
  322. data/dist/ice/cpp/src/Ice/SSL/TrustManager.h +42 -0
  323. data/dist/ice/cpp/src/Ice/SSL/TrustManagerF.h +14 -0
  324. data/dist/ice/cpp/src/Ice/ScannerConfig.h +35 -0
  325. data/dist/ice/cpp/src/Ice/Selector.cpp +341 -606
  326. data/dist/ice/cpp/src/Ice/Selector.h +167 -224
  327. data/dist/ice/cpp/src/Ice/ServantManager.cpp +195 -128
  328. data/dist/ice/cpp/src/Ice/ServantManager.h +52 -55
  329. data/dist/ice/cpp/src/Ice/ServantManagerF.h +14 -0
  330. data/dist/ice/cpp/src/Ice/Service.cpp +548 -641
  331. data/dist/ice/cpp/src/Ice/SharedContext.h +13 -26
  332. data/dist/ice/cpp/src/Ice/SliceLoader.cpp +53 -0
  333. data/dist/ice/cpp/src/Ice/SlicedData.cpp +17 -96
  334. data/dist/ice/cpp/src/Ice/StreamSocket.cpp +104 -151
  335. data/dist/ice/cpp/src/Ice/StreamSocket.h +48 -60
  336. data/dist/ice/cpp/src/Ice/StringConverter.cpp +586 -0
  337. data/dist/ice/cpp/src/Ice/StringUtil.cpp +1137 -0
  338. data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +41 -47
  339. data/dist/ice/cpp/src/Ice/SysLoggerI.h +24 -27
  340. data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +16 -17
  341. data/dist/ice/cpp/src/Ice/SystemdJournalI.h +19 -25
  342. data/dist/ice/cpp/src/Ice/TargetCompare.h +96 -0
  343. data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +67 -88
  344. data/dist/ice/cpp/src/Ice/TcpAcceptor.h +34 -40
  345. data/dist/ice/cpp/src/Ice/TcpConnector.cpp +42 -41
  346. data/dist/ice/cpp/src/Ice/TcpConnector.h +26 -35
  347. data/dist/ice/cpp/src/Ice/TcpEndpointI.cpp +172 -146
  348. data/dist/ice/cpp/src/Ice/TcpEndpointI.h +76 -80
  349. data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +38 -26
  350. data/dist/ice/cpp/src/Ice/TcpTransceiver.h +40 -45
  351. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +333 -515
  352. data/dist/ice/cpp/src/Ice/ThreadPool.h +202 -290
  353. data/dist/ice/cpp/src/Ice/ThreadPoolF.h +14 -0
  354. data/dist/ice/cpp/src/Ice/TimeUtil.cpp +47 -0
  355. data/dist/ice/cpp/src/Ice/TimeUtil.h +21 -0
  356. data/dist/ice/cpp/src/Ice/Timer.cpp +73 -167
  357. data/dist/ice/cpp/src/Ice/Timer.h +212 -0
  358. data/dist/ice/cpp/src/Ice/TraceLevels.cpp +11 -29
  359. data/dist/ice/cpp/src/Ice/TraceLevels.h +22 -28
  360. data/dist/ice/cpp/src/Ice/TraceLevelsF.h +4 -11
  361. data/dist/ice/cpp/src/Ice/TraceUtil.cpp +136 -215
  362. data/dist/ice/cpp/src/Ice/TraceUtil.h +27 -16
  363. data/dist/ice/cpp/src/Ice/Transceiver.cpp +3 -7
  364. data/dist/ice/cpp/src/Ice/Transceiver.h +35 -32
  365. data/dist/ice/cpp/src/Ice/TransceiverF.h +10 -20
  366. data/dist/ice/cpp/src/Ice/UUID.cpp +79 -0
  367. data/dist/ice/cpp/src/Ice/UdpConnector.cpp +39 -39
  368. data/dist/ice/cpp/src/Ice/UdpConnector.h +27 -36
  369. data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +178 -213
  370. data/dist/ice/cpp/src/Ice/UdpEndpointI.h +82 -85
  371. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +201 -221
  372. data/dist/ice/cpp/src/Ice/UdpTransceiver.h +68 -74
  373. data/dist/ice/cpp/{include/IceUtil → src/Ice}/UndefSysMacros.h +12 -12
  374. data/dist/ice/cpp/src/Ice/UniqueRef.h +77 -0
  375. data/dist/ice/cpp/src/Ice/UserException.cpp +58 -0
  376. data/dist/ice/cpp/src/Ice/Value.cpp +107 -38
  377. data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +10 -15
  378. data/dist/ice/cpp/src/Ice/WSAcceptor.h +31 -37
  379. data/dist/ice/cpp/src/Ice/WSConnector.cpp +25 -40
  380. data/dist/ice/cpp/src/Ice/WSConnector.h +26 -33
  381. data/dist/ice/cpp/src/Ice/WSEndpoint.cpp +164 -217
  382. data/dist/ice/cpp/src/Ice/WSEndpoint.h +72 -83
  383. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +469 -458
  384. data/dist/ice/cpp/src/Ice/WSTransceiver.h +117 -123
  385. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +20 -29
  386. data/dist/ice/cpp/src/Ice/generated/Context.cpp +40 -0
  387. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +20 -31
  388. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +24 -34
  389. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +454 -1744
  390. data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +577 -0
  391. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +824 -1971
  392. data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +56 -0
  393. data/dist/ice/cpp/src/Ice/generated/Process.cpp +190 -331
  394. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +289 -449
  395. data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +40 -0
  396. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +547 -867
  397. data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +70 -0
  398. data/dist/ice/cpp/src/Ice/generated/Router.cpp +406 -723
  399. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +19 -29
  400. data/dist/ice/cpp/src/Ice/generated/Version.cpp +28 -31
  401. data/dist/ice/cpp/src/IceDiscovery/LocatorI.cpp +76 -139
  402. data/dist/ice/cpp/src/IceDiscovery/LocatorI.h +55 -96
  403. data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +190 -303
  404. data/dist/ice/cpp/src/IceDiscovery/LookupI.h +126 -185
  405. data/dist/ice/cpp/src/IceDiscovery/PluginI.cpp +56 -77
  406. data/dist/ice/cpp/src/IceDiscovery/PluginI.h +20 -25
  407. data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +638 -0
  408. data/dist/ice/cpp/src/IceLocatorDiscovery/Plugin.h +14 -37
  409. data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +411 -649
  410. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/Lookup.cpp +468 -0
  411. data/dist/ice/cpp/src/Slice/DeprecationReporter.cpp +172 -0
  412. data/dist/ice/cpp/src/Slice/DeprecationReporter.h +14 -0
  413. data/dist/ice/cpp/src/Slice/DocCommentParser.cpp +736 -0
  414. data/dist/ice/cpp/src/Slice/DocCommentParser.h +61 -0
  415. data/dist/ice/cpp/src/Slice/FileTracker.cpp +25 -75
  416. data/dist/ice/cpp/src/Slice/FileTracker.h +35 -56
  417. data/dist/ice/cpp/src/Slice/Grammar.cpp +2711 -3382
  418. data/dist/ice/cpp/src/Slice/Grammar.h +95 -75
  419. data/dist/ice/cpp/src/Slice/GrammarUtil.h +117 -217
  420. data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +486 -0
  421. data/dist/ice/cpp/src/Slice/MetadataValidation.h +106 -0
  422. data/dist/ice/cpp/src/Slice/Parser.cpp +3068 -5223
  423. data/dist/ice/cpp/src/Slice/Parser.h +1086 -1065
  424. data/dist/ice/cpp/src/Slice/Preprocessor.cpp +97 -599
  425. data/dist/ice/cpp/src/Slice/Preprocessor.h +26 -42
  426. data/dist/ice/cpp/src/Slice/Scanner.cpp +1562 -924
  427. data/dist/ice/cpp/src/Slice/SliceUtil.cpp +517 -113
  428. data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +254 -269
  429. data/dist/ice/cpp/src/Slice/Util.h +126 -35
  430. data/dist/ice/cpp/src/slice2rb/Main.cpp +13 -15
  431. data/dist/ice/cpp/src/slice2rb/Ruby.cpp +250 -0
  432. data/dist/ice/cpp/src/slice2rb/RubyUtil.cpp +1197 -0
  433. data/dist/ice/cpp/src/slice2rb/RubyUtil.h +56 -0
  434. data/dist/ice/slice/Glacier2/Metrics.ice +34 -75
  435. data/dist/ice/slice/Glacier2/PermissionsVerifier.ice +42 -98
  436. data/dist/ice/slice/Glacier2/Router.ice +80 -173
  437. data/dist/ice/slice/Glacier2/SSLInfo.ice +23 -40
  438. data/dist/ice/slice/Glacier2/Session.ice +120 -261
  439. data/dist/ice/slice/Ice/BuiltinSequences.ice +33 -38
  440. data/dist/ice/slice/Ice/Context.ice +24 -0
  441. data/dist/ice/slice/Ice/EndpointTypes.ice +35 -33
  442. data/dist/ice/slice/Ice/Identity.ice +24 -63
  443. data/dist/ice/slice/Ice/Locator.ice +61 -226
  444. data/dist/ice/slice/Ice/LocatorRegistry.ice +77 -0
  445. data/dist/ice/slice/Ice/Metrics.ice +189 -424
  446. data/dist/ice/slice/Ice/OperationMode.ice +38 -0
  447. data/dist/ice/slice/Ice/Process.ice +16 -52
  448. data/dist/ice/slice/Ice/PropertiesAdmin.ice +25 -75
  449. data/dist/ice/slice/Ice/PropertyDict.ice +23 -0
  450. data/dist/ice/slice/Ice/RemoteLogger.ice +113 -213
  451. data/dist/ice/slice/Ice/ReplyStatus.ice +65 -0
  452. data/dist/ice/slice/Ice/Router.ice +42 -91
  453. data/dist/ice/slice/Ice/SliceChecksumDict.ice +7 -25
  454. data/dist/ice/slice/Ice/Version.ice +31 -39
  455. data/dist/ice/slice/IceBox/ServiceManager.ice +79 -0
  456. data/dist/ice/slice/IceGrid/Admin.ice +942 -1918
  457. data/dist/ice/slice/IceGrid/Descriptor.ice +476 -1051
  458. data/dist/ice/slice/IceGrid/Exception.ice +86 -384
  459. data/dist/ice/slice/IceGrid/FileParser.ice +23 -59
  460. data/dist/ice/slice/IceGrid/Registry.ice +117 -256
  461. data/dist/ice/slice/IceGrid/Session.ice +46 -110
  462. data/dist/ice/slice/IceGrid/UserAccountMapper.ice +22 -57
  463. data/dist/ice/slice/IceStorm/IceStorm.ice +173 -401
  464. data/dist/ice/slice/IceStorm/Metrics.ice +28 -70
  465. data/dist/lib/Glacier2/Metrics.rb +16 -31
  466. data/dist/lib/Glacier2/PermissionsVerifier.rb +18 -50
  467. data/dist/lib/Glacier2/Router.rb +20 -42
  468. data/dist/lib/Glacier2/SSLInfo.rb +14 -22
  469. data/dist/lib/Glacier2/Session.rb +53 -113
  470. data/dist/lib/Glacier2.rb +6 -6
  471. data/dist/lib/Ice/BuiltinSequences.rb +14 -26
  472. data/dist/lib/Ice/CompressBatch.rb +50 -0
  473. data/dist/lib/Ice/Context.rb +12 -0
  474. data/dist/lib/Ice/EndpointSelectionType.rb +49 -0
  475. data/dist/lib/Ice/EndpointTypes.rb +14 -55
  476. data/dist/lib/Ice/Exception.rb +20 -0
  477. data/dist/lib/Ice/Identity.rb +10 -26
  478. data/dist/lib/Ice/IdentitySpaceship.rb +16 -0
  479. data/dist/lib/Ice/InitializationData.rb +12 -0
  480. data/dist/lib/Ice/LocalExceptions.rb +168 -0
  481. data/dist/lib/Ice/Locator.rb +21 -134
  482. data/dist/lib/Ice/LocatorRegistry.rb +73 -0
  483. data/dist/lib/Ice/Metrics.rb +85 -132
  484. data/dist/lib/Ice/OperationMode.rb +58 -0
  485. data/dist/lib/Ice/Process.rb +12 -31
  486. data/dist/lib/Ice/PropertiesAdmin.rb +12 -36
  487. data/dist/lib/Ice/PropertyDict.rb +12 -0
  488. data/dist/lib/Ice/Proxy.rb +85 -0
  489. data/dist/lib/Ice/ProxyFunctions.rb +69 -0
  490. data/dist/lib/Ice/RemoteLogger.rb +29 -60
  491. data/dist/lib/Ice/ReplyStatus.rb +65 -0
  492. data/dist/lib/Ice/Router.rb +19 -47
  493. data/dist/lib/Ice/SliceChecksumDict.rb +5 -17
  494. data/dist/lib/Ice/SliceUtil.rb +41 -0
  495. data/dist/lib/Ice/Struct.rb +11 -0
  496. data/dist/lib/Ice/ToStringMode.rb +50 -0
  497. data/dist/lib/Ice/Value.rb +93 -0
  498. data/dist/lib/Ice/Version.rb +12 -24
  499. data/dist/lib/Ice.rb +29 -665
  500. data/dist/lib/IceBox/ServiceManager.rb +104 -0
  501. data/dist/lib/IceBox.rb +2 -4
  502. data/dist/lib/IceGrid/Admin.rb +303 -291
  503. data/dist/lib/IceGrid/Descriptor.rb +147 -192
  504. data/dist/lib/IceGrid/Exception.rb +26 -257
  505. data/dist/lib/IceGrid/FileParser.rb +12 -36
  506. data/dist/lib/IceGrid/Registry.rb +35 -76
  507. data/dist/lib/IceGrid/Session.rb +19 -34
  508. data/dist/lib/IceGrid/UserAccountMapper.rb +11 -34
  509. data/dist/lib/IceGrid.rb +3 -3
  510. data/dist/lib/IceStorm/IceStorm.rb +51 -132
  511. data/dist/lib/IceStorm/Metrics.rb +19 -37
  512. data/dist/lib/IceStorm.rb +3 -5
  513. data/extconf.rb +6 -8
  514. data/ice.gemspec +3 -3
  515. data/scripts/slice2rb +1 -3
  516. metadata +206 -386
  517. data/dist/IceRuby/ValueFactoryManager.cpp +0 -445
  518. data/dist/IceRuby/ValueFactoryManager.h +0 -95
  519. data/dist/ice/cpp/include/Ice/Application.h +0 -326
  520. data/dist/ice/cpp/include/Ice/AsyncResult.h +0 -155
  521. data/dist/ice/cpp/include/Ice/AsyncResultF.h +0 -23
  522. data/dist/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -75
  523. data/dist/ice/cpp/include/Ice/CommunicatorAsync.h +0 -154
  524. data/dist/ice/cpp/include/Ice/Comparable.h +0 -205
  525. data/dist/ice/cpp/include/Ice/ConnectionAsync.h +0 -302
  526. data/dist/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
  527. data/dist/ice/cpp/include/Ice/DefaultValueFactory.h +0 -57
  528. data/dist/ice/cpp/include/Ice/DispatchInterceptor.h +0 -41
  529. data/dist/ice/cpp/include/Ice/Dispatcher.h +0 -67
  530. data/dist/ice/cpp/include/Ice/DynamicLibrary.h +0 -102
  531. data/dist/ice/cpp/include/Ice/DynamicLibraryF.h +0 -24
  532. data/dist/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  533. data/dist/ice/cpp/include/Ice/FactoryTable.h +0 -73
  534. data/dist/ice/cpp/include/Ice/FactoryTableInit.h +0 -84
  535. data/dist/ice/cpp/include/Ice/Functional.h +0 -140
  536. data/dist/ice/cpp/include/Ice/GCObject.h +0 -76
  537. data/dist/ice/cpp/include/Ice/Handle.h +0 -182
  538. data/dist/ice/cpp/include/Ice/Incoming.h +0 -225
  539. data/dist/ice/cpp/include/Ice/IncomingAsync.h +0 -186
  540. data/dist/ice/cpp/include/Ice/IncomingAsyncF.h +0 -36
  541. data/dist/ice/cpp/include/Ice/InterfaceByValue.h +0 -57
  542. data/dist/ice/cpp/include/Ice/LocalObject.h +0 -35
  543. data/dist/ice/cpp/include/Ice/LocalObjectF.h +0 -21
  544. data/dist/ice/cpp/include/Ice/MetricsAdminI.h +0 -715
  545. data/dist/ice/cpp/include/Ice/MetricsFunctional.h +0 -159
  546. data/dist/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  547. data/dist/ice/cpp/include/Ice/Optional.h +0 -1114
  548. data/dist/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -39
  549. data/dist/ice/cpp/include/Ice/Protocol.h +0 -274
  550. data/dist/ice/cpp/include/Ice/ProxyFactoryF.h +0 -21
  551. data/dist/ice/cpp/include/Ice/ProxyHandle.h +0 -318
  552. data/dist/ice/cpp/include/Ice/RegisterPlugins.h +0 -127
  553. data/dist/ice/cpp/include/Ice/ResponseHandlerF.h +0 -25
  554. data/dist/ice/cpp/include/Ice/SHA1.h +0 -40
  555. data/dist/ice/cpp/include/Ice/ServantManagerF.h +0 -21
  556. data/dist/ice/cpp/include/Ice/SliceChecksums.h +0 -33
  557. data/dist/ice/cpp/include/Ice/ThreadPoolF.h +0 -23
  558. data/dist/ice/cpp/include/Ice/UniquePtr.h +0 -95
  559. data/dist/ice/cpp/include/Ice/UniqueRef.h +0 -97
  560. data/dist/ice/cpp/include/IceSSL/Config.h +0 -21
  561. data/dist/ice/cpp/include/IceSSL/IceSSL.h +0 -24
  562. data/dist/ice/cpp/include/IceSSL/OpenSSL.h +0 -147
  563. data/dist/ice/cpp/include/IceSSL/Plugin.h +0 -712
  564. data/dist/ice/cpp/include/IceSSL/SChannel.h +0 -72
  565. data/dist/ice/cpp/include/IceSSL/SecureTransport.h +0 -72
  566. data/dist/ice/cpp/include/IceUtil/Atomic.h +0 -179
  567. data/dist/ice/cpp/include/IceUtil/Cond.h +0 -317
  568. data/dist/ice/cpp/include/IceUtil/Config.h +0 -392
  569. data/dist/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
  570. data/dist/ice/cpp/include/IceUtil/CountDownLatch.h +0 -45
  571. data/dist/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -96
  572. data/dist/ice/cpp/include/IceUtil/DisableWarnings.h +0 -44
  573. data/dist/ice/cpp/include/IceUtil/Exception.h +0 -394
  574. data/dist/ice/cpp/include/IceUtil/FileUtil.h +0 -140
  575. data/dist/ice/cpp/include/IceUtil/Functional.h +0 -389
  576. data/dist/ice/cpp/include/IceUtil/Handle.h +0 -261
  577. data/dist/ice/cpp/include/IceUtil/IceUtil.h +0 -40
  578. data/dist/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  579. data/dist/ice/cpp/include/IceUtil/Iterator.h +0 -31
  580. data/dist/ice/cpp/include/IceUtil/Lock.h +0 -128
  581. data/dist/ice/cpp/include/IceUtil/Monitor.h +0 -243
  582. data/dist/ice/cpp/include/IceUtil/Mutex.h +0 -349
  583. data/dist/ice/cpp/include/IceUtil/MutexProtocol.h +0 -23
  584. data/dist/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -78
  585. data/dist/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -77
  586. data/dist/ice/cpp/include/IceUtil/Optional.h +0 -433
  587. data/dist/ice/cpp/include/IceUtil/Options.h +0 -135
  588. data/dist/ice/cpp/include/IceUtil/OutputUtil.h +0 -383
  589. data/dist/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -33
  590. data/dist/ice/cpp/include/IceUtil/Random.h +0 -55
  591. data/dist/ice/cpp/include/IceUtil/RecMutex.h +0 -107
  592. data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +0 -37
  593. data/dist/ice/cpp/include/IceUtil/ScannerConfig.h +0 -40
  594. data/dist/ice/cpp/include/IceUtil/ScopedArray.h +0 -98
  595. data/dist/ice/cpp/include/IceUtil/Shared.h +0 -127
  596. data/dist/ice/cpp/include/IceUtil/StopWatch.h +0 -49
  597. data/dist/ice/cpp/include/IceUtil/StringConverter.h +0 -195
  598. data/dist/ice/cpp/include/IceUtil/StringUtil.h +0 -97
  599. data/dist/ice/cpp/include/IceUtil/Thread.h +0 -160
  600. data/dist/ice/cpp/include/IceUtil/ThreadException.h +0 -94
  601. data/dist/ice/cpp/include/IceUtil/Time.h +0 -205
  602. data/dist/ice/cpp/include/IceUtil/Timer.h +0 -153
  603. data/dist/ice/cpp/include/IceUtil/UUID.h +0 -21
  604. data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +0 -475
  605. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +0 -1430
  606. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +0 -147
  607. data/dist/ice/cpp/include/generated/Glacier2/Router.h +0 -3260
  608. data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +0 -125
  609. data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +0 -223
  610. data/dist/ice/cpp/include/generated/Glacier2/Session.h +0 -5894
  611. data/dist/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  612. data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  613. data/dist/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  614. data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  615. data/dist/ice/cpp/include/generated/Ice/Current.h +0 -322
  616. data/dist/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  617. data/dist/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  618. data/dist/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  619. data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  620. data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  621. data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  622. data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  623. data/dist/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  624. data/dist/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  625. data/dist/ice/cpp/include/generated/Ice/Logger.h +0 -237
  626. data/dist/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  627. data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  628. data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  629. data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  630. data/dist/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  631. data/dist/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  632. data/dist/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  633. data/dist/ice/cpp/include/generated/Ice/Properties.h +0 -452
  634. data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  635. data/dist/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  636. data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  637. data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  638. data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  639. data/dist/ice/cpp/include/generated/IceBox/IceBox.h +0 -3269
  640. data/dist/ice/cpp/include/generated/IceGrid/Admin.h +0 -33773
  641. data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +0 -5254
  642. data/dist/ice/cpp/include/generated/IceGrid/Exception.h +0 -2834
  643. data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +0 -824
  644. data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +0 -635
  645. data/dist/ice/cpp/include/generated/IceGrid/Registry.h +0 -5089
  646. data/dist/ice/cpp/include/generated/IceGrid/Session.h +0 -2240
  647. data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +0 -800
  648. data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +0 -325
  649. data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +0 -2891
  650. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  651. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  652. data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  653. data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +0 -6627
  654. data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +0 -665
  655. data/dist/ice/cpp/src/Ice/ACM.cpp +0 -380
  656. data/dist/ice/cpp/src/Ice/ACM.h +0 -119
  657. data/dist/ice/cpp/src/Ice/ACMF.h +0 -30
  658. data/dist/ice/cpp/src/Ice/Acceptor.cpp +0 -16
  659. data/dist/ice/cpp/src/Ice/Application.cpp +0 -661
  660. data/dist/ice/cpp/src/Ice/AsyncResult.cpp +0 -70
  661. data/dist/ice/cpp/src/Ice/CommunicatorI.cpp +0 -586
  662. data/dist/ice/cpp/src/Ice/CommunicatorI.h +0 -167
  663. data/dist/ice/cpp/src/Ice/Cond.cpp +0 -381
  664. data/dist/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -73
  665. data/dist/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -41
  666. data/dist/ice/cpp/src/Ice/Connector.cpp +0 -16
  667. data/dist/ice/cpp/src/Ice/CountDownLatch.cpp +0 -171
  668. data/dist/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -37
  669. data/dist/ice/cpp/src/Ice/FactoryTable.cpp +0 -162
  670. data/dist/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -88
  671. data/dist/ice/cpp/src/Ice/GCObject.cpp +0 -442
  672. data/dist/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -51
  673. data/dist/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -655
  674. data/dist/ice/cpp/src/Ice/ImplicitContextI.h +0 -48
  675. data/dist/ice/cpp/src/Ice/Incoming.cpp +0 -795
  676. data/dist/ice/cpp/src/Ice/IncomingAsync.cpp +0 -230
  677. data/dist/ice/cpp/src/Ice/IncomingRequest.h +0 -33
  678. data/dist/ice/cpp/src/Ice/LocalObject.cpp +0 -23
  679. data/dist/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -8
  680. data/dist/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -265
  681. data/dist/ice/cpp/src/Ice/PropertiesAdminI.h +0 -64
  682. data/dist/ice/cpp/src/Ice/PropertiesI.cpp +0 -739
  683. data/dist/ice/cpp/src/Ice/PropertiesI.h +0 -70
  684. data/dist/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -21
  685. data/dist/ice/cpp/src/Ice/ProxyFactory.cpp +0 -300
  686. data/dist/ice/cpp/src/Ice/ProxyFactory.h +0 -57
  687. data/dist/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -38
  688. data/dist/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -20
  689. data/dist/ice/cpp/src/Ice/ReplyStatus.h +0 -24
  690. data/dist/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -77
  691. data/dist/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -37
  692. data/dist/ice/cpp/src/Ice/ResponseHandler.cpp +0 -12
  693. data/dist/ice/cpp/src/Ice/ResponseHandler.h +0 -43
  694. data/dist/ice/cpp/src/Ice/SliceChecksums.cpp +0 -75
  695. data/dist/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -192
  696. data/dist/ice/cpp/src/Ice/StringUtil.h +0 -30
  697. data/dist/ice/cpp/src/Ice/Thread.cpp +0 -569
  698. data/dist/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -61
  699. data/dist/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -37
  700. data/dist/ice/cpp/src/Ice/VirtualShared.h +0 -38
  701. data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +0 -79
  702. data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +0 -61
  703. data/dist/ice/cpp/src/Ice/generated/Connection.cpp +0 -155
  704. data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +0 -61
  705. data/dist/ice/cpp/src/Ice/generated/Current.cpp +0 -62
  706. data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +0 -147
  707. data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +0 -61
  708. data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +0 -49
  709. data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +0 -75
  710. data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +0 -61
  711. data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +0 -188
  712. data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +0 -66
  713. data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +0 -3262
  714. data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +0 -63
  715. data/dist/ice/cpp/src/Ice/generated/Logger.cpp +0 -73
  716. data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +0 -61
  717. data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +0 -79
  718. data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +0 -61
  719. data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +0 -75
  720. data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +0 -87
  721. data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +0 -61
  722. data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +0 -63
  723. data/dist/ice/cpp/src/Ice/generated/Properties.cpp +0 -78
  724. data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +0 -63
  725. data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +0 -63
  726. data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +0 -75
  727. data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +0 -61
  728. data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +0 -83
  729. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.cpp +0 -154
  730. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.h +0 -49
  731. data/dist/ice/cpp/src/Ice/ios/StreamConnector.cpp +0 -146
  732. data/dist/ice/cpp/src/Ice/ios/StreamConnector.h +0 -52
  733. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.cpp +0 -477
  734. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.h +0 -156
  735. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.cpp +0 -570
  736. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.h +0 -93
  737. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +0 -1889
  738. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +0 -915
  739. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  740. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +0 -730
  741. data/dist/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
  742. data/dist/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
  743. data/dist/ice/cpp/src/IceSSL/CertificateI.cpp +0 -301
  744. data/dist/ice/cpp/src/IceSSL/CertificateI.h +0 -64
  745. data/dist/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -102
  746. data/dist/ice/cpp/src/IceSSL/ConnectorI.h +0 -44
  747. data/dist/ice/cpp/src/IceSSL/EndpointI.cpp +0 -372
  748. data/dist/ice/cpp/src/IceSSL/EndpointI.h +0 -100
  749. data/dist/ice/cpp/src/IceSSL/Instance.cpp +0 -28
  750. data/dist/ice/cpp/src/IceSSL/Instance.h +0 -37
  751. data/dist/ice/cpp/src/IceSSL/InstanceF.h +0 -33
  752. data/dist/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -688
  753. data/dist/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -1147
  754. data/dist/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -59
  755. data/dist/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -27
  756. data/dist/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -127
  757. data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  758. data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -90
  759. data/dist/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -288
  760. data/dist/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -58
  761. data/dist/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  762. data/dist/ice/cpp/src/IceSSL/PluginI.h +0 -67
  763. data/dist/ice/cpp/src/IceSSL/RFC2253.h +0 -62
  764. data/dist/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -721
  765. data/dist/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -1283
  766. data/dist/ice/cpp/src/IceSSL/SChannelEngine.h +0 -123
  767. data/dist/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -31
  768. data/dist/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -73
  769. data/dist/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -1174
  770. data/dist/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -133
  771. data/dist/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -313
  772. data/dist/ice/cpp/src/IceSSL/SSLEngine.h +0 -100
  773. data/dist/ice/cpp/src/IceSSL/SSLEngineF.h +0 -21
  774. data/dist/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -999
  775. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -1308
  776. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -59
  777. data/dist/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -29
  778. data/dist/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -75
  779. data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  780. data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -92
  781. data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  782. data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -45
  783. data/dist/ice/cpp/src/IceSSL/TrustManager.cpp +0 -236
  784. data/dist/ice/cpp/src/IceSSL/TrustManager.h +0 -46
  785. data/dist/ice/cpp/src/IceSSL/TrustManagerF.h +0 -21
  786. data/dist/ice/cpp/src/IceSSL/Util.cpp +0 -192
  787. data/dist/ice/cpp/src/IceSSL/Util.h +0 -99
  788. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +0 -75
  789. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +0 -61
  790. data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +0 -75
  791. data/dist/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -472
  792. data/dist/ice/cpp/src/IceUtil/ConvertUTF.h +0 -147
  793. data/dist/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -259
  794. data/dist/ice/cpp/src/IceUtil/FileUtil.cpp +0 -471
  795. data/dist/ice/cpp/src/IceUtil/InputUtil.cpp +0 -36
  796. data/dist/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -19
  797. data/dist/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -609
  798. data/dist/ice/cpp/src/IceUtil/Random.cpp +0 -180
  799. data/dist/ice/cpp/src/IceUtil/RecMutex.cpp +0 -238
  800. data/dist/ice/cpp/src/IceUtil/Shared.cpp +0 -71
  801. data/dist/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  802. data/dist/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1135
  803. data/dist/ice/cpp/src/IceUtil/ThreadException.cpp +0 -130
  804. data/dist/ice/cpp/src/IceUtil/Time.cpp +0 -307
  805. data/dist/ice/cpp/src/IceUtil/UUID.cpp +0 -165
  806. data/dist/ice/cpp/src/IceUtil/Unicode.cpp +0 -183
  807. data/dist/ice/cpp/src/IceUtil/Unicode.h +0 -43
  808. data/dist/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
  809. data/dist/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -1810
  810. data/dist/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -72
  811. data/dist/ice/cpp/src/Slice/Checksum.cpp +0 -447
  812. data/dist/ice/cpp/src/Slice/Checksum.h +0 -21
  813. data/dist/ice/cpp/src/Slice/JavaUtil.cpp +0 -5183
  814. data/dist/ice/cpp/src/Slice/JavaUtil.h +0 -407
  815. data/dist/ice/cpp/src/Slice/MD5.cpp +0 -52
  816. data/dist/ice/cpp/src/Slice/MD5.h +0 -39
  817. data/dist/ice/cpp/src/Slice/MD5I.cpp +0 -393
  818. data/dist/ice/cpp/src/Slice/MD5I.h +0 -91
  819. data/dist/ice/cpp/src/Slice/PHPUtil.cpp +0 -157
  820. data/dist/ice/cpp/src/Slice/PHPUtil.h +0 -36
  821. data/dist/ice/cpp/src/Slice/Python.cpp +0 -830
  822. data/dist/ice/cpp/src/Slice/PythonUtil.cpp +0 -3439
  823. data/dist/ice/cpp/src/Slice/PythonUtil.h +0 -70
  824. data/dist/ice/cpp/src/Slice/Ruby.cpp +0 -350
  825. data/dist/ice/cpp/src/Slice/RubyUtil.cpp +0 -1571
  826. data/dist/ice/cpp/src/Slice/RubyUtil.h +0 -49
  827. data/dist/ice/slice/Glacier2/PermissionsVerifierF.ice +0 -30
  828. data/dist/ice/slice/Glacier2/RouterF.ice +0 -29
  829. data/dist/ice/slice/Ice/Communicator.ice +0 -676
  830. data/dist/ice/slice/Ice/CommunicatorF.ice +0 -31
  831. data/dist/ice/slice/Ice/Connection.ice +0 -516
  832. data/dist/ice/slice/Ice/ConnectionF.ice +0 -33
  833. data/dist/ice/slice/Ice/Current.ice +0 -170
  834. data/dist/ice/slice/Ice/Endpoint.ice +0 -291
  835. data/dist/ice/slice/Ice/EndpointF.ice +0 -43
  836. data/dist/ice/slice/Ice/FacetMap.ice +0 -36
  837. data/dist/ice/slice/Ice/ImplicitContext.ice +0 -119
  838. data/dist/ice/slice/Ice/ImplicitContextF.ice +0 -30
  839. data/dist/ice/slice/Ice/Instrumentation.ice +0 -509
  840. data/dist/ice/slice/Ice/InstrumentationF.ice +0 -38
  841. data/dist/ice/slice/Ice/LocalException.ice +0 -1040
  842. data/dist/ice/slice/Ice/LocatorF.ice +0 -32
  843. data/dist/ice/slice/Ice/Logger.ice +0 -99
  844. data/dist/ice/slice/Ice/LoggerF.ice +0 -31
  845. data/dist/ice/slice/Ice/ObjectAdapter.ice +0 -710
  846. data/dist/ice/slice/Ice/ObjectAdapterF.ice +0 -31
  847. data/dist/ice/slice/Ice/ObjectFactory.ice +0 -71
  848. data/dist/ice/slice/Ice/Plugin.ice +0 -131
  849. data/dist/ice/slice/Ice/PluginF.ice +0 -36
  850. data/dist/ice/slice/Ice/ProcessF.ice +0 -31
  851. data/dist/ice/slice/Ice/Properties.ice +0 -244
  852. data/dist/ice/slice/Ice/PropertiesF.ice +0 -32
  853. data/dist/ice/slice/Ice/RouterF.ice +0 -31
  854. data/dist/ice/slice/Ice/ServantLocator.ice +0 -136
  855. data/dist/ice/slice/Ice/ServantLocatorF.ice +0 -31
  856. data/dist/ice/slice/Ice/ValueFactory.ice +0 -133
  857. data/dist/ice/slice/IceBox/IceBox.ice +0 -216
  858. data/dist/ice/slice/IceGrid/PluginFacade.ice +0 -329
  859. data/dist/ice/slice/IcePatch2/FileInfo.ice +0 -85
  860. data/dist/ice/slice/IcePatch2/FileServer.ice +0 -191
  861. data/dist/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  862. data/dist/lib/Glacier2/RouterF.rb +0 -25
  863. data/dist/lib/Ice/Communicator.rb +0 -87
  864. data/dist/lib/Ice/CommunicatorF.rb +0 -24
  865. data/dist/lib/Ice/Connection.rb +0 -413
  866. data/dist/lib/Ice/ConnectionF.rb +0 -32
  867. data/dist/lib/Ice/Current.rb +0 -141
  868. data/dist/lib/Ice/Endpoint.rb +0 -187
  869. data/dist/lib/Ice/EndpointF.rb +0 -48
  870. data/dist/lib/Ice/FacetMap.rb +0 -24
  871. data/dist/lib/Ice/ImplicitContext.rb +0 -26
  872. data/dist/lib/Ice/ImplicitContextF.rb +0 -24
  873. data/dist/lib/Ice/Instrumentation.rb +0 -169
  874. data/dist/lib/Ice/InstrumentationF.rb +0 -31
  875. data/dist/lib/Ice/LocalException.rb +0 -1031
  876. data/dist/lib/Ice/LocatorF.rb +0 -30
  877. data/dist/lib/Ice/Logger.rb +0 -24
  878. data/dist/lib/Ice/LoggerF.rb +0 -24
  879. data/dist/lib/Ice/ObjectAdapter.rb +0 -29
  880. data/dist/lib/Ice/ObjectAdapterF.rb +0 -24
  881. data/dist/lib/Ice/ObjectFactory.rb +0 -24
  882. data/dist/lib/Ice/Plugin.rb +0 -30
  883. data/dist/lib/Ice/PluginF.rb +0 -28
  884. data/dist/lib/Ice/ProcessF.rb +0 -25
  885. data/dist/lib/Ice/Properties.rb +0 -25
  886. data/dist/lib/Ice/PropertiesF.rb +0 -29
  887. data/dist/lib/Ice/RouterF.rb +0 -25
  888. data/dist/lib/Ice/ServantLocator.rb +0 -26
  889. data/dist/lib/Ice/ServantLocatorF.rb +0 -24
  890. data/dist/lib/Ice/ValueFactory.rb +0 -28
  891. data/dist/lib/IceBox/IceBox.rb +0 -164
  892. data/dist/lib/IceGrid/PluginFacade.rb +0 -35
  893. data/dist/lib/IcePatch2/FileInfo.rb +0 -115
  894. data/dist/lib/IcePatch2/FileServer.rb +0 -123
  895. data/dist/lib/IcePatch2.rb +0 -5
@@ -1,3269 +0,0 @@
1
- //
2
- // Copyright (c) ZeroC, Inc. All rights reserved.
3
- //
4
- //
5
- // Ice version 3.7.11
6
- //
7
- // <auto-generated>
8
- //
9
- // Generated from file `IceBox.ice'
10
- //
11
- // Warning: do not edit this file.
12
- //
13
- // </auto-generated>
14
- //
15
-
16
- #ifndef __IceBox_IceBox_h__
17
- #define __IceBox_IceBox_h__
18
-
19
- #include <IceUtil/PushDisableWarnings.h>
20
- #include <Ice/ProxyF.h>
21
- #include <Ice/ObjectF.h>
22
- #include <Ice/ValueF.h>
23
- #include <Ice/Exception.h>
24
- #include <Ice/LocalObject.h>
25
- #include <Ice/StreamHelpers.h>
26
- #include <Ice/Comparable.h>
27
- #include <Ice/Proxy.h>
28
- #include <Ice/Object.h>
29
- #include <Ice/GCObject.h>
30
- #include <Ice/Value.h>
31
- #include <Ice/Incoming.h>
32
- #include <Ice/FactoryTableInit.h>
33
- #include <IceUtil/ScopedArray.h>
34
- #include <Ice/Optional.h>
35
- #include <Ice/ExceptionHelpers.h>
36
- #include <Ice/BuiltinSequences.h>
37
- #include <Ice/CommunicatorF.h>
38
- #include <Ice/PropertiesF.h>
39
- #include <Ice/SliceChecksumDict.h>
40
- #include <IceUtil/UndefSysMacros.h>
41
- #include <IceBox/Config.h>
42
-
43
- #ifndef ICE_IGNORE_VERSION
44
- # if ICE_INT_VERSION / 100 != 307
45
- # error Ice version mismatch!
46
- # endif
47
- # if ICE_INT_VERSION % 100 >= 50
48
- # error Beta header file detected
49
- # endif
50
- # if ICE_INT_VERSION % 100 < 11
51
- # error Ice patch level mismatch!
52
- # endif
53
- #endif
54
-
55
- #ifndef ICEBOX_API
56
- # if defined(ICE_STATIC_LIBS)
57
- # define ICEBOX_API /**/
58
- # elif defined(ICEBOX_API_EXPORTS)
59
- # define ICEBOX_API ICE_DECLSPEC_EXPORT
60
- # else
61
- # define ICEBOX_API ICE_DECLSPEC_IMPORT
62
- # endif
63
- #endif
64
-
65
- #ifdef ICE_CPP11_MAPPING // C++11 mapping
66
-
67
- namespace IceBox
68
- {
69
-
70
- class Service;
71
- class ServiceObserver;
72
- class ServiceObserverPrx;
73
- class ServiceManager;
74
- class ServiceManagerPrx;
75
-
76
- }
77
-
78
- namespace IceBox
79
- {
80
-
81
- /**
82
- * This exception is a general failure notification. It is thrown
83
- * for errors such as a service encountering an error during
84
- * initialization, or the service manager being unable
85
- * to load a service executable.
86
- * \headerfile IceBox/IceBox.h
87
- */
88
- class ICE_CLASS(ICEBOX_API) FailureException : public ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>
89
- {
90
- public:
91
-
92
- ICE_MEMBER(ICEBOX_API) virtual ~FailureException();
93
-
94
- FailureException(const FailureException&) = default;
95
-
96
- /**
97
- * The file and line number are required for all local exceptions.
98
- * @param file The file name in which the exception was raised, typically __FILE__.
99
- * @param line The line number at which the exception was raised, typically __LINE__.
100
- */
101
- FailureException(const char* file, int line) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line)
102
- {
103
- }
104
-
105
- /**
106
- * One-shot constructor to initialize all data members.
107
- * The file and line number are required for all local exceptions.
108
- * @param file The file name in which the exception was raised, typically __FILE__.
109
- * @param line The line number at which the exception was raised, typically __LINE__.
110
- * @param reason The reason for the failure.
111
- */
112
- FailureException(const char* file, int line, const ::std::string& reason) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line),
113
- reason(reason)
114
- {
115
- }
116
-
117
- /**
118
- * Obtains a tuple containing all of the exception's data members.
119
- * @return The data members in a tuple.
120
- */
121
- std::tuple<const ::std::string&> ice_tuple() const
122
- {
123
- return std::tie(reason);
124
- }
125
-
126
- /**
127
- * Obtains the Slice type ID of this exception.
128
- * @return The fully-scoped type ID.
129
- */
130
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
131
- /**
132
- * Prints this exception to the given stream.
133
- * @param stream The target stream.
134
- */
135
- ICE_MEMBER(ICEBOX_API) virtual void ice_print(::std::ostream& stream) const override;
136
-
137
- /**
138
- * The reason for the failure.
139
- */
140
- ::std::string reason;
141
- };
142
-
143
- /**
144
- * This exception is thrown if an attempt is made to start an
145
- * already-started service.
146
- * \headerfile IceBox/IceBox.h
147
- */
148
- class ICE_CLASS(ICEBOX_API) AlreadyStartedException : public ::Ice::UserExceptionHelper<AlreadyStartedException, ::Ice::UserException>
149
- {
150
- public:
151
-
152
- ICE_MEMBER(ICEBOX_API) virtual ~AlreadyStartedException();
153
-
154
- AlreadyStartedException(const AlreadyStartedException&) = default;
155
-
156
- AlreadyStartedException() = default;
157
-
158
- /**
159
- * Obtains a tuple containing all of the exception's data members.
160
- * @return The data members in a tuple.
161
- */
162
- std::tuple<> ice_tuple() const
163
- {
164
- return std::tie();
165
- }
166
-
167
- /**
168
- * Obtains the Slice type ID of this exception.
169
- * @return The fully-scoped type ID.
170
- */
171
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
172
- };
173
-
174
- /// \cond INTERNAL
175
- static AlreadyStartedException _iceS_AlreadyStartedException_init;
176
- /// \endcond
177
-
178
- /**
179
- * This exception is thrown if an attempt is made to stop an
180
- * already-stopped service.
181
- * \headerfile IceBox/IceBox.h
182
- */
183
- class ICE_CLASS(ICEBOX_API) AlreadyStoppedException : public ::Ice::UserExceptionHelper<AlreadyStoppedException, ::Ice::UserException>
184
- {
185
- public:
186
-
187
- ICE_MEMBER(ICEBOX_API) virtual ~AlreadyStoppedException();
188
-
189
- AlreadyStoppedException(const AlreadyStoppedException&) = default;
190
-
191
- AlreadyStoppedException() = default;
192
-
193
- /**
194
- * Obtains a tuple containing all of the exception's data members.
195
- * @return The data members in a tuple.
196
- */
197
- std::tuple<> ice_tuple() const
198
- {
199
- return std::tie();
200
- }
201
-
202
- /**
203
- * Obtains the Slice type ID of this exception.
204
- * @return The fully-scoped type ID.
205
- */
206
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
207
- };
208
-
209
- /**
210
- * This exception is thrown if a service name does not refer
211
- * to an existing service.
212
- * \headerfile IceBox/IceBox.h
213
- */
214
- class ICE_CLASS(ICEBOX_API) NoSuchServiceException : public ::Ice::UserExceptionHelper<NoSuchServiceException, ::Ice::UserException>
215
- {
216
- public:
217
-
218
- ICE_MEMBER(ICEBOX_API) virtual ~NoSuchServiceException();
219
-
220
- NoSuchServiceException(const NoSuchServiceException&) = default;
221
-
222
- NoSuchServiceException() = default;
223
-
224
- /**
225
- * Obtains a tuple containing all of the exception's data members.
226
- * @return The data members in a tuple.
227
- */
228
- std::tuple<> ice_tuple() const
229
- {
230
- return std::tie();
231
- }
232
-
233
- /**
234
- * Obtains the Slice type ID of this exception.
235
- * @return The fully-scoped type ID.
236
- */
237
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
238
- };
239
-
240
- }
241
-
242
- namespace IceBox
243
- {
244
-
245
- /**
246
- * An application service managed by a {@link ServiceManager}.
247
- * \headerfile IceBox/IceBox.h
248
- */
249
- class ICE_CLASS(ICEBOX_API) Service
250
- {
251
- public:
252
-
253
- ICE_MEMBER(ICEBOX_API) virtual ~Service();
254
-
255
- /**
256
- * Start the service. The given communicator is created by the
257
- * {@link ServiceManager} for use by the service. This communicator may
258
- * also be used by other services, depending on the service
259
- * configuration.
260
- *
261
- * <p class="Note">The {@link ServiceManager} owns this communicator, and is
262
- * responsible for destroying it.
263
- * @param name The service's name, as determined by the
264
- * configuration.
265
- * @param communicator A communicator for use by the service.
266
- * @param args The service arguments that were not converted into
267
- * properties.
268
- * @throws IceBox::FailureException Raised if {@link #start} failed.
269
- */
270
- virtual void start(const ::std::string& name, const ::std::shared_ptr<::Ice::Communicator>& communicator, const ::Ice::StringSeq& args) = 0;
271
-
272
- /**
273
- * Stop the service.
274
- */
275
- virtual void stop() = 0;
276
- };
277
-
278
- }
279
-
280
- namespace IceBox
281
- {
282
-
283
- /**
284
- * An Observer interface implemented by admin clients interested in the status
285
- * of services.
286
- * @see ServiceManager
287
- * \headerfile IceBox/IceBox.h
288
- */
289
- class ICEBOX_API ServiceObserver : public virtual ::Ice::Object
290
- {
291
- public:
292
-
293
- using ProxyType = ServiceObserverPrx;
294
-
295
- /**
296
- * Determines whether this object supports an interface with the given Slice type ID.
297
- * @param id The fully-scoped Slice type ID.
298
- * @param current The Current object for the invocation.
299
- * @return True if this object supports the interface, false, otherwise.
300
- */
301
- virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
302
-
303
- /**
304
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
305
- * @param current The Current object for the invocation.
306
- * @return A list of fully-scoped type IDs.
307
- */
308
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
309
-
310
- /**
311
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
312
- * @param current The Current object for the invocation.
313
- * @return A fully-scoped type ID.
314
- */
315
- virtual ::std::string ice_id(const ::Ice::Current& current) const override;
316
-
317
- /**
318
- * Obtains the Slice type ID corresponding to this class.
319
- * @return A fully-scoped type ID.
320
- */
321
- static const ::std::string& ice_staticId();
322
-
323
- /**
324
- * Receives the names of the services that were started.
325
- * @param services The names of the services.
326
- * @param current The Current object for the invocation.
327
- */
328
- virtual void servicesStarted(::Ice::StringSeq services, const ::Ice::Current& current) = 0;
329
- /// \cond INTERNAL
330
- bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
331
- /// \endcond
332
-
333
- /**
334
- * Receives the names of the services that were stopped.
335
- * @param services The names of the services.
336
- * @param current The Current object for the invocation.
337
- */
338
- virtual void servicesStopped(::Ice::StringSeq services, const ::Ice::Current& current) = 0;
339
- /// \cond INTERNAL
340
- bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
341
- /// \endcond
342
-
343
- /// \cond INTERNAL
344
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
345
- /// \endcond
346
- };
347
-
348
- /**
349
- * Administers a set of {@link Service} instances.
350
- * @see Service
351
- * \headerfile IceBox/IceBox.h
352
- */
353
- class ICEBOX_API ServiceManager : public virtual ::Ice::Object
354
- {
355
- public:
356
-
357
- using ProxyType = ServiceManagerPrx;
358
-
359
- /**
360
- * Determines whether this object supports an interface with the given Slice type ID.
361
- * @param id The fully-scoped Slice type ID.
362
- * @param current The Current object for the invocation.
363
- * @return True if this object supports the interface, false, otherwise.
364
- */
365
- virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
366
-
367
- /**
368
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
369
- * @param current The Current object for the invocation.
370
- * @return A list of fully-scoped type IDs.
371
- */
372
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
373
-
374
- /**
375
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
376
- * @param current The Current object for the invocation.
377
- * @return A fully-scoped type ID.
378
- */
379
- virtual ::std::string ice_id(const ::Ice::Current& current) const override;
380
-
381
- /**
382
- * Obtains the Slice type ID corresponding to this class.
383
- * @return A fully-scoped type ID.
384
- */
385
- static const ::std::string& ice_staticId();
386
-
387
- /**
388
- * Returns the checksums for the IceBox Slice definitions.
389
- * @param current The Current object for the invocation.
390
- * @return A dictionary mapping Slice type ids to their checksums.
391
- */
392
- virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current) const = 0;
393
- /// \cond INTERNAL
394
- bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
395
- /// \endcond
396
-
397
- /**
398
- * Start an individual service.
399
- * @param service The service name.
400
- * @param current The Current object for the invocation.
401
- * @throws IceBox::AlreadyStartedException If the service is already running.
402
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
403
- */
404
- virtual void startService(::std::string service, const ::Ice::Current& current) = 0;
405
- /// \cond INTERNAL
406
- bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
407
- /// \endcond
408
-
409
- /**
410
- * Stop an individual service.
411
- * @param service The service name.
412
- * @param current The Current object for the invocation.
413
- * @throws IceBox::AlreadyStoppedException If the service is already stopped.
414
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
415
- */
416
- virtual void stopService(::std::string service, const ::Ice::Current& current) = 0;
417
- /// \cond INTERNAL
418
- bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
419
- /// \endcond
420
-
421
- /**
422
- * Registers a new observer with the ServiceManager.
423
- * @param observer The new observer
424
- * @param current The Current object for the invocation.
425
- */
426
- virtual void addObserver(::std::shared_ptr<ServiceObserverPrx> observer, const ::Ice::Current& current) = 0;
427
- /// \cond INTERNAL
428
- bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
429
- /// \endcond
430
-
431
- /**
432
- * Shut down all services. This causes stop to be invoked on all configured services.
433
- * @param current The Current object for the invocation.
434
- */
435
- virtual void shutdown(const ::Ice::Current& current) = 0;
436
- /// \cond INTERNAL
437
- bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
438
- /// \endcond
439
-
440
- /// \cond INTERNAL
441
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
442
- /// \endcond
443
- };
444
-
445
- }
446
-
447
- namespace IceBox
448
- {
449
-
450
- /**
451
- * An Observer interface implemented by admin clients interested in the status
452
- * of services.
453
- * @see ServiceManager
454
- * \headerfile IceBox/IceBox.h
455
- */
456
- class ICE_CLASS(ICEBOX_API) ServiceObserverPrx : public virtual ::Ice::Proxy<ServiceObserverPrx, ::Ice::ObjectPrx>
457
- {
458
- public:
459
-
460
- /**
461
- * Receives the names of the services that were started.
462
- * @param services The names of the services.
463
- * @param context The Context map to send with the invocation.
464
- */
465
- void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
466
- {
467
- _makePromiseOutgoing<void>(true, this, &ServiceObserverPrx::_iceI_servicesStarted, services, context).get();
468
- }
469
-
470
- /**
471
- * Receives the names of the services that were started.
472
- * @param services The names of the services.
473
- * @param context The Context map to send with the invocation.
474
- * @return The future object for the invocation.
475
- */
476
- template<template<typename> class P = ::std::promise>
477
- auto servicesStartedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
478
- -> decltype(::std::declval<P<void>>().get_future())
479
- {
480
- return _makePromiseOutgoing<void, P>(false, this, &ServiceObserverPrx::_iceI_servicesStarted, services, context);
481
- }
482
-
483
- /**
484
- * Receives the names of the services that were started.
485
- * @param services The names of the services.
486
- * @param response The response callback.
487
- * @param ex The exception callback.
488
- * @param sent The sent callback.
489
- * @param context The Context map to send with the invocation.
490
- * @return A function that can be called to cancel the invocation locally.
491
- */
492
- ::std::function<void()>
493
- servicesStartedAsync(const ::Ice::StringSeq& services,
494
- ::std::function<void()> response,
495
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
496
- ::std::function<void(bool)> sent = nullptr,
497
- const ::Ice::Context& context = ::Ice::noExplicitContext)
498
- {
499
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceObserverPrx::_iceI_servicesStarted, services, context);
500
- }
501
-
502
- /// \cond INTERNAL
503
- ICE_MEMBER(ICEBOX_API) void _iceI_servicesStarted(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
504
- /// \endcond
505
-
506
- /**
507
- * Receives the names of the services that were stopped.
508
- * @param services The names of the services.
509
- * @param context The Context map to send with the invocation.
510
- */
511
- void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
512
- {
513
- _makePromiseOutgoing<void>(true, this, &ServiceObserverPrx::_iceI_servicesStopped, services, context).get();
514
- }
515
-
516
- /**
517
- * Receives the names of the services that were stopped.
518
- * @param services The names of the services.
519
- * @param context The Context map to send with the invocation.
520
- * @return The future object for the invocation.
521
- */
522
- template<template<typename> class P = ::std::promise>
523
- auto servicesStoppedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
524
- -> decltype(::std::declval<P<void>>().get_future())
525
- {
526
- return _makePromiseOutgoing<void, P>(false, this, &ServiceObserverPrx::_iceI_servicesStopped, services, context);
527
- }
528
-
529
- /**
530
- * Receives the names of the services that were stopped.
531
- * @param services The names of the services.
532
- * @param response The response callback.
533
- * @param ex The exception callback.
534
- * @param sent The sent callback.
535
- * @param context The Context map to send with the invocation.
536
- * @return A function that can be called to cancel the invocation locally.
537
- */
538
- ::std::function<void()>
539
- servicesStoppedAsync(const ::Ice::StringSeq& services,
540
- ::std::function<void()> response,
541
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
542
- ::std::function<void(bool)> sent = nullptr,
543
- const ::Ice::Context& context = ::Ice::noExplicitContext)
544
- {
545
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceObserverPrx::_iceI_servicesStopped, services, context);
546
- }
547
-
548
- /// \cond INTERNAL
549
- ICE_MEMBER(ICEBOX_API) void _iceI_servicesStopped(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
550
- /// \endcond
551
-
552
- /**
553
- * Obtains the Slice type ID of this interface.
554
- * @return The fully-scoped type ID.
555
- */
556
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
557
-
558
- protected:
559
-
560
- /// \cond INTERNAL
561
- ServiceObserverPrx() = default;
562
- friend ::std::shared_ptr<ServiceObserverPrx> IceInternal::createProxy<ServiceObserverPrx>();
563
-
564
- ICE_MEMBER(ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
565
- /// \endcond
566
- };
567
-
568
- /**
569
- * Administers a set of {@link Service} instances.
570
- * @see Service
571
- * \headerfile IceBox/IceBox.h
572
- */
573
- class ICE_CLASS(ICEBOX_API) ServiceManagerPrx : public virtual ::Ice::Proxy<ServiceManagerPrx, ::Ice::ObjectPrx>
574
- {
575
- public:
576
-
577
- /**
578
- * Returns the checksums for the IceBox Slice definitions.
579
- * @param context The Context map to send with the invocation.
580
- * @return A dictionary mapping Slice type ids to their checksums.
581
- */
582
- ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
583
- {
584
- return _makePromiseOutgoing<::Ice::SliceChecksumDict>(true, this, &ServiceManagerPrx::_iceI_getSliceChecksums, context).get();
585
- }
586
-
587
- /**
588
- * Returns the checksums for the IceBox Slice definitions.
589
- * @param context The Context map to send with the invocation.
590
- * @return The future object for the invocation.
591
- */
592
- template<template<typename> class P = ::std::promise>
593
- auto getSliceChecksumsAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
594
- -> decltype(::std::declval<P<::Ice::SliceChecksumDict>>().get_future())
595
- {
596
- return _makePromiseOutgoing<::Ice::SliceChecksumDict, P>(false, this, &ServiceManagerPrx::_iceI_getSliceChecksums, context);
597
- }
598
-
599
- /**
600
- * Returns the checksums for the IceBox Slice definitions.
601
- * @param response The response callback.
602
- * @param ex The exception callback.
603
- * @param sent The sent callback.
604
- * @param context The Context map to send with the invocation.
605
- * @return A function that can be called to cancel the invocation locally.
606
- */
607
- ::std::function<void()>
608
- getSliceChecksumsAsync(::std::function<void(::Ice::SliceChecksumDict)> response,
609
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
610
- ::std::function<void(bool)> sent = nullptr,
611
- const ::Ice::Context& context = ::Ice::noExplicitContext)
612
- {
613
- return _makeLambdaOutgoing<::Ice::SliceChecksumDict>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_getSliceChecksums, context);
614
- }
615
-
616
- /// \cond INTERNAL
617
- ICE_MEMBER(ICEBOX_API) void _iceI_getSliceChecksums(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::SliceChecksumDict>>&, const ::Ice::Context&);
618
- /// \endcond
619
-
620
- /**
621
- * Start an individual service.
622
- * @param service The service name.
623
- * @param context The Context map to send with the invocation.
624
- * @throws IceBox::AlreadyStartedException If the service is already running.
625
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
626
- */
627
- void startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
628
- {
629
- _makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_startService, service, context).get();
630
- }
631
-
632
- /**
633
- * Start an individual service.
634
- * @param service The service name.
635
- * @param context The Context map to send with the invocation.
636
- * @return The future object for the invocation.
637
- */
638
- template<template<typename> class P = ::std::promise>
639
- auto startServiceAsync(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
640
- -> decltype(::std::declval<P<void>>().get_future())
641
- {
642
- return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_startService, service, context);
643
- }
644
-
645
- /**
646
- * Start an individual service.
647
- * @param service The service name.
648
- * @param response The response callback.
649
- * @param ex The exception callback.
650
- * @param sent The sent callback.
651
- * @param context The Context map to send with the invocation.
652
- * @return A function that can be called to cancel the invocation locally.
653
- */
654
- ::std::function<void()>
655
- startServiceAsync(const ::std::string& service,
656
- ::std::function<void()> response,
657
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
658
- ::std::function<void(bool)> sent = nullptr,
659
- const ::Ice::Context& context = ::Ice::noExplicitContext)
660
- {
661
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_startService, service, context);
662
- }
663
-
664
- /// \cond INTERNAL
665
- ICE_MEMBER(ICEBOX_API) void _iceI_startService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
666
- /// \endcond
667
-
668
- /**
669
- * Stop an individual service.
670
- * @param service The service name.
671
- * @param context The Context map to send with the invocation.
672
- * @throws IceBox::AlreadyStoppedException If the service is already stopped.
673
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
674
- */
675
- void stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
676
- {
677
- _makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_stopService, service, context).get();
678
- }
679
-
680
- /**
681
- * Stop an individual service.
682
- * @param service The service name.
683
- * @param context The Context map to send with the invocation.
684
- * @return The future object for the invocation.
685
- */
686
- template<template<typename> class P = ::std::promise>
687
- auto stopServiceAsync(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
688
- -> decltype(::std::declval<P<void>>().get_future())
689
- {
690
- return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_stopService, service, context);
691
- }
692
-
693
- /**
694
- * Stop an individual service.
695
- * @param service The service name.
696
- * @param response The response callback.
697
- * @param ex The exception callback.
698
- * @param sent The sent callback.
699
- * @param context The Context map to send with the invocation.
700
- * @return A function that can be called to cancel the invocation locally.
701
- */
702
- ::std::function<void()>
703
- stopServiceAsync(const ::std::string& service,
704
- ::std::function<void()> response,
705
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
706
- ::std::function<void(bool)> sent = nullptr,
707
- const ::Ice::Context& context = ::Ice::noExplicitContext)
708
- {
709
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_stopService, service, context);
710
- }
711
-
712
- /// \cond INTERNAL
713
- ICE_MEMBER(ICEBOX_API) void _iceI_stopService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
714
- /// \endcond
715
-
716
- /**
717
- * Registers a new observer with the ServiceManager.
718
- * @param observer The new observer
719
- * @param context The Context map to send with the invocation.
720
- */
721
- void addObserver(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
722
- {
723
- _makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_addObserver, observer, context).get();
724
- }
725
-
726
- /**
727
- * Registers a new observer with the ServiceManager.
728
- * @param observer The new observer
729
- * @param context The Context map to send with the invocation.
730
- * @return The future object for the invocation.
731
- */
732
- template<template<typename> class P = ::std::promise>
733
- auto addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
734
- -> decltype(::std::declval<P<void>>().get_future())
735
- {
736
- return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_addObserver, observer, context);
737
- }
738
-
739
- /**
740
- * Registers a new observer with the ServiceManager.
741
- * @param observer The new observer
742
- * @param response The response callback.
743
- * @param ex The exception callback.
744
- * @param sent The sent callback.
745
- * @param context The Context map to send with the invocation.
746
- * @return A function that can be called to cancel the invocation locally.
747
- */
748
- ::std::function<void()>
749
- addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer,
750
- ::std::function<void()> response,
751
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
752
- ::std::function<void(bool)> sent = nullptr,
753
- const ::Ice::Context& context = ::Ice::noExplicitContext)
754
- {
755
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_addObserver, observer, context);
756
- }
757
-
758
- /// \cond INTERNAL
759
- ICE_MEMBER(ICEBOX_API) void _iceI_addObserver(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<ServiceObserverPrx>&, const ::Ice::Context&);
760
- /// \endcond
761
-
762
- /**
763
- * Shut down all services. This causes stop to be invoked on all configured services.
764
- * @param context The Context map to send with the invocation.
765
- */
766
- void shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
767
- {
768
- _makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_shutdown, context).get();
769
- }
770
-
771
- /**
772
- * Shut down all services. This causes stop to be invoked on all configured services.
773
- * @param context The Context map to send with the invocation.
774
- * @return The future object for the invocation.
775
- */
776
- template<template<typename> class P = ::std::promise>
777
- auto shutdownAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
778
- -> decltype(::std::declval<P<void>>().get_future())
779
- {
780
- return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_shutdown, context);
781
- }
782
-
783
- /**
784
- * Shut down all services. This causes stop to be invoked on all configured services.
785
- * @param response The response callback.
786
- * @param ex The exception callback.
787
- * @param sent The sent callback.
788
- * @param context The Context map to send with the invocation.
789
- * @return A function that can be called to cancel the invocation locally.
790
- */
791
- ::std::function<void()>
792
- shutdownAsync(::std::function<void()> response,
793
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
794
- ::std::function<void(bool)> sent = nullptr,
795
- const ::Ice::Context& context = ::Ice::noExplicitContext)
796
- {
797
- return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_shutdown, context);
798
- }
799
-
800
- /// \cond INTERNAL
801
- ICE_MEMBER(ICEBOX_API) void _iceI_shutdown(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
802
- /// \endcond
803
-
804
- /**
805
- * Obtains the Slice type ID of this interface.
806
- * @return The fully-scoped type ID.
807
- */
808
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
809
-
810
- protected:
811
-
812
- /// \cond INTERNAL
813
- ServiceManagerPrx() = default;
814
- friend ::std::shared_ptr<ServiceManagerPrx> IceInternal::createProxy<ServiceManagerPrx>();
815
-
816
- ICE_MEMBER(ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
817
- /// \endcond
818
- };
819
-
820
- }
821
-
822
- /// \cond STREAM
823
- namespace Ice
824
- {
825
-
826
- }
827
- /// \endcond
828
-
829
- /// \cond INTERNAL
830
- namespace IceBox
831
- {
832
-
833
- using ServicePtr = ::std::shared_ptr<Service>;
834
-
835
- using ServiceObserverPtr = ::std::shared_ptr<ServiceObserver>;
836
- using ServiceObserverPrxPtr = ::std::shared_ptr<ServiceObserverPrx>;
837
-
838
- using ServiceManagerPtr = ::std::shared_ptr<ServiceManager>;
839
- using ServiceManagerPrxPtr = ::std::shared_ptr<ServiceManagerPrx>;
840
-
841
- }
842
- /// \endcond
843
-
844
- #else // C++98 mapping
845
-
846
- namespace IceProxy
847
- {
848
-
849
- namespace IceBox
850
- {
851
-
852
- class ServiceObserver;
853
- /// \cond INTERNAL
854
- ICEBOX_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ServiceObserver>&);
855
- ICEBOX_API ::IceProxy::Ice::Object* upCast(ServiceObserver*);
856
- /// \endcond
857
-
858
- class ServiceManager;
859
- /// \cond INTERNAL
860
- ICEBOX_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ServiceManager>&);
861
- ICEBOX_API ::IceProxy::Ice::Object* upCast(ServiceManager*);
862
- /// \endcond
863
-
864
- }
865
-
866
- }
867
-
868
- namespace IceBox
869
- {
870
-
871
- class Service;
872
- /// \cond INTERNAL
873
- ICEBOX_API ::Ice::LocalObject* upCast(Service*);
874
- /// \endcond
875
- typedef ::IceInternal::Handle< Service> ServicePtr;
876
-
877
- class ServiceObserver;
878
- /// \cond INTERNAL
879
- ICEBOX_API ::Ice::Object* upCast(ServiceObserver*);
880
- /// \endcond
881
- typedef ::IceInternal::Handle< ServiceObserver> ServiceObserverPtr;
882
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceObserver> ServiceObserverPrx;
883
- typedef ServiceObserverPrx ServiceObserverPrxPtr;
884
- /// \cond INTERNAL
885
- ICEBOX_API void _icePatchObjectPtr(ServiceObserverPtr&, const ::Ice::ObjectPtr&);
886
- /// \endcond
887
-
888
- class ServiceManager;
889
- /// \cond INTERNAL
890
- ICEBOX_API ::Ice::Object* upCast(ServiceManager*);
891
- /// \endcond
892
- typedef ::IceInternal::Handle< ServiceManager> ServiceManagerPtr;
893
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceManager> ServiceManagerPrx;
894
- typedef ServiceManagerPrx ServiceManagerPrxPtr;
895
- /// \cond INTERNAL
896
- ICEBOX_API void _icePatchObjectPtr(ServiceManagerPtr&, const ::Ice::ObjectPtr&);
897
- /// \endcond
898
-
899
- }
900
-
901
- namespace IceBox
902
- {
903
-
904
- /**
905
- * This exception is a general failure notification. It is thrown
906
- * for errors such as a service encountering an error during
907
- * initialization, or the service manager being unable
908
- * to load a service executable.
909
- * \headerfile IceBox/IceBox.h
910
- */
911
- class ICEBOX_API FailureException : public ::Ice::LocalException
912
- {
913
- public:
914
-
915
- /**
916
- * The file and line number are required for all local exceptions.
917
- * @param file The file name in which the exception was raised, typically __FILE__.
918
- * @param line The line number at which the exception was raised, typically __LINE__.
919
- */
920
- FailureException(const char* file, int line);
921
- /**
922
- * One-shot constructor to initialize all data members.
923
- * The file and line number are required for all local exceptions.
924
- * @param file The file name in which the exception was raised, typically __FILE__.
925
- * @param line The line number at which the exception was raised, typically __LINE__.
926
- * @param reason The reason for the failure.
927
- */
928
- FailureException(const char* file, int line, const ::std::string& reason);
929
-
930
- #ifdef ICE_CPP11_COMPILER
931
- FailureException(const FailureException&) = default;
932
- virtual ~FailureException();
933
- #else
934
- virtual ~FailureException() throw();
935
- #endif
936
-
937
- /**
938
- * Obtains the Slice type ID of this exception.
939
- * @return The fully-scoped type ID.
940
- */
941
- virtual ::std::string ice_id() const;
942
- /**
943
- * Prints this exception to the given stream.
944
- * @param stream The target stream.
945
- */
946
- virtual void ice_print(::std::ostream& stream) const;
947
- /**
948
- * Polymorphically clones this exception.
949
- * @return A shallow copy of this exception.
950
- */
951
- virtual FailureException* ice_clone() const;
952
- /**
953
- * Throws this exception.
954
- */
955
- virtual void ice_throw() const;
956
-
957
- /**
958
- * The reason for the failure.
959
- */
960
- ::std::string reason;
961
- };
962
-
963
- /**
964
- * This exception is thrown if an attempt is made to start an
965
- * already-started service.
966
- * \headerfile IceBox/IceBox.h
967
- */
968
- class ICEBOX_API AlreadyStartedException : public ::Ice::UserException
969
- {
970
- public:
971
-
972
- AlreadyStartedException() {}
973
-
974
- #ifdef ICE_CPP11_COMPILER
975
- AlreadyStartedException(const AlreadyStartedException&) = default;
976
- virtual ~AlreadyStartedException();
977
- #else
978
- virtual ~AlreadyStartedException() throw();
979
- #endif
980
-
981
- /**
982
- * Obtains the Slice type ID of this exception.
983
- * @return The fully-scoped type ID.
984
- */
985
- virtual ::std::string ice_id() const;
986
- /**
987
- * Polymorphically clones this exception.
988
- * @return A shallow copy of this exception.
989
- */
990
- virtual AlreadyStartedException* ice_clone() const;
991
- /**
992
- * Throws this exception.
993
- */
994
- virtual void ice_throw() const;
995
-
996
- protected:
997
-
998
- /// \cond STREAM
999
- virtual void _writeImpl(::Ice::OutputStream*) const;
1000
- virtual void _readImpl(::Ice::InputStream*);
1001
- /// \endcond
1002
- };
1003
-
1004
- /// \cond INTERNAL
1005
- static AlreadyStartedException _iceS_AlreadyStartedException_init;
1006
- /// \endcond
1007
-
1008
- /**
1009
- * This exception is thrown if an attempt is made to stop an
1010
- * already-stopped service.
1011
- * \headerfile IceBox/IceBox.h
1012
- */
1013
- class ICEBOX_API AlreadyStoppedException : public ::Ice::UserException
1014
- {
1015
- public:
1016
-
1017
- AlreadyStoppedException() {}
1018
-
1019
- #ifdef ICE_CPP11_COMPILER
1020
- AlreadyStoppedException(const AlreadyStoppedException&) = default;
1021
- virtual ~AlreadyStoppedException();
1022
- #else
1023
- virtual ~AlreadyStoppedException() throw();
1024
- #endif
1025
-
1026
- /**
1027
- * Obtains the Slice type ID of this exception.
1028
- * @return The fully-scoped type ID.
1029
- */
1030
- virtual ::std::string ice_id() const;
1031
- /**
1032
- * Polymorphically clones this exception.
1033
- * @return A shallow copy of this exception.
1034
- */
1035
- virtual AlreadyStoppedException* ice_clone() const;
1036
- /**
1037
- * Throws this exception.
1038
- */
1039
- virtual void ice_throw() const;
1040
-
1041
- protected:
1042
-
1043
- /// \cond STREAM
1044
- virtual void _writeImpl(::Ice::OutputStream*) const;
1045
- virtual void _readImpl(::Ice::InputStream*);
1046
- /// \endcond
1047
- };
1048
-
1049
- /**
1050
- * This exception is thrown if a service name does not refer
1051
- * to an existing service.
1052
- * \headerfile IceBox/IceBox.h
1053
- */
1054
- class ICEBOX_API NoSuchServiceException : public ::Ice::UserException
1055
- {
1056
- public:
1057
-
1058
- NoSuchServiceException() {}
1059
-
1060
- #ifdef ICE_CPP11_COMPILER
1061
- NoSuchServiceException(const NoSuchServiceException&) = default;
1062
- virtual ~NoSuchServiceException();
1063
- #else
1064
- virtual ~NoSuchServiceException() throw();
1065
- #endif
1066
-
1067
- /**
1068
- * Obtains the Slice type ID of this exception.
1069
- * @return The fully-scoped type ID.
1070
- */
1071
- virtual ::std::string ice_id() const;
1072
- /**
1073
- * Polymorphically clones this exception.
1074
- * @return A shallow copy of this exception.
1075
- */
1076
- virtual NoSuchServiceException* ice_clone() const;
1077
- /**
1078
- * Throws this exception.
1079
- */
1080
- virtual void ice_throw() const;
1081
-
1082
- protected:
1083
-
1084
- /// \cond STREAM
1085
- virtual void _writeImpl(::Ice::OutputStream*) const;
1086
- virtual void _readImpl(::Ice::InputStream*);
1087
- /// \endcond
1088
- };
1089
-
1090
- }
1091
-
1092
- namespace IceBox
1093
- {
1094
-
1095
- /**
1096
- * Base class for asynchronous callback wrapper classes used for calls to
1097
- * IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
1098
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
1099
- */
1100
- class Callback_ServiceObserver_servicesStarted_Base : public virtual ::IceInternal::CallbackBase { };
1101
- typedef ::IceUtil::Handle< Callback_ServiceObserver_servicesStarted_Base> Callback_ServiceObserver_servicesStartedPtr;
1102
-
1103
- /**
1104
- * Base class for asynchronous callback wrapper classes used for calls to
1105
- * IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
1106
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
1107
- */
1108
- class Callback_ServiceObserver_servicesStopped_Base : public virtual ::IceInternal::CallbackBase { };
1109
- typedef ::IceUtil::Handle< Callback_ServiceObserver_servicesStopped_Base> Callback_ServiceObserver_servicesStoppedPtr;
1110
-
1111
- /**
1112
- * Base class for asynchronous callback wrapper classes used for calls to
1113
- * IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
1114
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
1115
- */
1116
- class Callback_ServiceManager_getSliceChecksums_Base : public virtual ::IceInternal::CallbackBase { };
1117
- typedef ::IceUtil::Handle< Callback_ServiceManager_getSliceChecksums_Base> Callback_ServiceManager_getSliceChecksumsPtr;
1118
-
1119
- /**
1120
- * Base class for asynchronous callback wrapper classes used for calls to
1121
- * IceProxy::IceBox::ServiceManager::begin_startService.
1122
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
1123
- */
1124
- class Callback_ServiceManager_startService_Base : public virtual ::IceInternal::CallbackBase { };
1125
- typedef ::IceUtil::Handle< Callback_ServiceManager_startService_Base> Callback_ServiceManager_startServicePtr;
1126
-
1127
- /**
1128
- * Base class for asynchronous callback wrapper classes used for calls to
1129
- * IceProxy::IceBox::ServiceManager::begin_stopService.
1130
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
1131
- */
1132
- class Callback_ServiceManager_stopService_Base : public virtual ::IceInternal::CallbackBase { };
1133
- typedef ::IceUtil::Handle< Callback_ServiceManager_stopService_Base> Callback_ServiceManager_stopServicePtr;
1134
-
1135
- /**
1136
- * Base class for asynchronous callback wrapper classes used for calls to
1137
- * IceProxy::IceBox::ServiceManager::begin_addObserver.
1138
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
1139
- */
1140
- class Callback_ServiceManager_addObserver_Base : public virtual ::IceInternal::CallbackBase { };
1141
- typedef ::IceUtil::Handle< Callback_ServiceManager_addObserver_Base> Callback_ServiceManager_addObserverPtr;
1142
-
1143
- /**
1144
- * Base class for asynchronous callback wrapper classes used for calls to
1145
- * IceProxy::IceBox::ServiceManager::begin_shutdown.
1146
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
1147
- */
1148
- class Callback_ServiceManager_shutdown_Base : public virtual ::IceInternal::CallbackBase { };
1149
- typedef ::IceUtil::Handle< Callback_ServiceManager_shutdown_Base> Callback_ServiceManager_shutdownPtr;
1150
-
1151
- }
1152
-
1153
- namespace IceProxy
1154
- {
1155
-
1156
- namespace IceBox
1157
- {
1158
-
1159
- class ICE_CLASS(ICEBOX_API) ServiceObserver : public virtual ::Ice::Proxy<ServiceObserver, ::IceProxy::Ice::Object>
1160
- {
1161
- public:
1162
-
1163
- /**
1164
- * Receives the names of the services that were started.
1165
- * @param services The names of the services.
1166
- * @param context The Context map to send with the invocation.
1167
- */
1168
- ICE_MEMBER(ICEBOX_API) void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
1169
- {
1170
- end_servicesStarted(_iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0, true));
1171
- }
1172
-
1173
- /**
1174
- * Receives the names of the services that were started.
1175
- * @param services The names of the services.
1176
- * @param context The Context map to send with the invocation.
1177
- * @return The asynchronous result object for the invocation.
1178
- */
1179
- ::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
1180
- {
1181
- return _iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0);
1182
- }
1183
-
1184
- /**
1185
- * Receives the names of the services that were started.
1186
- * @param services The names of the services.
1187
- * @param cb Asynchronous callback object.
1188
- * @param cookie User-defined data to associate with the invocation.
1189
- * @return The asynchronous result object for the invocation.
1190
- */
1191
- ::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1192
- {
1193
- return _iceI_begin_servicesStarted(services, ::Ice::noExplicitContext, cb, cookie);
1194
- }
1195
-
1196
- /**
1197
- * Receives the names of the services that were started.
1198
- * @param services The names of the services.
1199
- * @param context The Context map to send with the invocation.
1200
- * @param cb Asynchronous callback object.
1201
- * @param cookie User-defined data to associate with the invocation.
1202
- * @return The asynchronous result object for the invocation.
1203
- */
1204
- ::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1205
- {
1206
- return _iceI_begin_servicesStarted(services, context, cb, cookie);
1207
- }
1208
-
1209
- /**
1210
- * Receives the names of the services that were started.
1211
- * @param services The names of the services.
1212
- * @param cb Asynchronous callback object.
1213
- * @param cookie User-defined data to associate with the invocation.
1214
- * @return The asynchronous result object for the invocation.
1215
- */
1216
- ::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1217
- {
1218
- return _iceI_begin_servicesStarted(services, ::Ice::noExplicitContext, cb, cookie);
1219
- }
1220
-
1221
- /**
1222
- * Receives the names of the services that were started.
1223
- * @param services The names of the services.
1224
- * @param context The Context map to send with the invocation.
1225
- * @param cb Asynchronous callback object.
1226
- * @param cookie User-defined data to associate with the invocation.
1227
- * @return The asynchronous result object for the invocation.
1228
- */
1229
- ::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1230
- {
1231
- return _iceI_begin_servicesStarted(services, context, cb, cookie);
1232
- }
1233
-
1234
- /**
1235
- * Completes an invocation of begin_servicesStarted.
1236
- * @param result The asynchronous result object for the invocation.
1237
- */
1238
- ICE_MEMBER(ICEBOX_API) void end_servicesStarted(const ::Ice::AsyncResultPtr& result);
1239
-
1240
- private:
1241
-
1242
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_servicesStarted(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1243
-
1244
- public:
1245
-
1246
- /**
1247
- * Receives the names of the services that were stopped.
1248
- * @param services The names of the services.
1249
- * @param context The Context map to send with the invocation.
1250
- */
1251
- ICE_MEMBER(ICEBOX_API) void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
1252
- {
1253
- end_servicesStopped(_iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0, true));
1254
- }
1255
-
1256
- /**
1257
- * Receives the names of the services that were stopped.
1258
- * @param services The names of the services.
1259
- * @param context The Context map to send with the invocation.
1260
- * @return The asynchronous result object for the invocation.
1261
- */
1262
- ::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
1263
- {
1264
- return _iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0);
1265
- }
1266
-
1267
- /**
1268
- * Receives the names of the services that were stopped.
1269
- * @param services The names of the services.
1270
- * @param cb Asynchronous callback object.
1271
- * @param cookie User-defined data to associate with the invocation.
1272
- * @return The asynchronous result object for the invocation.
1273
- */
1274
- ::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1275
- {
1276
- return _iceI_begin_servicesStopped(services, ::Ice::noExplicitContext, cb, cookie);
1277
- }
1278
-
1279
- /**
1280
- * Receives the names of the services that were stopped.
1281
- * @param services The names of the services.
1282
- * @param context The Context map to send with the invocation.
1283
- * @param cb Asynchronous callback object.
1284
- * @param cookie User-defined data to associate with the invocation.
1285
- * @return The asynchronous result object for the invocation.
1286
- */
1287
- ::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1288
- {
1289
- return _iceI_begin_servicesStopped(services, context, cb, cookie);
1290
- }
1291
-
1292
- /**
1293
- * Receives the names of the services that were stopped.
1294
- * @param services The names of the services.
1295
- * @param cb Asynchronous callback object.
1296
- * @param cookie User-defined data to associate with the invocation.
1297
- * @return The asynchronous result object for the invocation.
1298
- */
1299
- ::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1300
- {
1301
- return _iceI_begin_servicesStopped(services, ::Ice::noExplicitContext, cb, cookie);
1302
- }
1303
-
1304
- /**
1305
- * Receives the names of the services that were stopped.
1306
- * @param services The names of the services.
1307
- * @param context The Context map to send with the invocation.
1308
- * @param cb Asynchronous callback object.
1309
- * @param cookie User-defined data to associate with the invocation.
1310
- * @return The asynchronous result object for the invocation.
1311
- */
1312
- ::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1313
- {
1314
- return _iceI_begin_servicesStopped(services, context, cb, cookie);
1315
- }
1316
-
1317
- /**
1318
- * Completes an invocation of begin_servicesStopped.
1319
- * @param result The asynchronous result object for the invocation.
1320
- */
1321
- ICE_MEMBER(ICEBOX_API) void end_servicesStopped(const ::Ice::AsyncResultPtr& result);
1322
-
1323
- private:
1324
-
1325
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_servicesStopped(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1326
-
1327
- public:
1328
-
1329
- /**
1330
- * Obtains the Slice type ID corresponding to this interface.
1331
- * @return A fully-scoped type ID.
1332
- */
1333
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
1334
-
1335
- protected:
1336
- /// \cond INTERNAL
1337
-
1338
- ICE_MEMBER(ICEBOX_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1339
- /// \endcond
1340
- };
1341
-
1342
- class ICE_CLASS(ICEBOX_API) ServiceManager : public virtual ::Ice::Proxy<ServiceManager, ::IceProxy::Ice::Object>
1343
- {
1344
- public:
1345
-
1346
- /**
1347
- * Returns the checksums for the IceBox Slice definitions.
1348
- * @param context The Context map to send with the invocation.
1349
- * @return A dictionary mapping Slice type ids to their checksums.
1350
- */
1351
- ICE_MEMBER(ICEBOX_API) ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
1352
- {
1353
- return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0, true));
1354
- }
1355
-
1356
- /**
1357
- * Returns the checksums for the IceBox Slice definitions.
1358
- * @param context The Context map to send with the invocation.
1359
- * @return The asynchronous result object for the invocation.
1360
- */
1361
- ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
1362
- {
1363
- return _iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0);
1364
- }
1365
-
1366
- /**
1367
- * Returns the checksums for the IceBox Slice definitions.
1368
- * @param cb Asynchronous callback object.
1369
- * @param cookie User-defined data to associate with the invocation.
1370
- * @return The asynchronous result object for the invocation.
1371
- */
1372
- ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1373
- {
1374
- return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
1375
- }
1376
-
1377
- /**
1378
- * Returns the checksums for the IceBox Slice definitions.
1379
- * @param context The Context map to send with the invocation.
1380
- * @param cb Asynchronous callback object.
1381
- * @param cookie User-defined data to associate with the invocation.
1382
- * @return The asynchronous result object for the invocation.
1383
- */
1384
- ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1385
- {
1386
- return _iceI_begin_getSliceChecksums(context, cb, cookie);
1387
- }
1388
-
1389
- /**
1390
- * Returns the checksums for the IceBox Slice definitions.
1391
- * @param cb Asynchronous callback object.
1392
- * @param cookie User-defined data to associate with the invocation.
1393
- * @return The asynchronous result object for the invocation.
1394
- */
1395
- ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1396
- {
1397
- return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
1398
- }
1399
-
1400
- /**
1401
- * Returns the checksums for the IceBox Slice definitions.
1402
- * @param context The Context map to send with the invocation.
1403
- * @param cb Asynchronous callback object.
1404
- * @param cookie User-defined data to associate with the invocation.
1405
- * @return The asynchronous result object for the invocation.
1406
- */
1407
- ::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1408
- {
1409
- return _iceI_begin_getSliceChecksums(context, cb, cookie);
1410
- }
1411
-
1412
- /**
1413
- * Completes an invocation of begin_getSliceChecksums.
1414
- * @param result The asynchronous result object for the invocation.
1415
- * @return A dictionary mapping Slice type ids to their checksums.
1416
- */
1417
- ICE_MEMBER(ICEBOX_API) ::Ice::SliceChecksumDict end_getSliceChecksums(const ::Ice::AsyncResultPtr& result);
1418
-
1419
- private:
1420
-
1421
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_getSliceChecksums(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1422
-
1423
- public:
1424
-
1425
- /**
1426
- * Start an individual service.
1427
- * @param service The service name.
1428
- * @param context The Context map to send with the invocation.
1429
- * @throws IceBox::AlreadyStartedException If the service is already running.
1430
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
1431
- */
1432
- ICE_MEMBER(ICEBOX_API) void startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
1433
- {
1434
- end_startService(_iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0, true));
1435
- }
1436
-
1437
- /**
1438
- * Start an individual service.
1439
- * @param service The service name.
1440
- * @param context The Context map to send with the invocation.
1441
- * @return The asynchronous result object for the invocation.
1442
- */
1443
- ::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
1444
- {
1445
- return _iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0);
1446
- }
1447
-
1448
- /**
1449
- * Start an individual service.
1450
- * @param service The service name.
1451
- * @param cb Asynchronous callback object.
1452
- * @param cookie User-defined data to associate with the invocation.
1453
- * @return The asynchronous result object for the invocation.
1454
- */
1455
- ::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1456
- {
1457
- return _iceI_begin_startService(service, ::Ice::noExplicitContext, cb, cookie);
1458
- }
1459
-
1460
- /**
1461
- * Start an individual service.
1462
- * @param service The service name.
1463
- * @param context The Context map to send with the invocation.
1464
- * @param cb Asynchronous callback object.
1465
- * @param cookie User-defined data to associate with the invocation.
1466
- * @return The asynchronous result object for the invocation.
1467
- */
1468
- ::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1469
- {
1470
- return _iceI_begin_startService(service, context, cb, cookie);
1471
- }
1472
-
1473
- /**
1474
- * Start an individual service.
1475
- * @param service The service name.
1476
- * @param cb Asynchronous callback object.
1477
- * @param cookie User-defined data to associate with the invocation.
1478
- * @return The asynchronous result object for the invocation.
1479
- */
1480
- ::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::IceBox::Callback_ServiceManager_startServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1481
- {
1482
- return _iceI_begin_startService(service, ::Ice::noExplicitContext, cb, cookie);
1483
- }
1484
-
1485
- /**
1486
- * Start an individual service.
1487
- * @param service The service name.
1488
- * @param context The Context map to send with the invocation.
1489
- * @param cb Asynchronous callback object.
1490
- * @param cookie User-defined data to associate with the invocation.
1491
- * @return The asynchronous result object for the invocation.
1492
- */
1493
- ::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_startServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1494
- {
1495
- return _iceI_begin_startService(service, context, cb, cookie);
1496
- }
1497
-
1498
- /**
1499
- * Completes an invocation of begin_startService.
1500
- * @param result The asynchronous result object for the invocation.
1501
- * @throws IceBox::AlreadyStartedException If the service is already running.
1502
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
1503
- */
1504
- ICE_MEMBER(ICEBOX_API) void end_startService(const ::Ice::AsyncResultPtr& result);
1505
-
1506
- private:
1507
-
1508
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_startService(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1509
-
1510
- public:
1511
-
1512
- /**
1513
- * Stop an individual service.
1514
- * @param service The service name.
1515
- * @param context The Context map to send with the invocation.
1516
- * @throws IceBox::AlreadyStoppedException If the service is already stopped.
1517
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
1518
- */
1519
- ICE_MEMBER(ICEBOX_API) void stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
1520
- {
1521
- end_stopService(_iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0, true));
1522
- }
1523
-
1524
- /**
1525
- * Stop an individual service.
1526
- * @param service The service name.
1527
- * @param context The Context map to send with the invocation.
1528
- * @return The asynchronous result object for the invocation.
1529
- */
1530
- ::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
1531
- {
1532
- return _iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0);
1533
- }
1534
-
1535
- /**
1536
- * Stop an individual service.
1537
- * @param service The service name.
1538
- * @param cb Asynchronous callback object.
1539
- * @param cookie User-defined data to associate with the invocation.
1540
- * @return The asynchronous result object for the invocation.
1541
- */
1542
- ::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1543
- {
1544
- return _iceI_begin_stopService(service, ::Ice::noExplicitContext, cb, cookie);
1545
- }
1546
-
1547
- /**
1548
- * Stop an individual service.
1549
- * @param service The service name.
1550
- * @param context The Context map to send with the invocation.
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_stopService(const ::std::string& service, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1556
- {
1557
- return _iceI_begin_stopService(service, context, cb, cookie);
1558
- }
1559
-
1560
- /**
1561
- * Stop an individual service.
1562
- * @param service The service name.
1563
- * @param cb Asynchronous callback object.
1564
- * @param cookie User-defined data to associate with the invocation.
1565
- * @return The asynchronous result object for the invocation.
1566
- */
1567
- ::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::IceBox::Callback_ServiceManager_stopServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1568
- {
1569
- return _iceI_begin_stopService(service, ::Ice::noExplicitContext, cb, cookie);
1570
- }
1571
-
1572
- /**
1573
- * Stop an individual service.
1574
- * @param service The service name.
1575
- * @param context The Context map to send with the invocation.
1576
- * @param cb Asynchronous callback object.
1577
- * @param cookie User-defined data to associate with the invocation.
1578
- * @return The asynchronous result object for the invocation.
1579
- */
1580
- ::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_stopServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1581
- {
1582
- return _iceI_begin_stopService(service, context, cb, cookie);
1583
- }
1584
-
1585
- /**
1586
- * Completes an invocation of begin_stopService.
1587
- * @param result The asynchronous result object for the invocation.
1588
- * @throws IceBox::AlreadyStoppedException If the service is already stopped.
1589
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
1590
- */
1591
- ICE_MEMBER(ICEBOX_API) void end_stopService(const ::Ice::AsyncResultPtr& result);
1592
-
1593
- private:
1594
-
1595
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_stopService(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1596
-
1597
- public:
1598
-
1599
- /**
1600
- * Registers a new observer with the ServiceManager.
1601
- * @param observer The new observer
1602
- * @param context The Context map to send with the invocation.
1603
- */
1604
- ICE_MEMBER(ICEBOX_API) void addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
1605
- {
1606
- end_addObserver(_iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0, true));
1607
- }
1608
-
1609
- /**
1610
- * Registers a new observer with the ServiceManager.
1611
- * @param observer The new observer
1612
- * @param context The Context map to send with the invocation.
1613
- * @return The asynchronous result object for the invocation.
1614
- */
1615
- ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
1616
- {
1617
- return _iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0);
1618
- }
1619
-
1620
- /**
1621
- * Registers a new observer with the ServiceManager.
1622
- * @param observer The new observer
1623
- * @param cb Asynchronous callback object.
1624
- * @param cookie User-defined data to associate with the invocation.
1625
- * @return The asynchronous result object for the invocation.
1626
- */
1627
- ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1628
- {
1629
- return _iceI_begin_addObserver(observer, ::Ice::noExplicitContext, cb, cookie);
1630
- }
1631
-
1632
- /**
1633
- * Registers a new observer with the ServiceManager.
1634
- * @param observer The new observer
1635
- * @param context The Context map to send with the invocation.
1636
- * @param cb Asynchronous callback object.
1637
- * @param cookie User-defined data to associate with the invocation.
1638
- * @return The asynchronous result object for the invocation.
1639
- */
1640
- ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1641
- {
1642
- return _iceI_begin_addObserver(observer, context, cb, cookie);
1643
- }
1644
-
1645
- /**
1646
- * Registers a new observer with the ServiceManager.
1647
- * @param observer The new observer
1648
- * @param cb Asynchronous callback object.
1649
- * @param cookie User-defined data to associate with the invocation.
1650
- * @return The asynchronous result object for the invocation.
1651
- */
1652
- ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::IceBox::Callback_ServiceManager_addObserverPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1653
- {
1654
- return _iceI_begin_addObserver(observer, ::Ice::noExplicitContext, cb, cookie);
1655
- }
1656
-
1657
- /**
1658
- * Registers a new observer with the ServiceManager.
1659
- * @param observer The new observer
1660
- * @param context The Context map to send with the invocation.
1661
- * @param cb Asynchronous callback object.
1662
- * @param cookie User-defined data to associate with the invocation.
1663
- * @return The asynchronous result object for the invocation.
1664
- */
1665
- ::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_addObserverPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1666
- {
1667
- return _iceI_begin_addObserver(observer, context, cb, cookie);
1668
- }
1669
-
1670
- /**
1671
- * Completes an invocation of begin_addObserver.
1672
- * @param result The asynchronous result object for the invocation.
1673
- */
1674
- ICE_MEMBER(ICEBOX_API) void end_addObserver(const ::Ice::AsyncResultPtr& result);
1675
-
1676
- private:
1677
-
1678
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_addObserver(const ::IceBox::ServiceObserverPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1679
-
1680
- public:
1681
-
1682
- /**
1683
- * Shut down all services. This causes stop to be invoked on all configured services.
1684
- * @param context The Context map to send with the invocation.
1685
- */
1686
- ICE_MEMBER(ICEBOX_API) void shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
1687
- {
1688
- end_shutdown(_iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0, true));
1689
- }
1690
-
1691
- /**
1692
- * Shut down all services. This causes stop to be invoked on all configured services.
1693
- * @param context The Context map to send with the invocation.
1694
- * @return The asynchronous result object for the invocation.
1695
- */
1696
- ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
1697
- {
1698
- return _iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0);
1699
- }
1700
-
1701
- /**
1702
- * Shut down all services. This causes stop to be invoked on all configured services.
1703
- * @param cb Asynchronous callback object.
1704
- * @param cookie User-defined data to associate with the invocation.
1705
- * @return The asynchronous result object for the invocation.
1706
- */
1707
- ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1708
- {
1709
- return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
1710
- }
1711
-
1712
- /**
1713
- * Shut down all services. This causes stop to be invoked on all configured services.
1714
- * @param context The Context map to send with the invocation.
1715
- * @param cb Asynchronous callback object.
1716
- * @param cookie User-defined data to associate with the invocation.
1717
- * @return The asynchronous result object for the invocation.
1718
- */
1719
- ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1720
- {
1721
- return _iceI_begin_shutdown(context, cb, cookie);
1722
- }
1723
-
1724
- /**
1725
- * Shut down all services. This causes stop to be invoked on all configured services.
1726
- * @param cb Asynchronous callback object.
1727
- * @param cookie User-defined data to associate with the invocation.
1728
- * @return The asynchronous result object for the invocation.
1729
- */
1730
- ::Ice::AsyncResultPtr begin_shutdown(const ::IceBox::Callback_ServiceManager_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1731
- {
1732
- return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
1733
- }
1734
-
1735
- /**
1736
- * Shut down all services. This causes stop to be invoked on all configured services.
1737
- * @param context The Context map to send with the invocation.
1738
- * @param cb Asynchronous callback object.
1739
- * @param cookie User-defined data to associate with the invocation.
1740
- * @return The asynchronous result object for the invocation.
1741
- */
1742
- ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1743
- {
1744
- return _iceI_begin_shutdown(context, cb, cookie);
1745
- }
1746
-
1747
- /**
1748
- * Completes an invocation of begin_shutdown.
1749
- * @param result The asynchronous result object for the invocation.
1750
- */
1751
- ICE_MEMBER(ICEBOX_API) void end_shutdown(const ::Ice::AsyncResultPtr& result);
1752
-
1753
- private:
1754
-
1755
- ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_shutdown(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1756
-
1757
- public:
1758
-
1759
- /**
1760
- * Obtains the Slice type ID corresponding to this interface.
1761
- * @return A fully-scoped type ID.
1762
- */
1763
- ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
1764
-
1765
- protected:
1766
- /// \cond INTERNAL
1767
-
1768
- ICE_MEMBER(ICEBOX_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1769
- /// \endcond
1770
- };
1771
-
1772
- }
1773
-
1774
- }
1775
-
1776
- namespace IceBox
1777
- {
1778
-
1779
- /**
1780
- * An application service managed by a {@link ServiceManager}.
1781
- * \headerfile IceBox/IceBox.h
1782
- */
1783
- class ICEBOX_API Service : public virtual ::Ice::LocalObject
1784
- {
1785
- public:
1786
-
1787
- typedef ServicePtr PointerType;
1788
-
1789
- virtual ~Service();
1790
-
1791
- #ifdef ICE_CPP11_COMPILER
1792
- Service() = default;
1793
- Service(const Service&) = default;
1794
- Service& operator=(const Service&) = default;
1795
- #endif
1796
-
1797
- /**
1798
- * Start the service. The given communicator is created by the
1799
- * {@link ServiceManager} for use by the service. This communicator may
1800
- * also be used by other services, depending on the service
1801
- * configuration.
1802
- *
1803
- * <p class="Note">The {@link ServiceManager} owns this communicator, and is
1804
- * responsible for destroying it.
1805
- * @param name The service's name, as determined by the
1806
- * configuration.
1807
- * @param communicator A communicator for use by the service.
1808
- * @param args The service arguments that were not converted into
1809
- * properties.
1810
- * @throws IceBox::FailureException Raised if {@link #start} failed.
1811
- */
1812
- virtual void start(const ::std::string& name, const ::Ice::CommunicatorPtr& communicator, const ::Ice::StringSeq& args) = 0;
1813
-
1814
- /**
1815
- * Stop the service.
1816
- */
1817
- virtual void stop() = 0;
1818
- };
1819
-
1820
- /// \cond INTERNAL
1821
- inline bool operator==(const Service& lhs, const Service& rhs)
1822
- {
1823
- return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
1824
- }
1825
-
1826
- inline bool operator<(const Service& lhs, const Service& rhs)
1827
- {
1828
- return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
1829
- }
1830
- /// \endcond
1831
-
1832
- /**
1833
- * An Observer interface implemented by admin clients interested in the status
1834
- * of services.
1835
- * @see ServiceManager
1836
- * \headerfile IceBox/IceBox.h
1837
- */
1838
- class ICEBOX_API ServiceObserver : public virtual ::Ice::Object
1839
- {
1840
- public:
1841
-
1842
- typedef ServiceObserverPrx ProxyType;
1843
- typedef ServiceObserverPtr PointerType;
1844
-
1845
- virtual ~ServiceObserver();
1846
-
1847
- #ifdef ICE_CPP11_COMPILER
1848
- ServiceObserver() = default;
1849
- ServiceObserver(const ServiceObserver&) = default;
1850
- ServiceObserver& operator=(const ServiceObserver&) = default;
1851
- #endif
1852
-
1853
- /**
1854
- * Determines whether this object supports an interface with the given Slice type ID.
1855
- * @param id The fully-scoped Slice type ID.
1856
- * @param current The Current object for the invocation.
1857
- * @return True if this object supports the interface, false, otherwise.
1858
- */
1859
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1860
-
1861
- /**
1862
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
1863
- * @param current The Current object for the invocation.
1864
- * @return A list of fully-scoped type IDs.
1865
- */
1866
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1867
-
1868
- /**
1869
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
1870
- * @param current The Current object for the invocation.
1871
- * @return A fully-scoped type ID.
1872
- */
1873
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1874
-
1875
- /**
1876
- * Obtains the Slice type ID corresponding to this class.
1877
- * @return A fully-scoped type ID.
1878
- */
1879
- static const ::std::string& ice_staticId();
1880
-
1881
- /**
1882
- * Receives the names of the services that were started.
1883
- * @param services The names of the services.
1884
- * @param current The Current object for the invocation.
1885
- */
1886
- virtual void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1887
- /// \cond INTERNAL
1888
- bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
1889
- /// \endcond
1890
-
1891
- /**
1892
- * Receives the names of the services that were stopped.
1893
- * @param services The names of the services.
1894
- * @param current The Current object for the invocation.
1895
- */
1896
- virtual void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1897
- /// \cond INTERNAL
1898
- bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
1899
- /// \endcond
1900
-
1901
- /// \cond INTERNAL
1902
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
1903
- /// \endcond
1904
-
1905
- protected:
1906
-
1907
- /// \cond STREAM
1908
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
1909
- virtual void _iceReadImpl(::Ice::InputStream*);
1910
- /// \endcond
1911
- };
1912
-
1913
- /// \cond INTERNAL
1914
- inline bool operator==(const ServiceObserver& lhs, const ServiceObserver& rhs)
1915
- {
1916
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
1917
- }
1918
-
1919
- inline bool operator<(const ServiceObserver& lhs, const ServiceObserver& rhs)
1920
- {
1921
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
1922
- }
1923
- /// \endcond
1924
-
1925
- /**
1926
- * Administers a set of {@link Service} instances.
1927
- * @see Service
1928
- * \headerfile IceBox/IceBox.h
1929
- */
1930
- class ICEBOX_API ServiceManager : public virtual ::Ice::Object
1931
- {
1932
- public:
1933
-
1934
- typedef ServiceManagerPrx ProxyType;
1935
- typedef ServiceManagerPtr PointerType;
1936
-
1937
- virtual ~ServiceManager();
1938
-
1939
- #ifdef ICE_CPP11_COMPILER
1940
- ServiceManager() = default;
1941
- ServiceManager(const ServiceManager&) = default;
1942
- ServiceManager& operator=(const ServiceManager&) = default;
1943
- #endif
1944
-
1945
- /**
1946
- * Determines whether this object supports an interface with the given Slice type ID.
1947
- * @param id The fully-scoped Slice type ID.
1948
- * @param current The Current object for the invocation.
1949
- * @return True if this object supports the interface, false, otherwise.
1950
- */
1951
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1952
-
1953
- /**
1954
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
1955
- * @param current The Current object for the invocation.
1956
- * @return A list of fully-scoped type IDs.
1957
- */
1958
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1959
-
1960
- /**
1961
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
1962
- * @param current The Current object for the invocation.
1963
- * @return A fully-scoped type ID.
1964
- */
1965
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
1966
-
1967
- /**
1968
- * Obtains the Slice type ID corresponding to this class.
1969
- * @return A fully-scoped type ID.
1970
- */
1971
- static const ::std::string& ice_staticId();
1972
-
1973
- /**
1974
- * Returns the checksums for the IceBox Slice definitions.
1975
- * @param current The Current object for the invocation.
1976
- * @return A dictionary mapping Slice type ids to their checksums.
1977
- */
1978
- virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
1979
- /// \cond INTERNAL
1980
- bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
1981
- /// \endcond
1982
-
1983
- /**
1984
- * Start an individual service.
1985
- * @param service The service name.
1986
- * @param current The Current object for the invocation.
1987
- * @throws IceBox::AlreadyStartedException If the service is already running.
1988
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
1989
- */
1990
- virtual void startService(const ::std::string& service, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
1991
- /// \cond INTERNAL
1992
- bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
1993
- /// \endcond
1994
-
1995
- /**
1996
- * Stop an individual service.
1997
- * @param service The service name.
1998
- * @param current The Current object for the invocation.
1999
- * @throws IceBox::AlreadyStoppedException If the service is already stopped.
2000
- * @throws IceBox::NoSuchServiceException If no service could be found with the given name.
2001
- */
2002
- virtual void stopService(const ::std::string& service, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2003
- /// \cond INTERNAL
2004
- bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
2005
- /// \endcond
2006
-
2007
- /**
2008
- * Registers a new observer with the ServiceManager.
2009
- * @param observer The new observer
2010
- * @param current The Current object for the invocation.
2011
- */
2012
- virtual void addObserver(const ServiceObserverPrx& observer, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2013
- /// \cond INTERNAL
2014
- bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
2015
- /// \endcond
2016
-
2017
- /**
2018
- * Shut down all services. This causes stop to be invoked on all configured services.
2019
- * @param current The Current object for the invocation.
2020
- */
2021
- virtual void shutdown(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2022
- /// \cond INTERNAL
2023
- bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
2024
- /// \endcond
2025
-
2026
- /// \cond INTERNAL
2027
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2028
- /// \endcond
2029
-
2030
- protected:
2031
-
2032
- /// \cond STREAM
2033
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2034
- virtual void _iceReadImpl(::Ice::InputStream*);
2035
- /// \endcond
2036
- };
2037
-
2038
- /// \cond INTERNAL
2039
- inline bool operator==(const ServiceManager& lhs, const ServiceManager& rhs)
2040
- {
2041
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2042
- }
2043
-
2044
- inline bool operator<(const ServiceManager& lhs, const ServiceManager& rhs)
2045
- {
2046
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2047
- }
2048
- /// \endcond
2049
-
2050
- }
2051
-
2052
- /// \cond STREAM
2053
- namespace Ice
2054
- {
2055
-
2056
- template<>
2057
- struct StreamableTraits< ::IceBox::AlreadyStartedException>
2058
- {
2059
- static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2060
- };
2061
-
2062
- template<>
2063
- struct StreamableTraits< ::IceBox::AlreadyStoppedException>
2064
- {
2065
- static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2066
- };
2067
-
2068
- template<>
2069
- struct StreamableTraits< ::IceBox::NoSuchServiceException>
2070
- {
2071
- static const StreamHelperCategory helper = StreamHelperCategoryUserException;
2072
- };
2073
-
2074
- }
2075
- /// \endcond
2076
-
2077
- namespace IceBox
2078
- {
2079
-
2080
- /**
2081
- * Type-safe asynchronous callback wrapper class used for calls to
2082
- * IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2083
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
2084
- */
2085
- template<class T>
2086
- class CallbackNC_ServiceObserver_servicesStarted : public Callback_ServiceObserver_servicesStarted_Base, public ::IceInternal::OnewayCallbackNC<T>
2087
- {
2088
- public:
2089
-
2090
- typedef IceUtil::Handle<T> TPtr;
2091
-
2092
- typedef void (T::*Exception)(const ::Ice::Exception&);
2093
- typedef void (T::*Sent)(bool);
2094
- typedef void (T::*Response)();
2095
-
2096
- CallbackNC_ServiceObserver_servicesStarted(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2097
- : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2098
- {
2099
- }
2100
- };
2101
-
2102
- /**
2103
- * Creates a callback wrapper instance that delegates to your object.
2104
- * @param instance The callback object.
2105
- * @param cb The success method of the callback object.
2106
- * @param excb The exception method of the callback object.
2107
- * @param sentcb The sent method of the callback object.
2108
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2109
- */
2110
- template<class T> Callback_ServiceObserver_servicesStartedPtr
2111
- newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2112
- {
2113
- return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, cb, excb, sentcb);
2114
- }
2115
-
2116
- /**
2117
- * Creates a callback wrapper instance that delegates to your object.
2118
- * @param instance The callback object.
2119
- * @param excb The exception method of the callback object.
2120
- * @param sentcb The sent method of the callback object.
2121
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2122
- */
2123
- template<class T> Callback_ServiceObserver_servicesStartedPtr
2124
- newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2125
- {
2126
- return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, 0, excb, sentcb);
2127
- }
2128
-
2129
- /**
2130
- * Creates a callback wrapper instance that delegates to your object.
2131
- * @param instance The callback object.
2132
- * @param cb The success method of the callback object.
2133
- * @param excb The exception method of the callback object.
2134
- * @param sentcb The sent method of the callback object.
2135
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2136
- */
2137
- template<class T> Callback_ServiceObserver_servicesStartedPtr
2138
- newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2139
- {
2140
- return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, cb, excb, sentcb);
2141
- }
2142
-
2143
- /**
2144
- * Creates a callback wrapper instance that delegates to your object.
2145
- * @param instance The callback object.
2146
- * @param excb The exception method of the callback object.
2147
- * @param sentcb The sent method of the callback object.
2148
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2149
- */
2150
- template<class T> Callback_ServiceObserver_servicesStartedPtr
2151
- newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2152
- {
2153
- return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, 0, excb, sentcb);
2154
- }
2155
-
2156
- /**
2157
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2158
- * IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2159
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
2160
- */
2161
- template<class T, typename CT>
2162
- class Callback_ServiceObserver_servicesStarted : public Callback_ServiceObserver_servicesStarted_Base, public ::IceInternal::OnewayCallback<T, CT>
2163
- {
2164
- public:
2165
-
2166
- typedef IceUtil::Handle<T> TPtr;
2167
-
2168
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2169
- typedef void (T::*Sent)(bool , const CT&);
2170
- typedef void (T::*Response)(const CT&);
2171
-
2172
- Callback_ServiceObserver_servicesStarted(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2173
- : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
2174
- {
2175
- }
2176
- };
2177
-
2178
- /**
2179
- * Creates a callback wrapper instance that delegates to your object.
2180
- * Use this overload when your callback methods receive a cookie value.
2181
- * @param instance The callback object.
2182
- * @param cb The success method of the callback object.
2183
- * @param excb The exception method of the callback object.
2184
- * @param sentcb The sent method of the callback object.
2185
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2186
- */
2187
- template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
2188
- newCallback_ServiceObserver_servicesStarted(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)
2189
- {
2190
- return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, cb, excb, sentcb);
2191
- }
2192
-
2193
- /**
2194
- * Creates a callback wrapper instance that delegates to your object.
2195
- * Use this overload when your callback methods receive a cookie value.
2196
- * @param instance The callback object.
2197
- * @param excb The exception method of the callback object.
2198
- * @param sentcb The sent method of the callback object.
2199
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2200
- */
2201
- template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
2202
- newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2203
- {
2204
- return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, 0, excb, sentcb);
2205
- }
2206
-
2207
- /**
2208
- * Creates a callback wrapper instance that delegates to your object.
2209
- * Use this overload when your callback methods receive a cookie value.
2210
- * @param instance The callback object.
2211
- * @param cb The success method of the callback object.
2212
- * @param excb The exception method of the callback object.
2213
- * @param sentcb The sent method of the callback object.
2214
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2215
- */
2216
- template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
2217
- newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2218
- {
2219
- return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, cb, excb, sentcb);
2220
- }
2221
-
2222
- /**
2223
- * Creates a callback wrapper instance that delegates to your object.
2224
- * Use this overload when your callback methods receive a cookie value.
2225
- * @param instance The callback object.
2226
- * @param excb The exception method of the callback object.
2227
- * @param sentcb The sent method of the callback object.
2228
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
2229
- */
2230
- template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
2231
- newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2232
- {
2233
- return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, 0, excb, sentcb);
2234
- }
2235
-
2236
- /**
2237
- * Type-safe asynchronous callback wrapper class used for calls to
2238
- * IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2239
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
2240
- */
2241
- template<class T>
2242
- class CallbackNC_ServiceObserver_servicesStopped : public Callback_ServiceObserver_servicesStopped_Base, public ::IceInternal::OnewayCallbackNC<T>
2243
- {
2244
- public:
2245
-
2246
- typedef IceUtil::Handle<T> TPtr;
2247
-
2248
- typedef void (T::*Exception)(const ::Ice::Exception&);
2249
- typedef void (T::*Sent)(bool);
2250
- typedef void (T::*Response)();
2251
-
2252
- CallbackNC_ServiceObserver_servicesStopped(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2253
- : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2254
- {
2255
- }
2256
- };
2257
-
2258
- /**
2259
- * Creates a callback wrapper instance that delegates to your object.
2260
- * @param instance The callback object.
2261
- * @param cb The success method of the callback object.
2262
- * @param excb The exception method of the callback object.
2263
- * @param sentcb The sent method of the callback object.
2264
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2265
- */
2266
- template<class T> Callback_ServiceObserver_servicesStoppedPtr
2267
- newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2268
- {
2269
- return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, cb, excb, sentcb);
2270
- }
2271
-
2272
- /**
2273
- * Creates a callback wrapper instance that delegates to your object.
2274
- * @param instance The callback object.
2275
- * @param excb The exception method of the callback object.
2276
- * @param sentcb The sent method of the callback object.
2277
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2278
- */
2279
- template<class T> Callback_ServiceObserver_servicesStoppedPtr
2280
- newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2281
- {
2282
- return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, 0, excb, sentcb);
2283
- }
2284
-
2285
- /**
2286
- * Creates a callback wrapper instance that delegates to your object.
2287
- * @param instance The callback object.
2288
- * @param cb The success method of the callback object.
2289
- * @param excb The exception method of the callback object.
2290
- * @param sentcb The sent method of the callback object.
2291
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2292
- */
2293
- template<class T> Callback_ServiceObserver_servicesStoppedPtr
2294
- newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2295
- {
2296
- return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, cb, excb, sentcb);
2297
- }
2298
-
2299
- /**
2300
- * Creates a callback wrapper instance that delegates to your object.
2301
- * @param instance The callback object.
2302
- * @param excb The exception method of the callback object.
2303
- * @param sentcb The sent method of the callback object.
2304
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2305
- */
2306
- template<class T> Callback_ServiceObserver_servicesStoppedPtr
2307
- newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2308
- {
2309
- return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, 0, excb, sentcb);
2310
- }
2311
-
2312
- /**
2313
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2314
- * IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2315
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
2316
- */
2317
- template<class T, typename CT>
2318
- class Callback_ServiceObserver_servicesStopped : public Callback_ServiceObserver_servicesStopped_Base, public ::IceInternal::OnewayCallback<T, CT>
2319
- {
2320
- public:
2321
-
2322
- typedef IceUtil::Handle<T> TPtr;
2323
-
2324
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2325
- typedef void (T::*Sent)(bool , const CT&);
2326
- typedef void (T::*Response)(const CT&);
2327
-
2328
- Callback_ServiceObserver_servicesStopped(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2329
- : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
2330
- {
2331
- }
2332
- };
2333
-
2334
- /**
2335
- * Creates a callback wrapper instance that delegates to your object.
2336
- * Use this overload when your callback methods receive a cookie value.
2337
- * @param instance The callback object.
2338
- * @param cb The success method of the callback object.
2339
- * @param excb The exception method of the callback object.
2340
- * @param sentcb The sent method of the callback object.
2341
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2342
- */
2343
- template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
2344
- newCallback_ServiceObserver_servicesStopped(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)
2345
- {
2346
- return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, cb, excb, sentcb);
2347
- }
2348
-
2349
- /**
2350
- * Creates a callback wrapper instance that delegates to your object.
2351
- * Use this overload when your callback methods receive a cookie value.
2352
- * @param instance The callback object.
2353
- * @param excb The exception method of the callback object.
2354
- * @param sentcb The sent method of the callback object.
2355
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2356
- */
2357
- template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
2358
- newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2359
- {
2360
- return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, 0, excb, sentcb);
2361
- }
2362
-
2363
- /**
2364
- * Creates a callback wrapper instance that delegates to your object.
2365
- * Use this overload when your callback methods receive a cookie value.
2366
- * @param instance The callback object.
2367
- * @param cb The success method of the callback object.
2368
- * @param excb The exception method of the callback object.
2369
- * @param sentcb The sent method of the callback object.
2370
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2371
- */
2372
- template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
2373
- newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2374
- {
2375
- return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, cb, excb, sentcb);
2376
- }
2377
-
2378
- /**
2379
- * Creates a callback wrapper instance that delegates to your object.
2380
- * Use this overload when your callback methods receive a cookie value.
2381
- * @param instance The callback object.
2382
- * @param excb The exception method of the callback object.
2383
- * @param sentcb The sent method of the callback object.
2384
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
2385
- */
2386
- template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
2387
- newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2388
- {
2389
- return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, 0, excb, sentcb);
2390
- }
2391
-
2392
- /**
2393
- * Type-safe asynchronous callback wrapper class used for calls to
2394
- * IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2395
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
2396
- */
2397
- template<class T>
2398
- class CallbackNC_ServiceManager_getSliceChecksums : public Callback_ServiceManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallbackNC<T>
2399
- {
2400
- public:
2401
-
2402
- typedef IceUtil::Handle<T> TPtr;
2403
-
2404
- typedef void (T::*Exception)(const ::Ice::Exception&);
2405
- typedef void (T::*Sent)(bool);
2406
- typedef void (T::*Response)(const ::Ice::SliceChecksumDict&);
2407
-
2408
- CallbackNC_ServiceManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2409
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2410
- {
2411
- }
2412
-
2413
- /// \cond INTERNAL
2414
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2415
- {
2416
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2417
- ::Ice::SliceChecksumDict ret;
2418
- try
2419
- {
2420
- ret = proxy->end_getSliceChecksums(result);
2421
- }
2422
- catch(const ::Ice::Exception& ex)
2423
- {
2424
- ::IceInternal::CallbackNC<T>::exception(result, ex);
2425
- return;
2426
- }
2427
- if(_response)
2428
- {
2429
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
2430
- }
2431
- }
2432
- /// \endcond
2433
-
2434
- private:
2435
-
2436
- Response _response;
2437
- };
2438
-
2439
- /**
2440
- * Creates a callback wrapper instance that delegates to your object.
2441
- * @param instance The callback object.
2442
- * @param cb The success method of the callback object.
2443
- * @param excb The exception method of the callback object.
2444
- * @param sentcb The sent method of the callback object.
2445
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2446
- */
2447
- template<class T> Callback_ServiceManager_getSliceChecksumsPtr
2448
- newCallback_ServiceManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2449
- {
2450
- return new CallbackNC_ServiceManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
2451
- }
2452
-
2453
- /**
2454
- * Creates a callback wrapper instance that delegates to your object.
2455
- * @param instance The callback object.
2456
- * @param cb The success method of the callback object.
2457
- * @param excb The exception method of the callback object.
2458
- * @param sentcb The sent method of the callback object.
2459
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2460
- */
2461
- template<class T> Callback_ServiceManager_getSliceChecksumsPtr
2462
- newCallback_ServiceManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2463
- {
2464
- return new CallbackNC_ServiceManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
2465
- }
2466
-
2467
- /**
2468
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2469
- * IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2470
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
2471
- */
2472
- template<class T, typename CT>
2473
- class Callback_ServiceManager_getSliceChecksums : public Callback_ServiceManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallback<T, CT>
2474
- {
2475
- public:
2476
-
2477
- typedef IceUtil::Handle<T> TPtr;
2478
-
2479
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2480
- typedef void (T::*Sent)(bool , const CT&);
2481
- typedef void (T::*Response)(const ::Ice::SliceChecksumDict&, const CT&);
2482
-
2483
- Callback_ServiceManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2484
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2485
- {
2486
- }
2487
-
2488
- /// \cond INTERNAL
2489
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2490
- {
2491
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2492
- ::Ice::SliceChecksumDict ret;
2493
- try
2494
- {
2495
- ret = proxy->end_getSliceChecksums(result);
2496
- }
2497
- catch(const ::Ice::Exception& ex)
2498
- {
2499
- ::IceInternal::Callback<T, CT>::exception(result, ex);
2500
- return;
2501
- }
2502
- if(_response)
2503
- {
2504
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
2505
- }
2506
- }
2507
- /// \endcond
2508
-
2509
- private:
2510
-
2511
- Response _response;
2512
- };
2513
-
2514
- /**
2515
- * Creates a callback wrapper instance that delegates to your object.
2516
- * Use this overload when your callback methods receive a cookie value.
2517
- * @param instance The callback object.
2518
- * @param cb The success method of the callback object.
2519
- * @param excb The exception method of the callback object.
2520
- * @param sentcb The sent method of the callback object.
2521
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2522
- */
2523
- template<class T, typename CT> Callback_ServiceManager_getSliceChecksumsPtr
2524
- newCallback_ServiceManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2525
- {
2526
- return new Callback_ServiceManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
2527
- }
2528
-
2529
- /**
2530
- * Creates a callback wrapper instance that delegates to your object.
2531
- * Use this overload when your callback methods receive a cookie value.
2532
- * @param instance The callback object.
2533
- * @param cb The success method of the callback object.
2534
- * @param excb The exception method of the callback object.
2535
- * @param sentcb The sent method of the callback object.
2536
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
2537
- */
2538
- template<class T, typename CT> Callback_ServiceManager_getSliceChecksumsPtr
2539
- newCallback_ServiceManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2540
- {
2541
- return new Callback_ServiceManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
2542
- }
2543
-
2544
- /**
2545
- * Type-safe asynchronous callback wrapper class used for calls to
2546
- * IceProxy::IceBox::ServiceManager::begin_startService.
2547
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
2548
- */
2549
- template<class T>
2550
- class CallbackNC_ServiceManager_startService : public Callback_ServiceManager_startService_Base, public ::IceInternal::TwowayCallbackNC<T>
2551
- {
2552
- public:
2553
-
2554
- typedef IceUtil::Handle<T> TPtr;
2555
-
2556
- typedef void (T::*Exception)(const ::Ice::Exception&);
2557
- typedef void (T::*Sent)(bool);
2558
- typedef void (T::*Response)();
2559
-
2560
- CallbackNC_ServiceManager_startService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2561
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2562
- {
2563
- }
2564
-
2565
- /// \cond INTERNAL
2566
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2567
- {
2568
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2569
- try
2570
- {
2571
- proxy->end_startService(result);
2572
- }
2573
- catch(const ::Ice::Exception& ex)
2574
- {
2575
- ::IceInternal::CallbackNC<T>::exception(result, ex);
2576
- return;
2577
- }
2578
- if(_response)
2579
- {
2580
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
2581
- }
2582
- }
2583
- /// \endcond
2584
-
2585
- private:
2586
-
2587
- Response _response;
2588
- };
2589
-
2590
- /**
2591
- * Creates a callback wrapper instance that delegates to your object.
2592
- * @param instance The callback object.
2593
- * @param cb The success method of the callback object.
2594
- * @param excb The exception method of the callback object.
2595
- * @param sentcb The sent method of the callback object.
2596
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2597
- */
2598
- template<class T> Callback_ServiceManager_startServicePtr
2599
- newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2600
- {
2601
- return new CallbackNC_ServiceManager_startService<T>(instance, cb, excb, sentcb);
2602
- }
2603
-
2604
- /**
2605
- * Creates a callback wrapper instance that delegates to your object.
2606
- * @param instance The callback object.
2607
- * @param excb The exception method of the callback object.
2608
- * @param sentcb The sent method of the callback object.
2609
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2610
- */
2611
- template<class T> Callback_ServiceManager_startServicePtr
2612
- newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2613
- {
2614
- return new CallbackNC_ServiceManager_startService<T>(instance, 0, excb, sentcb);
2615
- }
2616
-
2617
- /**
2618
- * Creates a callback wrapper instance that delegates to your object.
2619
- * @param instance The callback object.
2620
- * @param cb The success method of the callback object.
2621
- * @param excb The exception method of the callback object.
2622
- * @param sentcb The sent method of the callback object.
2623
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2624
- */
2625
- template<class T> Callback_ServiceManager_startServicePtr
2626
- newCallback_ServiceManager_startService(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2627
- {
2628
- return new CallbackNC_ServiceManager_startService<T>(instance, cb, excb, sentcb);
2629
- }
2630
-
2631
- /**
2632
- * Creates a callback wrapper instance that delegates to your object.
2633
- * @param instance The callback object.
2634
- * @param excb The exception method of the callback object.
2635
- * @param sentcb The sent method of the callback object.
2636
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2637
- */
2638
- template<class T> Callback_ServiceManager_startServicePtr
2639
- newCallback_ServiceManager_startService(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2640
- {
2641
- return new CallbackNC_ServiceManager_startService<T>(instance, 0, excb, sentcb);
2642
- }
2643
-
2644
- /**
2645
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2646
- * IceProxy::IceBox::ServiceManager::begin_startService.
2647
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
2648
- */
2649
- template<class T, typename CT>
2650
- class Callback_ServiceManager_startService : public Callback_ServiceManager_startService_Base, public ::IceInternal::TwowayCallback<T, CT>
2651
- {
2652
- public:
2653
-
2654
- typedef IceUtil::Handle<T> TPtr;
2655
-
2656
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2657
- typedef void (T::*Sent)(bool , const CT&);
2658
- typedef void (T::*Response)(const CT&);
2659
-
2660
- Callback_ServiceManager_startService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2661
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2662
- {
2663
- }
2664
-
2665
- /// \cond INTERNAL
2666
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2667
- {
2668
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2669
- try
2670
- {
2671
- proxy->end_startService(result);
2672
- }
2673
- catch(const ::Ice::Exception& ex)
2674
- {
2675
- ::IceInternal::Callback<T, CT>::exception(result, ex);
2676
- return;
2677
- }
2678
- if(_response)
2679
- {
2680
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
2681
- }
2682
- }
2683
- /// \endcond
2684
-
2685
- private:
2686
-
2687
- Response _response;
2688
- };
2689
-
2690
- /**
2691
- * Creates a callback wrapper instance that delegates to your object.
2692
- * Use this overload when your callback methods receive a cookie value.
2693
- * @param instance The callback object.
2694
- * @param cb The success method of the callback object.
2695
- * @param excb The exception method of the callback object.
2696
- * @param sentcb The sent method of the callback object.
2697
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2698
- */
2699
- template<class T, typename CT> Callback_ServiceManager_startServicePtr
2700
- newCallback_ServiceManager_startService(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)
2701
- {
2702
- return new Callback_ServiceManager_startService<T, CT>(instance, cb, excb, sentcb);
2703
- }
2704
-
2705
- /**
2706
- * Creates a callback wrapper instance that delegates to your object.
2707
- * Use this overload when your callback methods receive a cookie value.
2708
- * @param instance The callback object.
2709
- * @param excb The exception method of the callback object.
2710
- * @param sentcb The sent method of the callback object.
2711
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2712
- */
2713
- template<class T, typename CT> Callback_ServiceManager_startServicePtr
2714
- newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2715
- {
2716
- return new Callback_ServiceManager_startService<T, CT>(instance, 0, excb, sentcb);
2717
- }
2718
-
2719
- /**
2720
- * Creates a callback wrapper instance that delegates to your object.
2721
- * Use this overload when your callback methods receive a cookie value.
2722
- * @param instance The callback object.
2723
- * @param cb The success method of the callback object.
2724
- * @param excb The exception method of the callback object.
2725
- * @param sentcb The sent method of the callback object.
2726
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2727
- */
2728
- template<class T, typename CT> Callback_ServiceManager_startServicePtr
2729
- newCallback_ServiceManager_startService(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2730
- {
2731
- return new Callback_ServiceManager_startService<T, CT>(instance, cb, excb, sentcb);
2732
- }
2733
-
2734
- /**
2735
- * Creates a callback wrapper instance that delegates to your object.
2736
- * Use this overload when your callback methods receive a cookie value.
2737
- * @param instance The callback object.
2738
- * @param excb The exception method of the callback object.
2739
- * @param sentcb The sent method of the callback object.
2740
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
2741
- */
2742
- template<class T, typename CT> Callback_ServiceManager_startServicePtr
2743
- newCallback_ServiceManager_startService(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2744
- {
2745
- return new Callback_ServiceManager_startService<T, CT>(instance, 0, excb, sentcb);
2746
- }
2747
-
2748
- /**
2749
- * Type-safe asynchronous callback wrapper class used for calls to
2750
- * IceProxy::IceBox::ServiceManager::begin_stopService.
2751
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
2752
- */
2753
- template<class T>
2754
- class CallbackNC_ServiceManager_stopService : public Callback_ServiceManager_stopService_Base, public ::IceInternal::TwowayCallbackNC<T>
2755
- {
2756
- public:
2757
-
2758
- typedef IceUtil::Handle<T> TPtr;
2759
-
2760
- typedef void (T::*Exception)(const ::Ice::Exception&);
2761
- typedef void (T::*Sent)(bool);
2762
- typedef void (T::*Response)();
2763
-
2764
- CallbackNC_ServiceManager_stopService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2765
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
2766
- {
2767
- }
2768
-
2769
- /// \cond INTERNAL
2770
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2771
- {
2772
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2773
- try
2774
- {
2775
- proxy->end_stopService(result);
2776
- }
2777
- catch(const ::Ice::Exception& ex)
2778
- {
2779
- ::IceInternal::CallbackNC<T>::exception(result, ex);
2780
- return;
2781
- }
2782
- if(_response)
2783
- {
2784
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
2785
- }
2786
- }
2787
- /// \endcond
2788
-
2789
- private:
2790
-
2791
- Response _response;
2792
- };
2793
-
2794
- /**
2795
- * Creates a callback wrapper instance that delegates to your object.
2796
- * @param instance The callback object.
2797
- * @param cb The success method of the callback object.
2798
- * @param excb The exception method of the callback object.
2799
- * @param sentcb The sent method of the callback object.
2800
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2801
- */
2802
- template<class T> Callback_ServiceManager_stopServicePtr
2803
- newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2804
- {
2805
- return new CallbackNC_ServiceManager_stopService<T>(instance, cb, excb, sentcb);
2806
- }
2807
-
2808
- /**
2809
- * Creates a callback wrapper instance that delegates to your object.
2810
- * @param instance The callback object.
2811
- * @param excb The exception method of the callback object.
2812
- * @param sentcb The sent method of the callback object.
2813
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2814
- */
2815
- template<class T> Callback_ServiceManager_stopServicePtr
2816
- newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2817
- {
2818
- return new CallbackNC_ServiceManager_stopService<T>(instance, 0, excb, sentcb);
2819
- }
2820
-
2821
- /**
2822
- * Creates a callback wrapper instance that delegates to your object.
2823
- * @param instance The callback object.
2824
- * @param cb The success method of the callback object.
2825
- * @param excb The exception method of the callback object.
2826
- * @param sentcb The sent method of the callback object.
2827
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2828
- */
2829
- template<class T> Callback_ServiceManager_stopServicePtr
2830
- newCallback_ServiceManager_stopService(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2831
- {
2832
- return new CallbackNC_ServiceManager_stopService<T>(instance, cb, excb, sentcb);
2833
- }
2834
-
2835
- /**
2836
- * Creates a callback wrapper instance that delegates to your object.
2837
- * @param instance The callback object.
2838
- * @param excb The exception method of the callback object.
2839
- * @param sentcb The sent method of the callback object.
2840
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2841
- */
2842
- template<class T> Callback_ServiceManager_stopServicePtr
2843
- newCallback_ServiceManager_stopService(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2844
- {
2845
- return new CallbackNC_ServiceManager_stopService<T>(instance, 0, excb, sentcb);
2846
- }
2847
-
2848
- /**
2849
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
2850
- * IceProxy::IceBox::ServiceManager::begin_stopService.
2851
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
2852
- */
2853
- template<class T, typename CT>
2854
- class Callback_ServiceManager_stopService : public Callback_ServiceManager_stopService_Base, public ::IceInternal::TwowayCallback<T, CT>
2855
- {
2856
- public:
2857
-
2858
- typedef IceUtil::Handle<T> TPtr;
2859
-
2860
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
2861
- typedef void (T::*Sent)(bool , const CT&);
2862
- typedef void (T::*Response)(const CT&);
2863
-
2864
- Callback_ServiceManager_stopService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2865
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
2866
- {
2867
- }
2868
-
2869
- /// \cond INTERNAL
2870
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
2871
- {
2872
- ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
2873
- try
2874
- {
2875
- proxy->end_stopService(result);
2876
- }
2877
- catch(const ::Ice::Exception& ex)
2878
- {
2879
- ::IceInternal::Callback<T, CT>::exception(result, ex);
2880
- return;
2881
- }
2882
- if(_response)
2883
- {
2884
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
2885
- }
2886
- }
2887
- /// \endcond
2888
-
2889
- private:
2890
-
2891
- Response _response;
2892
- };
2893
-
2894
- /**
2895
- * Creates a callback wrapper instance that delegates to your object.
2896
- * Use this overload when your callback methods receive a cookie value.
2897
- * @param instance The callback object.
2898
- * @param cb The success method of the callback object.
2899
- * @param excb The exception method of the callback object.
2900
- * @param sentcb The sent method of the callback object.
2901
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2902
- */
2903
- template<class T, typename CT> Callback_ServiceManager_stopServicePtr
2904
- newCallback_ServiceManager_stopService(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)
2905
- {
2906
- return new Callback_ServiceManager_stopService<T, CT>(instance, cb, excb, sentcb);
2907
- }
2908
-
2909
- /**
2910
- * Creates a callback wrapper instance that delegates to your object.
2911
- * Use this overload when your callback methods receive a cookie value.
2912
- * @param instance The callback object.
2913
- * @param excb The exception method of the callback object.
2914
- * @param sentcb The sent method of the callback object.
2915
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2916
- */
2917
- template<class T, typename CT> Callback_ServiceManager_stopServicePtr
2918
- newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2919
- {
2920
- return new Callback_ServiceManager_stopService<T, CT>(instance, 0, excb, sentcb);
2921
- }
2922
-
2923
- /**
2924
- * Creates a callback wrapper instance that delegates to your object.
2925
- * Use this overload when your callback methods receive a cookie value.
2926
- * @param instance The callback object.
2927
- * @param cb The success method of the callback object.
2928
- * @param excb The exception method of the callback object.
2929
- * @param sentcb The sent method of the callback object.
2930
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2931
- */
2932
- template<class T, typename CT> Callback_ServiceManager_stopServicePtr
2933
- newCallback_ServiceManager_stopService(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2934
- {
2935
- return new Callback_ServiceManager_stopService<T, CT>(instance, cb, excb, sentcb);
2936
- }
2937
-
2938
- /**
2939
- * Creates a callback wrapper instance that delegates to your object.
2940
- * Use this overload when your callback methods receive a cookie value.
2941
- * @param instance The callback object.
2942
- * @param excb The exception method of the callback object.
2943
- * @param sentcb The sent method of the callback object.
2944
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
2945
- */
2946
- template<class T, typename CT> Callback_ServiceManager_stopServicePtr
2947
- newCallback_ServiceManager_stopService(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
2948
- {
2949
- return new Callback_ServiceManager_stopService<T, CT>(instance, 0, excb, sentcb);
2950
- }
2951
-
2952
- /**
2953
- * Type-safe asynchronous callback wrapper class used for calls to
2954
- * IceProxy::IceBox::ServiceManager::begin_addObserver.
2955
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
2956
- */
2957
- template<class T>
2958
- class CallbackNC_ServiceManager_addObserver : public Callback_ServiceManager_addObserver_Base, public ::IceInternal::OnewayCallbackNC<T>
2959
- {
2960
- public:
2961
-
2962
- typedef IceUtil::Handle<T> TPtr;
2963
-
2964
- typedef void (T::*Exception)(const ::Ice::Exception&);
2965
- typedef void (T::*Sent)(bool);
2966
- typedef void (T::*Response)();
2967
-
2968
- CallbackNC_ServiceManager_addObserver(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
2969
- : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
2970
- {
2971
- }
2972
- };
2973
-
2974
- /**
2975
- * Creates a callback wrapper instance that delegates to your object.
2976
- * @param instance The callback object.
2977
- * @param cb The success method of the callback object.
2978
- * @param excb The exception method of the callback object.
2979
- * @param sentcb The sent method of the callback object.
2980
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
2981
- */
2982
- template<class T> Callback_ServiceManager_addObserverPtr
2983
- newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2984
- {
2985
- return new CallbackNC_ServiceManager_addObserver<T>(instance, cb, excb, sentcb);
2986
- }
2987
-
2988
- /**
2989
- * Creates a callback wrapper instance that delegates to your object.
2990
- * @param instance The callback object.
2991
- * @param excb The exception method of the callback object.
2992
- * @param sentcb The sent method of the callback object.
2993
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
2994
- */
2995
- template<class T> Callback_ServiceManager_addObserverPtr
2996
- newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
2997
- {
2998
- return new CallbackNC_ServiceManager_addObserver<T>(instance, 0, excb, sentcb);
2999
- }
3000
-
3001
- /**
3002
- * Creates a callback wrapper instance that delegates to your object.
3003
- * @param instance The callback object.
3004
- * @param cb The success method of the callback object.
3005
- * @param excb The exception method of the callback object.
3006
- * @param sentcb The sent method of the callback object.
3007
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3008
- */
3009
- template<class T> Callback_ServiceManager_addObserverPtr
3010
- newCallback_ServiceManager_addObserver(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3011
- {
3012
- return new CallbackNC_ServiceManager_addObserver<T>(instance, cb, excb, sentcb);
3013
- }
3014
-
3015
- /**
3016
- * Creates a callback wrapper instance that delegates to your object.
3017
- * @param instance The callback object.
3018
- * @param excb The exception method of the callback object.
3019
- * @param sentcb The sent method of the callback object.
3020
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3021
- */
3022
- template<class T> Callback_ServiceManager_addObserverPtr
3023
- newCallback_ServiceManager_addObserver(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3024
- {
3025
- return new CallbackNC_ServiceManager_addObserver<T>(instance, 0, excb, sentcb);
3026
- }
3027
-
3028
- /**
3029
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3030
- * IceProxy::IceBox::ServiceManager::begin_addObserver.
3031
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
3032
- */
3033
- template<class T, typename CT>
3034
- class Callback_ServiceManager_addObserver : public Callback_ServiceManager_addObserver_Base, public ::IceInternal::OnewayCallback<T, CT>
3035
- {
3036
- public:
3037
-
3038
- typedef IceUtil::Handle<T> TPtr;
3039
-
3040
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3041
- typedef void (T::*Sent)(bool , const CT&);
3042
- typedef void (T::*Response)(const CT&);
3043
-
3044
- Callback_ServiceManager_addObserver(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3045
- : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3046
- {
3047
- }
3048
- };
3049
-
3050
- /**
3051
- * Creates a callback wrapper instance that delegates to your object.
3052
- * Use this overload when your callback methods receive a cookie value.
3053
- * @param instance The callback object.
3054
- * @param cb The success method of the callback object.
3055
- * @param excb The exception method of the callback object.
3056
- * @param sentcb The sent method of the callback object.
3057
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3058
- */
3059
- template<class T, typename CT> Callback_ServiceManager_addObserverPtr
3060
- newCallback_ServiceManager_addObserver(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)
3061
- {
3062
- return new Callback_ServiceManager_addObserver<T, CT>(instance, cb, excb, sentcb);
3063
- }
3064
-
3065
- /**
3066
- * Creates a callback wrapper instance that delegates to your object.
3067
- * Use this overload when your callback methods receive a cookie value.
3068
- * @param instance The callback object.
3069
- * @param excb The exception method of the callback object.
3070
- * @param sentcb The sent method of the callback object.
3071
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3072
- */
3073
- template<class T, typename CT> Callback_ServiceManager_addObserverPtr
3074
- newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3075
- {
3076
- return new Callback_ServiceManager_addObserver<T, CT>(instance, 0, excb, sentcb);
3077
- }
3078
-
3079
- /**
3080
- * Creates a callback wrapper instance that delegates to your object.
3081
- * Use this overload when your callback methods receive a cookie value.
3082
- * @param instance The callback object.
3083
- * @param cb The success method of the callback object.
3084
- * @param excb The exception method of the callback object.
3085
- * @param sentcb The sent method of the callback object.
3086
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3087
- */
3088
- template<class T, typename CT> Callback_ServiceManager_addObserverPtr
3089
- newCallback_ServiceManager_addObserver(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3090
- {
3091
- return new Callback_ServiceManager_addObserver<T, CT>(instance, cb, excb, sentcb);
3092
- }
3093
-
3094
- /**
3095
- * Creates a callback wrapper instance that delegates to your object.
3096
- * Use this overload when your callback methods receive a cookie value.
3097
- * @param instance The callback object.
3098
- * @param excb The exception method of the callback object.
3099
- * @param sentcb The sent method of the callback object.
3100
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
3101
- */
3102
- template<class T, typename CT> Callback_ServiceManager_addObserverPtr
3103
- newCallback_ServiceManager_addObserver(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3104
- {
3105
- return new Callback_ServiceManager_addObserver<T, CT>(instance, 0, excb, sentcb);
3106
- }
3107
-
3108
- /**
3109
- * Type-safe asynchronous callback wrapper class used for calls to
3110
- * IceProxy::IceBox::ServiceManager::begin_shutdown.
3111
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
3112
- */
3113
- template<class T>
3114
- class CallbackNC_ServiceManager_shutdown : public Callback_ServiceManager_shutdown_Base, public ::IceInternal::OnewayCallbackNC<T>
3115
- {
3116
- public:
3117
-
3118
- typedef IceUtil::Handle<T> TPtr;
3119
-
3120
- typedef void (T::*Exception)(const ::Ice::Exception&);
3121
- typedef void (T::*Sent)(bool);
3122
- typedef void (T::*Response)();
3123
-
3124
- CallbackNC_ServiceManager_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3125
- : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
3126
- {
3127
- }
3128
- };
3129
-
3130
- /**
3131
- * Creates a callback wrapper instance that delegates to your object.
3132
- * @param instance The callback object.
3133
- * @param cb The success method of the callback object.
3134
- * @param excb The exception method of the callback object.
3135
- * @param sentcb The sent method of the callback object.
3136
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3137
- */
3138
- template<class T> Callback_ServiceManager_shutdownPtr
3139
- newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3140
- {
3141
- return new CallbackNC_ServiceManager_shutdown<T>(instance, cb, excb, sentcb);
3142
- }
3143
-
3144
- /**
3145
- * Creates a callback wrapper instance that delegates to your object.
3146
- * @param instance The callback object.
3147
- * @param excb The exception method of the callback object.
3148
- * @param sentcb The sent method of the callback object.
3149
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3150
- */
3151
- template<class T> Callback_ServiceManager_shutdownPtr
3152
- newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3153
- {
3154
- return new CallbackNC_ServiceManager_shutdown<T>(instance, 0, excb, sentcb);
3155
- }
3156
-
3157
- /**
3158
- * Creates a callback wrapper instance that delegates to your object.
3159
- * @param instance The callback object.
3160
- * @param cb The success method of the callback object.
3161
- * @param excb The exception method of the callback object.
3162
- * @param sentcb The sent method of the callback object.
3163
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3164
- */
3165
- template<class T> Callback_ServiceManager_shutdownPtr
3166
- newCallback_ServiceManager_shutdown(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3167
- {
3168
- return new CallbackNC_ServiceManager_shutdown<T>(instance, cb, excb, sentcb);
3169
- }
3170
-
3171
- /**
3172
- * Creates a callback wrapper instance that delegates to your object.
3173
- * @param instance The callback object.
3174
- * @param excb The exception method of the callback object.
3175
- * @param sentcb The sent method of the callback object.
3176
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3177
- */
3178
- template<class T> Callback_ServiceManager_shutdownPtr
3179
- newCallback_ServiceManager_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3180
- {
3181
- return new CallbackNC_ServiceManager_shutdown<T>(instance, 0, excb, sentcb);
3182
- }
3183
-
3184
- /**
3185
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3186
- * IceProxy::IceBox::ServiceManager::begin_shutdown.
3187
- * Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
3188
- */
3189
- template<class T, typename CT>
3190
- class Callback_ServiceManager_shutdown : public Callback_ServiceManager_shutdown_Base, public ::IceInternal::OnewayCallback<T, CT>
3191
- {
3192
- public:
3193
-
3194
- typedef IceUtil::Handle<T> TPtr;
3195
-
3196
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3197
- typedef void (T::*Sent)(bool , const CT&);
3198
- typedef void (T::*Response)(const CT&);
3199
-
3200
- Callback_ServiceManager_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3201
- : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
3202
- {
3203
- }
3204
- };
3205
-
3206
- /**
3207
- * Creates a callback wrapper instance that delegates to your object.
3208
- * Use this overload when your callback methods receive a cookie value.
3209
- * @param instance The callback object.
3210
- * @param cb The success method of the callback object.
3211
- * @param excb The exception method of the callback object.
3212
- * @param sentcb The sent method of the callback object.
3213
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3214
- */
3215
- template<class T, typename CT> Callback_ServiceManager_shutdownPtr
3216
- newCallback_ServiceManager_shutdown(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)
3217
- {
3218
- return new Callback_ServiceManager_shutdown<T, CT>(instance, cb, excb, sentcb);
3219
- }
3220
-
3221
- /**
3222
- * Creates a callback wrapper instance that delegates to your object.
3223
- * Use this overload when your callback methods receive a cookie value.
3224
- * @param instance The callback object.
3225
- * @param excb The exception method of the callback object.
3226
- * @param sentcb The sent method of the callback object.
3227
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3228
- */
3229
- template<class T, typename CT> Callback_ServiceManager_shutdownPtr
3230
- newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3231
- {
3232
- return new Callback_ServiceManager_shutdown<T, CT>(instance, 0, excb, sentcb);
3233
- }
3234
-
3235
- /**
3236
- * Creates a callback wrapper instance that delegates to your object.
3237
- * Use this overload when your callback methods receive a cookie value.
3238
- * @param instance The callback object.
3239
- * @param cb The success method of the callback object.
3240
- * @param excb The exception method of the callback object.
3241
- * @param sentcb The sent method of the callback object.
3242
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3243
- */
3244
- template<class T, typename CT> Callback_ServiceManager_shutdownPtr
3245
- newCallback_ServiceManager_shutdown(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3246
- {
3247
- return new Callback_ServiceManager_shutdown<T, CT>(instance, cb, excb, sentcb);
3248
- }
3249
-
3250
- /**
3251
- * Creates a callback wrapper instance that delegates to your object.
3252
- * Use this overload when your callback methods receive a cookie value.
3253
- * @param instance The callback object.
3254
- * @param excb The exception method of the callback object.
3255
- * @param sentcb The sent method of the callback object.
3256
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
3257
- */
3258
- template<class T, typename CT> Callback_ServiceManager_shutdownPtr
3259
- newCallback_ServiceManager_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3260
- {
3261
- return new Callback_ServiceManager_shutdown<T, CT>(instance, 0, excb, sentcb);
3262
- }
3263
-
3264
- }
3265
-
3266
- #endif
3267
-
3268
- #include <IceUtil/PopDisableWarnings.h>
3269
- #endif