zeroc-ice 3.7.11 → 3.8.1

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