zeroc-ice 3.7.9.1 → 3.8.0

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 (1215) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +575 -0
  3. data/dist/IceRuby/Communicator.h +19 -0
  4. data/dist/IceRuby/Config.h +77 -0
  5. data/dist/IceRuby/Connection.cpp +428 -0
  6. data/dist/IceRuby/Connection.h +20 -0
  7. data/dist/IceRuby/DefaultSliceLoader.cpp +45 -0
  8. data/dist/IceRuby/DefaultSliceLoader.h +25 -0
  9. data/dist/IceRuby/Endpoint.cpp +342 -0
  10. data/dist/IceRuby/Endpoint.h +18 -0
  11. data/dist/IceRuby/ImplicitContext.cpp +143 -0
  12. data/dist/IceRuby/ImplicitContext.h +16 -0
  13. data/dist/IceRuby/Init.cpp +36 -0
  14. data/dist/IceRuby/Logger.cpp +146 -0
  15. data/dist/IceRuby/Logger.h +19 -0
  16. data/dist/IceRuby/Operation.cpp +623 -0
  17. data/dist/IceRuby/Operation.h +28 -0
  18. data/dist/IceRuby/Properties.cpp +413 -0
  19. data/dist/IceRuby/Properties.h +16 -0
  20. data/dist/IceRuby/Proxy.cpp +926 -0
  21. data/dist/IceRuby/Proxy.h +21 -0
  22. data/dist/IceRuby/RubySliceLoader.cpp +39 -0
  23. data/dist/IceRuby/RubySliceLoader.h +27 -0
  24. data/dist/IceRuby/Slice.cpp +199 -0
  25. data/dist/IceRuby/Slice.h +13 -0
  26. data/dist/IceRuby/Types.cpp +3133 -0
  27. data/dist/IceRuby/Types.h +533 -0
  28. data/dist/IceRuby/Util.cpp +553 -0
  29. data/dist/IceRuby/Util.h +485 -0
  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 +14 -0
  33. data/dist/ice/cpp/include/Ice/Buffer.h +159 -0
  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 +60 -0
  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 +16 -0
  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 +56 -0
  48. data/dist/ice/cpp/include/Ice/FacetMap.h +16 -0
  49. data/dist/ice/cpp/include/Ice/Format.h +22 -0
  50. data/dist/ice/cpp/include/Ice/Ice.h +60 -0
  51. data/dist/ice/cpp/include/Ice/IconvStringConverter.h +216 -0
  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 +143 -0
  55. data/dist/ice/cpp/include/Ice/InputStream.h +942 -0
  56. data/dist/ice/cpp/include/Ice/InstanceF.h +14 -0
  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 +162 -0
  62. data/dist/ice/cpp/include/Ice/MarshaledResult.h +50 -0
  63. data/dist/ice/cpp/include/Ice/NativePropertiesAdmin.h +54 -0
  64. data/dist/ice/cpp/include/Ice/Object.h +168 -0
  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 +16 -0
  68. data/dist/ice/cpp/include/Ice/ObserverHelper.h +164 -0
  69. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +512 -0
  70. data/dist/ice/cpp/include/Ice/OutgoingResponse.h +129 -0
  71. data/dist/ice/cpp/include/Ice/OutputStream.h +872 -0
  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/Ice/PopDisableWarnings.h +16 -0
  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 +742 -0
  78. data/dist/ice/cpp/include/Ice/ProxyF.h +11 -0
  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 +14 -0
  82. data/dist/ice/cpp/include/Ice/RequestHandlerF.h +20 -0
  83. data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +268 -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 +278 -0
  90. data/dist/ice/cpp/include/Ice/ServantLocator.h +51 -0
  91. data/dist/ice/cpp/include/Ice/Service.h +219 -0
  92. data/dist/ice/cpp/include/Ice/SliceLoader.h +67 -0
  93. data/dist/ice/cpp/include/Ice/SlicedData.h +125 -0
  94. data/dist/ice/cpp/include/Ice/SlicedDataF.h +30 -0
  95. data/dist/ice/cpp/include/Ice/StreamHelpers.h +652 -0
  96. data/dist/ice/cpp/include/Ice/StreamableTraits.h +291 -0
  97. data/dist/ice/cpp/include/Ice/StringConverter.h +167 -0
  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 +16 -0
  102. data/dist/ice/cpp/include/Ice/UserException.h +46 -0
  103. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +15 -0
  104. data/dist/ice/cpp/include/Ice/Value.h +127 -0
  105. data/dist/ice/cpp/include/Ice/ValueF.h +16 -0
  106. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +28 -0
  107. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +28 -0
  108. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +70 -0
  109. data/dist/ice/cpp/include/generated/Ice/Context.h +40 -0
  110. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +74 -0
  111. data/dist/ice/cpp/include/generated/Ice/Identity.h +108 -0
  112. data/dist/ice/cpp/include/generated/Ice/Locator.h +542 -0
  113. data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +443 -0
  114. data/dist/ice/cpp/include/generated/Ice/Metrics.h +1103 -0
  115. data/dist/ice/cpp/include/generated/Ice/OperationMode.h +73 -0
  116. data/dist/ice/cpp/include/generated/Ice/Process.h +245 -0
  117. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +314 -0
  118. data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +39 -0
  119. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +724 -0
  120. data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +94 -0
  121. data/dist/ice/cpp/include/generated/Ice/Router.h +496 -0
  122. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +37 -0
  123. data/dist/ice/cpp/include/generated/Ice/Version.h +112 -0
  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 +41 -0
  127. data/dist/ice/cpp/src/Ice/AcceptorF.h +17 -0
  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 +58 -0
  132. data/dist/ice/cpp/src/Ice/ArgVector.h +30 -0
  133. data/dist/ice/cpp/src/Ice/Base64.cpp +263 -0
  134. data/dist/ice/cpp/src/Ice/Base64.h +26 -0
  135. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +199 -0
  136. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +49 -0
  137. data/dist/ice/cpp/src/Ice/Buffer.cpp +187 -0
  138. data/dist/ice/cpp/src/Ice/CheckIdentity.h +21 -0
  139. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +373 -0
  140. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +65 -0
  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 +227 -0
  145. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +51 -0
  146. data/dist/ice/cpp/src/Ice/ConnectRequestHandlerF.h +14 -0
  147. data/dist/ice/cpp/src/Ice/Connection.cpp +44 -0
  148. data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +1758 -0
  149. data/dist/ice/cpp/src/Ice/ConnectionFactory.h +264 -0
  150. data/dist/ice/cpp/src/Ice/ConnectionFactoryF.h +17 -0
  151. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3563 -0
  152. data/dist/ice/cpp/src/Ice/ConnectionI.h +429 -0
  153. data/dist/ice/cpp/src/Ice/ConnectionOptions.h +22 -0
  154. data/dist/ice/cpp/src/Ice/Connector.h +38 -0
  155. data/dist/ice/cpp/src/Ice/ConnectorF.h +14 -0
  156. data/dist/ice/cpp/src/Ice/ConsoleUtil.cpp +136 -0
  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 +40 -0
  161. data/dist/ice/cpp/src/Ice/DefaultSliceLoader.cpp +39 -0
  162. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +81 -0
  163. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.h +38 -0
  164. data/dist/ice/cpp/src/Ice/DefaultsAndOverridesF.h +14 -0
  165. data/dist/ice/cpp/src/Ice/Demangle.cpp +25 -0
  166. data/dist/ice/cpp/src/Ice/DisableWarnings.h +31 -0
  167. data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +216 -0
  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 +165 -0
  171. data/dist/ice/cpp/src/Ice/EndpointFactory.h +96 -0
  172. data/dist/ice/cpp/src/Ice/EndpointFactoryF.h +14 -0
  173. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.cpp +180 -0
  174. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.h +42 -0
  175. data/dist/ice/cpp/src/Ice/EndpointFactoryManagerF.h +14 -0
  176. data/dist/ice/cpp/src/Ice/EndpointI.cpp +128 -0
  177. data/dist/ice/cpp/src/Ice/EndpointI.h +150 -0
  178. data/dist/ice/cpp/src/Ice/EndpointIF.h +21 -0
  179. data/dist/ice/cpp/src/Ice/EventHandler.cpp +9 -0
  180. data/dist/ice/cpp/src/Ice/EventHandler.h +71 -0
  181. data/dist/ice/cpp/src/Ice/EventHandlerF.h +14 -0
  182. data/dist/ice/cpp/src/Ice/Exception.cpp +5 -0
  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 +67 -0
  188. data/dist/ice/cpp/src/Ice/HttpParser.cpp +684 -0
  189. data/dist/ice/cpp/src/Ice/HttpParser.h +112 -0
  190. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +593 -0
  191. data/dist/ice/cpp/src/Ice/IPEndpointI.h +106 -0
  192. data/dist/ice/cpp/src/Ice/IPEndpointIF.h +17 -0
  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 +160 -0
  198. data/dist/ice/cpp/src/Ice/InputStream.cpp +2206 -0
  199. data/dist/ice/cpp/src/Ice/Instance.cpp +1956 -0
  200. data/dist/ice/cpp/src/Ice/Instance.h +225 -0
  201. data/dist/ice/cpp/src/Ice/InstrumentationI.cpp +959 -0
  202. data/dist/ice/cpp/src/Ice/InstrumentationI.h +235 -0
  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 +851 -0
  206. data/dist/ice/cpp/src/Ice/LocatorInfo.h +176 -0
  207. data/dist/ice/cpp/src/Ice/LocatorInfoF.h +20 -0
  208. data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +774 -0
  209. data/dist/ice/cpp/src/Ice/LoggerAdminI.h +31 -0
  210. data/dist/ice/cpp/src/Ice/LoggerI.cpp +234 -0
  211. data/dist/ice/cpp/src/Ice/LoggerI.h +47 -0
  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 +76 -0
  215. data/dist/ice/cpp/src/Ice/MarshaledResult.cpp +20 -0
  216. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +608 -0
  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 +1927 -0
  222. data/dist/ice/cpp/src/Ice/Network.h +265 -0
  223. data/dist/ice/cpp/src/Ice/NetworkF.h +11 -0
  224. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +306 -0
  225. data/dist/ice/cpp/src/Ice/NetworkProxy.h +67 -0
  226. data/dist/ice/cpp/src/Ice/NetworkProxyF.h +14 -0
  227. data/dist/ice/cpp/src/Ice/OSLogLoggerI.cpp +55 -0
  228. data/dist/ice/cpp/src/Ice/OSLogLoggerI.h +35 -0
  229. data/dist/ice/cpp/src/Ice/Object.cpp +249 -0
  230. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +348 -0
  231. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.h +53 -0
  232. data/dist/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +14 -0
  233. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1383 -0
  234. data/dist/ice/cpp/src/Ice/ObjectAdapterI.h +163 -0
  235. data/dist/ice/cpp/src/Ice/ObserverHelper.cpp +75 -0
  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 +368 -0
  239. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.h +66 -0
  240. data/dist/ice/cpp/src/Ice/Options.cpp +980 -0
  241. data/dist/ice/cpp/src/Ice/Options.h +119 -0
  242. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1106 -0
  243. data/dist/ice/cpp/src/Ice/OutgoingResponse.cpp +276 -0
  244. data/dist/ice/cpp/src/Ice/OutputStream.cpp +1454 -0
  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 +344 -0
  248. data/dist/ice/cpp/src/Ice/PluginManagerI.h +54 -0
  249. data/dist/ice/cpp/src/Ice/Properties.cpp +931 -0
  250. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +606 -0
  251. data/dist/ice/cpp/src/Ice/PropertyNames.h +63 -0
  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 +159 -0
  255. data/dist/ice/cpp/src/Ice/Protocol.h +116 -0
  256. data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +186 -0
  257. data/dist/ice/cpp/src/Ice/ProtocolInstance.h +74 -0
  258. data/dist/ice/cpp/src/Ice/ProtocolInstanceF.h +14 -0
  259. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +29 -0
  260. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.h +35 -0
  261. data/dist/ice/cpp/src/Ice/Proxy.cpp +541 -0
  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 +1584 -0
  268. data/dist/ice/cpp/src/Ice/Reference.h +339 -0
  269. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +830 -0
  270. data/dist/ice/cpp/src/Ice/ReferenceFactory.h +58 -0
  271. data/dist/ice/cpp/src/Ice/ReferenceFactoryF.h +14 -0
  272. data/dist/ice/cpp/src/Ice/RequestHandler.cpp +28 -0
  273. data/dist/ice/cpp/src/Ice/RequestHandler.h +53 -0
  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 +151 -0
  278. data/dist/ice/cpp/src/Ice/RetryQueue.h +59 -0
  279. data/dist/ice/cpp/src/Ice/RetryQueueF.h +14 -0
  280. data/dist/ice/cpp/src/Ice/RouterInfo.cpp +275 -0
  281. data/dist/ice/cpp/src/Ice/RouterInfo.h +95 -0
  282. data/dist/ice/cpp/src/Ice/RouterInfoF.h +17 -0
  283. data/dist/ice/cpp/src/Ice/SHA1.cpp +195 -0
  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 +513 -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 +635 -0
  291. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +80 -0
  292. data/dist/ice/cpp/src/Ice/SSL/RFC2253.cpp +487 -0
  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 +72 -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 +654 -0
  308. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.h +104 -0
  309. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +1437 -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 +1085 -0
  313. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +118 -0
  314. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +822 -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 +1061 -0
  320. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +40 -0
  321. data/dist/ice/cpp/src/Ice/SSL/TrustManager.cpp +222 -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 +1270 -0
  326. data/dist/ice/cpp/src/Ice/Selector.h +235 -0
  327. data/dist/ice/cpp/src/Ice/ServantManager.cpp +547 -0
  328. data/dist/ice/cpp/src/Ice/ServantManager.h +66 -0
  329. data/dist/ice/cpp/src/Ice/ServantManagerF.h +14 -0
  330. data/dist/ice/cpp/src/Ice/Service.cpp +1790 -0
  331. data/dist/ice/cpp/src/Ice/SharedContext.h +33 -0
  332. data/dist/ice/cpp/src/Ice/SliceLoader.cpp +53 -0
  333. data/dist/ice/cpp/src/Ice/SlicedData.cpp +48 -0
  334. data/dist/ice/cpp/src/Ice/StreamSocket.cpp +472 -0
  335. data/dist/ice/cpp/src/Ice/StreamSocket.h +73 -0
  336. data/dist/ice/cpp/src/Ice/StringConverter.cpp +582 -0
  337. data/dist/ice/cpp/src/Ice/StringUtil.cpp +1137 -0
  338. data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +160 -0
  339. data/dist/ice/cpp/src/Ice/SysLoggerI.h +34 -0
  340. data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +65 -0
  341. data/dist/ice/cpp/src/Ice/SystemdJournalI.h +33 -0
  342. data/dist/ice/cpp/src/Ice/TargetCompare.h +96 -0
  343. data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +213 -0
  344. data/dist/ice/cpp/src/Ice/TcpAcceptor.h +55 -0
  345. data/dist/ice/cpp/src/Ice/TcpConnector.cpp +128 -0
  346. data/dist/ice/cpp/src/Ice/TcpConnector.h +36 -0
  347. data/dist/ice/cpp/src/Ice/TcpEndpointI.cpp +411 -0
  348. data/dist/ice/cpp/src/Ice/TcpEndpointI.h +86 -0
  349. data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +147 -0
  350. data/dist/ice/cpp/src/Ice/TcpTransceiver.h +53 -0
  351. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1110 -0
  352. data/dist/ice/cpp/src/Ice/ThreadPool.h +305 -0
  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 +169 -0
  357. data/dist/ice/cpp/src/Ice/Timer.h +212 -0
  358. data/dist/ice/cpp/src/Ice/TraceLevels.cpp +20 -0
  359. data/dist/ice/cpp/src/Ice/TraceLevels.h +39 -0
  360. data/dist/ice/cpp/src/Ice/TraceLevelsF.h +14 -0
  361. data/dist/ice/cpp/src/Ice/TraceUtil.cpp +399 -0
  362. data/dist/ice/cpp/src/Ice/TraceUtil.h +41 -0
  363. data/dist/ice/cpp/src/Ice/Transceiver.cpp +14 -0
  364. data/dist/ice/cpp/src/Ice/Transceiver.h +52 -0
  365. data/dist/ice/cpp/src/Ice/TransceiverF.h +23 -0
  366. data/dist/ice/cpp/src/Ice/UUID.cpp +79 -0
  367. data/dist/ice/cpp/src/Ice/UdpConnector.cpp +131 -0
  368. data/dist/ice/cpp/src/Ice/UdpConnector.h +36 -0
  369. data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +480 -0
  370. data/dist/ice/cpp/src/Ice/UdpEndpointI.h +92 -0
  371. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +786 -0
  372. data/dist/ice/cpp/src/Ice/UdpTransceiver.h +90 -0
  373. data/dist/ice/cpp/src/Ice/UndefSysMacros.h +37 -0
  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 +145 -0
  377. data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +87 -0
  378. data/dist/ice/cpp/src/Ice/WSAcceptor.h +46 -0
  379. data/dist/ice/cpp/src/Ice/WSConnector.cpp +87 -0
  380. data/dist/ice/cpp/src/Ice/WSConnector.h +36 -0
  381. data/dist/ice/cpp/src/Ice/WSEndpoint.cpp +455 -0
  382. data/dist/ice/cpp/src/Ice/WSEndpoint.h +82 -0
  383. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1715 -0
  384. data/dist/ice/cpp/src/Ice/WSTransceiver.h +135 -0
  385. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +40 -0
  386. data/dist/ice/cpp/src/Ice/generated/Context.cpp +40 -0
  387. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +40 -0
  388. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +47 -0
  389. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +752 -0
  390. data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +577 -0
  391. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +1205 -0
  392. data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +56 -0
  393. data/dist/ice/cpp/src/Ice/generated/Process.cpp +330 -0
  394. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +443 -0
  395. data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +40 -0
  396. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +851 -0
  397. data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +70 -0
  398. data/dist/ice/cpp/src/Ice/generated/Router.cpp +660 -0
  399. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +39 -0
  400. data/dist/ice/cpp/src/Ice/generated/Version.cpp +54 -0
  401. data/dist/ice/cpp/src/IceDiscovery/LocatorI.cpp +202 -0
  402. data/dist/ice/cpp/src/IceDiscovery/LocatorI.h +68 -0
  403. data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +494 -0
  404. data/dist/ice/cpp/src/IceDiscovery/LookupI.h +168 -0
  405. data/dist/ice/cpp/src/IceDiscovery/PluginI.cpp +155 -0
  406. data/dist/ice/cpp/src/IceDiscovery/PluginI.h +31 -0
  407. data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +638 -0
  408. data/dist/ice/cpp/src/IceLocatorDiscovery/Plugin.h +24 -0
  409. data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +822 -0
  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 +96 -0
  416. data/dist/ice/cpp/src/Slice/FileTracker.h +44 -0
  417. data/dist/ice/cpp/src/Slice/Grammar.cpp +4125 -0
  418. data/dist/ice/cpp/src/Slice/Grammar.h +138 -0
  419. data/dist/ice/cpp/src/Slice/GrammarUtil.h +128 -0
  420. data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +473 -0
  421. data/dist/ice/cpp/src/Slice/MetadataValidation.h +106 -0
  422. data/dist/ice/cpp/src/Slice/Parser.cpp +4906 -0
  423. data/dist/ice/cpp/src/Slice/Parser.h +1175 -0
  424. data/dist/ice/cpp/src/Slice/Preprocessor.cpp +295 -0
  425. data/dist/ice/cpp/src/Slice/Preprocessor.h +44 -0
  426. data/dist/ice/cpp/src/Slice/Scanner.cpp +3445 -0
  427. data/dist/ice/cpp/src/Slice/SliceUtil.cpp +790 -0
  428. data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +448 -0
  429. data/dist/ice/cpp/src/Slice/Util.h +134 -0
  430. data/dist/ice/cpp/src/slice2rb/Main.cpp +33 -0
  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/mcpp/internal.H +530 -0
  435. data/dist/ice/slice/Glacier2/Metrics.ice +47 -0
  436. data/dist/ice/slice/Glacier2/PermissionsVerifier.ice +55 -0
  437. data/dist/ice/slice/Glacier2/Router.ice +93 -0
  438. data/dist/ice/slice/Glacier2/SSLInfo.ice +42 -0
  439. data/dist/ice/slice/Glacier2/Session.ice +133 -0
  440. data/dist/ice/slice/Ice/BuiltinSequences.ice +54 -0
  441. data/dist/ice/slice/Ice/Context.ice +24 -0
  442. data/dist/ice/slice/Ice/EndpointTypes.ice +50 -0
  443. data/dist/ice/slice/Ice/Identity.ice +36 -0
  444. data/dist/ice/slice/Ice/Locator.ice +74 -0
  445. data/dist/ice/slice/Ice/LocatorRegistry.ice +77 -0
  446. data/dist/ice/slice/Ice/Metrics.ice +201 -0
  447. data/dist/ice/slice/Ice/OperationMode.ice +38 -0
  448. data/dist/ice/slice/Ice/Process.ice +28 -0
  449. data/dist/ice/slice/Ice/PropertiesAdmin.ice +37 -0
  450. data/dist/ice/slice/Ice/PropertyDict.ice +23 -0
  451. data/dist/ice/slice/Ice/RemoteLogger.ice +126 -0
  452. data/dist/ice/slice/Ice/ReplyStatus.ice +65 -0
  453. data/dist/ice/slice/Ice/Router.ice +54 -0
  454. data/dist/ice/slice/Ice/SliceChecksumDict.ice +18 -0
  455. data/dist/ice/slice/Ice/Version.ice +43 -0
  456. data/dist/ice/slice/IceBox/ServiceManager.ice +79 -0
  457. data/dist/ice/slice/IceGrid/Admin.ice +981 -0
  458. data/dist/ice/slice/IceGrid/Descriptor.ice +519 -0
  459. data/dist/ice/slice/IceGrid/Exception.ice +98 -0
  460. data/dist/ice/slice/IceGrid/FileParser.ice +36 -0
  461. data/dist/ice/slice/IceGrid/Registry.ice +130 -0
  462. data/dist/ice/slice/IceGrid/Session.ice +64 -0
  463. data/dist/ice/slice/IceGrid/UserAccountMapper.ice +34 -0
  464. data/dist/ice/slice/IceStorm/IceStorm.ice +186 -0
  465. data/dist/ice/slice/IceStorm/Metrics.ice +41 -0
  466. data/dist/lib/Glacier2/Metrics.rb +41 -0
  467. data/dist/lib/Glacier2/PermissionsVerifier.rb +61 -0
  468. data/dist/lib/Glacier2/Router.rb +73 -0
  469. data/dist/lib/Glacier2/SSLInfo.rb +64 -0
  470. data/dist/lib/Glacier2/Session.rb +187 -0
  471. data/dist/lib/Glacier2.rb +7 -0
  472. data/dist/lib/Ice/BuiltinSequences.rb +48 -0
  473. data/dist/lib/Ice/CompressBatch.rb +50 -0
  474. data/dist/lib/Ice/Context.rb +12 -0
  475. data/dist/lib/Ice/EndpointSelectionType.rb +49 -0
  476. data/dist/lib/Ice/EndpointTypes.rb +28 -0
  477. data/dist/lib/Ice/Exception.rb +20 -0
  478. data/dist/lib/Ice/Identity.rb +47 -0
  479. data/dist/lib/Ice/IdentitySpaceship.rb +16 -0
  480. data/dist/lib/Ice/InitializationData.rb +12 -0
  481. data/dist/lib/Ice/LocalExceptions.rb +168 -0
  482. data/dist/lib/Ice/Locator.rb +83 -0
  483. data/dist/lib/Ice/LocatorRegistry.rb +73 -0
  484. data/dist/lib/Ice/Metrics.rb +290 -0
  485. data/dist/lib/Ice/OperationMode.rb +58 -0
  486. data/dist/lib/Ice/Process.rb +34 -0
  487. data/dist/lib/Ice/PropertiesAdmin.rb +39 -0
  488. data/dist/lib/Ice/PropertyDict.rb +12 -0
  489. data/dist/lib/Ice/Proxy.rb +85 -0
  490. data/dist/lib/Ice/ProxyFunctions.rb +69 -0
  491. data/dist/lib/Ice/RemoteLogger.rb +176 -0
  492. data/dist/lib/Ice/ReplyStatus.rb +65 -0
  493. data/dist/lib/Ice/Router.rb +59 -0
  494. data/dist/lib/Ice/SliceChecksumDict.rb +12 -0
  495. data/dist/lib/Ice/SliceUtil.rb +41 -0
  496. data/dist/lib/Ice/Struct.rb +11 -0
  497. data/dist/lib/Ice/ToStringMode.rb +50 -0
  498. data/dist/lib/Ice/Value.rb +93 -0
  499. data/dist/lib/Ice/Version.rb +78 -0
  500. data/dist/lib/Ice.rb +37 -0
  501. data/dist/lib/IceBox/ServiceManager.rb +104 -0
  502. data/dist/lib/IceBox.rb +3 -0
  503. data/dist/lib/IceGrid/Admin.rb +1208 -0
  504. data/dist/lib/IceGrid/Descriptor.rb +989 -0
  505. data/dist/lib/IceGrid/Exception.rb +145 -0
  506. data/dist/lib/IceGrid/FileParser.rb +41 -0
  507. data/dist/lib/IceGrid/Registry.rb +168 -0
  508. data/dist/lib/IceGrid/Session.rb +56 -0
  509. data/dist/lib/IceGrid/UserAccountMapper.rb +38 -0
  510. data/dist/lib/IceGrid.rb +9 -0
  511. data/dist/lib/IceStorm/IceStorm.rb +251 -0
  512. data/dist/lib/IceStorm/Metrics.rb +55 -0
  513. data/dist/lib/IceStorm.rb +4 -0
  514. data/extconf.rb +89 -0
  515. data/ice.gemspec +22 -17
  516. data/scripts/slice2rb +10 -0
  517. metadata +536 -712
  518. data/ICE_LICENSE +0 -48
  519. data/LICENSE +0 -340
  520. data/MCPP_LICENSE +0 -29
  521. data/bin/slice2rb +0 -12
  522. data/ext/Communicator.cpp +0 -792
  523. data/ext/Communicator.h +0 -20
  524. data/ext/Config.h +0 -143
  525. data/ext/Connection.cpp +0 -532
  526. data/ext/Connection.h +0 -24
  527. data/ext/Endpoint.cpp +0 -340
  528. data/ext/Endpoint.h +0 -22
  529. data/ext/ImplicitContext.cpp +0 -144
  530. data/ext/ImplicitContext.h +0 -20
  531. data/ext/Init.cpp +0 -49
  532. data/ext/Logger.cpp +0 -147
  533. data/ext/Logger.h +0 -23
  534. data/ext/Operation.cpp +0 -661
  535. data/ext/Operation.h +0 -31
  536. data/ext/Properties.cpp +0 -365
  537. data/ext/Properties.h +0 -20
  538. data/ext/Proxy.cpp +0 -1396
  539. data/ext/Proxy.h +0 -22
  540. data/ext/Slice.cpp +0 -205
  541. data/ext/Slice.h +0 -17
  542. data/ext/Types.cpp +0 -3325
  543. data/ext/Types.h +0 -595
  544. data/ext/Util.cpp +0 -812
  545. data/ext/Util.h +0 -586
  546. data/ext/ValueFactoryManager.cpp +0 -441
  547. data/ext/ValueFactoryManager.h +0 -95
  548. data/ext/extconf.rb +0 -97
  549. data/ext/ice/cpp/include/Ice/Application.h +0 -326
  550. data/ext/ice/cpp/include/Ice/AsyncResult.h +0 -155
  551. data/ext/ice/cpp/include/Ice/AsyncResultF.h +0 -23
  552. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -75
  553. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -20
  554. data/ext/ice/cpp/include/Ice/Buffer.h +0 -154
  555. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +0 -154
  556. data/ext/ice/cpp/include/Ice/Comparable.h +0 -205
  557. data/ext/ice/cpp/include/Ice/Config.h +0 -78
  558. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +0 -302
  559. data/ext/ice/cpp/include/Ice/ConnectionIF.h +0 -38
  560. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
  561. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +0 -57
  562. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +0 -41
  563. data/ext/ice/cpp/include/Ice/Dispatcher.h +0 -67
  564. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +0 -102
  565. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +0 -24
  566. data/ext/ice/cpp/include/Ice/Exception.h +0 -161
  567. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  568. data/ext/ice/cpp/include/Ice/FactoryTable.h +0 -73
  569. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +0 -84
  570. data/ext/ice/cpp/include/Ice/Format.h +0 -38
  571. data/ext/ice/cpp/include/Ice/Functional.h +0 -140
  572. data/ext/ice/cpp/include/Ice/GCObject.h +0 -76
  573. data/ext/ice/cpp/include/Ice/Handle.h +0 -182
  574. data/ext/ice/cpp/include/Ice/Ice.h +0 -55
  575. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +0 -377
  576. data/ext/ice/cpp/include/Ice/Incoming.h +0 -225
  577. data/ext/ice/cpp/include/Ice/IncomingAsync.h +0 -186
  578. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +0 -36
  579. data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
  580. data/ext/ice/cpp/include/Ice/InputStream.h +0 -1514
  581. data/ext/ice/cpp/include/Ice/InstanceF.h +0 -20
  582. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +0 -57
  583. data/ext/ice/cpp/include/Ice/LocalObject.h +0 -35
  584. data/ext/ice/cpp/include/Ice/LocalObjectF.h +0 -21
  585. data/ext/ice/cpp/include/Ice/LoggerUtil.h +0 -185
  586. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +0 -715
  587. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +0 -159
  588. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  589. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -86
  590. data/ext/ice/cpp/include/Ice/Object.h +0 -507
  591. data/ext/ice/cpp/include/Ice/ObjectF.h +0 -30
  592. data/ext/ice/cpp/include/Ice/ObserverHelper.h +0 -182
  593. data/ext/ice/cpp/include/Ice/Optional.h +0 -1114
  594. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
  595. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -39
  596. data/ext/ice/cpp/include/Ice/OutputStream.h +0 -1092
  597. data/ext/ice/cpp/include/Ice/Protocol.h +0 -274
  598. data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
  599. data/ext/ice/cpp/include/Ice/ProxyF.h +0 -53
  600. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +0 -21
  601. data/ext/ice/cpp/include/Ice/ProxyHandle.h +0 -318
  602. data/ext/ice/cpp/include/Ice/ReferenceF.h +0 -29
  603. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +0 -127
  604. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +0 -30
  605. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +0 -25
  606. data/ext/ice/cpp/include/Ice/SHA1.h +0 -42
  607. data/ext/ice/cpp/include/Ice/ServantManagerF.h +0 -21
  608. data/ext/ice/cpp/include/Ice/Service.h +0 -379
  609. data/ext/ice/cpp/include/Ice/SliceChecksums.h +0 -33
  610. data/ext/ice/cpp/include/Ice/SlicedData.h +0 -172
  611. data/ext/ice/cpp/include/Ice/SlicedDataF.h +0 -40
  612. data/ext/ice/cpp/include/Ice/StreamHelpers.h +0 -1190
  613. data/ext/ice/cpp/include/Ice/StringConverter.h +0 -78
  614. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +0 -23
  615. data/ext/ice/cpp/include/Ice/UUID.h +0 -19
  616. data/ext/ice/cpp/include/Ice/UniquePtr.h +0 -95
  617. data/ext/ice/cpp/include/Ice/UniqueRef.h +0 -97
  618. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
  619. data/ext/ice/cpp/include/Ice/Value.h +0 -139
  620. data/ext/ice/cpp/include/Ice/ValueF.h +0 -21
  621. data/ext/ice/cpp/include/IceSSL/Config.h +0 -21
  622. data/ext/ice/cpp/include/IceSSL/IceSSL.h +0 -28
  623. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +0 -147
  624. data/ext/ice/cpp/include/IceSSL/Plugin.h +0 -712
  625. data/ext/ice/cpp/include/IceSSL/SChannel.h +0 -72
  626. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +0 -72
  627. data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
  628. data/ext/ice/cpp/include/IceUtil/Atomic.h +0 -179
  629. data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
  630. data/ext/ice/cpp/include/IceUtil/Config.h +0 -424
  631. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
  632. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +0 -45
  633. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
  634. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +0 -44
  635. data/ext/ice/cpp/include/IceUtil/Exception.h +0 -394
  636. data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -143
  637. data/ext/ice/cpp/include/IceUtil/Functional.h +0 -389
  638. data/ext/ice/cpp/include/IceUtil/Handle.h +0 -261
  639. data/ext/ice/cpp/include/IceUtil/IceUtil.h +0 -40
  640. data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  641. data/ext/ice/cpp/include/IceUtil/Iterator.h +0 -31
  642. data/ext/ice/cpp/include/IceUtil/Lock.h +0 -128
  643. data/ext/ice/cpp/include/IceUtil/Monitor.h +0 -243
  644. data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -353
  645. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +0 -23
  646. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -78
  647. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -77
  648. data/ext/ice/cpp/include/IceUtil/Optional.h +0 -433
  649. data/ext/ice/cpp/include/IceUtil/Options.h +0 -135
  650. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +0 -383
  651. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -14
  652. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -33
  653. data/ext/ice/cpp/include/IceUtil/Random.h +0 -55
  654. data/ext/ice/cpp/include/IceUtil/RecMutex.h +0 -107
  655. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -53
  656. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +0 -40
  657. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +0 -98
  658. data/ext/ice/cpp/include/IceUtil/Shared.h +0 -127
  659. data/ext/ice/cpp/include/IceUtil/StopWatch.h +0 -49
  660. data/ext/ice/cpp/include/IceUtil/StringConverter.h +0 -195
  661. data/ext/ice/cpp/include/IceUtil/StringUtil.h +0 -97
  662. data/ext/ice/cpp/include/IceUtil/Thread.h +0 -174
  663. data/ext/ice/cpp/include/IceUtil/ThreadException.h +0 -94
  664. data/ext/ice/cpp/include/IceUtil/Time.h +0 -205
  665. data/ext/ice/cpp/include/IceUtil/Timer.h +0 -143
  666. data/ext/ice/cpp/include/IceUtil/UUID.h +0 -21
  667. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -37
  668. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
  669. data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  670. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  671. data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  672. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  673. data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
  674. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  675. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  676. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
  677. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  678. data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
  679. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  680. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  681. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  682. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  683. data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  684. data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
  685. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  686. data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
  687. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  688. data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
  689. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  690. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  691. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  692. data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  693. data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  694. data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
  695. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  696. data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
  697. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
  698. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  699. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
  700. data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
  701. data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  702. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  703. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  704. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
  705. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  706. data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
  707. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  708. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  709. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  710. data/ext/ice/cpp/src/Ice/ACM.cpp +0 -380
  711. data/ext/ice/cpp/src/Ice/ACM.h +0 -119
  712. data/ext/ice/cpp/src/Ice/ACMF.h +0 -30
  713. data/ext/ice/cpp/src/Ice/Acceptor.cpp +0 -16
  714. data/ext/ice/cpp/src/Ice/Acceptor.h +0 -37
  715. data/ext/ice/cpp/src/Ice/AcceptorF.h +0 -25
  716. data/ext/ice/cpp/src/Ice/ArgVector.cpp +0 -59
  717. data/ext/ice/cpp/src/Ice/ArgVector.h +0 -36
  718. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +0 -70
  719. data/ext/ice/cpp/src/Ice/Base64.cpp +0 -263
  720. data/ext/ice/cpp/src/Ice/Base64.h +0 -31
  721. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -250
  722. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +0 -59
  723. data/ext/ice/cpp/src/Ice/Buffer.cpp +0 -155
  724. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
  725. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -407
  726. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -87
  727. data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
  728. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
  729. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -586
  730. data/ext/ice/cpp/src/Ice/CommunicatorI.h +0 -167
  731. data/ext/ice/cpp/src/Ice/Cond.cpp +0 -381
  732. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -348
  733. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -72
  734. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -24
  735. data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
  736. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
  737. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -1972
  738. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +0 -264
  739. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -30
  740. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
  741. data/ext/ice/cpp/src/Ice/ConnectionI.h +0 -391
  742. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -73
  743. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -41
  744. data/ext/ice/cpp/src/Ice/Connector.cpp +0 -16
  745. data/ext/ice/cpp/src/Ice/Connector.h +0 -32
  746. data/ext/ice/cpp/src/Ice/ConnectorF.h +0 -21
  747. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -179
  748. data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
  749. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -161
  750. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -52
  751. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -21
  752. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -37
  753. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -291
  754. data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
  755. data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
  756. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
  757. data/ext/ice/cpp/src/Ice/EndpointFactory.h +0 -117
  758. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +0 -21
  759. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -213
  760. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -47
  761. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -21
  762. data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
  763. data/ext/ice/cpp/src/Ice/EndpointI.h +0 -218
  764. data/ext/ice/cpp/src/Ice/EndpointIF.h +0 -49
  765. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
  766. data/ext/ice/cpp/src/Ice/EventHandler.cpp +0 -32
  767. data/ext/ice/cpp/src/Ice/EventHandler.h +0 -81
  768. data/ext/ice/cpp/src/Ice/EventHandlerF.h +0 -24
  769. data/ext/ice/cpp/src/Ice/Exception.cpp +0 -845
  770. data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
  771. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +0 -162
  772. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -88
  773. data/ext/ice/cpp/src/Ice/GCObject.cpp +0 -442
  774. data/ext/ice/cpp/src/Ice/HashUtil.h +0 -53
  775. data/ext/ice/cpp/src/Ice/HttpParser.cpp +0 -684
  776. data/ext/ice/cpp/src/Ice/HttpParser.h +0 -117
  777. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -756
  778. data/ext/ice/cpp/src/Ice/IPEndpointI.h +0 -162
  779. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +0 -28
  780. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -51
  781. data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
  782. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
  783. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
  784. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -655
  785. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +0 -48
  786. data/ext/ice/cpp/src/Ice/Incoming.cpp +0 -795
  787. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +0 -230
  788. data/ext/ice/cpp/src/Ice/IncomingRequest.h +0 -33
  789. data/ext/ice/cpp/src/Ice/Initialize.cpp +0 -654
  790. data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
  791. data/ext/ice/cpp/src/Ice/Instance.cpp +0 -1971
  792. data/ext/ice/cpp/src/Ice/Instance.h +0 -235
  793. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
  794. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
  795. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +0 -1094
  796. data/ext/ice/cpp/src/Ice/InstrumentationI.h +0 -256
  797. data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
  798. data/ext/ice/cpp/src/Ice/LocalObject.cpp +0 -23
  799. data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
  800. data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
  801. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +0 -889
  802. data/ext/ice/cpp/src/Ice/LocatorInfo.h +0 -189
  803. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +0 -29
  804. data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
  805. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -956
  806. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +0 -41
  807. data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
  808. data/ext/ice/cpp/src/Ice/LoggerI.cpp +0 -261
  809. data/ext/ice/cpp/src/Ice/LoggerI.h +0 -52
  810. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +0 -100
  811. data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
  812. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
  813. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -8
  814. data/ext/ice/cpp/src/Ice/Network.cpp +0 -3075
  815. data/ext/ice/cpp/src/Ice/Network.h +0 -371
  816. data/ext/ice/cpp/src/Ice/NetworkF.h +0 -23
  817. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -324
  818. data/ext/ice/cpp/src/Ice/NetworkProxy.h +0 -72
  819. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +0 -21
  820. data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -57
  821. data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +0 -40
  822. data/ext/ice/cpp/src/Ice/Object.cpp +0 -435
  823. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
  824. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
  825. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -291
  826. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -53
  827. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -25
  828. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
  829. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +0 -159
  830. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
  831. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +0 -56
  832. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -408
  833. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -74
  834. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
  835. data/ext/ice/cpp/src/Ice/OutputStream.cpp +0 -1367
  836. data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
  837. data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
  838. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
  839. data/ext/ice/cpp/src/Ice/PluginManagerI.h +0 -61
  840. data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
  841. data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
  842. data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
  843. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
  844. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -265
  845. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +0 -64
  846. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
  847. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +0 -747
  848. data/ext/ice/cpp/src/Ice/PropertiesI.h +0 -70
  849. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
  850. data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
  851. data/ext/ice/cpp/src/Ice/Protocol.cpp +0 -124
  852. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -131
  853. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +0 -93
  854. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -21
  855. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -51
  856. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -64
  857. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -21
  858. data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
  859. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +0 -300
  860. data/ext/ice/cpp/src/Ice/ProxyFactory.h +0 -57
  861. data/ext/ice/cpp/src/Ice/Reference.cpp +0 -2046
  862. data/ext/ice/cpp/src/Ice/Reference.h +0 -323
  863. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -888
  864. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +0 -76
  865. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -19
  866. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -38
  867. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -20
  868. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
  869. data/ext/ice/cpp/src/Ice/ReplyStatus.h +0 -24
  870. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +0 -37
  871. data/ext/ice/cpp/src/Ice/RequestHandler.h +0 -78
  872. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -77
  873. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -37
  874. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +0 -12
  875. data/ext/ice/cpp/src/Ice/ResponseHandler.h +0 -43
  876. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +0 -157
  877. data/ext/ice/cpp/src/Ice/RetryQueue.h +0 -66
  878. data/ext/ice/cpp/src/Ice/RetryQueueF.h +0 -19
  879. data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
  880. data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
  881. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +0 -379
  882. data/ext/ice/cpp/src/Ice/RouterInfo.h +0 -152
  883. data/ext/ice/cpp/src/Ice/RouterInfoF.h +0 -25
  884. data/ext/ice/cpp/src/Ice/SHA1.cpp +0 -185
  885. data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1537
  886. data/ext/ice/cpp/src/Ice/Selector.h +0 -308
  887. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
  888. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
  889. data/ext/ice/cpp/src/Ice/ServantManager.cpp +0 -480
  890. data/ext/ice/cpp/src/Ice/ServantManager.h +0 -69
  891. data/ext/ice/cpp/src/Ice/SharedContext.h +0 -46
  892. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
  893. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +0 -75
  894. data/ext/ice/cpp/src/Ice/SlicedData.cpp +0 -127
  895. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -682
  896. data/ext/ice/cpp/src/Ice/StreamSocket.h +0 -92
  897. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -192
  898. data/ext/ice/cpp/src/Ice/StringUtil.h +0 -30
  899. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +0 -166
  900. data/ext/ice/cpp/src/Ice/SysLoggerI.h +0 -37
  901. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -66
  902. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +0 -39
  903. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -355
  904. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +0 -69
  905. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +0 -127
  906. data/ext/ice/cpp/src/Ice/TcpConnector.h +0 -45
  907. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -385
  908. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +0 -90
  909. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -135
  910. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +0 -58
  911. data/ext/ice/cpp/src/Ice/Thread.cpp +0 -811
  912. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1328
  913. data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -393
  914. data/ext/ice/cpp/src/Ice/Timer.cpp +0 -263
  915. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +0 -38
  916. data/ext/ice/cpp/src/Ice/TraceLevels.h +0 -45
  917. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +0 -21
  918. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +0 -478
  919. data/ext/ice/cpp/src/Ice/TraceUtil.h +0 -30
  920. data/ext/ice/cpp/src/Ice/Transceiver.cpp +0 -18
  921. data/ext/ice/cpp/src/Ice/Transceiver.h +0 -49
  922. data/ext/ice/cpp/src/Ice/TransceiverF.h +0 -33
  923. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -136
  924. data/ext/ice/cpp/src/Ice/UdpConnector.h +0 -45
  925. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -515
  926. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +0 -95
  927. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -1153
  928. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +0 -117
  929. data/ext/ice/cpp/src/Ice/Value.cpp +0 -76
  930. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
  931. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -61
  932. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -37
  933. data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
  934. data/ext/ice/cpp/src/Ice/VirtualShared.h +0 -38
  935. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +0 -92
  936. data/ext/ice/cpp/src/Ice/WSAcceptor.h +0 -52
  937. data/ext/ice/cpp/src/Ice/WSConnector.cpp +0 -102
  938. data/ext/ice/cpp/src/Ice/WSConnector.h +0 -43
  939. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +0 -508
  940. data/ext/ice/cpp/src/Ice/WSEndpoint.h +0 -93
  941. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1747
  942. data/ext/ice/cpp/src/Ice/WSTransceiver.h +0 -141
  943. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
  944. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
  945. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -265
  946. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +0 -109
  947. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -608
  948. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +0 -228
  949. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -176
  950. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +0 -36
  951. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
  952. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  953. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -47
  954. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -1048
  955. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
  956. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
  957. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +0 -301
  958. data/ext/ice/cpp/src/IceSSL/CertificateI.h +0 -64
  959. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
  960. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
  961. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -102
  962. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +0 -44
  963. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +0 -372
  964. data/ext/ice/cpp/src/IceSSL/EndpointI.h +0 -100
  965. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
  966. data/ext/ice/cpp/src/IceSSL/Instance.cpp +0 -28
  967. data/ext/ice/cpp/src/IceSSL/Instance.h +0 -37
  968. data/ext/ice/cpp/src/IceSSL/InstanceF.h +0 -33
  969. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -688
  970. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -1147
  971. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -59
  972. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -27
  973. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -127
  974. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  975. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -90
  976. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -288
  977. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -58
  978. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  979. data/ext/ice/cpp/src/IceSSL/PluginI.h +0 -67
  980. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +0 -490
  981. data/ext/ice/cpp/src/IceSSL/RFC2253.h +0 -62
  982. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -721
  983. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -1283
  984. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -123
  985. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -31
  986. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -73
  987. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -1174
  988. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -133
  989. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -313
  990. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +0 -100
  991. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +0 -21
  992. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -999
  993. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -1308
  994. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -59
  995. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -29
  996. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -75
  997. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  998. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -92
  999. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  1000. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -45
  1001. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +0 -236
  1002. data/ext/ice/cpp/src/IceSSL/TrustManager.h +0 -46
  1003. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +0 -21
  1004. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
  1005. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
  1006. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
  1007. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
  1008. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
  1009. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
  1010. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
  1011. data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -192
  1012. data/ext/ice/cpp/src/IceSSL/Util.h +0 -99
  1013. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -157
  1014. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -472
  1015. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +0 -147
  1016. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -259
  1017. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -484
  1018. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +0 -36
  1019. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -19
  1020. data/ext/ice/cpp/src/IceUtil/Options.cpp +0 -1051
  1021. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -609
  1022. data/ext/ice/cpp/src/IceUtil/Random.cpp +0 -180
  1023. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -242
  1024. data/ext/ice/cpp/src/IceUtil/Shared.cpp +0 -71
  1025. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  1026. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1180
  1027. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +0 -130
  1028. data/ext/ice/cpp/src/IceUtil/Time.cpp +0 -307
  1029. data/ext/ice/cpp/src/IceUtil/UUID.cpp +0 -169
  1030. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +0 -183
  1031. data/ext/ice/cpp/src/IceUtil/Unicode.h +0 -43
  1032. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
  1033. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -1810
  1034. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -72
  1035. data/ext/ice/cpp/src/Slice/Checksum.cpp +0 -447
  1036. data/ext/ice/cpp/src/Slice/Checksum.h +0 -21
  1037. data/ext/ice/cpp/src/Slice/FileTracker.cpp +0 -146
  1038. data/ext/ice/cpp/src/Slice/FileTracker.h +0 -66
  1039. data/ext/ice/cpp/src/Slice/Grammar.cpp +0 -4793
  1040. data/ext/ice/cpp/src/Slice/Grammar.h +0 -118
  1041. data/ext/ice/cpp/src/Slice/GrammarUtil.h +0 -228
  1042. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5154
  1043. data/ext/ice/cpp/src/Slice/JavaUtil.h +0 -398
  1044. data/ext/ice/cpp/src/Slice/MD5.cpp +0 -52
  1045. data/ext/ice/cpp/src/Slice/MD5.h +0 -39
  1046. data/ext/ice/cpp/src/Slice/MD5I.cpp +0 -393
  1047. data/ext/ice/cpp/src/Slice/MD5I.h +0 -91
  1048. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +0 -157
  1049. data/ext/ice/cpp/src/Slice/PHPUtil.h +0 -36
  1050. data/ext/ice/cpp/src/Slice/Parser.cpp +0 -7058
  1051. data/ext/ice/cpp/src/Slice/Parser.h +0 -1174
  1052. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +0 -797
  1053. data/ext/ice/cpp/src/Slice/Preprocessor.h +0 -60
  1054. data/ext/ice/cpp/src/Slice/Python.cpp +0 -830
  1055. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +0 -3439
  1056. data/ext/ice/cpp/src/Slice/PythonUtil.h +0 -70
  1057. data/ext/ice/cpp/src/Slice/Ruby.cpp +0 -350
  1058. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +0 -1571
  1059. data/ext/ice/cpp/src/Slice/RubyUtil.h +0 -49
  1060. data/ext/ice/cpp/src/Slice/Scanner.cpp +0 -2807
  1061. data/ext/ice/cpp/src/Slice/SliceUtil.cpp +0 -424
  1062. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -456
  1063. data/ext/ice/cpp/src/Slice/Util.h +0 -50
  1064. data/ext/ice/mcpp/CMakeLists.txt +0 -80
  1065. data/ext/ice/mcpp/LICENSE +0 -29
  1066. data/ext/ice/mcpp/Makefile +0 -63
  1067. data/ext/ice/mcpp/README.md +0 -32
  1068. data/ext/ice/mcpp/internal.H +0 -530
  1069. data/ext/ice/mcpp/mcpp.gyp +0 -88
  1070. data/lib/Glacier2/Metrics.rb +0 -56
  1071. data/lib/Glacier2/PermissionsVerifier.rb +0 -93
  1072. data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  1073. data/lib/Glacier2/Router.rb +0 -95
  1074. data/lib/Glacier2/RouterF.rb +0 -25
  1075. data/lib/Glacier2/SSLInfo.rb +0 -72
  1076. data/lib/Glacier2/Session.rb +0 -247
  1077. data/lib/Glacier2.rb +0 -7
  1078. data/lib/Ice/BuiltinSequences.rb +0 -60
  1079. data/lib/Ice/Communicator.rb +0 -87
  1080. data/lib/Ice/CommunicatorF.rb +0 -24
  1081. data/lib/Ice/Connection.rb +0 -413
  1082. data/lib/Ice/ConnectionF.rb +0 -32
  1083. data/lib/Ice/Current.rb +0 -141
  1084. data/lib/Ice/Endpoint.rb +0 -187
  1085. data/lib/Ice/EndpointF.rb +0 -48
  1086. data/lib/Ice/EndpointTypes.rb +0 -69
  1087. data/lib/Ice/FacetMap.rb +0 -24
  1088. data/lib/Ice/Identity.rb +0 -63
  1089. data/lib/Ice/ImplicitContext.rb +0 -26
  1090. data/lib/Ice/ImplicitContextF.rb +0 -24
  1091. data/lib/Ice/Instrumentation.rb +0 -169
  1092. data/lib/Ice/InstrumentationF.rb +0 -31
  1093. data/lib/Ice/LocalException.rb +0 -1031
  1094. data/lib/Ice/Locator.rb +0 -196
  1095. data/lib/Ice/LocatorF.rb +0 -30
  1096. data/lib/Ice/Logger.rb +0 -24
  1097. data/lib/Ice/LoggerF.rb +0 -24
  1098. data/lib/Ice/Metrics.rb +0 -337
  1099. data/lib/Ice/ObjectAdapter.rb +0 -29
  1100. data/lib/Ice/ObjectAdapterF.rb +0 -24
  1101. data/lib/Ice/ObjectFactory.rb +0 -24
  1102. data/lib/Ice/Plugin.rb +0 -30
  1103. data/lib/Ice/PluginF.rb +0 -28
  1104. data/lib/Ice/Process.rb +0 -53
  1105. data/lib/Ice/ProcessF.rb +0 -25
  1106. data/lib/Ice/Properties.rb +0 -25
  1107. data/lib/Ice/PropertiesAdmin.rb +0 -63
  1108. data/lib/Ice/PropertiesF.rb +0 -29
  1109. data/lib/Ice/RemoteLogger.rb +0 -207
  1110. data/lib/Ice/Router.rb +0 -87
  1111. data/lib/Ice/RouterF.rb +0 -25
  1112. data/lib/Ice/ServantLocator.rb +0 -26
  1113. data/lib/Ice/ServantLocatorF.rb +0 -24
  1114. data/lib/Ice/SliceChecksumDict.rb +0 -24
  1115. data/lib/Ice/ValueFactory.rb +0 -28
  1116. data/lib/Ice/Version.rb +0 -90
  1117. data/lib/Ice.rb +0 -673
  1118. data/lib/IceBox/IceBox.rb +0 -164
  1119. data/lib/IceBox.rb +0 -5
  1120. data/lib/IceGrid/Admin.rb +0 -1196
  1121. data/lib/IceGrid/Descriptor.rb +0 -1034
  1122. data/lib/IceGrid/Exception.rb +0 -376
  1123. data/lib/IceGrid/FileParser.rb +0 -65
  1124. data/lib/IceGrid/PluginFacade.rb +0 -35
  1125. data/lib/IceGrid/Registry.rb +0 -209
  1126. data/lib/IceGrid/Session.rb +0 -71
  1127. data/lib/IceGrid/UserAccountMapper.rb +0 -61
  1128. data/lib/IceGrid.rb +0 -9
  1129. data/lib/IcePatch2/FileInfo.rb +0 -115
  1130. data/lib/IcePatch2/FileServer.rb +0 -123
  1131. data/lib/IcePatch2.rb +0 -5
  1132. data/lib/IceStorm/IceStorm.rb +0 -332
  1133. data/lib/IceStorm/Metrics.rb +0 -73
  1134. data/lib/IceStorm.rb +0 -6
  1135. data/slice/Glacier2/Metrics.ice +0 -88
  1136. data/slice/Glacier2/PermissionsVerifier.ice +0 -111
  1137. data/slice/Glacier2/PermissionsVerifierF.ice +0 -30
  1138. data/slice/Glacier2/Router.ice +0 -186
  1139. data/slice/Glacier2/RouterF.ice +0 -29
  1140. data/slice/Glacier2/SSLInfo.ice +0 -59
  1141. data/slice/Glacier2/Session.ice +0 -274
  1142. data/slice/Ice/BuiltinSequences.ice +0 -59
  1143. data/slice/Ice/Communicator.ice +0 -676
  1144. data/slice/Ice/CommunicatorF.ice +0 -31
  1145. data/slice/Ice/Connection.ice +0 -516
  1146. data/slice/Ice/ConnectionF.ice +0 -33
  1147. data/slice/Ice/Current.ice +0 -170
  1148. data/slice/Ice/Endpoint.ice +0 -291
  1149. data/slice/Ice/EndpointF.ice +0 -43
  1150. data/slice/Ice/EndpointTypes.ice +0 -48
  1151. data/slice/Ice/FacetMap.ice +0 -36
  1152. data/slice/Ice/Identity.ice +0 -75
  1153. data/slice/Ice/ImplicitContext.ice +0 -119
  1154. data/slice/Ice/ImplicitContextF.ice +0 -30
  1155. data/slice/Ice/Instrumentation.ice +0 -509
  1156. data/slice/Ice/InstrumentationF.ice +0 -38
  1157. data/slice/Ice/LocalException.ice +0 -1040
  1158. data/slice/Ice/Locator.ice +0 -239
  1159. data/slice/Ice/LocatorF.ice +0 -32
  1160. data/slice/Ice/Logger.ice +0 -99
  1161. data/slice/Ice/LoggerF.ice +0 -31
  1162. data/slice/Ice/Metrics.ice +0 -436
  1163. data/slice/Ice/ObjectAdapter.ice +0 -710
  1164. data/slice/Ice/ObjectAdapterF.ice +0 -31
  1165. data/slice/Ice/ObjectFactory.ice +0 -71
  1166. data/slice/Ice/Plugin.ice +0 -131
  1167. data/slice/Ice/PluginF.ice +0 -36
  1168. data/slice/Ice/Process.ice +0 -64
  1169. data/slice/Ice/ProcessF.ice +0 -31
  1170. data/slice/Ice/Properties.ice +0 -244
  1171. data/slice/Ice/PropertiesAdmin.ice +0 -87
  1172. data/slice/Ice/PropertiesF.ice +0 -32
  1173. data/slice/Ice/RemoteLogger.ice +0 -226
  1174. data/slice/Ice/Router.ice +0 -103
  1175. data/slice/Ice/RouterF.ice +0 -31
  1176. data/slice/Ice/ServantLocator.ice +0 -136
  1177. data/slice/Ice/ServantLocatorF.ice +0 -31
  1178. data/slice/Ice/SliceChecksumDict.ice +0 -36
  1179. data/slice/Ice/ValueFactory.ice +0 -133
  1180. data/slice/Ice/Version.ice +0 -51
  1181. data/slice/IceBT/ConnectionInfo.ice +0 -59
  1182. data/slice/IceBT/EndpointInfo.ice +0 -57
  1183. data/slice/IceBT/Types.ice +0 -45
  1184. data/slice/IceBox/IceBox.ice +0 -216
  1185. data/slice/IceDiscovery/IceDiscovery.ice +0 -98
  1186. data/slice/IceGrid/Admin.ice +0 -1957
  1187. data/slice/IceGrid/Descriptor.ice +0 -1094
  1188. data/slice/IceGrid/Exception.ice +0 -396
  1189. data/slice/IceGrid/FileParser.ice +0 -72
  1190. data/slice/IceGrid/PluginFacade.ice +0 -329
  1191. data/slice/IceGrid/Registry.ice +0 -269
  1192. data/slice/IceGrid/Session.ice +0 -128
  1193. data/slice/IceGrid/UserAccountMapper.ice +0 -69
  1194. data/slice/IceIAP/ConnectionInfo.ice +0 -74
  1195. data/slice/IceIAP/EndpointInfo.ice +0 -68
  1196. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  1197. data/slice/IcePatch2/FileInfo.ice +0 -85
  1198. data/slice/IcePatch2/FileServer.ice +0 -191
  1199. data/slice/IceSSL/ConnectionInfo.ice +0 -54
  1200. data/slice/IceSSL/ConnectionInfoF.ice +0 -31
  1201. data/slice/IceSSL/EndpointInfo.ice +0 -45
  1202. data/slice/IceStorm/IceStorm.ice +0 -414
  1203. data/slice/IceStorm/Metrics.ice +0 -83
  1204. /data/{ext → dist}/ice/mcpp/config.h +0 -0
  1205. /data/{ext → dist}/ice/mcpp/configed.H +0 -0
  1206. /data/{ext → dist}/ice/mcpp/directive.c +0 -0
  1207. /data/{ext → dist}/ice/mcpp/eval.c +0 -0
  1208. /data/{ext → dist}/ice/mcpp/expand.c +0 -0
  1209. /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
  1210. /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
  1211. /data/{ext/ice/mcpp/main.c → dist/ice/mcpp/mcpp_main.c} +0 -0
  1212. /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
  1213. /data/{ext → dist}/ice/mcpp/support.c +0 -0
  1214. /data/{ext → dist}/ice/mcpp/system.H +0 -0
  1215. /data/{ext → dist}/ice/mcpp/system.c +0 -0
@@ -1,4769 +0,0 @@
1
- //
2
- // Copyright (c) ZeroC, Inc. All rights reserved.
3
- //
4
- //
5
- // Ice version 3.7.9
6
- //
7
- // <auto-generated>
8
- //
9
- // Generated from file `Metrics.ice'
10
- //
11
- // Warning: do not edit this file.
12
- //
13
- // </auto-generated>
14
- //
15
-
16
- #ifndef __Ice_Metrics_h__
17
- #define __Ice_Metrics_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 <IceUtil/UndefSysMacros.h>
38
-
39
- #ifndef ICE_IGNORE_VERSION
40
- # if ICE_INT_VERSION / 100 != 307
41
- # error Ice version mismatch!
42
- # endif
43
- # if ICE_INT_VERSION % 100 >= 50
44
- # error Beta header file detected
45
- # endif
46
- # if ICE_INT_VERSION % 100 < 9
47
- # error Ice patch level mismatch!
48
- # endif
49
- #endif
50
-
51
- #ifndef ICE_API
52
- # if defined(ICE_STATIC_LIBS)
53
- # define ICE_API /**/
54
- # elif defined(ICE_API_EXPORTS)
55
- # define ICE_API ICE_DECLSPEC_EXPORT
56
- # else
57
- # define ICE_API ICE_DECLSPEC_IMPORT
58
- # endif
59
- #endif
60
-
61
- #ifdef ICE_CPP11_MAPPING // C++11 mapping
62
-
63
- namespace IceMX
64
- {
65
-
66
- class Metrics;
67
- class MetricsAdmin;
68
- class MetricsAdminPrx;
69
- class ThreadMetrics;
70
- class DispatchMetrics;
71
- class ChildInvocationMetrics;
72
- class CollocatedMetrics;
73
- class RemoteMetrics;
74
- class InvocationMetrics;
75
- class ConnectionMetrics;
76
-
77
- }
78
-
79
- namespace IceMX
80
- {
81
-
82
- /**
83
- * A dictionnary of strings to integers.
84
- */
85
- using StringIntDict = ::std::map<::std::string, int>;
86
-
87
- /**
88
- * A structure to keep track of failures associated with a given
89
- * metrics.
90
- * \headerfile Ice/Ice.h
91
- */
92
- struct MetricsFailures
93
- {
94
- /**
95
- * The identifier of the metrics object associated to the
96
- * failures.
97
- */
98
- ::std::string id;
99
- /**
100
- * The failures observed for this metrics.
101
- */
102
- ::IceMX::StringIntDict failures;
103
-
104
- /**
105
- * Obtains a tuple containing all of the struct's data members.
106
- * @return The data members in a tuple.
107
- */
108
- std::tuple<const ::std::string&, const ::IceMX::StringIntDict&> ice_tuple() const
109
- {
110
- return std::tie(id, failures);
111
- }
112
- };
113
-
114
- /**
115
- * A sequence of {@link MetricsFailures}.
116
- */
117
- using MetricsFailuresSeq = ::std::vector<MetricsFailures>;
118
-
119
- /**
120
- * A metrics map is a sequence of metrics. We use a sequence here
121
- * instead of a map because the ID of the metrics is already included
122
- * in the Metrics class and using sequences of metrics objects is more
123
- * efficient than using dictionaries since lookup is not necessary.
124
- */
125
- using MetricsMap = ::std::vector<::std::shared_ptr<Metrics>>;
126
-
127
- /**
128
- * A metrics view is a dictionary of metrics map. The key of the
129
- * dictionary is the name of the metrics map.
130
- */
131
- using MetricsView = ::std::map<::std::string, MetricsMap>;
132
-
133
- /**
134
- * Raised if a metrics view cannot be found.
135
- * \headerfile Ice/Ice.h
136
- */
137
- class ICE_CLASS(ICE_API) UnknownMetricsView : public ::Ice::UserExceptionHelper<UnknownMetricsView, ::Ice::UserException>
138
- {
139
- public:
140
-
141
- ICE_MEMBER(ICE_API) virtual ~UnknownMetricsView();
142
-
143
- UnknownMetricsView(const UnknownMetricsView&) = default;
144
-
145
- UnknownMetricsView() = default;
146
-
147
- /**
148
- * Obtains a tuple containing all of the exception's data members.
149
- * @return The data members in a tuple.
150
- */
151
- std::tuple<> ice_tuple() const
152
- {
153
- return std::tie();
154
- }
155
-
156
- /**
157
- * Obtains the Slice type ID of this exception.
158
- * @return The fully-scoped type ID.
159
- */
160
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
161
- };
162
-
163
- /// \cond INTERNAL
164
- static UnknownMetricsView _iceS_UnknownMetricsView_init;
165
- /// \endcond
166
-
167
- using Ice::operator<;
168
- using Ice::operator<=;
169
- using Ice::operator>;
170
- using Ice::operator>=;
171
- using Ice::operator==;
172
- using Ice::operator!=;
173
-
174
- }
175
-
176
- namespace IceMX
177
- {
178
-
179
- /**
180
- * The metrics administrative facet interface. This interface allows
181
- * remote administrative clients to access metrics of an application
182
- * that enabled the Ice administrative facility and configured some
183
- * metrics views.
184
- * \headerfile Ice/Ice.h
185
- */
186
- class ICE_API MetricsAdmin : public virtual ::Ice::Object
187
- {
188
- public:
189
-
190
- using ProxyType = MetricsAdminPrx;
191
-
192
- /**
193
- * Determines whether this object supports an interface with the given Slice type ID.
194
- * @param id The fully-scoped Slice type ID.
195
- * @param current The Current object for the invocation.
196
- * @return True if this object supports the interface, false, otherwise.
197
- */
198
- virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
199
-
200
- /**
201
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
202
- * @param current The Current object for the invocation.
203
- * @return A list of fully-scoped type IDs.
204
- */
205
- virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
206
-
207
- /**
208
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
209
- * @param current The Current object for the invocation.
210
- * @return A fully-scoped type ID.
211
- */
212
- virtual ::std::string ice_id(const ::Ice::Current& current) const override;
213
-
214
- /**
215
- * Obtains the Slice type ID corresponding to this class.
216
- * @return A fully-scoped type ID.
217
- */
218
- static const ::std::string& ice_staticId();
219
-
220
- /**
221
- * Encapsulates the results of a call to getMetricsViewNames.
222
- */
223
- struct GetMetricsViewNamesResult
224
- {
225
- /** The name of the enabled views. */
226
- ::Ice::StringSeq returnValue;
227
- /** The names of the disabled views. */
228
- ::Ice::StringSeq disabledViews;
229
- };
230
-
231
- /**
232
- * Get the names of enabled and disabled metrics.
233
- * @param disabledViews The names of the disabled views.
234
- * @param current The Current object for the invocation.
235
- * @return The name of the enabled views.
236
- */
237
- virtual ::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::Current& current) = 0;
238
- /// \cond INTERNAL
239
- bool _iceD_getMetricsViewNames(::IceInternal::Incoming&, const ::Ice::Current&);
240
- /// \endcond
241
-
242
- /**
243
- * Enables a metrics view.
244
- * @param name The metrics view name.
245
- * @param current The Current object for the invocation.
246
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
247
- * found.
248
- */
249
- virtual void enableMetricsView(::std::string name, const ::Ice::Current& current) = 0;
250
- /// \cond INTERNAL
251
- bool _iceD_enableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
252
- /// \endcond
253
-
254
- /**
255
- * Disable a metrics view.
256
- * @param name The metrics view name.
257
- * @param current The Current object for the invocation.
258
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
259
- * found.
260
- */
261
- virtual void disableMetricsView(::std::string name, const ::Ice::Current& current) = 0;
262
- /// \cond INTERNAL
263
- bool _iceD_disableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
264
- /// \endcond
265
-
266
- /**
267
- * Encapsulates the results of a call to getMetricsView.
268
- */
269
- struct GetMetricsViewResult
270
- {
271
- /** The metrics view data. */
272
- MetricsView returnValue;
273
- /** The local time of the process when the metrics object were retrieved. */
274
- long long int timestamp;
275
- };
276
-
277
- /**
278
- * Get the metrics objects for the given metrics view. This
279
- * returns a dictionnary of metric maps for each metrics class
280
- * configured with the view. The timestamp allows the client to
281
- * compute averages which are not dependent of the invocation
282
- * latency for this operation.
283
- * @param view The name of the metrics view.
284
- * @param timestamp The local time of the process when the metrics
285
- * object were retrieved.
286
- * @param current The Current object for the invocation.
287
- * @return The metrics view data.
288
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
289
- * found.
290
- */
291
- virtual MetricsView getMetricsView(::std::string view, long long int& timestamp, const ::Ice::Current& current) = 0;
292
- /// \cond INTERNAL
293
- bool _iceD_getMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
294
- /// \endcond
295
-
296
- /**
297
- * Get the metrics failures associated with the given view and map.
298
- * @param view The name of the metrics view.
299
- * @param map The name of the metrics map.
300
- * @param current The Current object for the invocation.
301
- * @return The metrics failures associated with the map.
302
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
303
- * found.
304
- */
305
- virtual MetricsFailuresSeq getMapMetricsFailures(::std::string view, ::std::string map, const ::Ice::Current& current) = 0;
306
- /// \cond INTERNAL
307
- bool _iceD_getMapMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
308
- /// \endcond
309
-
310
- /**
311
- * Get the metrics failure associated for the given metrics.
312
- * @param view The name of the metrics view.
313
- * @param map The name of the metrics map.
314
- * @param id The ID of the metrics.
315
- * @param current The Current object for the invocation.
316
- * @return The metrics failures associated with the metrics.
317
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
318
- * found.
319
- */
320
- virtual MetricsFailures getMetricsFailures(::std::string view, ::std::string map, ::std::string id, const ::Ice::Current& current) = 0;
321
- /// \cond INTERNAL
322
- bool _iceD_getMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
323
- /// \endcond
324
-
325
- /// \cond INTERNAL
326
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
327
- /// \endcond
328
- };
329
-
330
- }
331
-
332
- namespace IceMX
333
- {
334
-
335
- /**
336
- * The base class for metrics. A metrics object represents a
337
- * collection of measurements associated to a given a system.
338
- * \headerfile Ice/Ice.h
339
- */
340
- class ICE_CLASS(ICE_API) Metrics : public ::Ice::ValueHelper<Metrics, ::Ice::Value>
341
- {
342
- public:
343
-
344
- ICE_MEMBER(ICE_API) virtual ~Metrics();
345
-
346
- Metrics() = default;
347
-
348
- Metrics(const Metrics&) = default;
349
- Metrics(Metrics&&) = default;
350
- Metrics& operator=(const Metrics&) = default;
351
- Metrics& operator=(Metrics&&) = default;
352
-
353
- /**
354
- * One-shot constructor to initialize all data members.
355
- * @param id The metrics identifier.
356
- * @param total The total number of objects observed by this metrics.
357
- * @param current The number of objects currently observed by this metrics.
358
- * @param totalLifetime The sum of the lifetime of each observed objects.
359
- * @param failures The number of failures observed.
360
- */
361
- Metrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures) :
362
- id(id),
363
- total(total),
364
- current(current),
365
- totalLifetime(totalLifetime),
366
- failures(failures)
367
- {
368
- }
369
-
370
- /**
371
- * Obtains a tuple containing all of the value's data members.
372
- * @return The data members in a tuple.
373
- */
374
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&> ice_tuple() const
375
- {
376
- return std::tie(id, total, current, totalLifetime, failures);
377
- }
378
-
379
- /**
380
- * Obtains the Slice type ID of this value.
381
- * @return The fully-scoped type ID.
382
- */
383
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
384
-
385
- /**
386
- * The metrics identifier.
387
- */
388
- ::std::string id;
389
- /**
390
- * The total number of objects observed by this metrics. This includes
391
- * the number of currently observed objects and the number of objects
392
- * observed in the past.
393
- */
394
- long long int total = 0LL;
395
- /**
396
- * The number of objects currently observed by this metrics.
397
- */
398
- int current = 0;
399
- /**
400
- * The sum of the lifetime of each observed objects. This does not
401
- * include the lifetime of objects which are currently observed,
402
- * only the objects observed in the past.
403
- */
404
- long long int totalLifetime = 0LL;
405
- /**
406
- * The number of failures observed.
407
- */
408
- int failures = 0;
409
- };
410
-
411
- /// \cond INTERNAL
412
- static Metrics _iceS_Metrics_init;
413
- /// \endcond
414
-
415
- /**
416
- * Provides information on the number of threads currently in use and
417
- * their activity.
418
- * \headerfile Ice/Ice.h
419
- */
420
- class ICE_CLASS(ICE_API) ThreadMetrics : public ::Ice::ValueHelper<ThreadMetrics, Metrics>
421
- {
422
- public:
423
-
424
- ICE_MEMBER(ICE_API) virtual ~ThreadMetrics();
425
-
426
- ThreadMetrics() = default;
427
-
428
- ThreadMetrics(const ThreadMetrics&) = default;
429
- ThreadMetrics(ThreadMetrics&&) = default;
430
- ThreadMetrics& operator=(const ThreadMetrics&) = default;
431
- ThreadMetrics& operator=(ThreadMetrics&&) = default;
432
-
433
- /**
434
- * One-shot constructor to initialize all data members.
435
- * @param id The metrics identifier.
436
- * @param total The total number of objects observed by this metrics.
437
- * @param current The number of objects currently observed by this metrics.
438
- * @param totalLifetime The sum of the lifetime of each observed objects.
439
- * @param failures The number of failures observed.
440
- * @param inUseForIO The number of threads which are currently performing socket read or writes.
441
- * @param inUseForUser The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
442
- * @param inUseForOther The number of threads which are currently performing other activities.
443
- */
444
- ThreadMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, int inUseForIO, int inUseForUser, int inUseForOther) :
445
- Ice::ValueHelper<ThreadMetrics, Metrics>(id, total, current, totalLifetime, failures),
446
- inUseForIO(inUseForIO),
447
- inUseForUser(inUseForUser),
448
- inUseForOther(inUseForOther)
449
- {
450
- }
451
-
452
- /**
453
- * Obtains a tuple containing all of the value's data members.
454
- * @return The data members in a tuple.
455
- */
456
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const int&> ice_tuple() const
457
- {
458
- return std::tie(id, total, current, totalLifetime, failures, inUseForIO, inUseForUser, inUseForOther);
459
- }
460
-
461
- /**
462
- * Obtains the Slice type ID of this value.
463
- * @return The fully-scoped type ID.
464
- */
465
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
466
-
467
- /**
468
- * The number of threads which are currently performing socket
469
- * read or writes.
470
- */
471
- int inUseForIO = 0;
472
- /**
473
- * The number of threads which are currently calling user code
474
- * (servant dispatch, AMI callbacks, etc).
475
- */
476
- int inUseForUser = 0;
477
- /**
478
- * The number of threads which are currently performing other
479
- * activities. These are all other that are not counted with
480
- * {@link #inUseForUser} or {@link #inUseForIO}, such as DNS
481
- * lookups, garbage collection).
482
- */
483
- int inUseForOther = 0;
484
- };
485
-
486
- /**
487
- * Provides information on servant dispatch.
488
- * \headerfile Ice/Ice.h
489
- */
490
- class ICE_CLASS(ICE_API) DispatchMetrics : public ::Ice::ValueHelper<DispatchMetrics, Metrics>
491
- {
492
- public:
493
-
494
- ICE_MEMBER(ICE_API) virtual ~DispatchMetrics();
495
-
496
- DispatchMetrics() = default;
497
-
498
- DispatchMetrics(const DispatchMetrics&) = default;
499
- DispatchMetrics(DispatchMetrics&&) = default;
500
- DispatchMetrics& operator=(const DispatchMetrics&) = default;
501
- DispatchMetrics& operator=(DispatchMetrics&&) = default;
502
-
503
- /**
504
- * One-shot constructor to initialize all data members.
505
- * @param id The metrics identifier.
506
- * @param total The total number of objects observed by this metrics.
507
- * @param current The number of objects currently observed by this metrics.
508
- * @param totalLifetime The sum of the lifetime of each observed objects.
509
- * @param failures The number of failures observed.
510
- * @param userException The number of dispatch that failed with a user exception.
511
- * @param size The size of the dispatch.
512
- * @param replySize The size of the dispatch reply.
513
- */
514
- DispatchMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, int userException, long long int size, long long int replySize) :
515
- Ice::ValueHelper<DispatchMetrics, Metrics>(id, total, current, totalLifetime, failures),
516
- userException(userException),
517
- size(size),
518
- replySize(replySize)
519
- {
520
- }
521
-
522
- /**
523
- * Obtains a tuple containing all of the value's data members.
524
- * @return The data members in a tuple.
525
- */
526
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const long long int&, const long long int&> ice_tuple() const
527
- {
528
- return std::tie(id, total, current, totalLifetime, failures, userException, size, replySize);
529
- }
530
-
531
- /**
532
- * Obtains the Slice type ID of this value.
533
- * @return The fully-scoped type ID.
534
- */
535
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
536
-
537
- /**
538
- * The number of dispatch that failed with a user exception.
539
- */
540
- int userException = 0;
541
- /**
542
- * The size of the dispatch. This corresponds to the size of the
543
- * marshalled input parameters.
544
- */
545
- long long int size = 0LL;
546
- /**
547
- * The size of the dispatch reply. This corresponds to the size of
548
- * the marshalled output and return parameters.
549
- */
550
- long long int replySize = 0LL;
551
- };
552
-
553
- /**
554
- * Provides information on child invocations. A child invocation is
555
- * either remote (sent over an Ice connection) or collocated. An
556
- * invocation can have multiple child invocation if it is
557
- * retried. Child invocation metrics are embedded within
558
- * {@link InvocationMetrics}.
559
- * \headerfile Ice/Ice.h
560
- */
561
- class ICE_CLASS(ICE_API) ChildInvocationMetrics : public ::Ice::ValueHelper<ChildInvocationMetrics, Metrics>
562
- {
563
- public:
564
-
565
- ICE_MEMBER(ICE_API) virtual ~ChildInvocationMetrics();
566
-
567
- ChildInvocationMetrics() = default;
568
-
569
- ChildInvocationMetrics(const ChildInvocationMetrics&) = default;
570
- ChildInvocationMetrics(ChildInvocationMetrics&&) = default;
571
- ChildInvocationMetrics& operator=(const ChildInvocationMetrics&) = default;
572
- ChildInvocationMetrics& operator=(ChildInvocationMetrics&&) = default;
573
-
574
- /**
575
- * One-shot constructor to initialize all data members.
576
- * @param id The metrics identifier.
577
- * @param total The total number of objects observed by this metrics.
578
- * @param current The number of objects currently observed by this metrics.
579
- * @param totalLifetime The sum of the lifetime of each observed objects.
580
- * @param failures The number of failures observed.
581
- * @param size The size of the invocation.
582
- * @param replySize The size of the invocation reply.
583
- */
584
- ChildInvocationMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, long long int size, long long int replySize) :
585
- Ice::ValueHelper<ChildInvocationMetrics, Metrics>(id, total, current, totalLifetime, failures),
586
- size(size),
587
- replySize(replySize)
588
- {
589
- }
590
-
591
- /**
592
- * Obtains a tuple containing all of the value's data members.
593
- * @return The data members in a tuple.
594
- */
595
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
596
- {
597
- return std::tie(id, total, current, totalLifetime, failures, size, replySize);
598
- }
599
-
600
- /**
601
- * Obtains the Slice type ID of this value.
602
- * @return The fully-scoped type ID.
603
- */
604
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
605
-
606
- /**
607
- * The size of the invocation. This corresponds to the size of the
608
- * marshalled input parameters.
609
- */
610
- long long int size = 0LL;
611
- /**
612
- * The size of the invocation reply. This corresponds to the size
613
- * of the marshalled output and return parameters.
614
- */
615
- long long int replySize = 0LL;
616
- };
617
-
618
- /**
619
- * Provides information on invocations that are collocated. Collocated
620
- * metrics are embedded within {@link InvocationMetrics}.
621
- * \headerfile Ice/Ice.h
622
- */
623
- class ICE_CLASS(ICE_API) CollocatedMetrics : public ::Ice::ValueHelper<CollocatedMetrics, ChildInvocationMetrics>
624
- {
625
- public:
626
-
627
- ICE_MEMBER(ICE_API) virtual ~CollocatedMetrics();
628
-
629
- CollocatedMetrics() = default;
630
-
631
- CollocatedMetrics(const CollocatedMetrics&) = default;
632
- CollocatedMetrics(CollocatedMetrics&&) = default;
633
- CollocatedMetrics& operator=(const CollocatedMetrics&) = default;
634
- CollocatedMetrics& operator=(CollocatedMetrics&&) = default;
635
-
636
- /**
637
- * One-shot constructor to initialize all data members.
638
- * @param id The metrics identifier.
639
- * @param total The total number of objects observed by this metrics.
640
- * @param current The number of objects currently observed by this metrics.
641
- * @param totalLifetime The sum of the lifetime of each observed objects.
642
- * @param failures The number of failures observed.
643
- * @param size The size of the invocation.
644
- * @param replySize The size of the invocation reply.
645
- */
646
- CollocatedMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, long long int size, long long int replySize) :
647
- Ice::ValueHelper<CollocatedMetrics, ChildInvocationMetrics>(id, total, current, totalLifetime, failures, size, replySize)
648
- {
649
- }
650
-
651
- /**
652
- * Obtains a tuple containing all of the value's data members.
653
- * @return The data members in a tuple.
654
- */
655
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
656
- {
657
- return std::tie(id, total, current, totalLifetime, failures, size, replySize);
658
- }
659
-
660
- /**
661
- * Obtains the Slice type ID of this value.
662
- * @return The fully-scoped type ID.
663
- */
664
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
665
- };
666
-
667
- /**
668
- * Provides information on invocations that are specifically sent over
669
- * Ice connections. Remote metrics are embedded within {@link InvocationMetrics}.
670
- * \headerfile Ice/Ice.h
671
- */
672
- class ICE_CLASS(ICE_API) RemoteMetrics : public ::Ice::ValueHelper<RemoteMetrics, ChildInvocationMetrics>
673
- {
674
- public:
675
-
676
- ICE_MEMBER(ICE_API) virtual ~RemoteMetrics();
677
-
678
- RemoteMetrics() = default;
679
-
680
- RemoteMetrics(const RemoteMetrics&) = default;
681
- RemoteMetrics(RemoteMetrics&&) = default;
682
- RemoteMetrics& operator=(const RemoteMetrics&) = default;
683
- RemoteMetrics& operator=(RemoteMetrics&&) = default;
684
-
685
- /**
686
- * One-shot constructor to initialize all data members.
687
- * @param id The metrics identifier.
688
- * @param total The total number of objects observed by this metrics.
689
- * @param current The number of objects currently observed by this metrics.
690
- * @param totalLifetime The sum of the lifetime of each observed objects.
691
- * @param failures The number of failures observed.
692
- * @param size The size of the invocation.
693
- * @param replySize The size of the invocation reply.
694
- */
695
- RemoteMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, long long int size, long long int replySize) :
696
- Ice::ValueHelper<RemoteMetrics, ChildInvocationMetrics>(id, total, current, totalLifetime, failures, size, replySize)
697
- {
698
- }
699
-
700
- /**
701
- * Obtains a tuple containing all of the value's data members.
702
- * @return The data members in a tuple.
703
- */
704
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
705
- {
706
- return std::tie(id, total, current, totalLifetime, failures, size, replySize);
707
- }
708
-
709
- /**
710
- * Obtains the Slice type ID of this value.
711
- * @return The fully-scoped type ID.
712
- */
713
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
714
- };
715
-
716
- /**
717
- * Provide measurements for proxy invocations. Proxy invocations can
718
- * either be sent over the wire or be collocated.
719
- * \headerfile Ice/Ice.h
720
- */
721
- class ICE_CLASS(ICE_API) InvocationMetrics : public ::Ice::ValueHelper<InvocationMetrics, Metrics>
722
- {
723
- public:
724
-
725
- ICE_MEMBER(ICE_API) virtual ~InvocationMetrics();
726
-
727
- InvocationMetrics() = default;
728
-
729
- InvocationMetrics(const InvocationMetrics&) = default;
730
- InvocationMetrics(InvocationMetrics&&) = default;
731
- InvocationMetrics& operator=(const InvocationMetrics&) = default;
732
- InvocationMetrics& operator=(InvocationMetrics&&) = default;
733
-
734
- /**
735
- * One-shot constructor to initialize all data members.
736
- * @param id The metrics identifier.
737
- * @param total The total number of objects observed by this metrics.
738
- * @param current The number of objects currently observed by this metrics.
739
- * @param totalLifetime The sum of the lifetime of each observed objects.
740
- * @param failures The number of failures observed.
741
- * @param retry The number of retries for the invocation(s).
742
- * @param userException The number of invocations that failed with a user exception.
743
- * @param remotes The remote invocation metrics map.
744
- * @param collocated The collocated invocation metrics map.
745
- */
746
- InvocationMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, int retry, int userException, const ::IceMX::MetricsMap& remotes, const ::IceMX::MetricsMap& collocated) :
747
- Ice::ValueHelper<InvocationMetrics, Metrics>(id, total, current, totalLifetime, failures),
748
- retry(retry),
749
- userException(userException),
750
- remotes(remotes),
751
- collocated(collocated)
752
- {
753
- }
754
-
755
- /**
756
- * Obtains a tuple containing all of the value's data members.
757
- * @return The data members in a tuple.
758
- */
759
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const ::IceMX::MetricsMap&, const ::IceMX::MetricsMap&> ice_tuple() const
760
- {
761
- return std::tie(id, total, current, totalLifetime, failures, retry, userException, remotes, collocated);
762
- }
763
-
764
- /**
765
- * Obtains the Slice type ID of this value.
766
- * @return The fully-scoped type ID.
767
- */
768
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
769
-
770
- /**
771
- * The number of retries for the invocation(s).
772
- */
773
- int retry = 0;
774
- /**
775
- * The number of invocations that failed with a user exception.
776
- */
777
- int userException = 0;
778
- /**
779
- * The remote invocation metrics map.
780
- * @see RemoteMetrics
781
- */
782
- ::IceMX::MetricsMap remotes;
783
- /**
784
- * The collocated invocation metrics map.
785
- * @see CollocatedMetrics
786
- */
787
- ::IceMX::MetricsMap collocated;
788
- };
789
-
790
- /**
791
- * Provides information on the data sent and received over Ice
792
- * connections.
793
- * \headerfile Ice/Ice.h
794
- */
795
- class ICE_CLASS(ICE_API) ConnectionMetrics : public ::Ice::ValueHelper<ConnectionMetrics, Metrics>
796
- {
797
- public:
798
-
799
- ICE_MEMBER(ICE_API) virtual ~ConnectionMetrics();
800
-
801
- ConnectionMetrics() = default;
802
-
803
- ConnectionMetrics(const ConnectionMetrics&) = default;
804
- ConnectionMetrics(ConnectionMetrics&&) = default;
805
- ConnectionMetrics& operator=(const ConnectionMetrics&) = default;
806
- ConnectionMetrics& operator=(ConnectionMetrics&&) = default;
807
-
808
- /**
809
- * One-shot constructor to initialize all data members.
810
- * @param id The metrics identifier.
811
- * @param total The total number of objects observed by this metrics.
812
- * @param current The number of objects currently observed by this metrics.
813
- * @param totalLifetime The sum of the lifetime of each observed objects.
814
- * @param failures The number of failures observed.
815
- * @param receivedBytes The number of bytes received by the connection.
816
- * @param sentBytes The number of bytes sent by the connection.
817
- */
818
- ConnectionMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, long long int receivedBytes, long long int sentBytes) :
819
- Ice::ValueHelper<ConnectionMetrics, Metrics>(id, total, current, totalLifetime, failures),
820
- receivedBytes(receivedBytes),
821
- sentBytes(sentBytes)
822
- {
823
- }
824
-
825
- /**
826
- * Obtains a tuple containing all of the value's data members.
827
- * @return The data members in a tuple.
828
- */
829
- std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
830
- {
831
- return std::tie(id, total, current, totalLifetime, failures, receivedBytes, sentBytes);
832
- }
833
-
834
- /**
835
- * Obtains the Slice type ID of this value.
836
- * @return The fully-scoped type ID.
837
- */
838
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
839
-
840
- /**
841
- * The number of bytes received by the connection.
842
- */
843
- long long int receivedBytes = 0LL;
844
- /**
845
- * The number of bytes sent by the connection.
846
- */
847
- long long int sentBytes = 0LL;
848
- };
849
-
850
- }
851
-
852
- namespace IceMX
853
- {
854
-
855
- /**
856
- * The metrics administrative facet interface. This interface allows
857
- * remote administrative clients to access metrics of an application
858
- * that enabled the Ice administrative facility and configured some
859
- * metrics views.
860
- * \headerfile Ice/Ice.h
861
- */
862
- class ICE_CLASS(ICE_API) MetricsAdminPrx : public virtual ::Ice::Proxy<MetricsAdminPrx, ::Ice::ObjectPrx>
863
- {
864
- public:
865
-
866
- /**
867
- * Get the names of enabled and disabled metrics.
868
- * @param disabledViews The names of the disabled views.
869
- * @param context The Context map to send with the invocation.
870
- * @return The name of the enabled views.
871
- */
872
- ::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::Context& context = ::Ice::noExplicitContext)
873
- {
874
- auto _result = _makePromiseOutgoing<MetricsAdmin::GetMetricsViewNamesResult>(true, this, &MetricsAdminPrx::_iceI_getMetricsViewNames, context).get();
875
- disabledViews = ::std::move(_result.disabledViews);
876
- return ::std::move(_result.returnValue);
877
- }
878
-
879
- /**
880
- * Get the names of enabled and disabled metrics.
881
- * @param context The Context map to send with the invocation.
882
- * @return The future object for the invocation.
883
- */
884
- template<template<typename> class P = ::std::promise>
885
- auto getMetricsViewNamesAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
886
- -> decltype(::std::declval<P<MetricsAdmin::GetMetricsViewNamesResult>>().get_future())
887
- {
888
- return _makePromiseOutgoing<MetricsAdmin::GetMetricsViewNamesResult, P>(false, this, &MetricsAdminPrx::_iceI_getMetricsViewNames, context);
889
- }
890
-
891
- /**
892
- * Get the names of enabled and disabled metrics.
893
- * @param response The response callback.
894
- * @param ex The exception callback.
895
- * @param sent The sent callback.
896
- * @param context The Context map to send with the invocation.
897
- * @return A function that can be called to cancel the invocation locally.
898
- */
899
- ::std::function<void()>
900
- getMetricsViewNamesAsync(::std::function<void(::Ice::StringSeq, ::Ice::StringSeq)> response,
901
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
902
- ::std::function<void(bool)> sent = nullptr,
903
- const ::Ice::Context& context = ::Ice::noExplicitContext)
904
- {
905
- auto _responseCb = [response](MetricsAdmin::GetMetricsViewNamesResult&& _result)
906
- {
907
- response(::std::move(_result.returnValue), ::std::move(_result.disabledViews));
908
- };
909
- return _makeLamdaOutgoing<MetricsAdmin::GetMetricsViewNamesResult>(std::move(_responseCb), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_getMetricsViewNames, context);
910
- }
911
-
912
- /// \cond INTERNAL
913
- ICE_MEMBER(ICE_API) void _iceI_getMetricsViewNames(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<MetricsAdmin::GetMetricsViewNamesResult>>&, const ::Ice::Context&);
914
- /// \endcond
915
-
916
- /**
917
- * Enables a metrics view.
918
- * @param name The metrics view name.
919
- * @param context The Context map to send with the invocation.
920
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
921
- * found.
922
- */
923
- void enableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
924
- {
925
- _makePromiseOutgoing<void>(true, this, &MetricsAdminPrx::_iceI_enableMetricsView, name, context).get();
926
- }
927
-
928
- /**
929
- * Enables a metrics view.
930
- * @param name The metrics view name.
931
- * @param context The Context map to send with the invocation.
932
- * @return The future object for the invocation.
933
- */
934
- template<template<typename> class P = ::std::promise>
935
- auto enableMetricsViewAsync(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
936
- -> decltype(::std::declval<P<void>>().get_future())
937
- {
938
- return _makePromiseOutgoing<void, P>(false, this, &MetricsAdminPrx::_iceI_enableMetricsView, name, context);
939
- }
940
-
941
- /**
942
- * Enables a metrics view.
943
- * @param name The metrics view name.
944
- * @param response The response callback.
945
- * @param ex The exception callback.
946
- * @param sent The sent callback.
947
- * @param context The Context map to send with the invocation.
948
- * @return A function that can be called to cancel the invocation locally.
949
- */
950
- ::std::function<void()>
951
- enableMetricsViewAsync(const ::std::string& name,
952
- ::std::function<void()> response,
953
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
954
- ::std::function<void(bool)> sent = nullptr,
955
- const ::Ice::Context& context = ::Ice::noExplicitContext)
956
- {
957
- return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_enableMetricsView, name, context);
958
- }
959
-
960
- /// \cond INTERNAL
961
- ICE_MEMBER(ICE_API) void _iceI_enableMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
962
- /// \endcond
963
-
964
- /**
965
- * Disable a metrics view.
966
- * @param name The metrics view name.
967
- * @param context The Context map to send with the invocation.
968
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
969
- * found.
970
- */
971
- void disableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
972
- {
973
- _makePromiseOutgoing<void>(true, this, &MetricsAdminPrx::_iceI_disableMetricsView, name, context).get();
974
- }
975
-
976
- /**
977
- * Disable a metrics view.
978
- * @param name The metrics view name.
979
- * @param context The Context map to send with the invocation.
980
- * @return The future object for the invocation.
981
- */
982
- template<template<typename> class P = ::std::promise>
983
- auto disableMetricsViewAsync(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
984
- -> decltype(::std::declval<P<void>>().get_future())
985
- {
986
- return _makePromiseOutgoing<void, P>(false, this, &MetricsAdminPrx::_iceI_disableMetricsView, name, context);
987
- }
988
-
989
- /**
990
- * Disable a metrics view.
991
- * @param name The metrics view name.
992
- * @param response The response callback.
993
- * @param ex The exception callback.
994
- * @param sent The sent callback.
995
- * @param context The Context map to send with the invocation.
996
- * @return A function that can be called to cancel the invocation locally.
997
- */
998
- ::std::function<void()>
999
- disableMetricsViewAsync(const ::std::string& name,
1000
- ::std::function<void()> response,
1001
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
1002
- ::std::function<void(bool)> sent = nullptr,
1003
- const ::Ice::Context& context = ::Ice::noExplicitContext)
1004
- {
1005
- return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_disableMetricsView, name, context);
1006
- }
1007
-
1008
- /// \cond INTERNAL
1009
- ICE_MEMBER(ICE_API) void _iceI_disableMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
1010
- /// \endcond
1011
-
1012
- /**
1013
- * Get the metrics objects for the given metrics view. This
1014
- * returns a dictionnary of metric maps for each metrics class
1015
- * configured with the view. The timestamp allows the client to
1016
- * compute averages which are not dependent of the invocation
1017
- * latency for this operation.
1018
- * @param view The name of the metrics view.
1019
- * @param timestamp The local time of the process when the metrics
1020
- * object were retrieved.
1021
- * @param context The Context map to send with the invocation.
1022
- * @return The metrics view data.
1023
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1024
- * found.
1025
- */
1026
- MetricsView getMetricsView(const ::std::string& view, long long int& timestamp, const ::Ice::Context& context = ::Ice::noExplicitContext)
1027
- {
1028
- auto _result = _makePromiseOutgoing<MetricsAdmin::GetMetricsViewResult>(true, this, &MetricsAdminPrx::_iceI_getMetricsView, view, context).get();
1029
- timestamp = _result.timestamp;
1030
- return ::std::move(_result.returnValue);
1031
- }
1032
-
1033
- /**
1034
- * Get the metrics objects for the given metrics view. This
1035
- * returns a dictionnary of metric maps for each metrics class
1036
- * configured with the view. The timestamp allows the client to
1037
- * compute averages which are not dependent of the invocation
1038
- * latency for this operation.
1039
- * @param view The name of the metrics view.
1040
- * @param context The Context map to send with the invocation.
1041
- * @return The future object for the invocation.
1042
- */
1043
- template<template<typename> class P = ::std::promise>
1044
- auto getMetricsViewAsync(const ::std::string& view, const ::Ice::Context& context = ::Ice::noExplicitContext)
1045
- -> decltype(::std::declval<P<MetricsAdmin::GetMetricsViewResult>>().get_future())
1046
- {
1047
- return _makePromiseOutgoing<MetricsAdmin::GetMetricsViewResult, P>(false, this, &MetricsAdminPrx::_iceI_getMetricsView, view, context);
1048
- }
1049
-
1050
- /**
1051
- * Get the metrics objects for the given metrics view. This
1052
- * returns a dictionnary of metric maps for each metrics class
1053
- * configured with the view. The timestamp allows the client to
1054
- * compute averages which are not dependent of the invocation
1055
- * latency for this operation.
1056
- * @param view The name of the metrics view.
1057
- * @param response The response callback.
1058
- * @param ex The exception callback.
1059
- * @param sent The sent callback.
1060
- * @param context The Context map to send with the invocation.
1061
- * @return A function that can be called to cancel the invocation locally.
1062
- */
1063
- ::std::function<void()>
1064
- getMetricsViewAsync(const ::std::string& view,
1065
- ::std::function<void(::IceMX::MetricsView, long long int)> response,
1066
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
1067
- ::std::function<void(bool)> sent = nullptr,
1068
- const ::Ice::Context& context = ::Ice::noExplicitContext)
1069
- {
1070
- auto _responseCb = [response](MetricsAdmin::GetMetricsViewResult&& _result)
1071
- {
1072
- response(::std::move(_result.returnValue), _result.timestamp);
1073
- };
1074
- return _makeLamdaOutgoing<MetricsAdmin::GetMetricsViewResult>(std::move(_responseCb), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_getMetricsView, view, context);
1075
- }
1076
-
1077
- /// \cond INTERNAL
1078
- ICE_MEMBER(ICE_API) void _iceI_getMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<MetricsAdmin::GetMetricsViewResult>>&, const ::std::string&, const ::Ice::Context&);
1079
- /// \endcond
1080
-
1081
- /**
1082
- * Get the metrics failures associated with the given view and map.
1083
- * @param view The name of the metrics view.
1084
- * @param map The name of the metrics map.
1085
- * @param context The Context map to send with the invocation.
1086
- * @return The metrics failures associated with the map.
1087
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1088
- * found.
1089
- */
1090
- MetricsFailuresSeq getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
1091
- {
1092
- return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq>(true, this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context).get();
1093
- }
1094
-
1095
- /**
1096
- * Get the metrics failures associated with the given view and map.
1097
- * @param view The name of the metrics view.
1098
- * @param map The name of the metrics map.
1099
- * @param context The Context map to send with the invocation.
1100
- * @return The future object for the invocation.
1101
- */
1102
- template<template<typename> class P = ::std::promise>
1103
- auto getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
1104
- -> decltype(::std::declval<P<::IceMX::MetricsFailuresSeq>>().get_future())
1105
- {
1106
- return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq, P>(false, this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
1107
- }
1108
-
1109
- /**
1110
- * Get the metrics failures associated with the given view and map.
1111
- * @param view The name of the metrics view.
1112
- * @param map The name of the metrics map.
1113
- * @param response The response callback.
1114
- * @param ex The exception callback.
1115
- * @param sent The sent callback.
1116
- * @param context The Context map to send with the invocation.
1117
- * @return A function that can be called to cancel the invocation locally.
1118
- */
1119
- ::std::function<void()>
1120
- getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map,
1121
- ::std::function<void(::IceMX::MetricsFailuresSeq)> response,
1122
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
1123
- ::std::function<void(bool)> sent = nullptr,
1124
- const ::Ice::Context& context = ::Ice::noExplicitContext)
1125
- {
1126
- return _makeLamdaOutgoing<::IceMX::MetricsFailuresSeq>(std::move(response), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
1127
- }
1128
-
1129
- /// \cond INTERNAL
1130
- ICE_MEMBER(ICE_API) void _iceI_getMapMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailuresSeq>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
1131
- /// \endcond
1132
-
1133
- /**
1134
- * Get the metrics failure associated for the given metrics.
1135
- * @param view The name of the metrics view.
1136
- * @param map The name of the metrics map.
1137
- * @param id The ID of the metrics.
1138
- * @param context The Context map to send with the invocation.
1139
- * @return The metrics failures associated with the metrics.
1140
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1141
- * found.
1142
- */
1143
- MetricsFailures getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1144
- {
1145
- return _makePromiseOutgoing<::IceMX::MetricsFailures>(true, this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context).get();
1146
- }
1147
-
1148
- /**
1149
- * Get the metrics failure associated for the given metrics.
1150
- * @param view The name of the metrics view.
1151
- * @param map The name of the metrics map.
1152
- * @param id The ID of the metrics.
1153
- * @param context The Context map to send with the invocation.
1154
- * @return The future object for the invocation.
1155
- */
1156
- template<template<typename> class P = ::std::promise>
1157
- auto getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
1158
- -> decltype(::std::declval<P<::IceMX::MetricsFailures>>().get_future())
1159
- {
1160
- return _makePromiseOutgoing<::IceMX::MetricsFailures, P>(false, this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context);
1161
- }
1162
-
1163
- /**
1164
- * Get the metrics failure associated for the given metrics.
1165
- * @param view The name of the metrics view.
1166
- * @param map The name of the metrics map.
1167
- * @param id The ID of the metrics.
1168
- * @param response The response callback.
1169
- * @param ex The exception callback.
1170
- * @param sent The sent callback.
1171
- * @param context The Context map to send with the invocation.
1172
- * @return A function that can be called to cancel the invocation locally.
1173
- */
1174
- ::std::function<void()>
1175
- getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string& id,
1176
- ::std::function<void(::IceMX::MetricsFailures)> response,
1177
- ::std::function<void(::std::exception_ptr)> ex = nullptr,
1178
- ::std::function<void(bool)> sent = nullptr,
1179
- const ::Ice::Context& context = ::Ice::noExplicitContext)
1180
- {
1181
- return _makeLamdaOutgoing<::IceMX::MetricsFailures>(std::move(response), std::move(ex), std::move(sent), this, &IceMX::MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context);
1182
- }
1183
-
1184
- /// \cond INTERNAL
1185
- ICE_MEMBER(ICE_API) void _iceI_getMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailures>>&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
1186
- /// \endcond
1187
-
1188
- /**
1189
- * Obtains the Slice type ID of this interface.
1190
- * @return The fully-scoped type ID.
1191
- */
1192
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
1193
-
1194
- protected:
1195
-
1196
- /// \cond INTERNAL
1197
- MetricsAdminPrx() = default;
1198
- friend ::std::shared_ptr<MetricsAdminPrx> IceInternal::createProxy<MetricsAdminPrx>();
1199
-
1200
- ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
1201
- /// \endcond
1202
- };
1203
-
1204
- }
1205
-
1206
- /// \cond STREAM
1207
- namespace Ice
1208
- {
1209
-
1210
- template<typename S>
1211
- struct StreamReader<::IceMX::Metrics, S>
1212
- {
1213
- static void read(S* istr, ::IceMX::Metrics& v)
1214
- {
1215
- istr->readAll(v.id, v.total, v.current, v.totalLifetime, v.failures);
1216
- }
1217
- };
1218
-
1219
- template<>
1220
- struct StreamableTraits<::IceMX::MetricsFailures>
1221
- {
1222
- static const StreamHelperCategory helper = StreamHelperCategoryStruct;
1223
- static const int minWireSize = 2;
1224
- static const bool fixedLength = false;
1225
- };
1226
-
1227
- template<typename S>
1228
- struct StreamReader<::IceMX::MetricsFailures, S>
1229
- {
1230
- static void read(S* istr, ::IceMX::MetricsFailures& v)
1231
- {
1232
- istr->readAll(v.id, v.failures);
1233
- }
1234
- };
1235
-
1236
- template<typename S>
1237
- struct StreamWriter<::IceMX::ThreadMetrics, S>
1238
- {
1239
- static void write(S* ostr, const ::IceMX::ThreadMetrics& v)
1240
- {
1241
- ostr->writeAll(v.inUseForIO, v.inUseForUser, v.inUseForOther);
1242
- }
1243
- };
1244
-
1245
- template<typename S>
1246
- struct StreamReader<::IceMX::ThreadMetrics, S>
1247
- {
1248
- static void read(S* istr, ::IceMX::ThreadMetrics& v)
1249
- {
1250
- istr->readAll(v.inUseForIO, v.inUseForUser, v.inUseForOther);
1251
- }
1252
- };
1253
-
1254
- template<typename S>
1255
- struct StreamWriter<::IceMX::DispatchMetrics, S>
1256
- {
1257
- static void write(S* ostr, const ::IceMX::DispatchMetrics& v)
1258
- {
1259
- ostr->writeAll(v.userException, v.size, v.replySize);
1260
- }
1261
- };
1262
-
1263
- template<typename S>
1264
- struct StreamReader<::IceMX::DispatchMetrics, S>
1265
- {
1266
- static void read(S* istr, ::IceMX::DispatchMetrics& v)
1267
- {
1268
- istr->readAll(v.userException, v.size, v.replySize);
1269
- }
1270
- };
1271
-
1272
- template<typename S>
1273
- struct StreamWriter<::IceMX::ChildInvocationMetrics, S>
1274
- {
1275
- static void write(S* ostr, const ::IceMX::ChildInvocationMetrics& v)
1276
- {
1277
- ostr->writeAll(v.size, v.replySize);
1278
- }
1279
- };
1280
-
1281
- template<typename S>
1282
- struct StreamReader<::IceMX::ChildInvocationMetrics, S>
1283
- {
1284
- static void read(S* istr, ::IceMX::ChildInvocationMetrics& v)
1285
- {
1286
- istr->readAll(v.size, v.replySize);
1287
- }
1288
- };
1289
-
1290
- template<typename S>
1291
- struct StreamWriter<::IceMX::CollocatedMetrics, S>
1292
- {
1293
- static void write(S*, const ::IceMX::CollocatedMetrics&)
1294
- {
1295
- }
1296
- };
1297
-
1298
- template<typename S>
1299
- struct StreamReader<::IceMX::CollocatedMetrics, S>
1300
- {
1301
- static void read(S*, ::IceMX::CollocatedMetrics&)
1302
- {
1303
- }
1304
- };
1305
-
1306
- template<typename S>
1307
- struct StreamWriter<::IceMX::RemoteMetrics, S>
1308
- {
1309
- static void write(S*, const ::IceMX::RemoteMetrics&)
1310
- {
1311
- }
1312
- };
1313
-
1314
- template<typename S>
1315
- struct StreamReader<::IceMX::RemoteMetrics, S>
1316
- {
1317
- static void read(S*, ::IceMX::RemoteMetrics&)
1318
- {
1319
- }
1320
- };
1321
-
1322
- template<typename S>
1323
- struct StreamWriter<::IceMX::InvocationMetrics, S>
1324
- {
1325
- static void write(S* ostr, const ::IceMX::InvocationMetrics& v)
1326
- {
1327
- ostr->writeAll(v.retry, v.userException, v.remotes, v.collocated);
1328
- }
1329
- };
1330
-
1331
- template<typename S>
1332
- struct StreamReader<::IceMX::InvocationMetrics, S>
1333
- {
1334
- static void read(S* istr, ::IceMX::InvocationMetrics& v)
1335
- {
1336
- istr->readAll(v.retry, v.userException, v.remotes, v.collocated);
1337
- }
1338
- };
1339
-
1340
- template<typename S>
1341
- struct StreamWriter<::IceMX::ConnectionMetrics, S>
1342
- {
1343
- static void write(S* ostr, const ::IceMX::ConnectionMetrics& v)
1344
- {
1345
- ostr->writeAll(v.receivedBytes, v.sentBytes);
1346
- }
1347
- };
1348
-
1349
- template<typename S>
1350
- struct StreamReader<::IceMX::ConnectionMetrics, S>
1351
- {
1352
- static void read(S* istr, ::IceMX::ConnectionMetrics& v)
1353
- {
1354
- istr->readAll(v.receivedBytes, v.sentBytes);
1355
- }
1356
- };
1357
-
1358
- }
1359
- /// \endcond
1360
-
1361
- /// \cond INTERNAL
1362
- namespace IceMX
1363
- {
1364
-
1365
- using MetricsPtr = ::std::shared_ptr<Metrics>;
1366
-
1367
- using MetricsAdminPtr = ::std::shared_ptr<MetricsAdmin>;
1368
- using MetricsAdminPrxPtr = ::std::shared_ptr<MetricsAdminPrx>;
1369
-
1370
- using ThreadMetricsPtr = ::std::shared_ptr<ThreadMetrics>;
1371
-
1372
- using DispatchMetricsPtr = ::std::shared_ptr<DispatchMetrics>;
1373
-
1374
- using ChildInvocationMetricsPtr = ::std::shared_ptr<ChildInvocationMetrics>;
1375
-
1376
- using CollocatedMetricsPtr = ::std::shared_ptr<CollocatedMetrics>;
1377
-
1378
- using RemoteMetricsPtr = ::std::shared_ptr<RemoteMetrics>;
1379
-
1380
- using InvocationMetricsPtr = ::std::shared_ptr<InvocationMetrics>;
1381
-
1382
- using ConnectionMetricsPtr = ::std::shared_ptr<ConnectionMetrics>;
1383
-
1384
- }
1385
- /// \endcond
1386
-
1387
- #else // C++98 mapping
1388
-
1389
- namespace IceProxy
1390
- {
1391
-
1392
- namespace IceMX
1393
- {
1394
-
1395
- class Metrics;
1396
- /// \cond INTERNAL
1397
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Metrics>&);
1398
- ICE_API ::IceProxy::Ice::Object* upCast(Metrics*);
1399
- /// \endcond
1400
-
1401
- class MetricsAdmin;
1402
- /// \cond INTERNAL
1403
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< MetricsAdmin>&);
1404
- ICE_API ::IceProxy::Ice::Object* upCast(MetricsAdmin*);
1405
- /// \endcond
1406
-
1407
- class ThreadMetrics;
1408
- /// \cond INTERNAL
1409
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ThreadMetrics>&);
1410
- ICE_API ::IceProxy::Ice::Object* upCast(ThreadMetrics*);
1411
- /// \endcond
1412
-
1413
- class DispatchMetrics;
1414
- /// \cond INTERNAL
1415
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< DispatchMetrics>&);
1416
- ICE_API ::IceProxy::Ice::Object* upCast(DispatchMetrics*);
1417
- /// \endcond
1418
-
1419
- class ChildInvocationMetrics;
1420
- /// \cond INTERNAL
1421
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ChildInvocationMetrics>&);
1422
- ICE_API ::IceProxy::Ice::Object* upCast(ChildInvocationMetrics*);
1423
- /// \endcond
1424
-
1425
- class CollocatedMetrics;
1426
- /// \cond INTERNAL
1427
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< CollocatedMetrics>&);
1428
- ICE_API ::IceProxy::Ice::Object* upCast(CollocatedMetrics*);
1429
- /// \endcond
1430
-
1431
- class RemoteMetrics;
1432
- /// \cond INTERNAL
1433
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< RemoteMetrics>&);
1434
- ICE_API ::IceProxy::Ice::Object* upCast(RemoteMetrics*);
1435
- /// \endcond
1436
-
1437
- class InvocationMetrics;
1438
- /// \cond INTERNAL
1439
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< InvocationMetrics>&);
1440
- ICE_API ::IceProxy::Ice::Object* upCast(InvocationMetrics*);
1441
- /// \endcond
1442
-
1443
- class ConnectionMetrics;
1444
- /// \cond INTERNAL
1445
- ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ConnectionMetrics>&);
1446
- ICE_API ::IceProxy::Ice::Object* upCast(ConnectionMetrics*);
1447
- /// \endcond
1448
-
1449
- }
1450
-
1451
- }
1452
-
1453
- namespace IceMX
1454
- {
1455
-
1456
- class Metrics;
1457
- /// \cond INTERNAL
1458
- ICE_API ::Ice::Object* upCast(Metrics*);
1459
- /// \endcond
1460
- typedef ::IceInternal::Handle< Metrics> MetricsPtr;
1461
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::Metrics> MetricsPrx;
1462
- typedef MetricsPrx MetricsPrxPtr;
1463
- /// \cond INTERNAL
1464
- ICE_API void _icePatchObjectPtr(MetricsPtr&, const ::Ice::ObjectPtr&);
1465
- /// \endcond
1466
-
1467
- class MetricsAdmin;
1468
- /// \cond INTERNAL
1469
- ICE_API ::Ice::Object* upCast(MetricsAdmin*);
1470
- /// \endcond
1471
- typedef ::IceInternal::Handle< MetricsAdmin> MetricsAdminPtr;
1472
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::MetricsAdmin> MetricsAdminPrx;
1473
- typedef MetricsAdminPrx MetricsAdminPrxPtr;
1474
- /// \cond INTERNAL
1475
- ICE_API void _icePatchObjectPtr(MetricsAdminPtr&, const ::Ice::ObjectPtr&);
1476
- /// \endcond
1477
-
1478
- class ThreadMetrics;
1479
- /// \cond INTERNAL
1480
- ICE_API ::Ice::Object* upCast(ThreadMetrics*);
1481
- /// \endcond
1482
- typedef ::IceInternal::Handle< ThreadMetrics> ThreadMetricsPtr;
1483
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ThreadMetrics> ThreadMetricsPrx;
1484
- typedef ThreadMetricsPrx ThreadMetricsPrxPtr;
1485
- /// \cond INTERNAL
1486
- ICE_API void _icePatchObjectPtr(ThreadMetricsPtr&, const ::Ice::ObjectPtr&);
1487
- /// \endcond
1488
-
1489
- class DispatchMetrics;
1490
- /// \cond INTERNAL
1491
- ICE_API ::Ice::Object* upCast(DispatchMetrics*);
1492
- /// \endcond
1493
- typedef ::IceInternal::Handle< DispatchMetrics> DispatchMetricsPtr;
1494
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::DispatchMetrics> DispatchMetricsPrx;
1495
- typedef DispatchMetricsPrx DispatchMetricsPrxPtr;
1496
- /// \cond INTERNAL
1497
- ICE_API void _icePatchObjectPtr(DispatchMetricsPtr&, const ::Ice::ObjectPtr&);
1498
- /// \endcond
1499
-
1500
- class ChildInvocationMetrics;
1501
- /// \cond INTERNAL
1502
- ICE_API ::Ice::Object* upCast(ChildInvocationMetrics*);
1503
- /// \endcond
1504
- typedef ::IceInternal::Handle< ChildInvocationMetrics> ChildInvocationMetricsPtr;
1505
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ChildInvocationMetrics> ChildInvocationMetricsPrx;
1506
- typedef ChildInvocationMetricsPrx ChildInvocationMetricsPrxPtr;
1507
- /// \cond INTERNAL
1508
- ICE_API void _icePatchObjectPtr(ChildInvocationMetricsPtr&, const ::Ice::ObjectPtr&);
1509
- /// \endcond
1510
-
1511
- class CollocatedMetrics;
1512
- /// \cond INTERNAL
1513
- ICE_API ::Ice::Object* upCast(CollocatedMetrics*);
1514
- /// \endcond
1515
- typedef ::IceInternal::Handle< CollocatedMetrics> CollocatedMetricsPtr;
1516
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::CollocatedMetrics> CollocatedMetricsPrx;
1517
- typedef CollocatedMetricsPrx CollocatedMetricsPrxPtr;
1518
- /// \cond INTERNAL
1519
- ICE_API void _icePatchObjectPtr(CollocatedMetricsPtr&, const ::Ice::ObjectPtr&);
1520
- /// \endcond
1521
-
1522
- class RemoteMetrics;
1523
- /// \cond INTERNAL
1524
- ICE_API ::Ice::Object* upCast(RemoteMetrics*);
1525
- /// \endcond
1526
- typedef ::IceInternal::Handle< RemoteMetrics> RemoteMetricsPtr;
1527
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::RemoteMetrics> RemoteMetricsPrx;
1528
- typedef RemoteMetricsPrx RemoteMetricsPrxPtr;
1529
- /// \cond INTERNAL
1530
- ICE_API void _icePatchObjectPtr(RemoteMetricsPtr&, const ::Ice::ObjectPtr&);
1531
- /// \endcond
1532
-
1533
- class InvocationMetrics;
1534
- /// \cond INTERNAL
1535
- ICE_API ::Ice::Object* upCast(InvocationMetrics*);
1536
- /// \endcond
1537
- typedef ::IceInternal::Handle< InvocationMetrics> InvocationMetricsPtr;
1538
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::InvocationMetrics> InvocationMetricsPrx;
1539
- typedef InvocationMetricsPrx InvocationMetricsPrxPtr;
1540
- /// \cond INTERNAL
1541
- ICE_API void _icePatchObjectPtr(InvocationMetricsPtr&, const ::Ice::ObjectPtr&);
1542
- /// \endcond
1543
-
1544
- class ConnectionMetrics;
1545
- /// \cond INTERNAL
1546
- ICE_API ::Ice::Object* upCast(ConnectionMetrics*);
1547
- /// \endcond
1548
- typedef ::IceInternal::Handle< ConnectionMetrics> ConnectionMetricsPtr;
1549
- typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ConnectionMetrics> ConnectionMetricsPrx;
1550
- typedef ConnectionMetricsPrx ConnectionMetricsPrxPtr;
1551
- /// \cond INTERNAL
1552
- ICE_API void _icePatchObjectPtr(ConnectionMetricsPtr&, const ::Ice::ObjectPtr&);
1553
- /// \endcond
1554
-
1555
- }
1556
-
1557
- namespace IceMX
1558
- {
1559
-
1560
- /**
1561
- * A dictionnary of strings to integers.
1562
- */
1563
- typedef ::std::map< ::std::string, ::Ice::Int> StringIntDict;
1564
-
1565
- /**
1566
- * A structure to keep track of failures associated with a given
1567
- * metrics.
1568
- * \headerfile Ice/Ice.h
1569
- */
1570
- struct MetricsFailures
1571
- {
1572
- /**
1573
- * The identifier of the metrics object associated to the
1574
- * failures.
1575
- */
1576
- ::std::string id;
1577
- /**
1578
- * The failures observed for this metrics.
1579
- */
1580
- ::IceMX::StringIntDict failures;
1581
- };
1582
-
1583
- /**
1584
- * A sequence of {@link MetricsFailures}.
1585
- */
1586
- typedef ::std::vector<MetricsFailures> MetricsFailuresSeq;
1587
-
1588
- /**
1589
- * A metrics map is a sequence of metrics. We use a sequence here
1590
- * instead of a map because the ID of the metrics is already included
1591
- * in the Metrics class and using sequences of metrics objects is more
1592
- * efficient than using dictionaries since lookup is not necessary.
1593
- */
1594
- typedef ::std::vector<MetricsPtr> MetricsMap;
1595
-
1596
- /**
1597
- * A metrics view is a dictionary of metrics map. The key of the
1598
- * dictionary is the name of the metrics map.
1599
- */
1600
- typedef ::std::map< ::std::string, MetricsMap> MetricsView;
1601
-
1602
- /**
1603
- * Raised if a metrics view cannot be found.
1604
- * \headerfile Ice/Ice.h
1605
- */
1606
- class ICE_API UnknownMetricsView : public ::Ice::UserException
1607
- {
1608
- public:
1609
-
1610
- UnknownMetricsView() {}
1611
-
1612
- #ifdef ICE_CPP11_COMPILER
1613
- UnknownMetricsView(const UnknownMetricsView&) = default;
1614
- virtual ~UnknownMetricsView();
1615
- #else
1616
- virtual ~UnknownMetricsView() throw();
1617
- #endif
1618
-
1619
- /**
1620
- * Obtains the Slice type ID of this exception.
1621
- * @return The fully-scoped type ID.
1622
- */
1623
- virtual ::std::string ice_id() const;
1624
- /**
1625
- * Polymorphically clones this exception.
1626
- * @return A shallow copy of this exception.
1627
- */
1628
- virtual UnknownMetricsView* ice_clone() const;
1629
- /**
1630
- * Throws this exception.
1631
- */
1632
- virtual void ice_throw() const;
1633
-
1634
- protected:
1635
-
1636
- /// \cond STREAM
1637
- virtual void _writeImpl(::Ice::OutputStream*) const;
1638
- virtual void _readImpl(::Ice::InputStream*);
1639
- /// \endcond
1640
- };
1641
-
1642
- /// \cond INTERNAL
1643
- static UnknownMetricsView _iceS_UnknownMetricsView_init;
1644
- /// \endcond
1645
-
1646
- }
1647
-
1648
- namespace IceMX
1649
- {
1650
-
1651
- /**
1652
- * Base class for asynchronous callback wrapper classes used for calls to
1653
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
1654
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsViewNames.
1655
- */
1656
- class Callback_MetricsAdmin_getMetricsViewNames_Base : public virtual ::IceInternal::CallbackBase { };
1657
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_getMetricsViewNames_Base> Callback_MetricsAdmin_getMetricsViewNamesPtr;
1658
-
1659
- /**
1660
- * Base class for asynchronous callback wrapper classes used for calls to
1661
- * IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
1662
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_enableMetricsView.
1663
- */
1664
- class Callback_MetricsAdmin_enableMetricsView_Base : public virtual ::IceInternal::CallbackBase { };
1665
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_enableMetricsView_Base> Callback_MetricsAdmin_enableMetricsViewPtr;
1666
-
1667
- /**
1668
- * Base class for asynchronous callback wrapper classes used for calls to
1669
- * IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
1670
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_disableMetricsView.
1671
- */
1672
- class Callback_MetricsAdmin_disableMetricsView_Base : public virtual ::IceInternal::CallbackBase { };
1673
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_disableMetricsView_Base> Callback_MetricsAdmin_disableMetricsViewPtr;
1674
-
1675
- /**
1676
- * Base class for asynchronous callback wrapper classes used for calls to
1677
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
1678
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsView.
1679
- */
1680
- class Callback_MetricsAdmin_getMetricsView_Base : public virtual ::IceInternal::CallbackBase { };
1681
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_getMetricsView_Base> Callback_MetricsAdmin_getMetricsViewPtr;
1682
-
1683
- /**
1684
- * Base class for asynchronous callback wrapper classes used for calls to
1685
- * IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
1686
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMapMetricsFailures.
1687
- */
1688
- class Callback_MetricsAdmin_getMapMetricsFailures_Base : public virtual ::IceInternal::CallbackBase { };
1689
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_getMapMetricsFailures_Base> Callback_MetricsAdmin_getMapMetricsFailuresPtr;
1690
-
1691
- /**
1692
- * Base class for asynchronous callback wrapper classes used for calls to
1693
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
1694
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsFailures.
1695
- */
1696
- class Callback_MetricsAdmin_getMetricsFailures_Base : public virtual ::IceInternal::CallbackBase { };
1697
- typedef ::IceUtil::Handle< Callback_MetricsAdmin_getMetricsFailures_Base> Callback_MetricsAdmin_getMetricsFailuresPtr;
1698
-
1699
- }
1700
-
1701
- namespace IceProxy
1702
- {
1703
-
1704
- namespace IceMX
1705
- {
1706
-
1707
- class ICE_CLASS(ICE_API) Metrics : public virtual ::Ice::Proxy<Metrics, ::IceProxy::Ice::Object>
1708
- {
1709
- public:
1710
-
1711
- /**
1712
- * Obtains the Slice type ID corresponding to this class.
1713
- * @return A fully-scoped type ID.
1714
- */
1715
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
1716
-
1717
- protected:
1718
- /// \cond INTERNAL
1719
-
1720
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
1721
- /// \endcond
1722
- };
1723
-
1724
- class ICE_CLASS(ICE_API) MetricsAdmin : public virtual ::Ice::Proxy<MetricsAdmin, ::IceProxy::Ice::Object>
1725
- {
1726
- public:
1727
-
1728
- /**
1729
- * Get the names of enabled and disabled metrics.
1730
- * @param disabledViews The names of the disabled views.
1731
- * @param context The Context map to send with the invocation.
1732
- * @return The name of the enabled views.
1733
- */
1734
- ICE_MEMBER(ICE_API) ::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::Context& context = ::Ice::noExplicitContext)
1735
- {
1736
- return end_getMetricsViewNames(disabledViews, _iceI_begin_getMetricsViewNames(context, ::IceInternal::dummyCallback, 0, true));
1737
- }
1738
-
1739
- /**
1740
- * Get the names of enabled and disabled metrics.
1741
- * @param context The Context map to send with the invocation.
1742
- * @return The asynchronous result object for the invocation.
1743
- */
1744
- ::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context& context = ::Ice::noExplicitContext)
1745
- {
1746
- return _iceI_begin_getMetricsViewNames(context, ::IceInternal::dummyCallback, 0);
1747
- }
1748
-
1749
- /**
1750
- * Get the names of enabled and disabled metrics.
1751
- * @param cb Asynchronous callback object.
1752
- * @param cookie User-defined data to associate with the invocation.
1753
- * @return The asynchronous result object for the invocation.
1754
- */
1755
- ::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1756
- {
1757
- return _iceI_begin_getMetricsViewNames(::Ice::noExplicitContext, cb, cookie);
1758
- }
1759
-
1760
- /**
1761
- * Get the names of enabled and disabled metrics.
1762
- * @param context The Context map to send with the invocation.
1763
- * @param cb Asynchronous callback object.
1764
- * @param cookie User-defined data to associate with the invocation.
1765
- * @return The asynchronous result object for the invocation.
1766
- */
1767
- ::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1768
- {
1769
- return _iceI_begin_getMetricsViewNames(context, cb, cookie);
1770
- }
1771
-
1772
- /**
1773
- * Get the names of enabled and disabled metrics.
1774
- * @param cb Asynchronous callback object.
1775
- * @param cookie User-defined data to associate with the invocation.
1776
- * @return The asynchronous result object for the invocation.
1777
- */
1778
- ::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::IceMX::Callback_MetricsAdmin_getMetricsViewNamesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1779
- {
1780
- return _iceI_begin_getMetricsViewNames(::Ice::noExplicitContext, cb, cookie);
1781
- }
1782
-
1783
- /**
1784
- * Get the names of enabled and disabled metrics.
1785
- * @param context The Context map to send with the invocation.
1786
- * @param cb Asynchronous callback object.
1787
- * @param cookie User-defined data to associate with the invocation.
1788
- * @return The asynchronous result object for the invocation.
1789
- */
1790
- ::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_getMetricsViewNamesPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1791
- {
1792
- return _iceI_begin_getMetricsViewNames(context, cb, cookie);
1793
- }
1794
-
1795
- /**
1796
- * Completes an invocation of begin_getMetricsViewNames.
1797
- * @param disabledViews The names of the disabled views.
1798
- * @param result The asynchronous result object for the invocation.
1799
- * @return The name of the enabled views.
1800
- */
1801
- ICE_MEMBER(ICE_API) ::Ice::StringSeq end_getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::AsyncResultPtr& result);
1802
- /// \cond INTERNAL
1803
-
1804
- ICE_MEMBER(ICE_API) void _iceI_end_getMetricsViewNames(::Ice::StringSeq& iceP_disabledViews, ::Ice::StringSeq& ret, const ::Ice::AsyncResultPtr&);
1805
- /// \endcond
1806
-
1807
- private:
1808
-
1809
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getMetricsViewNames(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1810
-
1811
- public:
1812
-
1813
- /**
1814
- * Enables a metrics view.
1815
- * @param name The metrics view name.
1816
- * @param context The Context map to send with the invocation.
1817
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1818
- * found.
1819
- */
1820
- ICE_MEMBER(ICE_API) void enableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1821
- {
1822
- end_enableMetricsView(_iceI_begin_enableMetricsView(name, context, ::IceInternal::dummyCallback, 0, true));
1823
- }
1824
-
1825
- /**
1826
- * Enables a metrics view.
1827
- * @param name The metrics view name.
1828
- * @param context The Context map to send with the invocation.
1829
- * @return The asynchronous result object for the invocation.
1830
- */
1831
- ::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1832
- {
1833
- return _iceI_begin_enableMetricsView(name, context, ::IceInternal::dummyCallback, 0);
1834
- }
1835
-
1836
- /**
1837
- * Enables a metrics view.
1838
- * @param name The metrics view name.
1839
- * @param cb Asynchronous callback object.
1840
- * @param cookie User-defined data to associate with the invocation.
1841
- * @return The asynchronous result object for the invocation.
1842
- */
1843
- ::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string& name, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1844
- {
1845
- return _iceI_begin_enableMetricsView(name, ::Ice::noExplicitContext, cb, cookie);
1846
- }
1847
-
1848
- /**
1849
- * Enables a metrics view.
1850
- * @param name The metrics view name.
1851
- * @param context The Context map to send with the invocation.
1852
- * @param cb Asynchronous callback object.
1853
- * @param cookie User-defined data to associate with the invocation.
1854
- * @return The asynchronous result object for the invocation.
1855
- */
1856
- ::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string& name, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1857
- {
1858
- return _iceI_begin_enableMetricsView(name, context, cb, cookie);
1859
- }
1860
-
1861
- /**
1862
- * Enables a metrics view.
1863
- * @param name The metrics view name.
1864
- * @param cb Asynchronous callback object.
1865
- * @param cookie User-defined data to associate with the invocation.
1866
- * @return The asynchronous result object for the invocation.
1867
- */
1868
- ::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string& name, const ::IceMX::Callback_MetricsAdmin_enableMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1869
- {
1870
- return _iceI_begin_enableMetricsView(name, ::Ice::noExplicitContext, cb, cookie);
1871
- }
1872
-
1873
- /**
1874
- * Enables a metrics view.
1875
- * @param name The metrics view name.
1876
- * @param context The Context map to send with the invocation.
1877
- * @param cb Asynchronous callback object.
1878
- * @param cookie User-defined data to associate with the invocation.
1879
- * @return The asynchronous result object for the invocation.
1880
- */
1881
- ::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string& name, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_enableMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1882
- {
1883
- return _iceI_begin_enableMetricsView(name, context, cb, cookie);
1884
- }
1885
-
1886
- /**
1887
- * Completes an invocation of begin_enableMetricsView.
1888
- * @param result The asynchronous result object for the invocation.
1889
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1890
- * found.
1891
- */
1892
- ICE_MEMBER(ICE_API) void end_enableMetricsView(const ::Ice::AsyncResultPtr& result);
1893
-
1894
- private:
1895
-
1896
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_enableMetricsView(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1897
-
1898
- public:
1899
-
1900
- /**
1901
- * Disable a metrics view.
1902
- * @param name The metrics view name.
1903
- * @param context The Context map to send with the invocation.
1904
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1905
- * found.
1906
- */
1907
- ICE_MEMBER(ICE_API) void disableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1908
- {
1909
- end_disableMetricsView(_iceI_begin_disableMetricsView(name, context, ::IceInternal::dummyCallback, 0, true));
1910
- }
1911
-
1912
- /**
1913
- * Disable a metrics view.
1914
- * @param name The metrics view name.
1915
- * @param context The Context map to send with the invocation.
1916
- * @return The asynchronous result object for the invocation.
1917
- */
1918
- ::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string& name, const ::Ice::Context& context = ::Ice::noExplicitContext)
1919
- {
1920
- return _iceI_begin_disableMetricsView(name, context, ::IceInternal::dummyCallback, 0);
1921
- }
1922
-
1923
- /**
1924
- * Disable a metrics view.
1925
- * @param name The metrics view name.
1926
- * @param cb Asynchronous callback object.
1927
- * @param cookie User-defined data to associate with the invocation.
1928
- * @return The asynchronous result object for the invocation.
1929
- */
1930
- ::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string& name, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1931
- {
1932
- return _iceI_begin_disableMetricsView(name, ::Ice::noExplicitContext, cb, cookie);
1933
- }
1934
-
1935
- /**
1936
- * Disable a metrics view.
1937
- * @param name The metrics view name.
1938
- * @param context The Context map to send with the invocation.
1939
- * @param cb Asynchronous callback object.
1940
- * @param cookie User-defined data to associate with the invocation.
1941
- * @return The asynchronous result object for the invocation.
1942
- */
1943
- ::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string& name, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1944
- {
1945
- return _iceI_begin_disableMetricsView(name, context, cb, cookie);
1946
- }
1947
-
1948
- /**
1949
- * Disable a metrics view.
1950
- * @param name The metrics view name.
1951
- * @param cb Asynchronous callback object.
1952
- * @param cookie User-defined data to associate with the invocation.
1953
- * @return The asynchronous result object for the invocation.
1954
- */
1955
- ::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string& name, const ::IceMX::Callback_MetricsAdmin_disableMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1956
- {
1957
- return _iceI_begin_disableMetricsView(name, ::Ice::noExplicitContext, cb, cookie);
1958
- }
1959
-
1960
- /**
1961
- * Disable a metrics view.
1962
- * @param name The metrics view name.
1963
- * @param context The Context map to send with the invocation.
1964
- * @param cb Asynchronous callback object.
1965
- * @param cookie User-defined data to associate with the invocation.
1966
- * @return The asynchronous result object for the invocation.
1967
- */
1968
- ::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string& name, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_disableMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
1969
- {
1970
- return _iceI_begin_disableMetricsView(name, context, cb, cookie);
1971
- }
1972
-
1973
- /**
1974
- * Completes an invocation of begin_disableMetricsView.
1975
- * @param result The asynchronous result object for the invocation.
1976
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1977
- * found.
1978
- */
1979
- ICE_MEMBER(ICE_API) void end_disableMetricsView(const ::Ice::AsyncResultPtr& result);
1980
-
1981
- private:
1982
-
1983
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_disableMetricsView(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1984
-
1985
- public:
1986
-
1987
- /**
1988
- * Get the metrics objects for the given metrics view. This
1989
- * returns a dictionnary of metric maps for each metrics class
1990
- * configured with the view. The timestamp allows the client to
1991
- * compute averages which are not dependent of the invocation
1992
- * latency for this operation.
1993
- * @param view The name of the metrics view.
1994
- * @param timestamp The local time of the process when the metrics
1995
- * object were retrieved.
1996
- * @param context The Context map to send with the invocation.
1997
- * @return The metrics view data.
1998
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
1999
- * found.
2000
- */
2001
- ICE_MEMBER(ICE_API) ::IceMX::MetricsView getMetricsView(const ::std::string& view, ::Ice::Long& timestamp, const ::Ice::Context& context = ::Ice::noExplicitContext)
2002
- {
2003
- return end_getMetricsView(timestamp, _iceI_begin_getMetricsView(view, context, ::IceInternal::dummyCallback, 0, true));
2004
- }
2005
-
2006
- /**
2007
- * Get the metrics objects for the given metrics view. This
2008
- * returns a dictionnary of metric maps for each metrics class
2009
- * configured with the view. The timestamp allows the client to
2010
- * compute averages which are not dependent of the invocation
2011
- * latency for this operation.
2012
- * @param view The name of the metrics view.
2013
- * @param context The Context map to send with the invocation.
2014
- * @return The asynchronous result object for the invocation.
2015
- */
2016
- ::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string& view, const ::Ice::Context& context = ::Ice::noExplicitContext)
2017
- {
2018
- return _iceI_begin_getMetricsView(view, context, ::IceInternal::dummyCallback, 0);
2019
- }
2020
-
2021
- /**
2022
- * Get the metrics objects for the given metrics view. This
2023
- * returns a dictionnary of metric maps for each metrics class
2024
- * configured with the view. The timestamp allows the client to
2025
- * compute averages which are not dependent of the invocation
2026
- * latency for this operation.
2027
- * @param view The name of the metrics view.
2028
- * @param cb Asynchronous callback object.
2029
- * @param cookie User-defined data to associate with the invocation.
2030
- * @return The asynchronous result object for the invocation.
2031
- */
2032
- ::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string& view, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2033
- {
2034
- return _iceI_begin_getMetricsView(view, ::Ice::noExplicitContext, cb, cookie);
2035
- }
2036
-
2037
- /**
2038
- * Get the metrics objects for the given metrics view. This
2039
- * returns a dictionnary of metric maps for each metrics class
2040
- * configured with the view. The timestamp allows the client to
2041
- * compute averages which are not dependent of the invocation
2042
- * latency for this operation.
2043
- * @param view The name of the metrics view.
2044
- * @param context The Context map to send with the invocation.
2045
- * @param cb Asynchronous callback object.
2046
- * @param cookie User-defined data to associate with the invocation.
2047
- * @return The asynchronous result object for the invocation.
2048
- */
2049
- ::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string& view, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2050
- {
2051
- return _iceI_begin_getMetricsView(view, context, cb, cookie);
2052
- }
2053
-
2054
- /**
2055
- * Get the metrics objects for the given metrics view. This
2056
- * returns a dictionnary of metric maps for each metrics class
2057
- * configured with the view. The timestamp allows the client to
2058
- * compute averages which are not dependent of the invocation
2059
- * latency for this operation.
2060
- * @param view The name of the metrics view.
2061
- * @param cb Asynchronous callback object.
2062
- * @param cookie User-defined data to associate with the invocation.
2063
- * @return The asynchronous result object for the invocation.
2064
- */
2065
- ::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string& view, const ::IceMX::Callback_MetricsAdmin_getMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2066
- {
2067
- return _iceI_begin_getMetricsView(view, ::Ice::noExplicitContext, cb, cookie);
2068
- }
2069
-
2070
- /**
2071
- * Get the metrics objects for the given metrics view. This
2072
- * returns a dictionnary of metric maps for each metrics class
2073
- * configured with the view. The timestamp allows the client to
2074
- * compute averages which are not dependent of the invocation
2075
- * latency for this operation.
2076
- * @param view The name of the metrics view.
2077
- * @param context The Context map to send with the invocation.
2078
- * @param cb Asynchronous callback object.
2079
- * @param cookie User-defined data to associate with the invocation.
2080
- * @return The asynchronous result object for the invocation.
2081
- */
2082
- ::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string& view, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_getMetricsViewPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2083
- {
2084
- return _iceI_begin_getMetricsView(view, context, cb, cookie);
2085
- }
2086
-
2087
- /**
2088
- * Completes an invocation of begin_getMetricsView.
2089
- * @param timestamp The local time of the process when the metrics
2090
- * object were retrieved.
2091
- * @param result The asynchronous result object for the invocation.
2092
- * @return The metrics view data.
2093
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2094
- * found.
2095
- */
2096
- ICE_MEMBER(ICE_API) ::IceMX::MetricsView end_getMetricsView(::Ice::Long& timestamp, const ::Ice::AsyncResultPtr& result);
2097
- /// \cond INTERNAL
2098
-
2099
- ICE_MEMBER(ICE_API) void _iceI_end_getMetricsView(::Ice::Long& iceP_timestamp, ::IceMX::MetricsView& ret, const ::Ice::AsyncResultPtr&);
2100
- /// \endcond
2101
-
2102
- private:
2103
-
2104
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getMetricsView(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2105
-
2106
- public:
2107
-
2108
- /**
2109
- * Get the metrics failures associated with the given view and map.
2110
- * @param view The name of the metrics view.
2111
- * @param map The name of the metrics map.
2112
- * @param context The Context map to send with the invocation.
2113
- * @return The metrics failures associated with the map.
2114
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2115
- * found.
2116
- */
2117
- ICE_MEMBER(ICE_API) ::IceMX::MetricsFailuresSeq getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
2118
- {
2119
- return end_getMapMetricsFailures(_iceI_begin_getMapMetricsFailures(view, map, context, ::IceInternal::dummyCallback, 0, true));
2120
- }
2121
-
2122
- /**
2123
- * Get the metrics failures associated with the given view and map.
2124
- * @param view The name of the metrics view.
2125
- * @param map The name of the metrics map.
2126
- * @param context The Context map to send with the invocation.
2127
- * @return The asynchronous result object for the invocation.
2128
- */
2129
- ::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
2130
- {
2131
- return _iceI_begin_getMapMetricsFailures(view, map, context, ::IceInternal::dummyCallback, 0);
2132
- }
2133
-
2134
- /**
2135
- * Get the metrics failures associated with the given view and map.
2136
- * @param view The name of the metrics view.
2137
- * @param map The name of the metrics map.
2138
- * @param cb Asynchronous callback object.
2139
- * @param cookie User-defined data to associate with the invocation.
2140
- * @return The asynchronous result object for the invocation.
2141
- */
2142
- ::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2143
- {
2144
- return _iceI_begin_getMapMetricsFailures(view, map, ::Ice::noExplicitContext, cb, cookie);
2145
- }
2146
-
2147
- /**
2148
- * Get the metrics failures associated with the given view and map.
2149
- * @param view The name of the metrics view.
2150
- * @param map The name of the metrics map.
2151
- * @param context The Context map to send with the invocation.
2152
- * @param cb Asynchronous callback object.
2153
- * @param cookie User-defined data to associate with the invocation.
2154
- * @return The asynchronous result object for the invocation.
2155
- */
2156
- ::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2157
- {
2158
- return _iceI_begin_getMapMetricsFailures(view, map, context, cb, cookie);
2159
- }
2160
-
2161
- /**
2162
- * Get the metrics failures associated with the given view and map.
2163
- * @param view The name of the metrics view.
2164
- * @param map The name of the metrics map.
2165
- * @param cb Asynchronous callback object.
2166
- * @param cookie User-defined data to associate with the invocation.
2167
- * @return The asynchronous result object for the invocation.
2168
- */
2169
- ::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::IceMX::Callback_MetricsAdmin_getMapMetricsFailuresPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2170
- {
2171
- return _iceI_begin_getMapMetricsFailures(view, map, ::Ice::noExplicitContext, cb, cookie);
2172
- }
2173
-
2174
- /**
2175
- * Get the metrics failures associated with the given view and map.
2176
- * @param view The name of the metrics view.
2177
- * @param map The name of the metrics map.
2178
- * @param context The Context map to send with the invocation.
2179
- * @param cb Asynchronous callback object.
2180
- * @param cookie User-defined data to associate with the invocation.
2181
- * @return The asynchronous result object for the invocation.
2182
- */
2183
- ::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_getMapMetricsFailuresPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2184
- {
2185
- return _iceI_begin_getMapMetricsFailures(view, map, context, cb, cookie);
2186
- }
2187
-
2188
- /**
2189
- * Completes an invocation of begin_getMapMetricsFailures.
2190
- * @param result The asynchronous result object for the invocation.
2191
- * @return The metrics failures associated with the map.
2192
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2193
- * found.
2194
- */
2195
- ICE_MEMBER(ICE_API) ::IceMX::MetricsFailuresSeq end_getMapMetricsFailures(const ::Ice::AsyncResultPtr& result);
2196
-
2197
- private:
2198
-
2199
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getMapMetricsFailures(const ::std::string&, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2200
-
2201
- public:
2202
-
2203
- /**
2204
- * Get the metrics failure associated for the given metrics.
2205
- * @param view The name of the metrics view.
2206
- * @param map The name of the metrics map.
2207
- * @param id The ID of the metrics.
2208
- * @param context The Context map to send with the invocation.
2209
- * @return The metrics failures associated with the metrics.
2210
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2211
- * found.
2212
- */
2213
- ICE_MEMBER(ICE_API) ::IceMX::MetricsFailures getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
2214
- {
2215
- return end_getMetricsFailures(_iceI_begin_getMetricsFailures(view, map, id, context, ::IceInternal::dummyCallback, 0, true));
2216
- }
2217
-
2218
- /**
2219
- * Get the metrics failure associated for the given metrics.
2220
- * @param view The name of the metrics view.
2221
- * @param map The name of the metrics map.
2222
- * @param id The ID of the metrics.
2223
- * @param context The Context map to send with the invocation.
2224
- * @return The asynchronous result object for the invocation.
2225
- */
2226
- ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
2227
- {
2228
- return _iceI_begin_getMetricsFailures(view, map, id, context, ::IceInternal::dummyCallback, 0);
2229
- }
2230
-
2231
- /**
2232
- * Get the metrics failure associated for the given metrics.
2233
- * @param view The name of the metrics view.
2234
- * @param map The name of the metrics map.
2235
- * @param id The ID of the metrics.
2236
- * @param cb Asynchronous callback object.
2237
- * @param cookie User-defined data to associate with the invocation.
2238
- * @return The asynchronous result object for the invocation.
2239
- */
2240
- ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2241
- {
2242
- return _iceI_begin_getMetricsFailures(view, map, id, ::Ice::noExplicitContext, cb, cookie);
2243
- }
2244
-
2245
- /**
2246
- * Get the metrics failure associated for the given metrics.
2247
- * @param view The name of the metrics view.
2248
- * @param map The name of the metrics map.
2249
- * @param id The ID of the metrics.
2250
- * @param context The Context map to send with the invocation.
2251
- * @param cb Asynchronous callback object.
2252
- * @param cookie User-defined data to associate with the invocation.
2253
- * @return The asynchronous result object for the invocation.
2254
- */
2255
- ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2256
- {
2257
- return _iceI_begin_getMetricsFailures(view, map, id, context, cb, cookie);
2258
- }
2259
-
2260
- /**
2261
- * Get the metrics failure associated for the given metrics.
2262
- * @param view The name of the metrics view.
2263
- * @param map The name of the metrics map.
2264
- * @param id The ID of the metrics.
2265
- * @param cb Asynchronous callback object.
2266
- * @param cookie User-defined data to associate with the invocation.
2267
- * @return The asynchronous result object for the invocation.
2268
- */
2269
- ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::IceMX::Callback_MetricsAdmin_getMetricsFailuresPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2270
- {
2271
- return _iceI_begin_getMetricsFailures(view, map, id, ::Ice::noExplicitContext, cb, cookie);
2272
- }
2273
-
2274
- /**
2275
- * Get the metrics failure associated for the given metrics.
2276
- * @param view The name of the metrics view.
2277
- * @param map The name of the metrics map.
2278
- * @param id The ID of the metrics.
2279
- * @param context The Context map to send with the invocation.
2280
- * @param cb Asynchronous callback object.
2281
- * @param cookie User-defined data to associate with the invocation.
2282
- * @return The asynchronous result object for the invocation.
2283
- */
2284
- ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_getMetricsFailuresPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2285
- {
2286
- return _iceI_begin_getMetricsFailures(view, map, id, context, cb, cookie);
2287
- }
2288
-
2289
- /**
2290
- * Completes an invocation of begin_getMetricsFailures.
2291
- * @param result The asynchronous result object for the invocation.
2292
- * @return The metrics failures associated with the metrics.
2293
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2294
- * found.
2295
- */
2296
- ICE_MEMBER(ICE_API) ::IceMX::MetricsFailures end_getMetricsFailures(const ::Ice::AsyncResultPtr& result);
2297
-
2298
- private:
2299
-
2300
- ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_getMetricsFailures(const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2301
-
2302
- public:
2303
-
2304
- /**
2305
- * Obtains the Slice type ID corresponding to this interface.
2306
- * @return A fully-scoped type ID.
2307
- */
2308
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2309
-
2310
- protected:
2311
- /// \cond INTERNAL
2312
-
2313
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2314
- /// \endcond
2315
- };
2316
-
2317
- class ICE_CLASS(ICE_API) ThreadMetrics : public virtual ::Ice::Proxy<ThreadMetrics, ::IceProxy::IceMX::Metrics>
2318
- {
2319
- public:
2320
-
2321
- /**
2322
- * Obtains the Slice type ID corresponding to this class.
2323
- * @return A fully-scoped type ID.
2324
- */
2325
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2326
-
2327
- protected:
2328
- /// \cond INTERNAL
2329
-
2330
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2331
- /// \endcond
2332
- };
2333
-
2334
- class ICE_CLASS(ICE_API) DispatchMetrics : public virtual ::Ice::Proxy<DispatchMetrics, ::IceProxy::IceMX::Metrics>
2335
- {
2336
- public:
2337
-
2338
- /**
2339
- * Obtains the Slice type ID corresponding to this class.
2340
- * @return A fully-scoped type ID.
2341
- */
2342
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2343
-
2344
- protected:
2345
- /// \cond INTERNAL
2346
-
2347
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2348
- /// \endcond
2349
- };
2350
-
2351
- class ICE_CLASS(ICE_API) ChildInvocationMetrics : public virtual ::Ice::Proxy<ChildInvocationMetrics, ::IceProxy::IceMX::Metrics>
2352
- {
2353
- public:
2354
-
2355
- /**
2356
- * Obtains the Slice type ID corresponding to this class.
2357
- * @return A fully-scoped type ID.
2358
- */
2359
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2360
-
2361
- protected:
2362
- /// \cond INTERNAL
2363
-
2364
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2365
- /// \endcond
2366
- };
2367
-
2368
- class ICE_CLASS(ICE_API) CollocatedMetrics : public virtual ::Ice::Proxy<CollocatedMetrics, ::IceProxy::IceMX::ChildInvocationMetrics>
2369
- {
2370
- public:
2371
-
2372
- /**
2373
- * Obtains the Slice type ID corresponding to this class.
2374
- * @return A fully-scoped type ID.
2375
- */
2376
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2377
-
2378
- protected:
2379
- /// \cond INTERNAL
2380
-
2381
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2382
- /// \endcond
2383
- };
2384
-
2385
- class ICE_CLASS(ICE_API) RemoteMetrics : public virtual ::Ice::Proxy<RemoteMetrics, ::IceProxy::IceMX::ChildInvocationMetrics>
2386
- {
2387
- public:
2388
-
2389
- /**
2390
- * Obtains the Slice type ID corresponding to this class.
2391
- * @return A fully-scoped type ID.
2392
- */
2393
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2394
-
2395
- protected:
2396
- /// \cond INTERNAL
2397
-
2398
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2399
- /// \endcond
2400
- };
2401
-
2402
- class ICE_CLASS(ICE_API) InvocationMetrics : public virtual ::Ice::Proxy<InvocationMetrics, ::IceProxy::IceMX::Metrics>
2403
- {
2404
- public:
2405
-
2406
- /**
2407
- * Obtains the Slice type ID corresponding to this class.
2408
- * @return A fully-scoped type ID.
2409
- */
2410
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2411
-
2412
- protected:
2413
- /// \cond INTERNAL
2414
-
2415
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2416
- /// \endcond
2417
- };
2418
-
2419
- class ICE_CLASS(ICE_API) ConnectionMetrics : public virtual ::Ice::Proxy<ConnectionMetrics, ::IceProxy::IceMX::Metrics>
2420
- {
2421
- public:
2422
-
2423
- /**
2424
- * Obtains the Slice type ID corresponding to this class.
2425
- * @return A fully-scoped type ID.
2426
- */
2427
- ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
2428
-
2429
- protected:
2430
- /// \cond INTERNAL
2431
-
2432
- ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
2433
- /// \endcond
2434
- };
2435
-
2436
- }
2437
-
2438
- }
2439
-
2440
- namespace IceMX
2441
- {
2442
-
2443
- /**
2444
- * The base class for metrics. A metrics object represents a
2445
- * collection of measurements associated to a given a system.
2446
- * \headerfile Ice/Ice.h
2447
- */
2448
- class ICE_API Metrics : public virtual ::Ice::Object
2449
- {
2450
- public:
2451
-
2452
- typedef MetricsPrx ProxyType;
2453
- typedef MetricsPtr PointerType;
2454
-
2455
- virtual ~Metrics();
2456
-
2457
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
2458
- Metrics() :
2459
- total(ICE_INT64(0)),
2460
- current(0),
2461
- totalLifetime(ICE_INT64(0)),
2462
- failures(0)
2463
- {
2464
- }
2465
-
2466
- /**
2467
- * One-shot constructor to initialize all data members.
2468
- * @param id The metrics identifier.
2469
- * @param total The total number of objects observed by this metrics.
2470
- * @param current The number of objects currently observed by this metrics.
2471
- * @param totalLifetime The sum of the lifetime of each observed objects.
2472
- * @param failures The number of failures observed.
2473
- */
2474
- Metrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures) :
2475
- id(id),
2476
- total(total),
2477
- current(current),
2478
- totalLifetime(totalLifetime),
2479
- failures(failures)
2480
- {
2481
- }
2482
-
2483
- #ifdef ICE_CPP11_COMPILER
2484
- Metrics(const Metrics&) = default;
2485
- Metrics& operator=(const Metrics&) = default;
2486
- #endif
2487
-
2488
- /**
2489
- * Polymorphically clones this object.
2490
- * @return A shallow copy of this object.
2491
- */
2492
- virtual ::Ice::ObjectPtr ice_clone() const;
2493
-
2494
- /**
2495
- * Determines whether this object supports an interface with the given Slice type ID.
2496
- * @param id The fully-scoped Slice type ID.
2497
- * @param current The Current object for the invocation.
2498
- * @return True if this object supports the interface, false, otherwise.
2499
- */
2500
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2501
-
2502
- /**
2503
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2504
- * @param current The Current object for the invocation.
2505
- * @return A list of fully-scoped type IDs.
2506
- */
2507
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2508
-
2509
- /**
2510
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
2511
- * @param current The Current object for the invocation.
2512
- * @return A fully-scoped type ID.
2513
- */
2514
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2515
-
2516
- /**
2517
- * Obtains the Slice type ID corresponding to this class.
2518
- * @return A fully-scoped type ID.
2519
- */
2520
- static const ::std::string& ice_staticId();
2521
-
2522
- /**
2523
- * Obtains a value factory that instantiates this class.
2524
- * @return The value factory.
2525
- */
2526
- static ::Ice::ValueFactoryPtr ice_factory();
2527
-
2528
- protected:
2529
-
2530
- /// \cond STREAM
2531
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2532
- virtual void _iceReadImpl(::Ice::InputStream*);
2533
- /// \endcond
2534
-
2535
- public:
2536
-
2537
- /**
2538
- * The metrics identifier.
2539
- */
2540
- ::std::string id;
2541
- /**
2542
- * The total number of objects observed by this metrics. This includes
2543
- * the number of currently observed objects and the number of objects
2544
- * observed in the past.
2545
- */
2546
- ::Ice::Long total;
2547
- /**
2548
- * The number of objects currently observed by this metrics.
2549
- */
2550
- ::Ice::Int current;
2551
- /**
2552
- * The sum of the lifetime of each observed objects. This does not
2553
- * include the lifetime of objects which are currently observed,
2554
- * only the objects observed in the past.
2555
- */
2556
- ::Ice::Long totalLifetime;
2557
- /**
2558
- * The number of failures observed.
2559
- */
2560
- ::Ice::Int failures;
2561
- };
2562
- /// \cond INTERNAL
2563
- static ::Ice::ValueFactoryPtr _iceS_Metrics_init = ::IceMX::Metrics::ice_factory();
2564
- /// \endcond
2565
-
2566
- /// \cond INTERNAL
2567
- inline bool operator==(const Metrics& lhs, const Metrics& rhs)
2568
- {
2569
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2570
- }
2571
-
2572
- inline bool operator<(const Metrics& lhs, const Metrics& rhs)
2573
- {
2574
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2575
- }
2576
- /// \endcond
2577
-
2578
- /**
2579
- * The metrics administrative facet interface. This interface allows
2580
- * remote administrative clients to access metrics of an application
2581
- * that enabled the Ice administrative facility and configured some
2582
- * metrics views.
2583
- * \headerfile Ice/Ice.h
2584
- */
2585
- class ICE_API MetricsAdmin : public virtual ::Ice::Object
2586
- {
2587
- public:
2588
-
2589
- typedef MetricsAdminPrx ProxyType;
2590
- typedef MetricsAdminPtr PointerType;
2591
-
2592
- virtual ~MetricsAdmin();
2593
-
2594
- #ifdef ICE_CPP11_COMPILER
2595
- MetricsAdmin() = default;
2596
- MetricsAdmin(const MetricsAdmin&) = default;
2597
- MetricsAdmin& operator=(const MetricsAdmin&) = default;
2598
- #endif
2599
-
2600
- /**
2601
- * Determines whether this object supports an interface with the given Slice type ID.
2602
- * @param id The fully-scoped Slice type ID.
2603
- * @param current The Current object for the invocation.
2604
- * @return True if this object supports the interface, false, otherwise.
2605
- */
2606
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2607
-
2608
- /**
2609
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2610
- * @param current The Current object for the invocation.
2611
- * @return A list of fully-scoped type IDs.
2612
- */
2613
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2614
-
2615
- /**
2616
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
2617
- * @param current The Current object for the invocation.
2618
- * @return A fully-scoped type ID.
2619
- */
2620
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2621
-
2622
- /**
2623
- * Obtains the Slice type ID corresponding to this class.
2624
- * @return A fully-scoped type ID.
2625
- */
2626
- static const ::std::string& ice_staticId();
2627
-
2628
- /**
2629
- * Get the names of enabled and disabled metrics.
2630
- * @param disabledViews The names of the disabled views.
2631
- * @param current The Current object for the invocation.
2632
- * @return The name of the enabled views.
2633
- */
2634
- virtual ::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2635
- /// \cond INTERNAL
2636
- bool _iceD_getMetricsViewNames(::IceInternal::Incoming&, const ::Ice::Current&);
2637
- /// \endcond
2638
-
2639
- /**
2640
- * Enables a metrics view.
2641
- * @param name The metrics view name.
2642
- * @param current The Current object for the invocation.
2643
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2644
- * found.
2645
- */
2646
- virtual void enableMetricsView(const ::std::string& name, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2647
- /// \cond INTERNAL
2648
- bool _iceD_enableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2649
- /// \endcond
2650
-
2651
- /**
2652
- * Disable a metrics view.
2653
- * @param name The metrics view name.
2654
- * @param current The Current object for the invocation.
2655
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2656
- * found.
2657
- */
2658
- virtual void disableMetricsView(const ::std::string& name, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2659
- /// \cond INTERNAL
2660
- bool _iceD_disableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2661
- /// \endcond
2662
-
2663
- /**
2664
- * Get the metrics objects for the given metrics view. This
2665
- * returns a dictionnary of metric maps for each metrics class
2666
- * configured with the view. The timestamp allows the client to
2667
- * compute averages which are not dependent of the invocation
2668
- * latency for this operation.
2669
- * @param view The name of the metrics view.
2670
- * @param timestamp The local time of the process when the metrics
2671
- * object were retrieved.
2672
- * @param current The Current object for the invocation.
2673
- * @return The metrics view data.
2674
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2675
- * found.
2676
- */
2677
- virtual MetricsView getMetricsView(const ::std::string& view, ::Ice::Long& timestamp, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2678
- /// \cond INTERNAL
2679
- bool _iceD_getMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2680
- /// \endcond
2681
-
2682
- /**
2683
- * Get the metrics failures associated with the given view and map.
2684
- * @param view The name of the metrics view.
2685
- * @param map The name of the metrics map.
2686
- * @param current The Current object for the invocation.
2687
- * @return The metrics failures associated with the map.
2688
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2689
- * found.
2690
- */
2691
- virtual MetricsFailuresSeq getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2692
- /// \cond INTERNAL
2693
- bool _iceD_getMapMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
2694
- /// \endcond
2695
-
2696
- /**
2697
- * Get the metrics failure associated for the given metrics.
2698
- * @param view The name of the metrics view.
2699
- * @param map The name of the metrics map.
2700
- * @param id The ID of the metrics.
2701
- * @param current The Current object for the invocation.
2702
- * @return The metrics failures associated with the metrics.
2703
- * @throws IceMX::UnknownMetricsView Raised if the metrics view cannot be
2704
- * found.
2705
- */
2706
- virtual MetricsFailures getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
2707
- /// \cond INTERNAL
2708
- bool _iceD_getMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
2709
- /// \endcond
2710
-
2711
- /// \cond INTERNAL
2712
- virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2713
- /// \endcond
2714
-
2715
- protected:
2716
-
2717
- /// \cond STREAM
2718
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2719
- virtual void _iceReadImpl(::Ice::InputStream*);
2720
- /// \endcond
2721
- };
2722
-
2723
- /// \cond INTERNAL
2724
- inline bool operator==(const MetricsAdmin& lhs, const MetricsAdmin& rhs)
2725
- {
2726
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2727
- }
2728
-
2729
- inline bool operator<(const MetricsAdmin& lhs, const MetricsAdmin& rhs)
2730
- {
2731
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2732
- }
2733
- /// \endcond
2734
-
2735
- /**
2736
- * Provides information on the number of threads currently in use and
2737
- * their activity.
2738
- * \headerfile Ice/Ice.h
2739
- */
2740
- class ICE_API ThreadMetrics : public Metrics
2741
- {
2742
- public:
2743
-
2744
- typedef ThreadMetricsPrx ProxyType;
2745
- typedef ThreadMetricsPtr PointerType;
2746
-
2747
- virtual ~ThreadMetrics();
2748
-
2749
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
2750
- ThreadMetrics() :
2751
- inUseForIO(0),
2752
- inUseForUser(0),
2753
- inUseForOther(0)
2754
- {
2755
- }
2756
-
2757
- /**
2758
- * One-shot constructor to initialize all data members.
2759
- * @param id The metrics identifier.
2760
- * @param total The total number of objects observed by this metrics.
2761
- * @param current The number of objects currently observed by this metrics.
2762
- * @param totalLifetime The sum of the lifetime of each observed objects.
2763
- * @param failures The number of failures observed.
2764
- * @param inUseForIO The number of threads which are currently performing socket read or writes.
2765
- * @param inUseForUser The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
2766
- * @param inUseForOther The number of threads which are currently performing other activities.
2767
- */
2768
- ThreadMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int inUseForIO, ::Ice::Int inUseForUser, ::Ice::Int inUseForOther) :
2769
- ::IceMX::Metrics(id, total, current, totalLifetime, failures),
2770
- inUseForIO(inUseForIO),
2771
- inUseForUser(inUseForUser),
2772
- inUseForOther(inUseForOther)
2773
- {
2774
- }
2775
-
2776
- #ifdef ICE_CPP11_COMPILER
2777
- ThreadMetrics(const ThreadMetrics&) = default;
2778
- ThreadMetrics& operator=(const ThreadMetrics&) = default;
2779
- #endif
2780
-
2781
- /**
2782
- * Polymorphically clones this object.
2783
- * @return A shallow copy of this object.
2784
- */
2785
- virtual ::Ice::ObjectPtr ice_clone() const;
2786
-
2787
- /**
2788
- * Determines whether this object supports an interface with the given Slice type ID.
2789
- * @param id The fully-scoped Slice type ID.
2790
- * @param current The Current object for the invocation.
2791
- * @return True if this object supports the interface, false, otherwise.
2792
- */
2793
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2794
-
2795
- /**
2796
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2797
- * @param current The Current object for the invocation.
2798
- * @return A list of fully-scoped type IDs.
2799
- */
2800
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2801
-
2802
- /**
2803
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
2804
- * @param current The Current object for the invocation.
2805
- * @return A fully-scoped type ID.
2806
- */
2807
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2808
-
2809
- /**
2810
- * Obtains the Slice type ID corresponding to this class.
2811
- * @return A fully-scoped type ID.
2812
- */
2813
- static const ::std::string& ice_staticId();
2814
-
2815
- /**
2816
- * Obtains a value factory that instantiates this class.
2817
- * @return The value factory.
2818
- */
2819
- static ::Ice::ValueFactoryPtr ice_factory();
2820
-
2821
- protected:
2822
-
2823
- /// \cond STREAM
2824
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2825
- virtual void _iceReadImpl(::Ice::InputStream*);
2826
- /// \endcond
2827
-
2828
- public:
2829
-
2830
- /**
2831
- * The number of threads which are currently performing socket
2832
- * read or writes.
2833
- */
2834
- ::Ice::Int inUseForIO;
2835
- /**
2836
- * The number of threads which are currently calling user code
2837
- * (servant dispatch, AMI callbacks, etc).
2838
- */
2839
- ::Ice::Int inUseForUser;
2840
- /**
2841
- * The number of threads which are currently performing other
2842
- * activities. These are all other that are not counted with
2843
- * {@link #inUseForUser} or {@link #inUseForIO}, such as DNS
2844
- * lookups, garbage collection).
2845
- */
2846
- ::Ice::Int inUseForOther;
2847
- };
2848
- /// \cond INTERNAL
2849
- static ::Ice::ValueFactoryPtr _iceS_ThreadMetrics_init = ::IceMX::ThreadMetrics::ice_factory();
2850
- /// \endcond
2851
-
2852
- /// \cond INTERNAL
2853
- inline bool operator==(const ThreadMetrics& lhs, const ThreadMetrics& rhs)
2854
- {
2855
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2856
- }
2857
-
2858
- inline bool operator<(const ThreadMetrics& lhs, const ThreadMetrics& rhs)
2859
- {
2860
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2861
- }
2862
- /// \endcond
2863
-
2864
- /**
2865
- * Provides information on servant dispatch.
2866
- * \headerfile Ice/Ice.h
2867
- */
2868
- class ICE_API DispatchMetrics : public Metrics
2869
- {
2870
- public:
2871
-
2872
- typedef DispatchMetricsPrx ProxyType;
2873
- typedef DispatchMetricsPtr PointerType;
2874
-
2875
- virtual ~DispatchMetrics();
2876
-
2877
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
2878
- DispatchMetrics() :
2879
- userException(0),
2880
- size(ICE_INT64(0)),
2881
- replySize(ICE_INT64(0))
2882
- {
2883
- }
2884
-
2885
- /**
2886
- * One-shot constructor to initialize all data members.
2887
- * @param id The metrics identifier.
2888
- * @param total The total number of objects observed by this metrics.
2889
- * @param current The number of objects currently observed by this metrics.
2890
- * @param totalLifetime The sum of the lifetime of each observed objects.
2891
- * @param failures The number of failures observed.
2892
- * @param userException The number of dispatch that failed with a user exception.
2893
- * @param size The size of the dispatch.
2894
- * @param replySize The size of the dispatch reply.
2895
- */
2896
- DispatchMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int userException, ::Ice::Long size, ::Ice::Long replySize) :
2897
- ::IceMX::Metrics(id, total, current, totalLifetime, failures),
2898
- userException(userException),
2899
- size(size),
2900
- replySize(replySize)
2901
- {
2902
- }
2903
-
2904
- #ifdef ICE_CPP11_COMPILER
2905
- DispatchMetrics(const DispatchMetrics&) = default;
2906
- DispatchMetrics& operator=(const DispatchMetrics&) = default;
2907
- #endif
2908
-
2909
- /**
2910
- * Polymorphically clones this object.
2911
- * @return A shallow copy of this object.
2912
- */
2913
- virtual ::Ice::ObjectPtr ice_clone() const;
2914
-
2915
- /**
2916
- * Determines whether this object supports an interface with the given Slice type ID.
2917
- * @param id The fully-scoped Slice type ID.
2918
- * @param current The Current object for the invocation.
2919
- * @return True if this object supports the interface, false, otherwise.
2920
- */
2921
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2922
-
2923
- /**
2924
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
2925
- * @param current The Current object for the invocation.
2926
- * @return A list of fully-scoped type IDs.
2927
- */
2928
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2929
-
2930
- /**
2931
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
2932
- * @param current The Current object for the invocation.
2933
- * @return A fully-scoped type ID.
2934
- */
2935
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
2936
-
2937
- /**
2938
- * Obtains the Slice type ID corresponding to this class.
2939
- * @return A fully-scoped type ID.
2940
- */
2941
- static const ::std::string& ice_staticId();
2942
-
2943
- /**
2944
- * Obtains a value factory that instantiates this class.
2945
- * @return The value factory.
2946
- */
2947
- static ::Ice::ValueFactoryPtr ice_factory();
2948
-
2949
- protected:
2950
-
2951
- /// \cond STREAM
2952
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
2953
- virtual void _iceReadImpl(::Ice::InputStream*);
2954
- /// \endcond
2955
-
2956
- public:
2957
-
2958
- /**
2959
- * The number of dispatch that failed with a user exception.
2960
- */
2961
- ::Ice::Int userException;
2962
- /**
2963
- * The size of the dispatch. This corresponds to the size of the
2964
- * marshalled input parameters.
2965
- */
2966
- ::Ice::Long size;
2967
- /**
2968
- * The size of the dispatch reply. This corresponds to the size of
2969
- * the marshalled output and return parameters.
2970
- */
2971
- ::Ice::Long replySize;
2972
- };
2973
- /// \cond INTERNAL
2974
- static ::Ice::ValueFactoryPtr _iceS_DispatchMetrics_init = ::IceMX::DispatchMetrics::ice_factory();
2975
- /// \endcond
2976
-
2977
- /// \cond INTERNAL
2978
- inline bool operator==(const DispatchMetrics& lhs, const DispatchMetrics& rhs)
2979
- {
2980
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
2981
- }
2982
-
2983
- inline bool operator<(const DispatchMetrics& lhs, const DispatchMetrics& rhs)
2984
- {
2985
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
2986
- }
2987
- /// \endcond
2988
-
2989
- /**
2990
- * Provides information on child invocations. A child invocation is
2991
- * either remote (sent over an Ice connection) or collocated. An
2992
- * invocation can have multiple child invocation if it is
2993
- * retried. Child invocation metrics are embedded within
2994
- * {@link InvocationMetrics}.
2995
- * \headerfile Ice/Ice.h
2996
- */
2997
- class ICE_API ChildInvocationMetrics : public Metrics
2998
- {
2999
- public:
3000
-
3001
- typedef ChildInvocationMetricsPrx ProxyType;
3002
- typedef ChildInvocationMetricsPtr PointerType;
3003
-
3004
- virtual ~ChildInvocationMetrics();
3005
-
3006
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
3007
- ChildInvocationMetrics() :
3008
- size(ICE_INT64(0)),
3009
- replySize(ICE_INT64(0))
3010
- {
3011
- }
3012
-
3013
- /**
3014
- * One-shot constructor to initialize all data members.
3015
- * @param id The metrics identifier.
3016
- * @param total The total number of objects observed by this metrics.
3017
- * @param current The number of objects currently observed by this metrics.
3018
- * @param totalLifetime The sum of the lifetime of each observed objects.
3019
- * @param failures The number of failures observed.
3020
- * @param size The size of the invocation.
3021
- * @param replySize The size of the invocation reply.
3022
- */
3023
- ChildInvocationMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize) :
3024
- ::IceMX::Metrics(id, total, current, totalLifetime, failures),
3025
- size(size),
3026
- replySize(replySize)
3027
- {
3028
- }
3029
-
3030
- #ifdef ICE_CPP11_COMPILER
3031
- ChildInvocationMetrics(const ChildInvocationMetrics&) = default;
3032
- ChildInvocationMetrics& operator=(const ChildInvocationMetrics&) = default;
3033
- #endif
3034
-
3035
- /**
3036
- * Polymorphically clones this object.
3037
- * @return A shallow copy of this object.
3038
- */
3039
- virtual ::Ice::ObjectPtr ice_clone() const;
3040
-
3041
- /**
3042
- * Determines whether this object supports an interface with the given Slice type ID.
3043
- * @param id The fully-scoped Slice type ID.
3044
- * @param current The Current object for the invocation.
3045
- * @return True if this object supports the interface, false, otherwise.
3046
- */
3047
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3048
-
3049
- /**
3050
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
3051
- * @param current The Current object for the invocation.
3052
- * @return A list of fully-scoped type IDs.
3053
- */
3054
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3055
-
3056
- /**
3057
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
3058
- * @param current The Current object for the invocation.
3059
- * @return A fully-scoped type ID.
3060
- */
3061
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3062
-
3063
- /**
3064
- * Obtains the Slice type ID corresponding to this class.
3065
- * @return A fully-scoped type ID.
3066
- */
3067
- static const ::std::string& ice_staticId();
3068
-
3069
- /**
3070
- * Obtains a value factory that instantiates this class.
3071
- * @return The value factory.
3072
- */
3073
- static ::Ice::ValueFactoryPtr ice_factory();
3074
-
3075
- protected:
3076
-
3077
- /// \cond STREAM
3078
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3079
- virtual void _iceReadImpl(::Ice::InputStream*);
3080
- /// \endcond
3081
-
3082
- public:
3083
-
3084
- /**
3085
- * The size of the invocation. This corresponds to the size of the
3086
- * marshalled input parameters.
3087
- */
3088
- ::Ice::Long size;
3089
- /**
3090
- * The size of the invocation reply. This corresponds to the size
3091
- * of the marshalled output and return parameters.
3092
- */
3093
- ::Ice::Long replySize;
3094
- };
3095
- /// \cond INTERNAL
3096
- static ::Ice::ValueFactoryPtr _iceS_ChildInvocationMetrics_init = ::IceMX::ChildInvocationMetrics::ice_factory();
3097
- /// \endcond
3098
-
3099
- /// \cond INTERNAL
3100
- inline bool operator==(const ChildInvocationMetrics& lhs, const ChildInvocationMetrics& rhs)
3101
- {
3102
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3103
- }
3104
-
3105
- inline bool operator<(const ChildInvocationMetrics& lhs, const ChildInvocationMetrics& rhs)
3106
- {
3107
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3108
- }
3109
- /// \endcond
3110
-
3111
- /**
3112
- * Provides information on invocations that are collocated. Collocated
3113
- * metrics are embedded within {@link InvocationMetrics}.
3114
- * \headerfile Ice/Ice.h
3115
- */
3116
- class ICE_API CollocatedMetrics : public ChildInvocationMetrics
3117
- {
3118
- public:
3119
-
3120
- typedef CollocatedMetricsPrx ProxyType;
3121
- typedef CollocatedMetricsPtr PointerType;
3122
-
3123
- virtual ~CollocatedMetrics();
3124
-
3125
- CollocatedMetrics()
3126
- {
3127
- }
3128
-
3129
- /**
3130
- * One-shot constructor to initialize all data members.
3131
- * @param id The metrics identifier.
3132
- * @param total The total number of objects observed by this metrics.
3133
- * @param current The number of objects currently observed by this metrics.
3134
- * @param totalLifetime The sum of the lifetime of each observed objects.
3135
- * @param failures The number of failures observed.
3136
- * @param size The size of the invocation.
3137
- * @param replySize The size of the invocation reply.
3138
- */
3139
- CollocatedMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize) :
3140
- ::IceMX::ChildInvocationMetrics(id, total, current, totalLifetime, failures, size, replySize)
3141
- {
3142
- }
3143
-
3144
- #ifdef ICE_CPP11_COMPILER
3145
- CollocatedMetrics(const CollocatedMetrics&) = default;
3146
- CollocatedMetrics& operator=(const CollocatedMetrics&) = default;
3147
- #endif
3148
-
3149
- /**
3150
- * Polymorphically clones this object.
3151
- * @return A shallow copy of this object.
3152
- */
3153
- virtual ::Ice::ObjectPtr ice_clone() const;
3154
-
3155
- /**
3156
- * Determines whether this object supports an interface with the given Slice type ID.
3157
- * @param id The fully-scoped Slice type ID.
3158
- * @param current The Current object for the invocation.
3159
- * @return True if this object supports the interface, false, otherwise.
3160
- */
3161
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3162
-
3163
- /**
3164
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
3165
- * @param current The Current object for the invocation.
3166
- * @return A list of fully-scoped type IDs.
3167
- */
3168
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3169
-
3170
- /**
3171
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
3172
- * @param current The Current object for the invocation.
3173
- * @return A fully-scoped type ID.
3174
- */
3175
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3176
-
3177
- /**
3178
- * Obtains the Slice type ID corresponding to this class.
3179
- * @return A fully-scoped type ID.
3180
- */
3181
- static const ::std::string& ice_staticId();
3182
-
3183
- /**
3184
- * Obtains a value factory that instantiates this class.
3185
- * @return The value factory.
3186
- */
3187
- static ::Ice::ValueFactoryPtr ice_factory();
3188
-
3189
- protected:
3190
-
3191
- /// \cond STREAM
3192
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3193
- virtual void _iceReadImpl(::Ice::InputStream*);
3194
- /// \endcond
3195
- };
3196
- /// \cond INTERNAL
3197
- static ::Ice::ValueFactoryPtr _iceS_CollocatedMetrics_init = ::IceMX::CollocatedMetrics::ice_factory();
3198
- /// \endcond
3199
-
3200
- /// \cond INTERNAL
3201
- inline bool operator==(const CollocatedMetrics& lhs, const CollocatedMetrics& rhs)
3202
- {
3203
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3204
- }
3205
-
3206
- inline bool operator<(const CollocatedMetrics& lhs, const CollocatedMetrics& rhs)
3207
- {
3208
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3209
- }
3210
- /// \endcond
3211
-
3212
- /**
3213
- * Provides information on invocations that are specifically sent over
3214
- * Ice connections. Remote metrics are embedded within {@link InvocationMetrics}.
3215
- * \headerfile Ice/Ice.h
3216
- */
3217
- class ICE_API RemoteMetrics : public ChildInvocationMetrics
3218
- {
3219
- public:
3220
-
3221
- typedef RemoteMetricsPrx ProxyType;
3222
- typedef RemoteMetricsPtr PointerType;
3223
-
3224
- virtual ~RemoteMetrics();
3225
-
3226
- RemoteMetrics()
3227
- {
3228
- }
3229
-
3230
- /**
3231
- * One-shot constructor to initialize all data members.
3232
- * @param id The metrics identifier.
3233
- * @param total The total number of objects observed by this metrics.
3234
- * @param current The number of objects currently observed by this metrics.
3235
- * @param totalLifetime The sum of the lifetime of each observed objects.
3236
- * @param failures The number of failures observed.
3237
- * @param size The size of the invocation.
3238
- * @param replySize The size of the invocation reply.
3239
- */
3240
- RemoteMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize) :
3241
- ::IceMX::ChildInvocationMetrics(id, total, current, totalLifetime, failures, size, replySize)
3242
- {
3243
- }
3244
-
3245
- #ifdef ICE_CPP11_COMPILER
3246
- RemoteMetrics(const RemoteMetrics&) = default;
3247
- RemoteMetrics& operator=(const RemoteMetrics&) = default;
3248
- #endif
3249
-
3250
- /**
3251
- * Polymorphically clones this object.
3252
- * @return A shallow copy of this object.
3253
- */
3254
- virtual ::Ice::ObjectPtr ice_clone() const;
3255
-
3256
- /**
3257
- * Determines whether this object supports an interface with the given Slice type ID.
3258
- * @param id The fully-scoped Slice type ID.
3259
- * @param current The Current object for the invocation.
3260
- * @return True if this object supports the interface, false, otherwise.
3261
- */
3262
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3263
-
3264
- /**
3265
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
3266
- * @param current The Current object for the invocation.
3267
- * @return A list of fully-scoped type IDs.
3268
- */
3269
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3270
-
3271
- /**
3272
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
3273
- * @param current The Current object for the invocation.
3274
- * @return A fully-scoped type ID.
3275
- */
3276
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3277
-
3278
- /**
3279
- * Obtains the Slice type ID corresponding to this class.
3280
- * @return A fully-scoped type ID.
3281
- */
3282
- static const ::std::string& ice_staticId();
3283
-
3284
- /**
3285
- * Obtains a value factory that instantiates this class.
3286
- * @return The value factory.
3287
- */
3288
- static ::Ice::ValueFactoryPtr ice_factory();
3289
-
3290
- protected:
3291
-
3292
- /// \cond STREAM
3293
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3294
- virtual void _iceReadImpl(::Ice::InputStream*);
3295
- /// \endcond
3296
- };
3297
- /// \cond INTERNAL
3298
- static ::Ice::ValueFactoryPtr _iceS_RemoteMetrics_init = ::IceMX::RemoteMetrics::ice_factory();
3299
- /// \endcond
3300
-
3301
- /// \cond INTERNAL
3302
- inline bool operator==(const RemoteMetrics& lhs, const RemoteMetrics& rhs)
3303
- {
3304
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3305
- }
3306
-
3307
- inline bool operator<(const RemoteMetrics& lhs, const RemoteMetrics& rhs)
3308
- {
3309
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3310
- }
3311
- /// \endcond
3312
-
3313
- /**
3314
- * Provide measurements for proxy invocations. Proxy invocations can
3315
- * either be sent over the wire or be collocated.
3316
- * \headerfile Ice/Ice.h
3317
- */
3318
- class ICE_API InvocationMetrics : public Metrics, public ::IceInternal::GCObject
3319
- {
3320
- public:
3321
-
3322
- typedef InvocationMetricsPrx ProxyType;
3323
- typedef InvocationMetricsPtr PointerType;
3324
-
3325
- virtual ~InvocationMetrics();
3326
-
3327
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
3328
- InvocationMetrics() :
3329
- retry(0),
3330
- userException(0)
3331
- {
3332
- }
3333
-
3334
- /**
3335
- * One-shot constructor to initialize all data members.
3336
- * @param id The metrics identifier.
3337
- * @param total The total number of objects observed by this metrics.
3338
- * @param current The number of objects currently observed by this metrics.
3339
- * @param totalLifetime The sum of the lifetime of each observed objects.
3340
- * @param failures The number of failures observed.
3341
- * @param retry The number of retries for the invocation(s).
3342
- * @param userException The number of invocations that failed with a user exception.
3343
- * @param remotes The remote invocation metrics map.
3344
- * @param collocated The collocated invocation metrics map.
3345
- */
3346
- InvocationMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int retry, ::Ice::Int userException, const ::IceMX::MetricsMap& remotes, const ::IceMX::MetricsMap& collocated) :
3347
- ::IceMX::Metrics(id, total, current, totalLifetime, failures),
3348
- retry(retry),
3349
- userException(userException),
3350
- remotes(remotes),
3351
- collocated(collocated)
3352
- {
3353
- }
3354
-
3355
- #ifdef ICE_CPP11_COMPILER
3356
- InvocationMetrics(const InvocationMetrics&) = default;
3357
- InvocationMetrics& operator=(const InvocationMetrics&) = default;
3358
- #endif
3359
-
3360
- /**
3361
- * Polymorphically clones this object.
3362
- * @return A shallow copy of this object.
3363
- */
3364
- virtual ::Ice::ObjectPtr ice_clone() const;
3365
-
3366
- /**
3367
- * Determines whether this object supports an interface with the given Slice type ID.
3368
- * @param id The fully-scoped Slice type ID.
3369
- * @param current The Current object for the invocation.
3370
- * @return True if this object supports the interface, false, otherwise.
3371
- */
3372
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3373
-
3374
- /**
3375
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
3376
- * @param current The Current object for the invocation.
3377
- * @return A list of fully-scoped type IDs.
3378
- */
3379
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3380
-
3381
- /**
3382
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
3383
- * @param current The Current object for the invocation.
3384
- * @return A fully-scoped type ID.
3385
- */
3386
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3387
-
3388
- /**
3389
- * Obtains the Slice type ID corresponding to this class.
3390
- * @return A fully-scoped type ID.
3391
- */
3392
- static const ::std::string& ice_staticId();
3393
- /// \cond INTERNAL
3394
- virtual void _iceGcVisitMembers(::IceInternal::GCVisitor&);
3395
- /// \endcond
3396
-
3397
- /**
3398
- * Obtains a value factory that instantiates this class.
3399
- * @return The value factory.
3400
- */
3401
- static ::Ice::ValueFactoryPtr ice_factory();
3402
-
3403
- protected:
3404
-
3405
- /// \cond STREAM
3406
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3407
- virtual void _iceReadImpl(::Ice::InputStream*);
3408
- /// \endcond
3409
-
3410
- public:
3411
-
3412
- /**
3413
- * The number of retries for the invocation(s).
3414
- */
3415
- ::Ice::Int retry;
3416
- /**
3417
- * The number of invocations that failed with a user exception.
3418
- */
3419
- ::Ice::Int userException;
3420
- /**
3421
- * The remote invocation metrics map.
3422
- * @see RemoteMetrics
3423
- */
3424
- ::IceMX::MetricsMap remotes;
3425
- /**
3426
- * The collocated invocation metrics map.
3427
- * @see CollocatedMetrics
3428
- */
3429
- ::IceMX::MetricsMap collocated;
3430
- };
3431
- /// \cond INTERNAL
3432
- static ::Ice::ValueFactoryPtr _iceS_InvocationMetrics_init = ::IceMX::InvocationMetrics::ice_factory();
3433
- /// \endcond
3434
-
3435
- /// \cond INTERNAL
3436
- inline bool operator==(const InvocationMetrics& lhs, const InvocationMetrics& rhs)
3437
- {
3438
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3439
- }
3440
-
3441
- inline bool operator<(const InvocationMetrics& lhs, const InvocationMetrics& rhs)
3442
- {
3443
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3444
- }
3445
- /// \endcond
3446
-
3447
- /**
3448
- * Provides information on the data sent and received over Ice
3449
- * connections.
3450
- * \headerfile Ice/Ice.h
3451
- */
3452
- class ICE_API ConnectionMetrics : public Metrics
3453
- {
3454
- public:
3455
-
3456
- typedef ConnectionMetricsPrx ProxyType;
3457
- typedef ConnectionMetricsPtr PointerType;
3458
-
3459
- virtual ~ConnectionMetrics();
3460
-
3461
- /** Default constructor that assigns default values to members as specified in the Slice definition. */
3462
- ConnectionMetrics() :
3463
- receivedBytes(ICE_INT64(0)),
3464
- sentBytes(ICE_INT64(0))
3465
- {
3466
- }
3467
-
3468
- /**
3469
- * One-shot constructor to initialize all data members.
3470
- * @param id The metrics identifier.
3471
- * @param total The total number of objects observed by this metrics.
3472
- * @param current The number of objects currently observed by this metrics.
3473
- * @param totalLifetime The sum of the lifetime of each observed objects.
3474
- * @param failures The number of failures observed.
3475
- * @param receivedBytes The number of bytes received by the connection.
3476
- * @param sentBytes The number of bytes sent by the connection.
3477
- */
3478
- ConnectionMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long receivedBytes, ::Ice::Long sentBytes) :
3479
- ::IceMX::Metrics(id, total, current, totalLifetime, failures),
3480
- receivedBytes(receivedBytes),
3481
- sentBytes(sentBytes)
3482
- {
3483
- }
3484
-
3485
- #ifdef ICE_CPP11_COMPILER
3486
- ConnectionMetrics(const ConnectionMetrics&) = default;
3487
- ConnectionMetrics& operator=(const ConnectionMetrics&) = default;
3488
- #endif
3489
-
3490
- /**
3491
- * Polymorphically clones this object.
3492
- * @return A shallow copy of this object.
3493
- */
3494
- virtual ::Ice::ObjectPtr ice_clone() const;
3495
-
3496
- /**
3497
- * Determines whether this object supports an interface with the given Slice type ID.
3498
- * @param id The fully-scoped Slice type ID.
3499
- * @param current The Current object for the invocation.
3500
- * @return True if this object supports the interface, false, otherwise.
3501
- */
3502
- virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3503
-
3504
- /**
3505
- * Obtains a list of the Slice type IDs representing the interfaces supported by this object.
3506
- * @param current The Current object for the invocation.
3507
- * @return A list of fully-scoped type IDs.
3508
- */
3509
- virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3510
-
3511
- /**
3512
- * Obtains a Slice type ID representing the most-derived interface supported by this object.
3513
- * @param current The Current object for the invocation.
3514
- * @return A fully-scoped type ID.
3515
- */
3516
- virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
3517
-
3518
- /**
3519
- * Obtains the Slice type ID corresponding to this class.
3520
- * @return A fully-scoped type ID.
3521
- */
3522
- static const ::std::string& ice_staticId();
3523
-
3524
- /**
3525
- * Obtains a value factory that instantiates this class.
3526
- * @return The value factory.
3527
- */
3528
- static ::Ice::ValueFactoryPtr ice_factory();
3529
-
3530
- protected:
3531
-
3532
- /// \cond STREAM
3533
- virtual void _iceWriteImpl(::Ice::OutputStream*) const;
3534
- virtual void _iceReadImpl(::Ice::InputStream*);
3535
- /// \endcond
3536
-
3537
- public:
3538
-
3539
- /**
3540
- * The number of bytes received by the connection.
3541
- */
3542
- ::Ice::Long receivedBytes;
3543
- /**
3544
- * The number of bytes sent by the connection.
3545
- */
3546
- ::Ice::Long sentBytes;
3547
- };
3548
- /// \cond INTERNAL
3549
- static ::Ice::ValueFactoryPtr _iceS_ConnectionMetrics_init = ::IceMX::ConnectionMetrics::ice_factory();
3550
- /// \endcond
3551
-
3552
- /// \cond INTERNAL
3553
- inline bool operator==(const ConnectionMetrics& lhs, const ConnectionMetrics& rhs)
3554
- {
3555
- return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
3556
- }
3557
-
3558
- inline bool operator<(const ConnectionMetrics& lhs, const ConnectionMetrics& rhs)
3559
- {
3560
- return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
3561
- }
3562
- /// \endcond
3563
-
3564
- }
3565
-
3566
- /// \cond STREAM
3567
- namespace Ice
3568
- {
3569
-
3570
- template<typename S>
3571
- struct StreamWriter< ::IceMX::Metrics, S>
3572
- {
3573
- static void write(S* ostr, const ::IceMX::Metrics& v)
3574
- {
3575
- ostr->write(v.id);
3576
- ostr->write(v.total);
3577
- ostr->write(v.current);
3578
- ostr->write(v.totalLifetime);
3579
- ostr->write(v.failures);
3580
- }
3581
- };
3582
-
3583
- template<typename S>
3584
- struct StreamReader< ::IceMX::Metrics, S>
3585
- {
3586
- static void read(S* istr, ::IceMX::Metrics& v)
3587
- {
3588
- istr->read(v.id);
3589
- istr->read(v.total);
3590
- istr->read(v.current);
3591
- istr->read(v.totalLifetime);
3592
- istr->read(v.failures);
3593
- }
3594
- };
3595
-
3596
- template<>
3597
- struct StreamableTraits< ::IceMX::MetricsFailures>
3598
- {
3599
- static const StreamHelperCategory helper = StreamHelperCategoryStruct;
3600
- static const int minWireSize = 2;
3601
- static const bool fixedLength = false;
3602
- };
3603
-
3604
- template<typename S>
3605
- struct StreamWriter< ::IceMX::MetricsFailures, S>
3606
- {
3607
- static void write(S* ostr, const ::IceMX::MetricsFailures& v)
3608
- {
3609
- ostr->write(v.id);
3610
- ostr->write(v.failures);
3611
- }
3612
- };
3613
-
3614
- template<typename S>
3615
- struct StreamReader< ::IceMX::MetricsFailures, S>
3616
- {
3617
- static void read(S* istr, ::IceMX::MetricsFailures& v)
3618
- {
3619
- istr->read(v.id);
3620
- istr->read(v.failures);
3621
- }
3622
- };
3623
-
3624
- template<>
3625
- struct StreamableTraits< ::IceMX::UnknownMetricsView>
3626
- {
3627
- static const StreamHelperCategory helper = StreamHelperCategoryUserException;
3628
- };
3629
-
3630
- template<typename S>
3631
- struct StreamWriter< ::IceMX::ThreadMetrics, S>
3632
- {
3633
- static void write(S* ostr, const ::IceMX::ThreadMetrics& v)
3634
- {
3635
- ostr->write(v.inUseForIO);
3636
- ostr->write(v.inUseForUser);
3637
- ostr->write(v.inUseForOther);
3638
- }
3639
- };
3640
-
3641
- template<typename S>
3642
- struct StreamReader< ::IceMX::ThreadMetrics, S>
3643
- {
3644
- static void read(S* istr, ::IceMX::ThreadMetrics& v)
3645
- {
3646
- istr->read(v.inUseForIO);
3647
- istr->read(v.inUseForUser);
3648
- istr->read(v.inUseForOther);
3649
- }
3650
- };
3651
-
3652
- template<typename S>
3653
- struct StreamWriter< ::IceMX::DispatchMetrics, S>
3654
- {
3655
- static void write(S* ostr, const ::IceMX::DispatchMetrics& v)
3656
- {
3657
- ostr->write(v.userException);
3658
- ostr->write(v.size);
3659
- ostr->write(v.replySize);
3660
- }
3661
- };
3662
-
3663
- template<typename S>
3664
- struct StreamReader< ::IceMX::DispatchMetrics, S>
3665
- {
3666
- static void read(S* istr, ::IceMX::DispatchMetrics& v)
3667
- {
3668
- istr->read(v.userException);
3669
- istr->read(v.size);
3670
- istr->read(v.replySize);
3671
- }
3672
- };
3673
-
3674
- template<typename S>
3675
- struct StreamWriter< ::IceMX::ChildInvocationMetrics, S>
3676
- {
3677
- static void write(S* ostr, const ::IceMX::ChildInvocationMetrics& v)
3678
- {
3679
- ostr->write(v.size);
3680
- ostr->write(v.replySize);
3681
- }
3682
- };
3683
-
3684
- template<typename S>
3685
- struct StreamReader< ::IceMX::ChildInvocationMetrics, S>
3686
- {
3687
- static void read(S* istr, ::IceMX::ChildInvocationMetrics& v)
3688
- {
3689
- istr->read(v.size);
3690
- istr->read(v.replySize);
3691
- }
3692
- };
3693
-
3694
- template<typename S>
3695
- struct StreamWriter< ::IceMX::InvocationMetrics, S>
3696
- {
3697
- static void write(S* ostr, const ::IceMX::InvocationMetrics& v)
3698
- {
3699
- ostr->write(v.retry);
3700
- ostr->write(v.userException);
3701
- ostr->write(v.remotes);
3702
- ostr->write(v.collocated);
3703
- }
3704
- };
3705
-
3706
- template<typename S>
3707
- struct StreamReader< ::IceMX::InvocationMetrics, S>
3708
- {
3709
- static void read(S* istr, ::IceMX::InvocationMetrics& v)
3710
- {
3711
- istr->read(v.retry);
3712
- istr->read(v.userException);
3713
- istr->read(v.remotes);
3714
- istr->read(v.collocated);
3715
- }
3716
- };
3717
-
3718
- template<typename S>
3719
- struct StreamWriter< ::IceMX::ConnectionMetrics, S>
3720
- {
3721
- static void write(S* ostr, const ::IceMX::ConnectionMetrics& v)
3722
- {
3723
- ostr->write(v.receivedBytes);
3724
- ostr->write(v.sentBytes);
3725
- }
3726
- };
3727
-
3728
- template<typename S>
3729
- struct StreamReader< ::IceMX::ConnectionMetrics, S>
3730
- {
3731
- static void read(S* istr, ::IceMX::ConnectionMetrics& v)
3732
- {
3733
- istr->read(v.receivedBytes);
3734
- istr->read(v.sentBytes);
3735
- }
3736
- };
3737
-
3738
- }
3739
- /// \endcond
3740
-
3741
- namespace IceMX
3742
- {
3743
-
3744
- /**
3745
- * Type-safe asynchronous callback wrapper class used for calls to
3746
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3747
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsViewNames.
3748
- */
3749
- template<class T>
3750
- class CallbackNC_MetricsAdmin_getMetricsViewNames : public Callback_MetricsAdmin_getMetricsViewNames_Base, public ::IceInternal::TwowayCallbackNC<T>
3751
- {
3752
- public:
3753
-
3754
- typedef IceUtil::Handle<T> TPtr;
3755
-
3756
- typedef void (T::*Exception)(const ::Ice::Exception&);
3757
- typedef void (T::*Sent)(bool);
3758
- typedef void (T::*Response)(const ::Ice::StringSeq&, const ::Ice::StringSeq&);
3759
-
3760
- CallbackNC_MetricsAdmin_getMetricsViewNames(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3761
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3762
- {
3763
- }
3764
-
3765
- /// \cond INTERNAL
3766
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3767
- {
3768
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3769
- ::Ice::StringSeq iceP_disabledViews;
3770
- ::Ice::StringSeq ret;
3771
- try
3772
- {
3773
- ret = proxy->end_getMetricsViewNames(iceP_disabledViews, result);
3774
- }
3775
- catch(const ::Ice::Exception& ex)
3776
- {
3777
- ::IceInternal::CallbackNC<T>::exception(result, ex);
3778
- return;
3779
- }
3780
- if(_response)
3781
- {
3782
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret, iceP_disabledViews);
3783
- }
3784
- }
3785
- /// \endcond
3786
-
3787
- private:
3788
-
3789
- Response _response;
3790
- };
3791
-
3792
- /**
3793
- * Creates a callback wrapper instance that delegates to your object.
3794
- * @param instance The callback object.
3795
- * @param cb The success method of the callback object.
3796
- * @param excb The exception method of the callback object.
3797
- * @param sentcb The sent method of the callback object.
3798
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3799
- */
3800
- template<class T> Callback_MetricsAdmin_getMetricsViewNamesPtr
3801
- newCallback_MetricsAdmin_getMetricsViewNames(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::StringSeq&, const ::Ice::StringSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3802
- {
3803
- return new CallbackNC_MetricsAdmin_getMetricsViewNames<T>(instance, cb, excb, sentcb);
3804
- }
3805
-
3806
- /**
3807
- * Creates a callback wrapper instance that delegates to your object.
3808
- * @param instance The callback object.
3809
- * @param cb The success method of the callback object.
3810
- * @param excb The exception method of the callback object.
3811
- * @param sentcb The sent method of the callback object.
3812
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3813
- */
3814
- template<class T> Callback_MetricsAdmin_getMetricsViewNamesPtr
3815
- newCallback_MetricsAdmin_getMetricsViewNames(T* instance, void (T::*cb)(const ::Ice::StringSeq&, const ::Ice::StringSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3816
- {
3817
- return new CallbackNC_MetricsAdmin_getMetricsViewNames<T>(instance, cb, excb, sentcb);
3818
- }
3819
-
3820
- /**
3821
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
3822
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3823
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsViewNames.
3824
- */
3825
- template<class T, typename CT>
3826
- class Callback_MetricsAdmin_getMetricsViewNames : public Callback_MetricsAdmin_getMetricsViewNames_Base, public ::IceInternal::TwowayCallback<T, CT>
3827
- {
3828
- public:
3829
-
3830
- typedef IceUtil::Handle<T> TPtr;
3831
-
3832
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
3833
- typedef void (T::*Sent)(bool , const CT&);
3834
- typedef void (T::*Response)(const ::Ice::StringSeq&, const ::Ice::StringSeq&, const CT&);
3835
-
3836
- Callback_MetricsAdmin_getMetricsViewNames(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3837
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3838
- {
3839
- }
3840
-
3841
- /// \cond INTERNAL
3842
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3843
- {
3844
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3845
- ::Ice::StringSeq iceP_disabledViews;
3846
- ::Ice::StringSeq ret;
3847
- try
3848
- {
3849
- ret = proxy->end_getMetricsViewNames(iceP_disabledViews, result);
3850
- }
3851
- catch(const ::Ice::Exception& ex)
3852
- {
3853
- ::IceInternal::Callback<T, CT>::exception(result, ex);
3854
- return;
3855
- }
3856
- if(_response)
3857
- {
3858
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, iceP_disabledViews, CT::dynamicCast(result->getCookie()));
3859
- }
3860
- }
3861
- /// \endcond
3862
-
3863
- private:
3864
-
3865
- Response _response;
3866
- };
3867
-
3868
- /**
3869
- * Creates a callback wrapper instance that delegates to your object.
3870
- * Use this overload when your callback methods receive a cookie value.
3871
- * @param instance The callback object.
3872
- * @param cb The success method of the callback object.
3873
- * @param excb The exception method of the callback object.
3874
- * @param sentcb The sent method of the callback object.
3875
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3876
- */
3877
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsViewNamesPtr
3878
- newCallback_MetricsAdmin_getMetricsViewNames(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::StringSeq&, const ::Ice::StringSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3879
- {
3880
- return new Callback_MetricsAdmin_getMetricsViewNames<T, CT>(instance, cb, excb, sentcb);
3881
- }
3882
-
3883
- /**
3884
- * Creates a callback wrapper instance that delegates to your object.
3885
- * Use this overload when your callback methods receive a cookie value.
3886
- * @param instance The callback object.
3887
- * @param cb The success method of the callback object.
3888
- * @param excb The exception method of the callback object.
3889
- * @param sentcb The sent method of the callback object.
3890
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames.
3891
- */
3892
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsViewNamesPtr
3893
- newCallback_MetricsAdmin_getMetricsViewNames(T* instance, void (T::*cb)(const ::Ice::StringSeq&, const ::Ice::StringSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
3894
- {
3895
- return new Callback_MetricsAdmin_getMetricsViewNames<T, CT>(instance, cb, excb, sentcb);
3896
- }
3897
-
3898
- /**
3899
- * Type-safe asynchronous callback wrapper class used for calls to
3900
- * IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
3901
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_enableMetricsView.
3902
- */
3903
- template<class T>
3904
- class CallbackNC_MetricsAdmin_enableMetricsView : public Callback_MetricsAdmin_enableMetricsView_Base, public ::IceInternal::TwowayCallbackNC<T>
3905
- {
3906
- public:
3907
-
3908
- typedef IceUtil::Handle<T> TPtr;
3909
-
3910
- typedef void (T::*Exception)(const ::Ice::Exception&);
3911
- typedef void (T::*Sent)(bool);
3912
- typedef void (T::*Response)();
3913
-
3914
- CallbackNC_MetricsAdmin_enableMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
3915
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3916
- {
3917
- }
3918
-
3919
- /// \cond INTERNAL
3920
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
3921
- {
3922
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3923
- try
3924
- {
3925
- proxy->end_enableMetricsView(result);
3926
- }
3927
- catch(const ::Ice::Exception& ex)
3928
- {
3929
- ::IceInternal::CallbackNC<T>::exception(result, ex);
3930
- return;
3931
- }
3932
- if(_response)
3933
- {
3934
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3935
- }
3936
- }
3937
- /// \endcond
3938
-
3939
- private:
3940
-
3941
- Response _response;
3942
- };
3943
-
3944
- /**
3945
- * Creates a callback wrapper instance that delegates to your object.
3946
- * @param instance The callback object.
3947
- * @param cb The success method of the callback object.
3948
- * @param excb The exception method of the callback object.
3949
- * @param sentcb The sent method of the callback object.
3950
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
3951
- */
3952
- template<class T> Callback_MetricsAdmin_enableMetricsViewPtr
3953
- newCallback_MetricsAdmin_enableMetricsView(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3954
- {
3955
- return new CallbackNC_MetricsAdmin_enableMetricsView<T>(instance, cb, excb, sentcb);
3956
- }
3957
-
3958
- /**
3959
- * Creates a callback wrapper instance that delegates to your object.
3960
- * @param instance The callback object.
3961
- * @param excb The exception method of the callback object.
3962
- * @param sentcb The sent method of the callback object.
3963
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
3964
- */
3965
- template<class T> Callback_MetricsAdmin_enableMetricsViewPtr
3966
- newCallback_MetricsAdmin_enableMetricsView(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3967
- {
3968
- return new CallbackNC_MetricsAdmin_enableMetricsView<T>(instance, 0, excb, sentcb);
3969
- }
3970
-
3971
- /**
3972
- * Creates a callback wrapper instance that delegates to your object.
3973
- * @param instance The callback object.
3974
- * @param cb The success method of the callback object.
3975
- * @param excb The exception method of the callback object.
3976
- * @param sentcb The sent method of the callback object.
3977
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
3978
- */
3979
- template<class T> Callback_MetricsAdmin_enableMetricsViewPtr
3980
- newCallback_MetricsAdmin_enableMetricsView(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3981
- {
3982
- return new CallbackNC_MetricsAdmin_enableMetricsView<T>(instance, cb, excb, sentcb);
3983
- }
3984
-
3985
- /**
3986
- * Creates a callback wrapper instance that delegates to your object.
3987
- * @param instance The callback object.
3988
- * @param excb The exception method of the callback object.
3989
- * @param sentcb The sent method of the callback object.
3990
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
3991
- */
3992
- template<class T> Callback_MetricsAdmin_enableMetricsViewPtr
3993
- newCallback_MetricsAdmin_enableMetricsView(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
3994
- {
3995
- return new CallbackNC_MetricsAdmin_enableMetricsView<T>(instance, 0, excb, sentcb);
3996
- }
3997
-
3998
- /**
3999
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
4000
- * IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
4001
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_enableMetricsView.
4002
- */
4003
- template<class T, typename CT>
4004
- class Callback_MetricsAdmin_enableMetricsView : public Callback_MetricsAdmin_enableMetricsView_Base, public ::IceInternal::TwowayCallback<T, CT>
4005
- {
4006
- public:
4007
-
4008
- typedef IceUtil::Handle<T> TPtr;
4009
-
4010
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4011
- typedef void (T::*Sent)(bool , const CT&);
4012
- typedef void (T::*Response)(const CT&);
4013
-
4014
- Callback_MetricsAdmin_enableMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4015
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4016
- {
4017
- }
4018
-
4019
- /// \cond INTERNAL
4020
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4021
- {
4022
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4023
- try
4024
- {
4025
- proxy->end_enableMetricsView(result);
4026
- }
4027
- catch(const ::Ice::Exception& ex)
4028
- {
4029
- ::IceInternal::Callback<T, CT>::exception(result, ex);
4030
- return;
4031
- }
4032
- if(_response)
4033
- {
4034
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
4035
- }
4036
- }
4037
- /// \endcond
4038
-
4039
- private:
4040
-
4041
- Response _response;
4042
- };
4043
-
4044
- /**
4045
- * Creates a callback wrapper instance that delegates to your object.
4046
- * Use this overload when your callback methods receive a cookie value.
4047
- * @param instance The callback object.
4048
- * @param cb The success method of the callback object.
4049
- * @param excb The exception method of the callback object.
4050
- * @param sentcb The sent method of the callback object.
4051
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
4052
- */
4053
- template<class T, typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4054
- newCallback_MetricsAdmin_enableMetricsView(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)
4055
- {
4056
- return new Callback_MetricsAdmin_enableMetricsView<T, CT>(instance, cb, excb, sentcb);
4057
- }
4058
-
4059
- /**
4060
- * Creates a callback wrapper instance that delegates to your object.
4061
- * Use this overload when your callback methods receive a cookie value.
4062
- * @param instance The callback object.
4063
- * @param excb The exception method of the callback object.
4064
- * @param sentcb The sent method of the callback object.
4065
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
4066
- */
4067
- template<class T, typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4068
- newCallback_MetricsAdmin_enableMetricsView(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4069
- {
4070
- return new Callback_MetricsAdmin_enableMetricsView<T, CT>(instance, 0, excb, sentcb);
4071
- }
4072
-
4073
- /**
4074
- * Creates a callback wrapper instance that delegates to your object.
4075
- * Use this overload when your callback methods receive a cookie value.
4076
- * @param instance The callback object.
4077
- * @param cb The success method of the callback object.
4078
- * @param excb The exception method of the callback object.
4079
- * @param sentcb The sent method of the callback object.
4080
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
4081
- */
4082
- template<class T, typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4083
- newCallback_MetricsAdmin_enableMetricsView(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4084
- {
4085
- return new Callback_MetricsAdmin_enableMetricsView<T, CT>(instance, cb, excb, sentcb);
4086
- }
4087
-
4088
- /**
4089
- * Creates a callback wrapper instance that delegates to your object.
4090
- * Use this overload when your callback methods receive a cookie value.
4091
- * @param instance The callback object.
4092
- * @param excb The exception method of the callback object.
4093
- * @param sentcb The sent method of the callback object.
4094
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView.
4095
- */
4096
- template<class T, typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4097
- newCallback_MetricsAdmin_enableMetricsView(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4098
- {
4099
- return new Callback_MetricsAdmin_enableMetricsView<T, CT>(instance, 0, excb, sentcb);
4100
- }
4101
-
4102
- /**
4103
- * Type-safe asynchronous callback wrapper class used for calls to
4104
- * IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4105
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_disableMetricsView.
4106
- */
4107
- template<class T>
4108
- class CallbackNC_MetricsAdmin_disableMetricsView : public Callback_MetricsAdmin_disableMetricsView_Base, public ::IceInternal::TwowayCallbackNC<T>
4109
- {
4110
- public:
4111
-
4112
- typedef IceUtil::Handle<T> TPtr;
4113
-
4114
- typedef void (T::*Exception)(const ::Ice::Exception&);
4115
- typedef void (T::*Sent)(bool);
4116
- typedef void (T::*Response)();
4117
-
4118
- CallbackNC_MetricsAdmin_disableMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4119
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4120
- {
4121
- }
4122
-
4123
- /// \cond INTERNAL
4124
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4125
- {
4126
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4127
- try
4128
- {
4129
- proxy->end_disableMetricsView(result);
4130
- }
4131
- catch(const ::Ice::Exception& ex)
4132
- {
4133
- ::IceInternal::CallbackNC<T>::exception(result, ex);
4134
- return;
4135
- }
4136
- if(_response)
4137
- {
4138
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
4139
- }
4140
- }
4141
- /// \endcond
4142
-
4143
- private:
4144
-
4145
- Response _response;
4146
- };
4147
-
4148
- /**
4149
- * Creates a callback wrapper instance that delegates to your object.
4150
- * @param instance The callback object.
4151
- * @param cb The success method of the callback object.
4152
- * @param excb The exception method of the callback object.
4153
- * @param sentcb The sent method of the callback object.
4154
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4155
- */
4156
- template<class T> Callback_MetricsAdmin_disableMetricsViewPtr
4157
- newCallback_MetricsAdmin_disableMetricsView(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4158
- {
4159
- return new CallbackNC_MetricsAdmin_disableMetricsView<T>(instance, cb, excb, sentcb);
4160
- }
4161
-
4162
- /**
4163
- * Creates a callback wrapper instance that delegates to your object.
4164
- * @param instance The callback object.
4165
- * @param excb The exception method of the callback object.
4166
- * @param sentcb The sent method of the callback object.
4167
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4168
- */
4169
- template<class T> Callback_MetricsAdmin_disableMetricsViewPtr
4170
- newCallback_MetricsAdmin_disableMetricsView(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4171
- {
4172
- return new CallbackNC_MetricsAdmin_disableMetricsView<T>(instance, 0, excb, sentcb);
4173
- }
4174
-
4175
- /**
4176
- * Creates a callback wrapper instance that delegates to your object.
4177
- * @param instance The callback object.
4178
- * @param cb The success method of the callback object.
4179
- * @param excb The exception method of the callback object.
4180
- * @param sentcb The sent method of the callback object.
4181
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4182
- */
4183
- template<class T> Callback_MetricsAdmin_disableMetricsViewPtr
4184
- newCallback_MetricsAdmin_disableMetricsView(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4185
- {
4186
- return new CallbackNC_MetricsAdmin_disableMetricsView<T>(instance, cb, excb, sentcb);
4187
- }
4188
-
4189
- /**
4190
- * Creates a callback wrapper instance that delegates to your object.
4191
- * @param instance The callback object.
4192
- * @param excb The exception method of the callback object.
4193
- * @param sentcb The sent method of the callback object.
4194
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4195
- */
4196
- template<class T> Callback_MetricsAdmin_disableMetricsViewPtr
4197
- newCallback_MetricsAdmin_disableMetricsView(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4198
- {
4199
- return new CallbackNC_MetricsAdmin_disableMetricsView<T>(instance, 0, excb, sentcb);
4200
- }
4201
-
4202
- /**
4203
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
4204
- * IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4205
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_disableMetricsView.
4206
- */
4207
- template<class T, typename CT>
4208
- class Callback_MetricsAdmin_disableMetricsView : public Callback_MetricsAdmin_disableMetricsView_Base, public ::IceInternal::TwowayCallback<T, CT>
4209
- {
4210
- public:
4211
-
4212
- typedef IceUtil::Handle<T> TPtr;
4213
-
4214
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4215
- typedef void (T::*Sent)(bool , const CT&);
4216
- typedef void (T::*Response)(const CT&);
4217
-
4218
- Callback_MetricsAdmin_disableMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4219
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4220
- {
4221
- }
4222
-
4223
- /// \cond INTERNAL
4224
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4225
- {
4226
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4227
- try
4228
- {
4229
- proxy->end_disableMetricsView(result);
4230
- }
4231
- catch(const ::Ice::Exception& ex)
4232
- {
4233
- ::IceInternal::Callback<T, CT>::exception(result, ex);
4234
- return;
4235
- }
4236
- if(_response)
4237
- {
4238
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
4239
- }
4240
- }
4241
- /// \endcond
4242
-
4243
- private:
4244
-
4245
- Response _response;
4246
- };
4247
-
4248
- /**
4249
- * Creates a callback wrapper instance that delegates to your object.
4250
- * Use this overload when your callback methods receive a cookie value.
4251
- * @param instance The callback object.
4252
- * @param cb The success method of the callback object.
4253
- * @param excb The exception method of the callback object.
4254
- * @param sentcb The sent method of the callback object.
4255
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4256
- */
4257
- template<class T, typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4258
- newCallback_MetricsAdmin_disableMetricsView(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)
4259
- {
4260
- return new Callback_MetricsAdmin_disableMetricsView<T, CT>(instance, cb, excb, sentcb);
4261
- }
4262
-
4263
- /**
4264
- * Creates a callback wrapper instance that delegates to your object.
4265
- * Use this overload when your callback methods receive a cookie value.
4266
- * @param instance The callback object.
4267
- * @param excb The exception method of the callback object.
4268
- * @param sentcb The sent method of the callback object.
4269
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4270
- */
4271
- template<class T, typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4272
- newCallback_MetricsAdmin_disableMetricsView(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4273
- {
4274
- return new Callback_MetricsAdmin_disableMetricsView<T, CT>(instance, 0, excb, sentcb);
4275
- }
4276
-
4277
- /**
4278
- * Creates a callback wrapper instance that delegates to your object.
4279
- * Use this overload when your callback methods receive a cookie value.
4280
- * @param instance The callback object.
4281
- * @param cb The success method of the callback object.
4282
- * @param excb The exception method of the callback object.
4283
- * @param sentcb The sent method of the callback object.
4284
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4285
- */
4286
- template<class T, typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4287
- newCallback_MetricsAdmin_disableMetricsView(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4288
- {
4289
- return new Callback_MetricsAdmin_disableMetricsView<T, CT>(instance, cb, excb, sentcb);
4290
- }
4291
-
4292
- /**
4293
- * Creates a callback wrapper instance that delegates to your object.
4294
- * Use this overload when your callback methods receive a cookie value.
4295
- * @param instance The callback object.
4296
- * @param excb The exception method of the callback object.
4297
- * @param sentcb The sent method of the callback object.
4298
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView.
4299
- */
4300
- template<class T, typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4301
- newCallback_MetricsAdmin_disableMetricsView(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4302
- {
4303
- return new Callback_MetricsAdmin_disableMetricsView<T, CT>(instance, 0, excb, sentcb);
4304
- }
4305
-
4306
- /**
4307
- * Type-safe asynchronous callback wrapper class used for calls to
4308
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4309
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsView.
4310
- */
4311
- template<class T>
4312
- class CallbackNC_MetricsAdmin_getMetricsView : public Callback_MetricsAdmin_getMetricsView_Base, public ::IceInternal::TwowayCallbackNC<T>
4313
- {
4314
- public:
4315
-
4316
- typedef IceUtil::Handle<T> TPtr;
4317
-
4318
- typedef void (T::*Exception)(const ::Ice::Exception&);
4319
- typedef void (T::*Sent)(bool);
4320
- typedef void (T::*Response)(const MetricsView&, ::Ice::Long);
4321
-
4322
- CallbackNC_MetricsAdmin_getMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4323
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4324
- {
4325
- }
4326
-
4327
- /// \cond INTERNAL
4328
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4329
- {
4330
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4331
- ::Ice::Long iceP_timestamp;
4332
- MetricsView ret;
4333
- try
4334
- {
4335
- ret = proxy->end_getMetricsView(iceP_timestamp, result);
4336
- }
4337
- catch(const ::Ice::Exception& ex)
4338
- {
4339
- ::IceInternal::CallbackNC<T>::exception(result, ex);
4340
- return;
4341
- }
4342
- if(_response)
4343
- {
4344
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret, iceP_timestamp);
4345
- }
4346
- }
4347
- /// \endcond
4348
-
4349
- private:
4350
-
4351
- Response _response;
4352
- };
4353
-
4354
- /**
4355
- * Creates a callback wrapper instance that delegates to your object.
4356
- * @param instance The callback object.
4357
- * @param cb The success method of the callback object.
4358
- * @param excb The exception method of the callback object.
4359
- * @param sentcb The sent method of the callback object.
4360
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4361
- */
4362
- template<class T> Callback_MetricsAdmin_getMetricsViewPtr
4363
- newCallback_MetricsAdmin_getMetricsView(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsView&, ::Ice::Long), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4364
- {
4365
- return new CallbackNC_MetricsAdmin_getMetricsView<T>(instance, cb, excb, sentcb);
4366
- }
4367
-
4368
- /**
4369
- * Creates a callback wrapper instance that delegates to your object.
4370
- * @param instance The callback object.
4371
- * @param cb The success method of the callback object.
4372
- * @param excb The exception method of the callback object.
4373
- * @param sentcb The sent method of the callback object.
4374
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4375
- */
4376
- template<class T> Callback_MetricsAdmin_getMetricsViewPtr
4377
- newCallback_MetricsAdmin_getMetricsView(T* instance, void (T::*cb)(const MetricsView&, ::Ice::Long), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4378
- {
4379
- return new CallbackNC_MetricsAdmin_getMetricsView<T>(instance, cb, excb, sentcb);
4380
- }
4381
-
4382
- /**
4383
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
4384
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4385
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsView.
4386
- */
4387
- template<class T, typename CT>
4388
- class Callback_MetricsAdmin_getMetricsView : public Callback_MetricsAdmin_getMetricsView_Base, public ::IceInternal::TwowayCallback<T, CT>
4389
- {
4390
- public:
4391
-
4392
- typedef IceUtil::Handle<T> TPtr;
4393
-
4394
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4395
- typedef void (T::*Sent)(bool , const CT&);
4396
- typedef void (T::*Response)(const MetricsView&, ::Ice::Long, const CT&);
4397
-
4398
- Callback_MetricsAdmin_getMetricsView(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4399
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4400
- {
4401
- }
4402
-
4403
- /// \cond INTERNAL
4404
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4405
- {
4406
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4407
- ::Ice::Long iceP_timestamp;
4408
- MetricsView ret;
4409
- try
4410
- {
4411
- ret = proxy->end_getMetricsView(iceP_timestamp, result);
4412
- }
4413
- catch(const ::Ice::Exception& ex)
4414
- {
4415
- ::IceInternal::Callback<T, CT>::exception(result, ex);
4416
- return;
4417
- }
4418
- if(_response)
4419
- {
4420
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, iceP_timestamp, CT::dynamicCast(result->getCookie()));
4421
- }
4422
- }
4423
- /// \endcond
4424
-
4425
- private:
4426
-
4427
- Response _response;
4428
- };
4429
-
4430
- /**
4431
- * Creates a callback wrapper instance that delegates to your object.
4432
- * Use this overload when your callback methods receive a cookie value.
4433
- * @param instance The callback object.
4434
- * @param cb The success method of the callback object.
4435
- * @param excb The exception method of the callback object.
4436
- * @param sentcb The sent method of the callback object.
4437
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4438
- */
4439
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsViewPtr
4440
- newCallback_MetricsAdmin_getMetricsView(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsView&, ::Ice::Long, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4441
- {
4442
- return new Callback_MetricsAdmin_getMetricsView<T, CT>(instance, cb, excb, sentcb);
4443
- }
4444
-
4445
- /**
4446
- * Creates a callback wrapper instance that delegates to your object.
4447
- * Use this overload when your callback methods receive a cookie value.
4448
- * @param instance The callback object.
4449
- * @param cb The success method of the callback object.
4450
- * @param excb The exception method of the callback object.
4451
- * @param sentcb The sent method of the callback object.
4452
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsView.
4453
- */
4454
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsViewPtr
4455
- newCallback_MetricsAdmin_getMetricsView(T* instance, void (T::*cb)(const MetricsView&, ::Ice::Long, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4456
- {
4457
- return new Callback_MetricsAdmin_getMetricsView<T, CT>(instance, cb, excb, sentcb);
4458
- }
4459
-
4460
- /**
4461
- * Type-safe asynchronous callback wrapper class used for calls to
4462
- * IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4463
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMapMetricsFailures.
4464
- */
4465
- template<class T>
4466
- class CallbackNC_MetricsAdmin_getMapMetricsFailures : public Callback_MetricsAdmin_getMapMetricsFailures_Base, public ::IceInternal::TwowayCallbackNC<T>
4467
- {
4468
- public:
4469
-
4470
- typedef IceUtil::Handle<T> TPtr;
4471
-
4472
- typedef void (T::*Exception)(const ::Ice::Exception&);
4473
- typedef void (T::*Sent)(bool);
4474
- typedef void (T::*Response)(const MetricsFailuresSeq&);
4475
-
4476
- CallbackNC_MetricsAdmin_getMapMetricsFailures(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4477
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4478
- {
4479
- }
4480
-
4481
- /// \cond INTERNAL
4482
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4483
- {
4484
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4485
- MetricsFailuresSeq ret;
4486
- try
4487
- {
4488
- ret = proxy->end_getMapMetricsFailures(result);
4489
- }
4490
- catch(const ::Ice::Exception& ex)
4491
- {
4492
- ::IceInternal::CallbackNC<T>::exception(result, ex);
4493
- return;
4494
- }
4495
- if(_response)
4496
- {
4497
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4498
- }
4499
- }
4500
- /// \endcond
4501
-
4502
- private:
4503
-
4504
- Response _response;
4505
- };
4506
-
4507
- /**
4508
- * Creates a callback wrapper instance that delegates to your object.
4509
- * @param instance The callback object.
4510
- * @param cb The success method of the callback object.
4511
- * @param excb The exception method of the callback object.
4512
- * @param sentcb The sent method of the callback object.
4513
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4514
- */
4515
- template<class T> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4516
- newCallback_MetricsAdmin_getMapMetricsFailures(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsFailuresSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4517
- {
4518
- return new CallbackNC_MetricsAdmin_getMapMetricsFailures<T>(instance, cb, excb, sentcb);
4519
- }
4520
-
4521
- /**
4522
- * Creates a callback wrapper instance that delegates to your object.
4523
- * @param instance The callback object.
4524
- * @param cb The success method of the callback object.
4525
- * @param excb The exception method of the callback object.
4526
- * @param sentcb The sent method of the callback object.
4527
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4528
- */
4529
- template<class T> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4530
- newCallback_MetricsAdmin_getMapMetricsFailures(T* instance, void (T::*cb)(const MetricsFailuresSeq&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4531
- {
4532
- return new CallbackNC_MetricsAdmin_getMapMetricsFailures<T>(instance, cb, excb, sentcb);
4533
- }
4534
-
4535
- /**
4536
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
4537
- * IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4538
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMapMetricsFailures.
4539
- */
4540
- template<class T, typename CT>
4541
- class Callback_MetricsAdmin_getMapMetricsFailures : public Callback_MetricsAdmin_getMapMetricsFailures_Base, public ::IceInternal::TwowayCallback<T, CT>
4542
- {
4543
- public:
4544
-
4545
- typedef IceUtil::Handle<T> TPtr;
4546
-
4547
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4548
- typedef void (T::*Sent)(bool , const CT&);
4549
- typedef void (T::*Response)(const MetricsFailuresSeq&, const CT&);
4550
-
4551
- Callback_MetricsAdmin_getMapMetricsFailures(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4552
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4553
- {
4554
- }
4555
-
4556
- /// \cond INTERNAL
4557
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4558
- {
4559
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4560
- MetricsFailuresSeq ret;
4561
- try
4562
- {
4563
- ret = proxy->end_getMapMetricsFailures(result);
4564
- }
4565
- catch(const ::Ice::Exception& ex)
4566
- {
4567
- ::IceInternal::Callback<T, CT>::exception(result, ex);
4568
- return;
4569
- }
4570
- if(_response)
4571
- {
4572
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4573
- }
4574
- }
4575
- /// \endcond
4576
-
4577
- private:
4578
-
4579
- Response _response;
4580
- };
4581
-
4582
- /**
4583
- * Creates a callback wrapper instance that delegates to your object.
4584
- * Use this overload when your callback methods receive a cookie value.
4585
- * @param instance The callback object.
4586
- * @param cb The success method of the callback object.
4587
- * @param excb The exception method of the callback object.
4588
- * @param sentcb The sent method of the callback object.
4589
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4590
- */
4591
- template<class T, typename CT> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4592
- newCallback_MetricsAdmin_getMapMetricsFailures(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsFailuresSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4593
- {
4594
- return new Callback_MetricsAdmin_getMapMetricsFailures<T, CT>(instance, cb, excb, sentcb);
4595
- }
4596
-
4597
- /**
4598
- * Creates a callback wrapper instance that delegates to your object.
4599
- * Use this overload when your callback methods receive a cookie value.
4600
- * @param instance The callback object.
4601
- * @param cb The success method of the callback object.
4602
- * @param excb The exception method of the callback object.
4603
- * @param sentcb The sent method of the callback object.
4604
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures.
4605
- */
4606
- template<class T, typename CT> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4607
- newCallback_MetricsAdmin_getMapMetricsFailures(T* instance, void (T::*cb)(const MetricsFailuresSeq&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4608
- {
4609
- return new Callback_MetricsAdmin_getMapMetricsFailures<T, CT>(instance, cb, excb, sentcb);
4610
- }
4611
-
4612
- /**
4613
- * Type-safe asynchronous callback wrapper class used for calls to
4614
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4615
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsFailures.
4616
- */
4617
- template<class T>
4618
- class CallbackNC_MetricsAdmin_getMetricsFailures : public Callback_MetricsAdmin_getMetricsFailures_Base, public ::IceInternal::TwowayCallbackNC<T>
4619
- {
4620
- public:
4621
-
4622
- typedef IceUtil::Handle<T> TPtr;
4623
-
4624
- typedef void (T::*Exception)(const ::Ice::Exception&);
4625
- typedef void (T::*Sent)(bool);
4626
- typedef void (T::*Response)(const MetricsFailures&);
4627
-
4628
- CallbackNC_MetricsAdmin_getMetricsFailures(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4629
- : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4630
- {
4631
- }
4632
-
4633
- /// \cond INTERNAL
4634
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4635
- {
4636
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4637
- MetricsFailures ret;
4638
- try
4639
- {
4640
- ret = proxy->end_getMetricsFailures(result);
4641
- }
4642
- catch(const ::Ice::Exception& ex)
4643
- {
4644
- ::IceInternal::CallbackNC<T>::exception(result, ex);
4645
- return;
4646
- }
4647
- if(_response)
4648
- {
4649
- (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4650
- }
4651
- }
4652
- /// \endcond
4653
-
4654
- private:
4655
-
4656
- Response _response;
4657
- };
4658
-
4659
- /**
4660
- * Creates a callback wrapper instance that delegates to your object.
4661
- * @param instance The callback object.
4662
- * @param cb The success method of the callback object.
4663
- * @param excb The exception method of the callback object.
4664
- * @param sentcb The sent method of the callback object.
4665
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4666
- */
4667
- template<class T> Callback_MetricsAdmin_getMetricsFailuresPtr
4668
- newCallback_MetricsAdmin_getMetricsFailures(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsFailures&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4669
- {
4670
- return new CallbackNC_MetricsAdmin_getMetricsFailures<T>(instance, cb, excb, sentcb);
4671
- }
4672
-
4673
- /**
4674
- * Creates a callback wrapper instance that delegates to your object.
4675
- * @param instance The callback object.
4676
- * @param cb The success method of the callback object.
4677
- * @param excb The exception method of the callback object.
4678
- * @param sentcb The sent method of the callback object.
4679
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4680
- */
4681
- template<class T> Callback_MetricsAdmin_getMetricsFailuresPtr
4682
- newCallback_MetricsAdmin_getMetricsFailures(T* instance, void (T::*cb)(const MetricsFailures&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
4683
- {
4684
- return new CallbackNC_MetricsAdmin_getMetricsFailures<T>(instance, cb, excb, sentcb);
4685
- }
4686
-
4687
- /**
4688
- * Type-safe asynchronous callback wrapper class with cookie support used for calls to
4689
- * IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4690
- * Create a wrapper instance by calling ::IceMX::newCallback_MetricsAdmin_getMetricsFailures.
4691
- */
4692
- template<class T, typename CT>
4693
- class Callback_MetricsAdmin_getMetricsFailures : public Callback_MetricsAdmin_getMetricsFailures_Base, public ::IceInternal::TwowayCallback<T, CT>
4694
- {
4695
- public:
4696
-
4697
- typedef IceUtil::Handle<T> TPtr;
4698
-
4699
- typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
4700
- typedef void (T::*Sent)(bool , const CT&);
4701
- typedef void (T::*Response)(const MetricsFailures&, const CT&);
4702
-
4703
- Callback_MetricsAdmin_getMetricsFailures(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
4704
- : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4705
- {
4706
- }
4707
-
4708
- /// \cond INTERNAL
4709
- virtual void completed(const ::Ice::AsyncResultPtr& result) const
4710
- {
4711
- MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4712
- MetricsFailures ret;
4713
- try
4714
- {
4715
- ret = proxy->end_getMetricsFailures(result);
4716
- }
4717
- catch(const ::Ice::Exception& ex)
4718
- {
4719
- ::IceInternal::Callback<T, CT>::exception(result, ex);
4720
- return;
4721
- }
4722
- if(_response)
4723
- {
4724
- (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4725
- }
4726
- }
4727
- /// \endcond
4728
-
4729
- private:
4730
-
4731
- Response _response;
4732
- };
4733
-
4734
- /**
4735
- * Creates a callback wrapper instance that delegates to your object.
4736
- * Use this overload when your callback methods receive a cookie value.
4737
- * @param instance The callback object.
4738
- * @param cb The success method of the callback object.
4739
- * @param excb The exception method of the callback object.
4740
- * @param sentcb The sent method of the callback object.
4741
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4742
- */
4743
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsFailuresPtr
4744
- newCallback_MetricsAdmin_getMetricsFailures(const IceUtil::Handle<T>& instance, void (T::*cb)(const MetricsFailures&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4745
- {
4746
- return new Callback_MetricsAdmin_getMetricsFailures<T, CT>(instance, cb, excb, sentcb);
4747
- }
4748
-
4749
- /**
4750
- * Creates a callback wrapper instance that delegates to your object.
4751
- * Use this overload when your callback methods receive a cookie value.
4752
- * @param instance The callback object.
4753
- * @param cb The success method of the callback object.
4754
- * @param excb The exception method of the callback object.
4755
- * @param sentcb The sent method of the callback object.
4756
- * @return An object that can be passed to an asynchronous invocation of IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures.
4757
- */
4758
- template<class T, typename CT> Callback_MetricsAdmin_getMetricsFailuresPtr
4759
- newCallback_MetricsAdmin_getMetricsFailures(T* instance, void (T::*cb)(const MetricsFailures&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
4760
- {
4761
- return new Callback_MetricsAdmin_getMetricsFailures<T, CT>(instance, cb, excb, sentcb);
4762
- }
4763
-
4764
- }
4765
-
4766
- #endif
4767
-
4768
- #include <IceUtil/PopDisableWarnings.h>
4769
- #endif