zeroc-ice 3.6b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (675) hide show
  1. checksums.yaml +7 -0
  2. data/ICE_LICENSE +54 -0
  3. data/LICENSE +339 -0
  4. data/bin/slice2rb +17 -0
  5. data/ext/Communicator.cpp +596 -0
  6. data/ext/Communicator.h +25 -0
  7. data/ext/Config.h +111 -0
  8. data/ext/Connection.cpp +381 -0
  9. data/ext/Connection.h +26 -0
  10. data/ext/Endpoint.cpp +311 -0
  11. data/ext/Endpoint.h +27 -0
  12. data/ext/ImplicitContext.cpp +152 -0
  13. data/ext/ImplicitContext.h +25 -0
  14. data/ext/Init.cpp +52 -0
  15. data/ext/Logger.cpp +151 -0
  16. data/ext/Logger.h +28 -0
  17. data/ext/ObjectFactory.cpp +140 -0
  18. data/ext/ObjectFactory.h +50 -0
  19. data/ext/Operation.cpp +676 -0
  20. data/ext/Operation.h +36 -0
  21. data/ext/Properties.cpp +369 -0
  22. data/ext/Properties.h +25 -0
  23. data/ext/Proxy.cpp +1354 -0
  24. data/ext/Proxy.h +27 -0
  25. data/ext/Slice.cpp +223 -0
  26. data/ext/Slice.h +22 -0
  27. data/ext/Types.cpp +3160 -0
  28. data/ext/Types.h +545 -0
  29. data/ext/Util.cpp +792 -0
  30. data/ext/Util.h +511 -0
  31. data/ext/extconf.rb +118 -0
  32. data/ext/ice/BZIP_LICENSE +42 -0
  33. data/ext/ice/MCPP_LICENSE +36 -0
  34. data/ext/ice/bzip2/blocksort.c +1094 -0
  35. data/ext/ice/bzip2/bzlib.c +1572 -0
  36. data/ext/ice/bzip2/bzlib.h +282 -0
  37. data/ext/ice/bzip2/bzlib_private.h +509 -0
  38. data/ext/ice/bzip2/compress.c +672 -0
  39. data/ext/ice/bzip2/crctable.c +104 -0
  40. data/ext/ice/bzip2/decompress.c +646 -0
  41. data/ext/ice/bzip2/huffman.c +205 -0
  42. data/ext/ice/bzip2/randtable.c +84 -0
  43. data/ext/ice/cpp/include/Ice/ACMF.h +30 -0
  44. data/ext/ice/cpp/include/Ice/Application.h +156 -0
  45. data/ext/ice/cpp/include/Ice/AsyncResult.h +363 -0
  46. data/ext/ice/cpp/include/Ice/AsyncResultF.h +26 -0
  47. data/ext/ice/cpp/include/Ice/BasicStream.h +1315 -0
  48. data/ext/ice/cpp/include/Ice/Buffer.h +159 -0
  49. data/ext/ice/cpp/include/Ice/BuiltinSequences.h +74 -0
  50. data/ext/ice/cpp/include/Ice/Communicator.h +194 -0
  51. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +115 -0
  52. data/ext/ice/cpp/include/Ice/CommunicatorF.h +60 -0
  53. data/ext/ice/cpp/include/Ice/Config.h +97 -0
  54. data/ext/ice/cpp/include/Ice/Connection.h +495 -0
  55. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +115 -0
  56. data/ext/ice/cpp/include/Ice/ConnectionF.h +72 -0
  57. data/ext/ice/cpp/include/Ice/ConnectionFactoryF.h +30 -0
  58. data/ext/ice/cpp/include/Ice/ConnectionIF.h +37 -0
  59. data/ext/ice/cpp/include/Ice/Current.h +94 -0
  60. data/ext/ice/cpp/include/Ice/DefaultObjectFactory.h +48 -0
  61. data/ext/ice/cpp/include/Ice/DeprecatedStringConverter.h +62 -0
  62. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +33 -0
  63. data/ext/ice/cpp/include/Ice/Dispatcher.h +51 -0
  64. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +105 -0
  65. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +29 -0
  66. data/ext/ice/cpp/include/Ice/Endpoint.h +350 -0
  67. data/ext/ice/cpp/include/Ice/EndpointF.h +97 -0
  68. data/ext/ice/cpp/include/Ice/EndpointTypes.h +74 -0
  69. data/ext/ice/cpp/include/Ice/Exception.h +114 -0
  70. data/ext/ice/cpp/include/Ice/FacetMap.h +56 -0
  71. data/ext/ice/cpp/include/Ice/FactoryTable.h +69 -0
  72. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +87 -0
  73. data/ext/ice/cpp/include/Ice/Format.h +39 -0
  74. data/ext/ice/cpp/include/Ice/Functional.h +138 -0
  75. data/ext/ice/cpp/include/Ice/GCObject.h +73 -0
  76. data/ext/ice/cpp/include/Ice/Handle.h +192 -0
  77. data/ext/ice/cpp/include/Ice/Ice.h +54 -0
  78. data/ext/ice/cpp/include/Ice/Identity.h +160 -0
  79. data/ext/ice/cpp/include/Ice/ImplicitContext.h +96 -0
  80. data/ext/ice/cpp/include/Ice/ImplicitContextF.h +60 -0
  81. data/ext/ice/cpp/include/Ice/Incoming.h +131 -0
  82. data/ext/ice/cpp/include/Ice/IncomingAsync.h +108 -0
  83. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +35 -0
  84. data/ext/ice/cpp/include/Ice/Initialize.h +141 -0
  85. data/ext/ice/cpp/include/Ice/InstanceF.h +26 -0
  86. data/ext/ice/cpp/include/Ice/Instrumentation.h +377 -0
  87. data/ext/ice/cpp/include/Ice/InstrumentationF.h +71 -0
  88. data/ext/ice/cpp/include/Ice/LocalException.h +1022 -0
  89. data/ext/ice/cpp/include/Ice/LocalObject.h +36 -0
  90. data/ext/ice/cpp/include/Ice/LocalObjectF.h +26 -0
  91. data/ext/ice/cpp/include/Ice/Locator.h +2191 -0
  92. data/ext/ice/cpp/include/Ice/LocatorF.h +89 -0
  93. data/ext/ice/cpp/include/Ice/Logger.h +94 -0
  94. data/ext/ice/cpp/include/Ice/LoggerF.h +60 -0
  95. data/ext/ice/cpp/include/Ice/LoggerUtil.h +153 -0
  96. data/ext/ice/cpp/include/Ice/Makefile +26 -0
  97. data/ext/ice/cpp/include/Ice/Metrics.h +2989 -0
  98. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +662 -0
  99. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +144 -0
  100. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +576 -0
  101. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +55 -0
  102. data/ext/ice/cpp/include/Ice/Object.h +165 -0
  103. data/ext/ice/cpp/include/Ice/ObjectAdapter.h +162 -0
  104. data/ext/ice/cpp/include/Ice/ObjectAdapterF.h +60 -0
  105. data/ext/ice/cpp/include/Ice/ObjectAdapterFactoryF.h +26 -0
  106. data/ext/ice/cpp/include/Ice/ObjectF.h +26 -0
  107. data/ext/ice/cpp/include/Ice/ObjectFactory.h +86 -0
  108. data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +60 -0
  109. data/ext/ice/cpp/include/Ice/ObjectFactoryManagerF.h +26 -0
  110. data/ext/ice/cpp/include/Ice/ObserverHelper.h +177 -0
  111. data/ext/ice/cpp/include/Ice/Outgoing.h +197 -0
  112. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +264 -0
  113. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +38 -0
  114. data/ext/ice/cpp/include/Ice/Plugin.h +121 -0
  115. data/ext/ice/cpp/include/Ice/PluginF.h +66 -0
  116. data/ext/ice/cpp/include/Ice/Process.h +568 -0
  117. data/ext/ice/cpp/include/Ice/ProcessF.h +77 -0
  118. data/ext/ice/cpp/include/Ice/Properties.h +130 -0
  119. data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +824 -0
  120. data/ext/ice/cpp/include/Ice/PropertiesF.h +83 -0
  121. data/ext/ice/cpp/include/Ice/Protocol.h +242 -0
  122. data/ext/ice/cpp/include/Ice/Proxy.h +2448 -0
  123. data/ext/ice/cpp/include/Ice/ProxyF.h +78 -0
  124. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +26 -0
  125. data/ext/ice/cpp/include/Ice/ProxyHandle.h +330 -0
  126. data/ext/ice/cpp/include/Ice/ReferenceF.h +34 -0
  127. data/ext/ice/cpp/include/Ice/RemoteLogger.h +1496 -0
  128. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +29 -0
  129. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +25 -0
  130. data/ext/ice/cpp/include/Ice/Router.h +1155 -0
  131. data/ext/ice/cpp/include/Ice/RouterF.h +77 -0
  132. data/ext/ice/cpp/include/Ice/ServantLocator.h +90 -0
  133. data/ext/ice/cpp/include/Ice/ServantLocatorF.h +60 -0
  134. data/ext/ice/cpp/include/Ice/ServantManagerF.h +26 -0
  135. data/ext/ice/cpp/include/Ice/Service.h +260 -0
  136. data/ext/ice/cpp/include/Ice/SliceChecksumDict.h +56 -0
  137. data/ext/ice/cpp/include/Ice/SliceChecksums.h +34 -0
  138. data/ext/ice/cpp/include/Ice/SlicedData.h +103 -0
  139. data/ext/ice/cpp/include/Ice/SlicedDataF.h +34 -0
  140. data/ext/ice/cpp/include/Ice/Stream.h +449 -0
  141. data/ext/ice/cpp/include/Ice/StreamF.h +30 -0
  142. data/ext/ice/cpp/include/Ice/StreamHelpers.h +877 -0
  143. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +28 -0
  144. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +56 -0
  145. data/ext/ice/cpp/include/Ice/Version.h +254 -0
  146. data/ext/ice/cpp/include/IceSSL/Config.h +23 -0
  147. data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +119 -0
  148. data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +101 -0
  149. data/ext/ice/cpp/include/IceSSL/IceSSL.h +22 -0
  150. data/ext/ice/cpp/include/IceSSL/Makefile +26 -0
  151. data/ext/ice/cpp/include/IceSSL/Plugin.h +558 -0
  152. data/ext/ice/cpp/include/IceUtil/AbstractMutex.h +119 -0
  153. data/ext/ice/cpp/include/IceUtil/Cache.h +362 -0
  154. data/ext/ice/cpp/include/IceUtil/Cond.h +323 -0
  155. data/ext/ice/cpp/include/IceUtil/Config.h +234 -0
  156. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +50 -0
  157. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +70 -0
  158. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +45 -0
  159. data/ext/ice/cpp/include/IceUtil/Exception.h +184 -0
  160. data/ext/ice/cpp/include/IceUtil/Functional.h +389 -0
  161. data/ext/ice/cpp/include/IceUtil/Handle.h +266 -0
  162. data/ext/ice/cpp/include/IceUtil/IceUtil.h +51 -0
  163. data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +302 -0
  164. data/ext/ice/cpp/include/IceUtil/InputUtil.h +47 -0
  165. data/ext/ice/cpp/include/IceUtil/Iterator.h +36 -0
  166. data/ext/ice/cpp/include/IceUtil/Lock.h +135 -0
  167. data/ext/ice/cpp/include/IceUtil/Makefile +26 -0
  168. data/ext/ice/cpp/include/IceUtil/Monitor.h +249 -0
  169. data/ext/ice/cpp/include/IceUtil/Mutex.h +357 -0
  170. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +28 -0
  171. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +83 -0
  172. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +82 -0
  173. data/ext/ice/cpp/include/IceUtil/Optional.h +322 -0
  174. data/ext/ice/cpp/include/IceUtil/Options.h +141 -0
  175. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +362 -0
  176. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +19 -0
  177. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +26 -0
  178. data/ext/ice/cpp/include/IceUtil/Random.h +24 -0
  179. data/ext/ice/cpp/include/IceUtil/RecMutex.h +113 -0
  180. data/ext/ice/cpp/include/IceUtil/SHA1.h +65 -0
  181. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +44 -0
  182. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +97 -0
  183. data/ext/ice/cpp/include/IceUtil/Shared.h +168 -0
  184. data/ext/ice/cpp/include/IceUtil/StringConverter.h +175 -0
  185. data/ext/ice/cpp/include/IceUtil/StringUtil.h +91 -0
  186. data/ext/ice/cpp/include/IceUtil/Thread.h +181 -0
  187. data/ext/ice/cpp/include/IceUtil/ThreadException.h +108 -0
  188. data/ext/ice/cpp/include/IceUtil/Time.h +209 -0
  189. data/ext/ice/cpp/include/IceUtil/Timer.h +143 -0
  190. data/ext/ice/cpp/include/IceUtil/UUID.h +22 -0
  191. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +42 -0
  192. data/ext/ice/cpp/include/IceUtil/UniquePtr.h +101 -0
  193. data/ext/ice/cpp/include/Slice/CPlusPlusUtil.h +64 -0
  194. data/ext/ice/cpp/include/Slice/Checksum.h +26 -0
  195. data/ext/ice/cpp/include/Slice/CsUtil.h +92 -0
  196. data/ext/ice/cpp/include/Slice/DotNetNames.h +34 -0
  197. data/ext/ice/cpp/include/Slice/FileTracker.h +71 -0
  198. data/ext/ice/cpp/include/Slice/JavaUtil.h +277 -0
  199. data/ext/ice/cpp/include/Slice/Makefile +26 -0
  200. data/ext/ice/cpp/include/Slice/PHPUtil.h +50 -0
  201. data/ext/ice/cpp/include/Slice/Parser.h +1116 -0
  202. data/ext/ice/cpp/include/Slice/Preprocessor.h +68 -0
  203. data/ext/ice/cpp/include/Slice/PythonUtil.h +64 -0
  204. data/ext/ice/cpp/include/Slice/RubyUtil.h +54 -0
  205. data/ext/ice/cpp/include/Slice/Util.h +33 -0
  206. data/ext/ice/cpp/src/Ice/ACM.cpp +343 -0
  207. data/ext/ice/cpp/src/Ice/ACM.h +117 -0
  208. data/ext/ice/cpp/src/Ice/Acceptor.cpp +16 -0
  209. data/ext/ice/cpp/src/Ice/Acceptor.h +41 -0
  210. data/ext/ice/cpp/src/Ice/AcceptorF.h +30 -0
  211. data/ext/ice/cpp/src/Ice/Application.cpp +760 -0
  212. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +599 -0
  213. data/ext/ice/cpp/src/Ice/Base64.cpp +269 -0
  214. data/ext/ice/cpp/src/Ice/Base64.h +36 -0
  215. data/ext/ice/cpp/src/Ice/BasicStream.cpp +3393 -0
  216. data/ext/ice/cpp/src/Ice/Buffer.cpp +98 -0
  217. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +34 -0
  218. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +718 -0
  219. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +106 -0
  220. data/ext/ice/cpp/src/Ice/Communicator.cpp +45 -0
  221. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +38 -0
  222. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +386 -0
  223. data/ext/ice/cpp/src/Ice/CommunicatorI.h +112 -0
  224. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +546 -0
  225. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +97 -0
  226. data/ext/ice/cpp/src/Ice/Connection.cpp +58 -0
  227. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +38 -0
  228. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +1639 -0
  229. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +236 -0
  230. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +3876 -0
  231. data/ext/ice/cpp/src/Ice/ConnectionI.h +364 -0
  232. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +115 -0
  233. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +50 -0
  234. data/ext/ice/cpp/src/Ice/Connector.cpp +16 -0
  235. data/ext/ice/cpp/src/Ice/Connector.h +36 -0
  236. data/ext/ice/cpp/src/Ice/ConnectorF.h +26 -0
  237. data/ext/ice/cpp/src/Ice/Current.cpp +38 -0
  238. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +168 -0
  239. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +57 -0
  240. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +26 -0
  241. data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +60 -0
  242. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +49 -0
  243. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +281 -0
  244. data/ext/ice/cpp/src/Ice/Endpoint.cpp +53 -0
  245. data/ext/ice/cpp/src/Ice/EndpointF.cpp +38 -0
  246. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +25 -0
  247. data/ext/ice/cpp/src/Ice/EndpointFactory.h +44 -0
  248. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +26 -0
  249. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +208 -0
  250. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +46 -0
  251. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +26 -0
  252. data/ext/ice/cpp/src/Ice/EndpointI.cpp +87 -0
  253. data/ext/ice/cpp/src/Ice/EndpointI.h +165 -0
  254. data/ext/ice/cpp/src/Ice/EndpointIF.h +41 -0
  255. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +38 -0
  256. data/ext/ice/cpp/src/Ice/EventHandler.cpp +35 -0
  257. data/ext/ice/cpp/src/Ice/EventHandler.h +78 -0
  258. data/ext/ice/cpp/src/Ice/EventHandlerF.h +26 -0
  259. data/ext/ice/cpp/src/Ice/EventLoggerMsg.h +53 -0
  260. data/ext/ice/cpp/src/Ice/Exception.cpp +832 -0
  261. data/ext/ice/cpp/src/Ice/FacetMap.cpp +34 -0
  262. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +158 -0
  263. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +95 -0
  264. data/ext/ice/cpp/src/Ice/GCObject.cpp +444 -0
  265. data/ext/ice/cpp/src/Ice/HashUtil.h +59 -0
  266. data/ext/ice/cpp/src/Ice/HttpParser.cpp +680 -0
  267. data/ext/ice/cpp/src/Ice/HttpParser.h +124 -0
  268. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +733 -0
  269. data/ext/ice/cpp/src/Ice/IPEndpointI.h +157 -0
  270. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +29 -0
  271. data/ext/ice/cpp/src/Ice/Identity.cpp +42 -0
  272. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +41 -0
  273. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +38 -0
  274. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +639 -0
  275. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +51 -0
  276. data/ext/ice/cpp/src/Ice/Incoming.cpp +757 -0
  277. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +340 -0
  278. data/ext/ice/cpp/src/Ice/IncomingRequest.h +37 -0
  279. data/ext/ice/cpp/src/Ice/Initialize.cpp +401 -0
  280. data/ext/ice/cpp/src/Ice/Instance.cpp +1928 -0
  281. data/ext/ice/cpp/src/Ice/Instance.h +198 -0
  282. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +68 -0
  283. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +43 -0
  284. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1083 -0
  285. data/ext/ice/cpp/src/Ice/InstrumentationI.h +262 -0
  286. data/ext/ice/cpp/src/Ice/LocalException.cpp +2091 -0
  287. data/ext/ice/cpp/src/Ice/LocalObject.cpp +29 -0
  288. data/ext/ice/cpp/src/Ice/Locator.cpp +1946 -0
  289. data/ext/ice/cpp/src/Ice/LocatorF.cpp +39 -0
  290. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +917 -0
  291. data/ext/ice/cpp/src/Ice/LocatorInfo.h +193 -0
  292. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +34 -0
  293. data/ext/ice/cpp/src/Ice/Logger.cpp +40 -0
  294. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +862 -0
  295. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +46 -0
  296. data/ext/ice/cpp/src/Ice/LoggerF.cpp +38 -0
  297. data/ext/ice/cpp/src/Ice/LoggerI.cpp +199 -0
  298. data/ext/ice/cpp/src/Ice/LoggerI.h +57 -0
  299. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +107 -0
  300. data/ext/ice/cpp/src/Ice/Makefile +190 -0
  301. data/ext/ice/cpp/src/Ice/Metrics.cpp +2159 -0
  302. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +669 -0
  303. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +14 -0
  304. data/ext/ice/cpp/src/Ice/Network.cpp +2694 -0
  305. data/ext/ice/cpp/src/Ice/Network.h +291 -0
  306. data/ext/ice/cpp/src/Ice/NetworkF.h +28 -0
  307. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +325 -0
  308. data/ext/ice/cpp/src/Ice/NetworkProxy.h +74 -0
  309. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +26 -0
  310. data/ext/ice/cpp/src/Ice/Object.cpp +440 -0
  311. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +41 -0
  312. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +38 -0
  313. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +241 -0
  314. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +52 -0
  315. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +1498 -0
  316. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +155 -0
  317. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +41 -0
  318. data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +38 -0
  319. data/ext/ice/cpp/src/Ice/ObjectFactoryManager.cpp +140 -0
  320. data/ext/ice/cpp/src/Ice/ObjectFactoryManager.h +43 -0
  321. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +84 -0
  322. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +407 -0
  323. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +70 -0
  324. data/ext/ice/cpp/src/Ice/Outgoing.cpp +737 -0
  325. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +874 -0
  326. data/ext/ice/cpp/src/Ice/Plugin.cpp +43 -0
  327. data/ext/ice/cpp/src/Ice/PluginF.cpp +38 -0
  328. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
  329. data/ext/ice/cpp/src/Ice/PluginManagerI.h +67 -0
  330. data/ext/ice/cpp/src/Ice/Process.cpp +299 -0
  331. data/ext/ice/cpp/src/Ice/ProcessF.cpp +39 -0
  332. data/ext/ice/cpp/src/Ice/Properties.cpp +45 -0
  333. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +555 -0
  334. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +207 -0
  335. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +45 -0
  336. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +39 -0
  337. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +759 -0
  338. data/ext/ice/cpp/src/Ice/PropertiesI.h +78 -0
  339. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +1293 -0
  340. data/ext/ice/cpp/src/Ice/PropertyNames.h +81 -0
  341. data/ext/ice/cpp/src/Ice/Protocol.cpp +137 -0
  342. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +98 -0
  343. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +91 -0
  344. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +26 -0
  345. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +51 -0
  346. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +67 -0
  347. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +26 -0
  348. data/ext/ice/cpp/src/Ice/Proxy.cpp +1810 -0
  349. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +305 -0
  350. data/ext/ice/cpp/src/Ice/ProxyFactory.h +57 -0
  351. data/ext/ice/cpp/src/Ice/Reference.cpp +1947 -0
  352. data/ext/ice/cpp/src/Ice/Reference.h +305 -0
  353. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +937 -0
  354. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +81 -0
  355. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +24 -0
  356. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +958 -0
  357. data/ext/ice/cpp/src/Ice/ReplyStatus.h +29 -0
  358. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +40 -0
  359. data/ext/ice/cpp/src/Ice/RequestHandler.h +90 -0
  360. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +70 -0
  361. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +41 -0
  362. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +20 -0
  363. data/ext/ice/cpp/src/Ice/ResponseHandler.h +39 -0
  364. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +154 -0
  365. data/ext/ice/cpp/src/Ice/RetryQueue.h +69 -0
  366. data/ext/ice/cpp/src/Ice/RetryQueueF.h +24 -0
  367. data/ext/ice/cpp/src/Ice/Router.cpp +849 -0
  368. data/ext/ice/cpp/src/Ice/RouterF.cpp +39 -0
  369. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +381 -0
  370. data/ext/ice/cpp/src/Ice/RouterInfo.h +148 -0
  371. data/ext/ice/cpp/src/Ice/RouterInfoF.h +30 -0
  372. data/ext/ice/cpp/src/Ice/Selector.cpp +926 -0
  373. data/ext/ice/cpp/src/Ice/Selector.h +231 -0
  374. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +41 -0
  375. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +38 -0
  376. data/ext/ice/cpp/src/Ice/ServantManager.cpp +495 -0
  377. data/ext/ice/cpp/src/Ice/ServantManager.h +74 -0
  378. data/ext/ice/cpp/src/Ice/Service.cpp +1897 -0
  379. data/ext/ice/cpp/src/Ice/SharedContext.h +51 -0
  380. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +34 -0
  381. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +80 -0
  382. data/ext/ice/cpp/src/Ice/SlicedData.cpp +80 -0
  383. data/ext/ice/cpp/src/Ice/Stream.cpp +53 -0
  384. data/ext/ice/cpp/src/Ice/StreamI.cpp +832 -0
  385. data/ext/ice/cpp/src/Ice/StreamI.h +198 -0
  386. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +521 -0
  387. data/ext/ice/cpp/src/Ice/StreamSocket.h +85 -0
  388. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +145 -0
  389. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +167 -0
  390. data/ext/ice/cpp/src/Ice/SysLoggerI.h +43 -0
  391. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +235 -0
  392. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +67 -0
  393. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +133 -0
  394. data/ext/ice/cpp/src/Ice/TcpConnector.h +51 -0
  395. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +397 -0
  396. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +93 -0
  397. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +127 -0
  398. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +61 -0
  399. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +1357 -0
  400. data/ext/ice/cpp/src/Ice/ThreadPool.h +399 -0
  401. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +43 -0
  402. data/ext/ice/cpp/src/Ice/TraceLevels.h +50 -0
  403. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +26 -0
  404. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +452 -0
  405. data/ext/ice/cpp/src/Ice/TraceUtil.h +28 -0
  406. data/ext/ice/cpp/src/Ice/Transceiver.cpp +24 -0
  407. data/ext/ice/cpp/src/Ice/Transceiver.h +52 -0
  408. data/ext/ice/cpp/src/Ice/TransceiverF.h +38 -0
  409. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +144 -0
  410. data/ext/ice/cpp/src/Ice/UdpConnector.h +51 -0
  411. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +483 -0
  412. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +95 -0
  413. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +1156 -0
  414. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +123 -0
  415. data/ext/ice/cpp/src/Ice/Version.cpp +46 -0
  416. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +103 -0
  417. data/ext/ice/cpp/src/Ice/WSAcceptor.h +61 -0
  418. data/ext/ice/cpp/src/Ice/WSConnector.cpp +113 -0
  419. data/ext/ice/cpp/src/Ice/WSConnector.h +51 -0
  420. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +441 -0
  421. data/ext/ice/cpp/src/Ice/WSEndpoint.h +97 -0
  422. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +1728 -0
  423. data/ext/ice/cpp/src/Ice/WSTransceiver.h +149 -0
  424. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +594 -0
  425. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1035 -0
  426. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +208 -0
  427. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +78 -0
  428. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +308 -0
  429. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +183 -0
  430. data/ext/ice/cpp/src/IceDiscovery/Makefile +61 -0
  431. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +148 -0
  432. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +39 -0
  433. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +258 -0
  434. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +66 -0
  435. data/ext/ice/cpp/src/IceSSL/Certificate.cpp +1334 -0
  436. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +42 -0
  437. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +151 -0
  438. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +56 -0
  439. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +397 -0
  440. data/ext/ice/cpp/src/IceSSL/EndpointI.h +96 -0
  441. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +41 -0
  442. data/ext/ice/cpp/src/IceSSL/Instance.cpp +38 -0
  443. data/ext/ice/cpp/src/IceSSL/Instance.h +42 -0
  444. data/ext/ice/cpp/src/IceSSL/InstanceF.h +34 -0
  445. data/ext/ice/cpp/src/IceSSL/Makefile +82 -0
  446. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1001 -0
  447. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +607 -0
  448. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +75 -0
  449. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +102 -0
  450. data/ext/ice/cpp/src/IceSSL/PluginI.h +56 -0
  451. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +541 -0
  452. data/ext/ice/cpp/src/IceSSL/RFC2253.h +67 -0
  453. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +729 -0
  454. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +1062 -0
  455. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +130 -0
  456. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +291 -0
  457. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +264 -0
  458. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +41 -0
  459. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1514 -0
  460. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +609 -0
  461. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +91 -0
  462. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +246 -0
  463. data/ext/ice/cpp/src/IceSSL/TrustManager.h +51 -0
  464. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +26 -0
  465. data/ext/ice/cpp/src/IceSSL/Util.cpp +1423 -0
  466. data/ext/ice/cpp/src/IceSSL/Util.h +136 -0
  467. data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +65 -0
  468. data/ext/ice/cpp/src/IceUtil/ArgVector.h +41 -0
  469. data/ext/ice/cpp/src/IceUtil/Cond.cpp +386 -0
  470. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +477 -0
  471. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +144 -0
  472. data/ext/ice/cpp/src/IceUtil/CountDownLatch.cpp +184 -0
  473. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +273 -0
  474. data/ext/ice/cpp/src/IceUtil/Exception.cpp +782 -0
  475. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +532 -0
  476. data/ext/ice/cpp/src/IceUtil/FileUtil.h +159 -0
  477. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +41 -0
  478. data/ext/ice/cpp/src/IceUtil/Makefile +68 -0
  479. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +24 -0
  480. data/ext/ice/cpp/src/IceUtil/Options.cpp +1049 -0
  481. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +591 -0
  482. data/ext/ice/cpp/src/IceUtil/Random.cpp +185 -0
  483. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +257 -0
  484. data/ext/ice/cpp/src/IceUtil/SHA1.cpp +126 -0
  485. data/ext/ice/cpp/src/IceUtil/Shared.cpp +200 -0
  486. data/ext/ice/cpp/src/IceUtil/StopWatch.h +54 -0
  487. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +450 -0
  488. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +842 -0
  489. data/ext/ice/cpp/src/IceUtil/Thread.cpp +809 -0
  490. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +172 -0
  491. data/ext/ice/cpp/src/IceUtil/Time.cpp +306 -0
  492. data/ext/ice/cpp/src/IceUtil/Timer.cpp +251 -0
  493. data/ext/ice/cpp/src/IceUtil/UUID.cpp +174 -0
  494. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +131 -0
  495. data/ext/ice/cpp/src/IceUtil/Unicode.h +49 -0
  496. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +1139 -0
  497. data/ext/ice/cpp/src/Slice/Checksum.cpp +452 -0
  498. data/ext/ice/cpp/src/Slice/CsUtil.cpp +2650 -0
  499. data/ext/ice/cpp/src/Slice/DotNetNames.cpp +146 -0
  500. data/ext/ice/cpp/src/Slice/FileTracker.cpp +203 -0
  501. data/ext/ice/cpp/src/Slice/Grammar.cpp +4755 -0
  502. data/ext/ice/cpp/src/Slice/Grammar.h +98 -0
  503. data/ext/ice/cpp/src/Slice/GrammarUtil.h +234 -0
  504. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +4376 -0
  505. data/ext/ice/cpp/src/Slice/MD5.cpp +57 -0
  506. data/ext/ice/cpp/src/Slice/MD5.h +44 -0
  507. data/ext/ice/cpp/src/Slice/MD5I.cpp +385 -0
  508. data/ext/ice/cpp/src/Slice/MD5I.h +91 -0
  509. data/ext/ice/cpp/src/Slice/Makefile +65 -0
  510. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +156 -0
  511. data/ext/ice/cpp/src/Slice/Parser.cpp +6386 -0
  512. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +686 -0
  513. data/ext/ice/cpp/src/Slice/Python.cpp +675 -0
  514. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +2614 -0
  515. data/ext/ice/cpp/src/Slice/Ruby.cpp +317 -0
  516. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +1774 -0
  517. data/ext/ice/cpp/src/Slice/Scanner.cpp +2426 -0
  518. data/ext/ice/cpp/src/Slice/Util.cpp +325 -0
  519. data/ext/ice/mcpp/config.h.Darwin +227 -0
  520. data/ext/ice/mcpp/config.h.Linux +227 -0
  521. data/ext/ice/mcpp/config.h.MINGW +7 -0
  522. data/ext/ice/mcpp/configed.H +382 -0
  523. data/ext/ice/mcpp/directive.c +1699 -0
  524. data/ext/ice/mcpp/eval.c +1673 -0
  525. data/ext/ice/mcpp/expand.c +2980 -0
  526. data/ext/ice/mcpp/internal.H +564 -0
  527. data/ext/ice/mcpp/main.c +1131 -0
  528. data/ext/ice/mcpp/mbchar.c +869 -0
  529. data/ext/ice/mcpp/mcpp_lib.h +31 -0
  530. data/ext/ice/mcpp/mcpp_out.h +13 -0
  531. data/ext/ice/mcpp/support.c +2811 -0
  532. data/ext/ice/mcpp/system.H +396 -0
  533. data/ext/ice/mcpp/system.c +4940 -0
  534. data/ice.gemspec +41 -0
  535. data/lib/Glacier2.rb +12 -0
  536. data/lib/Glacier2/Metrics.rb +99 -0
  537. data/lib/Glacier2/PermissionsVerifier.rb +168 -0
  538. data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
  539. data/lib/Glacier2/Router.rb +141 -0
  540. data/lib/Glacier2/RouterF.rb +29 -0
  541. data/lib/Glacier2/SSLInfo.rb +79 -0
  542. data/lib/Glacier2/Session.rb +470 -0
  543. data/lib/Ice.rb +659 -0
  544. data/lib/Ice/BuiltinSequences.rb +64 -0
  545. data/lib/Ice/Communicator.rb +93 -0
  546. data/lib/Ice/CommunicatorF.rb +28 -0
  547. data/lib/Ice/Connection.rb +414 -0
  548. data/lib/Ice/ConnectionF.rb +36 -0
  549. data/lib/Ice/Current.rb +152 -0
  550. data/lib/Ice/Endpoint.rb +265 -0
  551. data/lib/Ice/EndpointF.rb +52 -0
  552. data/lib/Ice/EndpointTypes.rb +77 -0
  553. data/lib/Ice/FacetMap.rb +28 -0
  554. data/lib/Ice/Identity.rb +70 -0
  555. data/lib/Ice/ImplicitContext.rb +59 -0
  556. data/lib/Ice/ImplicitContextF.rb +28 -0
  557. data/lib/Ice/Instrumentation.rb +425 -0
  558. data/lib/Ice/InstrumentationF.rb +35 -0
  559. data/lib/Ice/LocalException.rb +1081 -0
  560. data/lib/Ice/Locator.rb +314 -0
  561. data/lib/Ice/LocatorF.rb +34 -0
  562. data/lib/Ice/Logger.rb +57 -0
  563. data/lib/Ice/LoggerF.rb +28 -0
  564. data/lib/Ice/Metrics.rb +696 -0
  565. data/lib/Ice/ObjectAdapterF.rb +28 -0
  566. data/lib/Ice/ObjectFactory.rb +53 -0
  567. data/lib/Ice/ObjectFactoryF.rb +28 -0
  568. data/lib/Ice/Plugin.rb +87 -0
  569. data/lib/Ice/PluginF.rb +32 -0
  570. data/lib/Ice/Process.rb +93 -0
  571. data/lib/Ice/ProcessF.rb +29 -0
  572. data/lib/Ice/Properties.rb +65 -0
  573. data/lib/Ice/PropertiesAdmin.rb +104 -0
  574. data/lib/Ice/PropertiesF.rb +33 -0
  575. data/lib/Ice/Router.rb +163 -0
  576. data/lib/Ice/RouterF.rb +29 -0
  577. data/lib/Ice/SliceChecksumDict.rb +28 -0
  578. data/lib/Ice/Version.rb +100 -0
  579. data/lib/IceBox.rb +10 -0
  580. data/lib/IceBox/IceBox.rb +272 -0
  581. data/lib/IceGrid.rb +17 -0
  582. data/lib/IceGrid/Admin.rb +1076 -0
  583. data/lib/IceGrid/Descriptor.rb +1505 -0
  584. data/lib/IceGrid/Exception.rb +401 -0
  585. data/lib/IceGrid/FileParser.rb +105 -0
  586. data/lib/IceGrid/Locator.rb +105 -0
  587. data/lib/IceGrid/Observer.rb +571 -0
  588. data/lib/IceGrid/Query.rb +168 -0
  589. data/lib/IceGrid/Registry.rb +120 -0
  590. data/lib/IceGrid/Session.rb +114 -0
  591. data/lib/IceGrid/UserAccountMapper.rb +101 -0
  592. data/lib/IcePatch2.rb +10 -0
  593. data/lib/IcePatch2/FileInfo.rb +75 -0
  594. data/lib/IcePatch2/FileServer.rb +141 -0
  595. data/lib/IceStorm.rb +11 -0
  596. data/lib/IceStorm/IceStorm.rb +463 -0
  597. data/lib/IceStorm/Metrics.rb +155 -0
  598. data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
  599. data/slice/Freeze/CatalogData.ice +49 -0
  600. data/slice/Freeze/Connection.ice +111 -0
  601. data/slice/Freeze/ConnectionF.ice +20 -0
  602. data/slice/Freeze/DB.ice +37 -0
  603. data/slice/Freeze/Evictor.ice +339 -0
  604. data/slice/Freeze/EvictorF.ice +22 -0
  605. data/slice/Freeze/EvictorStorage.ice +72 -0
  606. data/slice/Freeze/Exception.ice +100 -0
  607. data/slice/Freeze/Transaction.ice +57 -0
  608. data/slice/Freeze/TransactionalEvictor.ice +50 -0
  609. data/slice/Glacier2/Metrics.ice +77 -0
  610. data/slice/Glacier2/PermissionsVerifier.ice +105 -0
  611. data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
  612. data/slice/Glacier2/Router.ice +178 -0
  613. data/slice/Glacier2/RouterF.ice +20 -0
  614. data/slice/Glacier2/SSLInfo.ice +50 -0
  615. data/slice/Glacier2/Session.ice +273 -0
  616. data/slice/Ice/BuiltinSequences.ice +48 -0
  617. data/slice/Ice/Communicator.ice +567 -0
  618. data/slice/Ice/CommunicatorF.ice +20 -0
  619. data/slice/Ice/Connection.ice +323 -0
  620. data/slice/Ice/ConnectionF.ice +22 -0
  621. data/slice/Ice/Current.ice +160 -0
  622. data/slice/Ice/Endpoint.ice +227 -0
  623. data/slice/Ice/EndpointF.ice +32 -0
  624. data/slice/Ice/EndpointTypes.ice +38 -0
  625. data/slice/Ice/FacetMap.ice +25 -0
  626. data/slice/Ice/Identity.ice +59 -0
  627. data/slice/Ice/ImplicitContext.ice +109 -0
  628. data/slice/Ice/ImplicitContextF.ice +20 -0
  629. data/slice/Ice/Instrumentation.ice +499 -0
  630. data/slice/Ice/InstrumentationF.ice +26 -0
  631. data/slice/Ice/LocalException.ice +1015 -0
  632. data/slice/Ice/Locator.ice +227 -0
  633. data/slice/Ice/LocatorF.ice +21 -0
  634. data/slice/Ice/Logger.ice +86 -0
  635. data/slice/Ice/LoggerF.ice +20 -0
  636. data/slice/Ice/Metrics.ice +422 -0
  637. data/slice/Ice/ObjectAdapter.ice +673 -0
  638. data/slice/Ice/ObjectAdapterF.ice +20 -0
  639. data/slice/Ice/ObjectFactory.ice +60 -0
  640. data/slice/Ice/ObjectFactoryF.ice +20 -0
  641. data/slice/Ice/Plugin.ice +117 -0
  642. data/slice/Ice/PluginF.ice +21 -0
  643. data/slice/Ice/Process.ice +54 -0
  644. data/slice/Ice/ProcessF.ice +20 -0
  645. data/slice/Ice/Properties.ice +228 -0
  646. data/slice/Ice/PropertiesAdmin.ice +75 -0
  647. data/slice/Ice/PropertiesF.ice +21 -0
  648. data/slice/Ice/RemoteLogger.ice +232 -0
  649. data/slice/Ice/Router.ice +83 -0
  650. data/slice/Ice/RouterF.ice +20 -0
  651. data/slice/Ice/ServantLocator.ice +117 -0
  652. data/slice/Ice/ServantLocatorF.ice +20 -0
  653. data/slice/Ice/SliceChecksumDict.ice +25 -0
  654. data/slice/Ice/Version.ice +39 -0
  655. data/slice/IceBox/IceBox.ice +194 -0
  656. data/slice/IceDiscovery/IceDiscovery.ice +32 -0
  657. data/slice/IceGrid/Admin.ice +1578 -0
  658. data/slice/IceGrid/Descriptor.ice +1079 -0
  659. data/slice/IceGrid/Discovery.ice +73 -0
  660. data/slice/IceGrid/Exception.ice +383 -0
  661. data/slice/IceGrid/FileParser.ice +61 -0
  662. data/slice/IceGrid/Locator.ice +56 -0
  663. data/slice/IceGrid/Observer.ice +394 -0
  664. data/slice/IceGrid/PluginFacade.ice +316 -0
  665. data/slice/IceGrid/Query.ice +130 -0
  666. data/slice/IceGrid/Registry.ice +138 -0
  667. data/slice/IceGrid/Session.ice +124 -0
  668. data/slice/IceGrid/UserAccountMapper.ice +58 -0
  669. data/slice/IcePatch2/FileInfo.ice +49 -0
  670. data/slice/IcePatch2/FileServer.ice +129 -0
  671. data/slice/IceSSL/ConnectionInfo.ice +34 -0
  672. data/slice/IceSSL/EndpointInfo.ice +41 -0
  673. data/slice/IceStorm/IceStorm.ice +405 -0
  674. data/slice/IceStorm/Metrics.ice +71 -0
  675. metadata +737 -0
@@ -0,0 +1,83 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+ //
10
+ // Ice version 3.6b
11
+ //
12
+ // <auto-generated>
13
+ //
14
+ // Generated from file `PropertiesF.ice'
15
+ //
16
+ // Warning: do not edit this file.
17
+ //
18
+ // </auto-generated>
19
+ //
20
+
21
+ #ifndef __Ice_PropertiesF_h__
22
+ #define __Ice_PropertiesF_h__
23
+
24
+ #include <IceUtil/PushDisableWarnings.h>
25
+ #include <Ice/ProxyF.h>
26
+ #include <Ice/ObjectF.h>
27
+ #include <Ice/Exception.h>
28
+ #include <Ice/LocalObject.h>
29
+ #include <Ice/StreamHelpers.h>
30
+ #include <Ice/Proxy.h>
31
+ #include <IceUtil/ScopedArray.h>
32
+ #include <IceUtil/Optional.h>
33
+ #include <IceUtil/UndefSysMacros.h>
34
+
35
+ #ifndef ICE_IGNORE_VERSION
36
+ # if ICE_INT_VERSION != 30651
37
+ # error Ice version mismatch: an exact match is required for beta generated code
38
+ # endif
39
+ #endif
40
+
41
+ #ifndef ICE_API
42
+ # ifdef ICE_API_EXPORTS
43
+ # define ICE_API ICE_DECLSPEC_EXPORT
44
+ # else
45
+ # define ICE_API ICE_DECLSPEC_IMPORT
46
+ # endif
47
+ #endif
48
+
49
+ namespace IceProxy
50
+ {
51
+
52
+ namespace Ice
53
+ {
54
+
55
+ class PropertiesAdmin;
56
+ ICE_API void __read(::IceInternal::BasicStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::PropertiesAdmin>&);
57
+ ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::PropertiesAdmin*);
58
+
59
+ }
60
+
61
+ }
62
+
63
+ namespace Ice
64
+ {
65
+
66
+ class Properties;
67
+ bool operator==(const Properties&, const Properties&);
68
+ bool operator<(const Properties&, const Properties&);
69
+ ICE_API ::Ice::LocalObject* upCast(::Ice::Properties*);
70
+ typedef ::IceInternal::Handle< ::Ice::Properties> PropertiesPtr;
71
+
72
+ class PropertiesAdmin;
73
+ bool operator==(const PropertiesAdmin&, const PropertiesAdmin&);
74
+ bool operator<(const PropertiesAdmin&, const PropertiesAdmin&);
75
+ ICE_API ::Ice::Object* upCast(::Ice::PropertiesAdmin*);
76
+ typedef ::IceInternal::Handle< ::Ice::PropertiesAdmin> PropertiesAdminPtr;
77
+ typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::PropertiesAdmin> PropertiesAdminPrx;
78
+ ICE_API void __patch(PropertiesAdminPtr&, const ::Ice::ObjectPtr&);
79
+
80
+ }
81
+
82
+ #include <IceUtil/PopDisableWarnings.h>
83
+ #endif
@@ -0,0 +1,242 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+
10
+ #ifndef ICE_PROTOCOL_H
11
+ #define ICE_PROTOCOL_H
12
+
13
+ #include <Ice/Config.h>
14
+ #include <Ice/Version.h>
15
+
16
+ namespace IceInternal
17
+ {
18
+
19
+ //
20
+ // Size of the Ice protocol header
21
+ //
22
+ // Magic number (4 Bytes)
23
+ // Protocol version major (Byte)
24
+ // Protocol version minor (Byte)
25
+ // Encoding version major (Byte)
26
+ // Encoding version minor (Byte)
27
+ // Message type (Byte)
28
+ // Compression status (Byte)
29
+ // Message size (Int)
30
+ //
31
+ const ::Ice::Int headerSize = 14;
32
+
33
+ //
34
+ // The magic number at the front of each message
35
+ //
36
+ extern const ::Ice::Byte magic[4];
37
+
38
+ //
39
+ // The current Ice protocol, protocol encoding and encoding version
40
+ //
41
+ const ::Ice::Byte protocolMajor = 1;
42
+ const ::Ice::Byte protocolMinor = 0;
43
+ const ::Ice::Byte protocolEncodingMajor = 1;
44
+ const ::Ice::Byte protocolEncodingMinor = 0;
45
+
46
+ const ::Ice::Byte encodingMajor = 1;
47
+ const ::Ice::Byte encodingMinor = 1;
48
+
49
+ //
50
+ // The Ice protocol message types
51
+ //
52
+ const ::Ice::Byte requestMsg = 0;
53
+ const ::Ice::Byte requestBatchMsg = 1;
54
+ const ::Ice::Byte replyMsg = 2;
55
+ const ::Ice::Byte validateConnectionMsg = 3;
56
+ const ::Ice::Byte closeConnectionMsg = 4;
57
+
58
+ //
59
+ // The request header, batch request header and reply header.
60
+ //
61
+ extern const ::Ice::Byte requestHdr[headerSize + sizeof(Ice::Int)];
62
+ extern const ::Ice::Byte requestBatchHdr[headerSize + sizeof(Ice::Int)];
63
+ extern const ::Ice::Byte replyHdr[headerSize];
64
+
65
+ //
66
+ // IPv4/IPv6 support enumeration.
67
+ //
68
+ enum ProtocolSupport
69
+ {
70
+ EnableIPv4,
71
+ EnableIPv6,
72
+ EnableBoth
73
+ };
74
+
75
+ // Forward declaration
76
+ class BasicStream;
77
+
78
+ ICE_API void stringToMajorMinor(const ::std::string&, Ice::Byte&, Ice::Byte&);
79
+
80
+ template<typename T> std::string
81
+ versionToString(const T& v)
82
+ {
83
+ std::ostringstream os;
84
+ os << v;
85
+ return os.str();
86
+ }
87
+
88
+ template<typename T> T
89
+ stringToVersion(const ::std::string& str)
90
+ {
91
+ T v;
92
+ stringToMajorMinor(str, v.major, v.minor);
93
+ return v;
94
+ }
95
+
96
+ template<typename T> bool
97
+ isSupported(const T& version, const T& supported)
98
+ {
99
+ return version.major == supported.major && version.minor <= supported.minor;
100
+ }
101
+
102
+ ICE_API void throwUnsupportedProtocolException(const char*, int, const Ice::ProtocolVersion&,
103
+ const Ice::ProtocolVersion&);
104
+ ICE_API void throwUnsupportedEncodingException(const char*, int, const Ice::EncodingVersion&,
105
+ const Ice::EncodingVersion&);
106
+
107
+ }
108
+
109
+ namespace Ice
110
+ {
111
+
112
+ ICE_API extern const ProtocolVersion Protocol_1_0;
113
+
114
+ ICE_API extern const EncodingVersion Encoding_1_0;
115
+ ICE_API extern const EncodingVersion Encoding_1_1;
116
+
117
+ ICE_API extern const ProtocolVersion currentProtocol;
118
+ ICE_API extern const EncodingVersion currentProtocolEncoding;
119
+
120
+ ICE_API extern const EncodingVersion currentEncoding;
121
+
122
+ inline ::std::string
123
+ protocolVersionToString(const Ice::ProtocolVersion& v)
124
+ {
125
+ return IceInternal::versionToString<ProtocolVersion>(v);
126
+ }
127
+
128
+ inline ::Ice::ProtocolVersion
129
+ stringToProtocolVersion(const ::std::string& v)
130
+ {
131
+ return IceInternal::stringToVersion<ProtocolVersion>(v);
132
+ }
133
+
134
+ inline ::std::string
135
+ encodingVersionToString(const Ice::EncodingVersion& v)
136
+ {
137
+ return IceInternal::versionToString<EncodingVersion>(v);
138
+ }
139
+
140
+ inline ::Ice::EncodingVersion
141
+ stringToEncodingVersion(const ::std::string& v)
142
+ {
143
+ return IceInternal::stringToVersion<EncodingVersion>(v);
144
+ }
145
+
146
+ inline std::ostream&
147
+ operator<<(std::ostream& out, const ProtocolVersion& version)
148
+ {
149
+ return out << static_cast<int>(version.major) << "." << static_cast<int>(version.minor);
150
+ }
151
+
152
+ inline std::ostream&
153
+ operator<<(std::ostream& out, const EncodingVersion& version)
154
+ {
155
+ return out << static_cast<int>(version.major) << "." << static_cast<int>(version.minor);
156
+ }
157
+
158
+ }
159
+
160
+ namespace IceInternal
161
+ {
162
+
163
+ inline void
164
+ checkSupportedProtocol(const Ice::ProtocolVersion& v)
165
+ {
166
+ if(!isSupported(v, Ice::currentProtocol))
167
+ {
168
+ throwUnsupportedProtocolException(__FILE__, __LINE__, v, Ice::currentProtocol);
169
+ }
170
+ }
171
+
172
+ inline void
173
+ checkSupportedProtocolEncoding(const Ice::EncodingVersion& v)
174
+ {
175
+ if(!isSupported(v, Ice::currentProtocolEncoding))
176
+ {
177
+ throwUnsupportedEncodingException(__FILE__, __LINE__, v, Ice::currentProtocolEncoding);
178
+ }
179
+ }
180
+
181
+ inline void
182
+ checkSupportedEncoding(const Ice::EncodingVersion& v)
183
+ {
184
+ if(!isSupported(v, Ice::currentEncoding))
185
+ {
186
+ throwUnsupportedEncodingException(__FILE__, __LINE__, v, Ice::currentEncoding);
187
+ }
188
+ }
189
+
190
+ //
191
+ // Either return the given protocol if not compatible, or the greatest
192
+ // supported protocol otherwise.
193
+ //
194
+ inline const Ice::ProtocolVersion
195
+ getCompatibleProtocol(const Ice::ProtocolVersion& v)
196
+ {
197
+ if(v.major != Ice::currentProtocol.major)
198
+ {
199
+ return v; // Unsupported protocol, return as is.
200
+ }
201
+ else if(v.minor < Ice::currentProtocol.minor)
202
+ {
203
+ return v; // Supported protocol.
204
+ }
205
+ else
206
+ {
207
+ //
208
+ // Unsupported but compatible, use the currently supported
209
+ // protocol, that's the best we can do.
210
+ //
211
+ return Ice::currentProtocol;
212
+ }
213
+ }
214
+
215
+ //
216
+ // Either return the given encoding if not compatible, or the greatest
217
+ // supported encoding otherwise.
218
+ //
219
+ inline const Ice::EncodingVersion&
220
+ getCompatibleEncoding(const Ice::EncodingVersion& v)
221
+ {
222
+ if(v.major != Ice::currentEncoding.major)
223
+ {
224
+ return v; // Unsupported encoding, return as is.
225
+ }
226
+ else if(v.minor < Ice::currentEncoding.minor)
227
+ {
228
+ return v; // Supported encoding.
229
+ }
230
+ else
231
+ {
232
+ //
233
+ // Unsupported but compatible, use the currently supported
234
+ // encoding, that's the best we can do.
235
+ //
236
+ return Ice::currentEncoding;
237
+ }
238
+ }
239
+
240
+ }
241
+
242
+ #endif
@@ -0,0 +1,2448 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+
10
+ #ifndef ICE_PROXY_H
11
+ #define ICE_PROXY_H
12
+
13
+ #include <IceUtil/Shared.h>
14
+ #include <IceUtil/Mutex.h>
15
+ #include <Ice/ProxyF.h>
16
+ #include <Ice/ProxyFactoryF.h>
17
+ #include <Ice/ConnectionIF.h>
18
+ #include <Ice/RequestHandlerF.h>
19
+ #include <Ice/EndpointF.h>
20
+ #include <Ice/EndpointTypes.h>
21
+ #include <Ice/ObjectF.h>
22
+ #include <Ice/ObjectAdapterF.h>
23
+ #include <Ice/ReferenceF.h>
24
+ #include <Ice/AsyncResult.h>
25
+ //#include <Ice/RouterF.h> // Can't include RouterF.h here, otherwise we have cyclic includes
26
+ //#include <Ice/LocatorF.h> // Can't include RouterF.h here, otherwise we have cyclic includes
27
+ #include <Ice/Current.h>
28
+ #include <Ice/StreamF.h>
29
+ #include <Ice/CommunicatorF.h>
30
+ #include <Ice/ObserverHelper.h>
31
+ #include <iosfwd>
32
+
33
+ namespace IceProxy
34
+ {
35
+
36
+ namespace Ice
37
+ {
38
+
39
+ class Locator;
40
+ ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
41
+
42
+ class Router;
43
+ ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Router*);
44
+
45
+ }
46
+
47
+ }
48
+
49
+ namespace IceInternal
50
+ {
51
+
52
+ class Outgoing;
53
+
54
+ }
55
+
56
+ namespace Ice
57
+ {
58
+
59
+ typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Router> RouterPrx;
60
+ typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
61
+
62
+ class LocalException;
63
+
64
+ ICE_API void ice_writeObjectPrx(const ::Ice::OutputStreamPtr&, const ObjectPrx&);
65
+ ICE_API void ice_readObjectPrx(const ::Ice::InputStreamPtr&, ObjectPrx&);
66
+
67
+ class Callback_Object_ice_isA_Base : virtual public ::IceInternal::CallbackBase { };
68
+ typedef ::IceUtil::Handle< Callback_Object_ice_isA_Base> Callback_Object_ice_isAPtr;
69
+
70
+ class Callback_Object_ice_ping_Base : virtual public ::IceInternal::CallbackBase { };
71
+ typedef ::IceUtil::Handle< Callback_Object_ice_ping_Base> Callback_Object_ice_pingPtr;
72
+
73
+ class Callback_Object_ice_ids_Base : virtual public ::IceInternal::CallbackBase { };
74
+ typedef ::IceUtil::Handle< Callback_Object_ice_ids_Base> Callback_Object_ice_idsPtr;
75
+
76
+ class Callback_Object_ice_id_Base : virtual public ::IceInternal::CallbackBase { };
77
+ typedef ::IceUtil::Handle< Callback_Object_ice_id_Base> Callback_Object_ice_idPtr;
78
+
79
+ class Callback_Object_ice_invoke_Base : virtual public ::IceInternal::CallbackBase { };
80
+ typedef ::IceUtil::Handle< Callback_Object_ice_invoke_Base> Callback_Object_ice_invokePtr;
81
+
82
+ class Callback_Object_ice_flushBatchRequests_Base : virtual public ::IceInternal::CallbackBase { };
83
+ typedef ::IceUtil::Handle< Callback_Object_ice_flushBatchRequests_Base> Callback_Object_ice_flushBatchRequestsPtr;
84
+
85
+ class Callback_Object_ice_getConnection_Base : virtual public ::IceInternal::CallbackBase { };
86
+ typedef ::IceUtil::Handle< Callback_Object_ice_getConnection_Base> Callback_Object_ice_getConnectionPtr;
87
+
88
+ }
89
+
90
+ #ifdef ICE_CPP11
91
+ namespace IceInternal
92
+ {
93
+
94
+ class ICE_API Cpp11FnCallbackNC : public CallbackBase
95
+ {
96
+ public:
97
+
98
+ Cpp11FnCallbackNC(const ::std::function<void (const ::Ice::Exception&)>&,
99
+ const ::std::function<void (bool)>&);
100
+
101
+ virtual CallbackBasePtr verify(const ::Ice::LocalObjectPtr&);
102
+
103
+ virtual void sent(const ::Ice::AsyncResultPtr&) const;
104
+
105
+ virtual bool hasSentCallback() const;
106
+
107
+ protected:
108
+
109
+ void exception(const ::Ice::AsyncResultPtr&, const ::Ice::Exception& ex) const;
110
+
111
+ ::std::function<void (const ::Ice::Exception&)> _exception;
112
+ ::std::function<void (bool)> _sent;
113
+ };
114
+
115
+ class ICE_API Cpp11FnOnewayCallbackNC : public Cpp11FnCallbackNC
116
+ {
117
+ public:
118
+
119
+ Cpp11FnOnewayCallbackNC(const ::std::function<void ()>&,
120
+ const ::std::function<void (const ::Ice::Exception&)>&,
121
+ const ::std::function<void (bool)>&);
122
+
123
+ virtual void
124
+ completed(const ::Ice::AsyncResultPtr&) const;
125
+
126
+ private:
127
+
128
+ ::std::function<void ()> _cb;
129
+ };
130
+
131
+ }
132
+ #endif
133
+
134
+ namespace IceProxy { namespace Ice
135
+ {
136
+
137
+ class ICE_API Object : public ::IceUtil::Shared
138
+ {
139
+ public:
140
+
141
+ bool operator==(const Object&) const;
142
+ bool operator!=(const Object&) const;
143
+ bool operator<(const Object&) const;
144
+
145
+ ::Ice::CommunicatorPtr ice_getCommunicator() const;
146
+
147
+ ::std::string ice_toString() const;
148
+
149
+ bool ice_isA(const ::std::string& typeId)
150
+ {
151
+ return ice_isA(typeId, 0);
152
+ }
153
+ bool ice_isA(const ::std::string& typeId, const ::Ice::Context& context)
154
+ {
155
+ return ice_isA(typeId, &context);
156
+ }
157
+
158
+ #ifdef ICE_CPP11
159
+ ::Ice::AsyncResultPtr
160
+ begin_ice_isA(const ::std::string& typeId,
161
+ const ::Ice::Context& ctx,
162
+ const ::IceInternal::Function<void (bool)>& response,
163
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
164
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
165
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
166
+ {
167
+ return __begin_ice_isA(typeId, &ctx, response, exception, sent);
168
+ }
169
+
170
+ ::Ice::AsyncResultPtr
171
+ begin_ice_isA(const ::std::string& typeId,
172
+ const ::IceInternal::Function<void (bool)>& response,
173
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
174
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
175
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
176
+ {
177
+ return __begin_ice_isA(typeId, 0, response, exception, sent);
178
+ }
179
+
180
+ ::Ice::AsyncResultPtr
181
+ begin_ice_isA(const ::std::string& typeId,
182
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
183
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
184
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
185
+ {
186
+ return begin_ice_isA(typeId, 0, ::Ice::newCallback(completed, sent), 0);
187
+ }
188
+
189
+ ::Ice::AsyncResultPtr
190
+ begin_ice_isA(const ::std::string& typeId,
191
+ const ::Ice::Context& ctx,
192
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
193
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
194
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
195
+ {
196
+ return begin_ice_isA(typeId, &ctx, ::Ice::newCallback(completed, sent), 0);
197
+ }
198
+ #endif
199
+
200
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId)
201
+ {
202
+ return begin_ice_isA(typeId, 0, ::IceInternal::__dummyCallback, 0);
203
+ }
204
+
205
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId, const ::Ice::Context& __ctx)
206
+ {
207
+ return begin_ice_isA(typeId, &__ctx, ::IceInternal::__dummyCallback, 0);
208
+ }
209
+
210
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
211
+ const ::Ice::CallbackPtr& __del,
212
+ const ::Ice::LocalObjectPtr& __cookie = 0)
213
+ {
214
+ return begin_ice_isA(typeId, 0, __del, __cookie);
215
+ }
216
+
217
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
218
+ const ::Ice::Context& __ctx,
219
+ const ::Ice::CallbackPtr& __del,
220
+ const ::Ice::LocalObjectPtr& __cookie = 0)
221
+ {
222
+ return begin_ice_isA(typeId, &__ctx, __del, __cookie);
223
+ }
224
+
225
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
226
+ const ::Ice::Callback_Object_ice_isAPtr& __del,
227
+ const ::Ice::LocalObjectPtr& __cookie = 0)
228
+ {
229
+ return begin_ice_isA(typeId, 0, __del, __cookie);
230
+ }
231
+
232
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
233
+ const ::Ice::Context& __ctx,
234
+ const ::Ice::Callback_Object_ice_isAPtr& __del,
235
+ const ::Ice::LocalObjectPtr& __cookie = 0)
236
+ {
237
+ return begin_ice_isA(typeId, &__ctx, __del, __cookie);
238
+ }
239
+
240
+ bool end_ice_isA(const ::Ice::AsyncResultPtr&);
241
+
242
+ void ice_ping()
243
+ {
244
+ ice_ping(0);
245
+ }
246
+ void ice_ping(const ::Ice::Context& context)
247
+ {
248
+ ice_ping(&context);
249
+ }
250
+
251
+ #ifdef ICE_CPP11
252
+ ::Ice::AsyncResultPtr
253
+ begin_ice_ping(const ::IceInternal::Function<void ()>& response,
254
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
255
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
256
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
257
+ {
258
+ return __begin_ice_ping(0, response, exception, sent);
259
+ }
260
+
261
+ ::Ice::AsyncResultPtr
262
+ begin_ice_ping(const ::Ice::Context& ctx,
263
+ const ::IceInternal::Function<void ()>& response,
264
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
265
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
266
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
267
+ {
268
+ return __begin_ice_ping(&ctx, response, exception, sent);
269
+ }
270
+
271
+ ::Ice::AsyncResultPtr
272
+ begin_ice_ping(const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
273
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
274
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
275
+ {
276
+ return begin_ice_ping(0, ::Ice::newCallback(completed, sent), 0);
277
+ }
278
+
279
+ ::Ice::AsyncResultPtr
280
+ begin_ice_ping(const ::Ice::Context& ctx,
281
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
282
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
283
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
284
+ {
285
+ return begin_ice_ping(&ctx, ::Ice::newCallback(completed, sent), 0);
286
+ }
287
+ #endif
288
+
289
+ ::Ice::AsyncResultPtr begin_ice_ping()
290
+ {
291
+ return begin_ice_ping(0, ::IceInternal::__dummyCallback, 0);
292
+ }
293
+
294
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& __ctx)
295
+ {
296
+ return begin_ice_ping(&__ctx, ::IceInternal::__dummyCallback, 0);
297
+ }
298
+
299
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::CallbackPtr& __del,
300
+ const ::Ice::LocalObjectPtr& __cookie = 0)
301
+ {
302
+ return begin_ice_ping(0, __del, __cookie);
303
+ }
304
+
305
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del,
306
+ const ::Ice::LocalObjectPtr& __cookie = 0)
307
+ {
308
+ return begin_ice_ping(&__ctx, __del, __cookie);
309
+ }
310
+
311
+
312
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Callback_Object_ice_pingPtr& __del,
313
+ const ::Ice::LocalObjectPtr& __cookie = 0)
314
+ {
315
+ return begin_ice_ping(0, __del, __cookie);
316
+ }
317
+
318
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& __ctx, const ::Ice::Callback_Object_ice_pingPtr& __del,
319
+ const ::Ice::LocalObjectPtr& __cookie = 0)
320
+ {
321
+ return begin_ice_ping(&__ctx, __del, __cookie);
322
+ }
323
+
324
+ void end_ice_ping(const ::Ice::AsyncResultPtr&);
325
+
326
+ ::std::vector< ::std::string> ice_ids()
327
+ {
328
+ return ice_ids(0);
329
+ }
330
+ ::std::vector< ::std::string> ice_ids(const ::Ice::Context& context)
331
+ {
332
+ return ice_ids(&context);
333
+ }
334
+
335
+ #ifdef ICE_CPP11
336
+ ::Ice::AsyncResultPtr
337
+ begin_ice_ids(const ::IceInternal::Function<void (const ::std::vector< ::std::string>&)>& response,
338
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
339
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
340
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
341
+ {
342
+ return __begin_ice_ids(0, response, exception, sent);
343
+ }
344
+
345
+ ::Ice::AsyncResultPtr
346
+ begin_ice_ids(const ::Ice::Context& ctx,
347
+ const ::IceInternal::Function<void (const ::std::vector< ::std::string>&)>& response,
348
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
349
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
350
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
351
+ {
352
+ return __begin_ice_ids(&ctx, response, exception, sent);
353
+ }
354
+
355
+ ::Ice::AsyncResultPtr
356
+ begin_ice_ids(const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
357
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
358
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
359
+ {
360
+ return begin_ice_ids(0, ::Ice::newCallback(completed, sent), 0);
361
+ }
362
+
363
+ ::Ice::AsyncResultPtr
364
+ begin_ice_ids(const ::Ice::Context& ctx,
365
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
366
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
367
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
368
+ {
369
+ return begin_ice_ids(&ctx, ::Ice::newCallback(completed, sent), 0);
370
+ }
371
+ #endif
372
+
373
+ ::Ice::AsyncResultPtr begin_ice_ids()
374
+ {
375
+ return begin_ice_ids(0, ::IceInternal::__dummyCallback, 0);
376
+ }
377
+
378
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& __ctx)
379
+ {
380
+ return begin_ice_ids(&__ctx, ::IceInternal::__dummyCallback, 0);
381
+ }
382
+
383
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::CallbackPtr& __del,
384
+ const ::Ice::LocalObjectPtr& __cookie = 0)
385
+ {
386
+ return begin_ice_ids(0, __del, __cookie);
387
+ }
388
+
389
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& __ctx,
390
+ const ::Ice::CallbackPtr& __del,
391
+ const ::Ice::LocalObjectPtr& __cookie = 0)
392
+ {
393
+ return begin_ice_ids(&__ctx, __del, __cookie);
394
+ }
395
+
396
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Callback_Object_ice_idsPtr& __del,
397
+ const ::Ice::LocalObjectPtr& __cookie = 0)
398
+ {
399
+ return begin_ice_ids(0, __del, __cookie);
400
+ }
401
+
402
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& __ctx,
403
+ const ::Ice::Callback_Object_ice_idsPtr& __del,
404
+ const ::Ice::LocalObjectPtr& __cookie = 0)
405
+ {
406
+ return begin_ice_ids(&__ctx, __del, __cookie);
407
+ }
408
+
409
+ ::std::vector< ::std::string> end_ice_ids(const ::Ice::AsyncResultPtr&);
410
+
411
+ ::std::string ice_id()
412
+ {
413
+ return ice_id(0);
414
+ }
415
+ ::std::string ice_id(const ::Ice::Context& context)
416
+ {
417
+ return ice_id(&context);
418
+ }
419
+
420
+ #ifdef ICE_CPP11
421
+ ::Ice::AsyncResultPtr
422
+ begin_ice_id(const ::IceInternal::Function<void (const ::std::string&)>& response,
423
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
424
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
425
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
426
+ {
427
+ return __begin_ice_id(0, response, exception, sent);
428
+ }
429
+
430
+ ::Ice::AsyncResultPtr
431
+ begin_ice_id(const ::Ice::Context& ctx,
432
+ const ::IceInternal::Function<void (const ::std::string&)>& response,
433
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
434
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
435
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
436
+ {
437
+ return __begin_ice_id(&ctx, response, exception, sent);
438
+ }
439
+
440
+ ::Ice::AsyncResultPtr
441
+ begin_ice_id(const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
442
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
443
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
444
+ {
445
+ return begin_ice_id(0, ::Ice::newCallback(completed, sent), 0);
446
+ }
447
+
448
+ ::Ice::AsyncResultPtr
449
+ begin_ice_id(const ::Ice::Context& ctx,
450
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed,
451
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& sent =
452
+ ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
453
+ {
454
+ return begin_ice_id(&ctx, ::Ice::newCallback(completed, sent), 0);
455
+ }
456
+ #endif
457
+
458
+ ::Ice::AsyncResultPtr begin_ice_id()
459
+ {
460
+ return begin_ice_id(0, ::IceInternal::__dummyCallback, 0);
461
+ }
462
+
463
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& __ctx)
464
+ {
465
+ return begin_ice_id(&__ctx, ::IceInternal::__dummyCallback, 0);
466
+ }
467
+
468
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::CallbackPtr& __del,
469
+ const ::Ice::LocalObjectPtr& __cookie = 0)
470
+ {
471
+ return begin_ice_id(0, __del, __cookie);
472
+ }
473
+
474
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& __ctx,
475
+ const ::Ice::CallbackPtr& __del,
476
+ const ::Ice::LocalObjectPtr& __cookie = 0)
477
+ {
478
+ return begin_ice_id(&__ctx, __del, __cookie);
479
+ }
480
+
481
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Callback_Object_ice_idPtr& __del,
482
+ const ::Ice::LocalObjectPtr& __cookie = 0)
483
+ {
484
+ return begin_ice_id(0, __del, __cookie);
485
+ }
486
+
487
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& __ctx,
488
+ const ::Ice::Callback_Object_ice_idPtr& __del,
489
+ const ::Ice::LocalObjectPtr& __cookie = 0)
490
+ {
491
+ return begin_ice_id(&__ctx, __del, __cookie);
492
+ }
493
+
494
+ ::std::string end_ice_id(const ::Ice::AsyncResultPtr&);
495
+
496
+
497
+ static const ::std::string& ice_staticId()
498
+ {
499
+ return ::Ice::Object::ice_staticId();
500
+ }
501
+
502
+
503
+ // Returns true if ok, false if user exception.
504
+ bool ice_invoke(const ::std::string& operation,
505
+ ::Ice::OperationMode mode,
506
+ const ::std::vector< ::Ice::Byte>& inParams,
507
+ ::std::vector< ::Ice::Byte>& outParams)
508
+ {
509
+ return ice_invoke(operation, mode, inParams, outParams, 0);
510
+ }
511
+
512
+ bool ice_invoke(const ::std::string& operation,
513
+ ::Ice::OperationMode mode,
514
+ const ::std::vector< ::Ice::Byte>& inParams,
515
+ ::std::vector< ::Ice::Byte>& outParams,
516
+ const ::Ice::Context& context)
517
+ {
518
+ return ice_invoke(operation, mode, inParams, outParams, &context);
519
+ }
520
+
521
+ #ifdef ICE_CPP11
522
+ ::Ice::AsyncResultPtr begin_ice_invoke(
523
+ const ::std::string& operation,
524
+ ::Ice::OperationMode mode,
525
+ const ::std::vector< ::Ice::Byte>& inParams,
526
+ const ::IceInternal::Function<void (bool, const ::std::vector< ::Ice::Byte>&)>& response,
527
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
528
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
529
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
530
+ {
531
+ return __begin_ice_invoke(operation, mode, inParams, 0, response, exception, sent);
532
+ }
533
+
534
+ ::Ice::AsyncResultPtr begin_ice_invoke(
535
+ const ::std::string& operation,
536
+ ::Ice::OperationMode mode,
537
+ const ::std::vector< ::Ice::Byte>& inParams,
538
+ const ::Ice::Context& ctx,
539
+ const ::IceInternal::Function<void (bool, const ::std::vector< ::Ice::Byte>&)>& response,
540
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
541
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
542
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
543
+ {
544
+ return __begin_ice_invoke(operation, mode, inParams, &ctx, response, exception, sent);
545
+ }
546
+
547
+ ::Ice::AsyncResultPtr begin_ice_invoke(
548
+ const ::std::string& operation,
549
+ ::Ice::OperationMode mode,
550
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
551
+ const ::IceInternal::Function<void (bool, const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&)>& response,
552
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
553
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
554
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
555
+ {
556
+ return __begin_ice_invoke(operation, mode, inParams, 0, response, exception, sent);
557
+ }
558
+
559
+ ::Ice::AsyncResultPtr begin_ice_invoke(
560
+ const ::std::string& operation,
561
+ ::Ice::OperationMode mode,
562
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
563
+ const ::Ice::Context& ctx,
564
+ const ::IceInternal::Function<void (bool, const ::std::pair<const ::Ice::Byte*,
565
+ const ::Ice::Byte*>&)>& response,
566
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
567
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
568
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
569
+ {
570
+ return __begin_ice_invoke(operation, mode, inParams, &ctx, response, exception, sent);
571
+ }
572
+ #endif
573
+
574
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
575
+ ::Ice::OperationMode mode,
576
+ const ::std::vector< ::Ice::Byte>& inParams)
577
+ {
578
+ return begin_ice_invoke(operation, mode, inParams, 0, ::IceInternal::__dummyCallback, 0);
579
+ }
580
+
581
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
582
+ ::Ice::OperationMode mode,
583
+ const ::std::vector< ::Ice::Byte>& inParams,
584
+ const ::Ice::Context& __ctx)
585
+ {
586
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, ::IceInternal::__dummyCallback, 0);
587
+ }
588
+
589
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
590
+ ::Ice::OperationMode mode,
591
+ const ::std::vector< ::Ice::Byte>& inParams,
592
+ const ::Ice::CallbackPtr& __del,
593
+ const ::Ice::LocalObjectPtr& __cookie = 0)
594
+ {
595
+ return begin_ice_invoke(operation, mode, inParams, 0, __del, __cookie);
596
+ }
597
+
598
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
599
+ ::Ice::OperationMode mode,
600
+ const ::std::vector< ::Ice::Byte>& inParams,
601
+ const ::Ice::Context& __ctx,
602
+ const ::Ice::CallbackPtr& __del,
603
+ const ::Ice::LocalObjectPtr& __cookie = 0)
604
+ {
605
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, __del, __cookie);
606
+ }
607
+
608
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
609
+ ::Ice::OperationMode mode,
610
+ const ::std::vector< ::Ice::Byte>& inParams,
611
+ const ::Ice::Callback_Object_ice_invokePtr& __del,
612
+ const ::Ice::LocalObjectPtr& __cookie = 0)
613
+ {
614
+ return begin_ice_invoke(operation, mode, inParams, 0, __del, __cookie);
615
+ }
616
+
617
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
618
+ ::Ice::OperationMode mode,
619
+ const ::std::vector< ::Ice::Byte>& inParams,
620
+ const ::Ice::Context& __ctx,
621
+ const ::Ice::Callback_Object_ice_invokePtr& __del,
622
+ const ::Ice::LocalObjectPtr& __cookie = 0)
623
+ {
624
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, __del, __cookie);
625
+ }
626
+
627
+ bool end_ice_invoke(::std::vector< ::Ice::Byte>&, const ::Ice::AsyncResultPtr&);
628
+
629
+ bool ice_invoke(const ::std::string& operation,
630
+ ::Ice::OperationMode mode,
631
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
632
+ ::std::vector< ::Ice::Byte>& outParams)
633
+ {
634
+ return ice_invoke(operation, mode, inParams, outParams, 0);
635
+ }
636
+
637
+ bool ice_invoke(const ::std::string& operation,
638
+ ::Ice::OperationMode mode,
639
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
640
+ ::std::vector< ::Ice::Byte>& outParams,
641
+ const ::Ice::Context& context)
642
+ {
643
+ return ice_invoke(operation, mode, inParams, outParams, &context);
644
+ }
645
+
646
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
647
+ ::Ice::OperationMode mode,
648
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams)
649
+ {
650
+ return begin_ice_invoke(operation, mode, inParams, 0, ::IceInternal::__dummyCallback, 0);
651
+ }
652
+
653
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
654
+ ::Ice::OperationMode mode,
655
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
656
+ const ::Ice::Context& __ctx,
657
+ const ::Ice::LocalObjectPtr& __cookie = 0)
658
+ {
659
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, ::IceInternal::__dummyCallback, __cookie);
660
+ }
661
+
662
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
663
+ ::Ice::OperationMode mode,
664
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
665
+ const ::Ice::CallbackPtr& __del,
666
+ const ::Ice::LocalObjectPtr& __cookie = 0)
667
+ {
668
+ return begin_ice_invoke(operation, mode, inParams, 0, __del, __cookie);
669
+ }
670
+
671
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
672
+ ::Ice::OperationMode mode,
673
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
674
+ const ::Ice::Context& __ctx,
675
+ const ::Ice::CallbackPtr& __del,
676
+ const ::Ice::LocalObjectPtr& __cookie = 0)
677
+ {
678
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, __del, __cookie);
679
+ }
680
+
681
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
682
+ ::Ice::OperationMode mode,
683
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
684
+ const ::Ice::Callback_Object_ice_invokePtr& __del,
685
+ const ::Ice::LocalObjectPtr& __cookie = 0)
686
+ {
687
+ return begin_ice_invoke(operation, mode, inParams, 0, __del, __cookie);
688
+ }
689
+
690
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
691
+ ::Ice::OperationMode mode,
692
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
693
+ const ::Ice::Context& __ctx,
694
+ const ::Ice::Callback_Object_ice_invokePtr& __del,
695
+ const ::Ice::LocalObjectPtr& __cookie = 0)
696
+ {
697
+ return begin_ice_invoke(operation, mode, inParams, &__ctx, __del, __cookie);
698
+ }
699
+
700
+ bool ___end_ice_invoke(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&, const ::Ice::AsyncResultPtr&);
701
+
702
+ ::Ice::Identity ice_getIdentity() const;
703
+ ::Ice::ObjectPrx ice_identity(const ::Ice::Identity&) const;
704
+
705
+ ::Ice::Context ice_getContext() const;
706
+ ::Ice::ObjectPrx ice_context(const ::Ice::Context&) const;
707
+
708
+ const ::std::string& ice_getFacet() const;
709
+ ::Ice::ObjectPrx ice_facet(const ::std::string&) const;
710
+
711
+ ::std::string ice_getAdapterId() const;
712
+ ::Ice::ObjectPrx ice_adapterId(const ::std::string&) const;
713
+
714
+ ::Ice::EndpointSeq ice_getEndpoints() const;
715
+ ::Ice::ObjectPrx ice_endpoints(const ::Ice::EndpointSeq&) const;
716
+
717
+ ::Ice::Int ice_getLocatorCacheTimeout() const;
718
+ ::Ice::ObjectPrx ice_locatorCacheTimeout(::Ice::Int) const;
719
+
720
+ bool ice_isConnectionCached() const;
721
+ ::Ice::ObjectPrx ice_connectionCached(bool) const;
722
+
723
+ ::Ice::EndpointSelectionType ice_getEndpointSelection() const;
724
+ ::Ice::ObjectPrx ice_endpointSelection(::Ice::EndpointSelectionType) const;
725
+
726
+ bool ice_isSecure() const;
727
+ ::Ice::ObjectPrx ice_secure(bool) const;
728
+
729
+ ::Ice::EncodingVersion ice_getEncodingVersion() const;
730
+ ::Ice::ObjectPrx ice_encodingVersion(const ::Ice::EncodingVersion&) const;
731
+
732
+ bool ice_isPreferSecure() const;
733
+ ::Ice::ObjectPrx ice_preferSecure(bool) const;
734
+
735
+ ::Ice::RouterPrx ice_getRouter() const;
736
+ ::Ice::ObjectPrx ice_router(const ::Ice::RouterPrx&) const;
737
+
738
+ ::Ice::LocatorPrx ice_getLocator() const;
739
+ ::Ice::ObjectPrx ice_locator(const ::Ice::LocatorPrx&) const;
740
+
741
+ bool ice_isCollocationOptimized() const;
742
+ ::Ice::ObjectPrx ice_collocationOptimized(bool) const;
743
+
744
+ ::Ice::Int ice_getInvocationTimeout() const;
745
+ ::Ice::ObjectPrx ice_invocationTimeout(::Ice::Int) const;
746
+
747
+ ::Ice::ObjectPrx ice_twoway() const;
748
+ bool ice_isTwoway() const;
749
+ ::Ice::ObjectPrx ice_oneway() const;
750
+ bool ice_isOneway() const;
751
+ ::Ice::ObjectPrx ice_batchOneway() const;
752
+ bool ice_isBatchOneway() const;
753
+ ::Ice::ObjectPrx ice_datagram() const;
754
+ bool ice_isDatagram() const;
755
+ ::Ice::ObjectPrx ice_batchDatagram() const;
756
+ bool ice_isBatchDatagram() const;
757
+
758
+ ::Ice::ObjectPrx ice_compress(bool) const;
759
+ ::Ice::ObjectPrx ice_timeout(int) const;
760
+
761
+ ::Ice::ObjectPrx ice_connectionId(const ::std::string&) const;
762
+ ::std::string ice_getConnectionId() const;
763
+
764
+ ::Ice::ConnectionPtr ice_getConnection();
765
+
766
+ #ifdef ICE_CPP11
767
+ ::Ice::AsyncResultPtr begin_ice_getConnection(
768
+ const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& completed)
769
+ {
770
+ return begin_ice_getConnectionInternal(::Ice::newCallback(completed, 0), 0);
771
+ }
772
+
773
+ ::Ice::AsyncResultPtr begin_ice_getConnection(
774
+ const ::IceInternal::Function<void (const ::Ice::ConnectionPtr&)>& response,
775
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
776
+ ::IceInternal::Function<void (const ::Ice::Exception&)>());
777
+ #endif
778
+
779
+ ::Ice::AsyncResultPtr begin_ice_getConnection()
780
+ {
781
+ return begin_ice_getConnectionInternal(::IceInternal::__dummyCallback, 0);
782
+ }
783
+
784
+ ::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::CallbackPtr& __del,
785
+ const ::Ice::LocalObjectPtr& __cookie = 0)
786
+ {
787
+ return begin_ice_getConnectionInternal(__del, __cookie);
788
+ }
789
+
790
+ ::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::Callback_Object_ice_getConnectionPtr& __del,
791
+ const ::Ice::LocalObjectPtr& __cookie = 0)
792
+ {
793
+ return begin_ice_getConnectionInternal(__del, __cookie);
794
+ }
795
+
796
+ ::Ice::ConnectionPtr end_ice_getConnection(const ::Ice::AsyncResultPtr&);
797
+
798
+ ::Ice::ConnectionPtr ice_getCachedConnection() const;
799
+
800
+ void ice_flushBatchRequests();
801
+
802
+ #ifdef ICE_CPP11
803
+ ::Ice::AsyncResultPtr begin_ice_flushBatchRequests(
804
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception,
805
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
806
+ {
807
+ return begin_ice_flushBatchRequestsInternal(
808
+ new ::IceInternal::Cpp11FnOnewayCallbackNC(nullptr, exception, sent), 0);
809
+ }
810
+ #endif
811
+
812
+ ::Ice::AsyncResultPtr begin_ice_flushBatchRequests()
813
+ {
814
+ return begin_ice_flushBatchRequestsInternal(::IceInternal::__dummyCallback, 0);
815
+ }
816
+
817
+ ::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::CallbackPtr& __del,
818
+ const ::Ice::LocalObjectPtr& __cookie = 0)
819
+ {
820
+ return begin_ice_flushBatchRequestsInternal(__del, __cookie);
821
+ }
822
+
823
+ ::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::Callback_Object_ice_flushBatchRequestsPtr& __del,
824
+ const ::Ice::LocalObjectPtr& __cookie = 0)
825
+ {
826
+ return begin_ice_flushBatchRequestsInternal(__del, __cookie);
827
+ }
828
+
829
+ void end_ice_flushBatchRequests(const ::Ice::AsyncResultPtr&);
830
+
831
+ const ::IceInternal::ReferencePtr& __reference() const { return _reference; }
832
+
833
+ ::Ice::Int __hash() const;
834
+
835
+ void __copyFrom(const ::Ice::ObjectPrx&);
836
+
837
+ int __handleException(const ::Ice::Exception&, const ::IceInternal::RequestHandlerPtr&, ::Ice::OperationMode,
838
+ bool, int&);
839
+
840
+ void __checkTwowayOnly(const ::std::string&) const;
841
+ void __checkAsyncTwowayOnly(const ::std::string&) const;
842
+
843
+ void __invoke(::IceInternal::Outgoing&) const;
844
+ void __end(const ::Ice::AsyncResultPtr&, const std::string&) const;
845
+
846
+ ::IceInternal::RequestHandlerPtr __getRequestHandler();
847
+ void __setRequestHandler(const ::IceInternal::RequestHandlerPtr&, const ::IceInternal::RequestHandlerPtr&);
848
+
849
+ protected:
850
+
851
+ virtual Object* __newInstance() const;
852
+
853
+ private:
854
+
855
+ bool ice_isA(const ::std::string&, const ::Ice::Context*);
856
+ ::Ice::AsyncResultPtr begin_ice_isA(const ::std::string&,
857
+ const ::Ice::Context*,
858
+ const ::IceInternal::CallbackBasePtr&,
859
+ const ::Ice::LocalObjectPtr&);
860
+
861
+ #ifdef ICE_CPP11
862
+ ::Ice::AsyncResultPtr __begin_ice_isA(
863
+ const ::std::string&,
864
+ const ::Ice::Context*,
865
+ const ::IceInternal::Function<void (bool)>&,
866
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& =
867
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
868
+ const ::IceInternal::Function<void (bool)>& = ::IceInternal::Function<void (bool)>());
869
+ #endif
870
+
871
+
872
+ void ice_ping(const ::Ice::Context*);
873
+ ::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context*,
874
+ const ::IceInternal::CallbackBasePtr&,
875
+ const ::Ice::LocalObjectPtr&);
876
+
877
+ #ifdef ICE_CPP11
878
+ ::Ice::AsyncResultPtr __begin_ice_ping(
879
+ const ::Ice::Context* ctx,
880
+ const ::IceInternal::Function<void ()>& response,
881
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception =
882
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
883
+ const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>())
884
+ {
885
+ return begin_ice_ping(ctx, new ::IceInternal::Cpp11FnOnewayCallbackNC(response, exception, sent), 0);
886
+ }
887
+ #endif
888
+
889
+ ::std::vector< ::std::string> ice_ids(const ::Ice::Context*);
890
+ ::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context*,
891
+ const ::IceInternal::CallbackBasePtr&,
892
+ const ::Ice::LocalObjectPtr&);
893
+
894
+ #ifdef ICE_CPP11
895
+ ::Ice::AsyncResultPtr __begin_ice_ids(
896
+ const ::Ice::Context*,
897
+ const ::IceInternal::Function<void (const ::std::vector< ::std::string>&)>&,
898
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& =
899
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
900
+ const ::IceInternal::Function<void (bool)>& =
901
+ ::IceInternal::Function<void (bool)>());
902
+ #endif
903
+
904
+ ::std::string ice_id(const ::Ice::Context*);
905
+ ::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context*,
906
+ const ::IceInternal::CallbackBasePtr&,
907
+ const ::Ice::LocalObjectPtr&);
908
+ #ifdef ICE_CPP11
909
+ ::Ice::AsyncResultPtr __begin_ice_id(
910
+ const ::Ice::Context*,
911
+ const ::IceInternal::Function<void (const ::std::string&)>&,
912
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& =
913
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
914
+ const ::IceInternal::Function<void (bool)>& sent =
915
+ ::IceInternal::Function<void (bool)>());
916
+ #endif
917
+
918
+ bool ice_invoke(const ::std::string&,
919
+ ::Ice::OperationMode,
920
+ const ::std::vector< ::Ice::Byte>&,
921
+ ::std::vector< ::Ice::Byte>&,
922
+ const ::Ice::Context*);
923
+
924
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string&,
925
+ ::Ice::OperationMode,
926
+ const ::std::vector< ::Ice::Byte>&,
927
+ const ::Ice::Context*,
928
+ const ::IceInternal::CallbackBasePtr&,
929
+ const ::Ice::LocalObjectPtr&);
930
+
931
+ #ifdef ICE_CPP11
932
+ ::Ice::AsyncResultPtr __begin_ice_invoke(
933
+ const ::std::string&,
934
+ ::Ice::OperationMode,
935
+ const ::std::vector< ::Ice::Byte>&,
936
+ const ::Ice::Context*,
937
+ const ::IceInternal::Function<void (bool, const ::std::vector< ::Ice::Byte>&)>&,
938
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& =
939
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
940
+ const ::IceInternal::Function<void (bool)>& = ::IceInternal::Function<void (bool)>());
941
+
942
+ #endif
943
+
944
+ bool ice_invoke(const ::std::string&,
945
+ ::Ice::OperationMode,
946
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
947
+ ::std::vector< ::Ice::Byte>&,
948
+ const ::Ice::Context*);
949
+
950
+ ::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string&,
951
+ ::Ice::OperationMode,
952
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
953
+ const ::Ice::Context*,
954
+ const ::IceInternal::CallbackBasePtr&,
955
+ const ::Ice::LocalObjectPtr&);
956
+
957
+ #ifdef ICE_CPP11
958
+ ::Ice::AsyncResultPtr __begin_ice_invoke(
959
+ const ::std::string&,
960
+ ::Ice::OperationMode,
961
+ const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&,
962
+ const ::Ice::Context*,
963
+ const ::IceInternal::Function<void (bool, const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&)>&,
964
+ const ::IceInternal::Function<void (const ::Ice::Exception&)>& =
965
+ ::IceInternal::Function<void (const ::Ice::Exception&)>(),
966
+ const ::IceInternal::Function<void (bool)>& = ::IceInternal::Function<void (bool)>());
967
+ #endif
968
+
969
+ ::Ice::AsyncResultPtr begin_ice_getConnectionInternal(const ::IceInternal::CallbackBasePtr&,
970
+ const ::Ice::LocalObjectPtr&);
971
+
972
+ ::Ice::AsyncResultPtr begin_ice_flushBatchRequestsInternal(const ::IceInternal::CallbackBasePtr&,
973
+ const ::Ice::LocalObjectPtr&);
974
+
975
+ void setup(const ::IceInternal::ReferencePtr&);
976
+ friend class ::IceInternal::ProxyFactory;
977
+
978
+ ::IceInternal::ReferencePtr _reference;
979
+ ::IceInternal::RequestHandlerPtr _requestHandler;
980
+ IceUtil::Mutex _mutex;
981
+ };
982
+
983
+ } }
984
+
985
+ ICE_API ::std::ostream& operator<<(::std::ostream&, const ::IceProxy::Ice::Object&);
986
+
987
+ namespace Ice
988
+ {
989
+
990
+ ICE_API bool proxyIdentityLess(const ObjectPrx&, const ObjectPrx&);
991
+ ICE_API bool proxyIdentityEqual(const ObjectPrx&, const ObjectPrx&);
992
+
993
+ ICE_API bool proxyIdentityAndFacetLess(const ObjectPrx&, const ObjectPrx&);
994
+ ICE_API bool proxyIdentityAndFacetEqual(const ObjectPrx&, const ObjectPrx&);
995
+
996
+ struct ProxyIdentityLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
997
+ {
998
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
999
+ {
1000
+ return proxyIdentityLess(lhs, rhs);
1001
+ }
1002
+ };
1003
+
1004
+ struct ProxyIdentityEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
1005
+ {
1006
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
1007
+ {
1008
+ return proxyIdentityEqual(lhs, rhs);
1009
+ }
1010
+ };
1011
+
1012
+ struct ProxyIdentityAndFacetLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
1013
+ {
1014
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
1015
+ {
1016
+ return proxyIdentityAndFacetLess(lhs, rhs);
1017
+ }
1018
+ };
1019
+
1020
+ struct ProxyIdentityAndFacetEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
1021
+ {
1022
+ bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
1023
+ {
1024
+ return proxyIdentityAndFacetEqual(lhs, rhs);
1025
+ }
1026
+ };
1027
+
1028
+ }
1029
+
1030
+ namespace IceInternal
1031
+ {
1032
+
1033
+ //
1034
+ // Inline comparison functions for proxies
1035
+ //
1036
+ template<typename T, typename U>
1037
+ inline bool operator==(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1038
+ {
1039
+ ::IceProxy::Ice::Object* l = lhs.__upCast();
1040
+ ::IceProxy::Ice::Object* r = rhs.__upCast();
1041
+ if(l && r)
1042
+ {
1043
+ return *l == *r;
1044
+ }
1045
+ else
1046
+ {
1047
+ return !l && !r;
1048
+ }
1049
+ }
1050
+
1051
+ template<typename T, typename U>
1052
+ inline bool operator!=(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1053
+ {
1054
+ return !operator==(lhs, rhs);
1055
+ }
1056
+
1057
+ template<typename T, typename U>
1058
+ inline bool operator<(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1059
+ {
1060
+ ::IceProxy::Ice::Object* l = lhs.__upCast();
1061
+ ::IceProxy::Ice::Object* r = rhs.__upCast();
1062
+ if(l && r)
1063
+ {
1064
+ return *l < *r;
1065
+ }
1066
+ else
1067
+ {
1068
+ return !l && r;
1069
+ }
1070
+ }
1071
+
1072
+ template<typename T, typename U>
1073
+ inline bool operator<=(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1074
+ {
1075
+ return lhs < rhs || lhs == rhs;
1076
+ }
1077
+
1078
+ template<typename T, typename U>
1079
+ inline bool operator>(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1080
+ {
1081
+ return !(lhs < rhs || lhs == rhs);
1082
+ }
1083
+
1084
+ template<typename T, typename U>
1085
+ inline bool operator>=(const ProxyHandle<T>& lhs, const ProxyHandle<U>& rhs)
1086
+ {
1087
+ return !(lhs < rhs);
1088
+ }
1089
+
1090
+
1091
+ //
1092
+ // checkedCast and uncheckedCast functions without facet:
1093
+ //
1094
+ template<typename P> P
1095
+ checkedCastImpl(const ::Ice::ObjectPrx& b, const ::Ice::Context* context)
1096
+ {
1097
+ P d = 0;
1098
+ if(b.get())
1099
+ {
1100
+ typedef typename P::element_type T;
1101
+
1102
+ d = dynamic_cast<T*>(b.get());
1103
+ if(!d && (context == 0 ?
1104
+ b->ice_isA(T::ice_staticId()) :
1105
+ b->ice_isA(T::ice_staticId(), *context)))
1106
+ {
1107
+ d = new T;
1108
+ d->__copyFrom(b);
1109
+ }
1110
+ }
1111
+ return d;
1112
+ }
1113
+
1114
+ template<typename P> P
1115
+ uncheckedCastImpl(const ::Ice::ObjectPrx& b)
1116
+ {
1117
+ P d = 0;
1118
+ if(b)
1119
+ {
1120
+ typedef typename P::element_type T;
1121
+
1122
+ d = dynamic_cast<T*>(b.get());
1123
+ if(!d)
1124
+ {
1125
+ d = new T;
1126
+ d->__copyFrom(b);
1127
+ }
1128
+ }
1129
+ return d;
1130
+ }
1131
+
1132
+ //
1133
+ // checkedCast and uncheckedCast with facet:
1134
+ //
1135
+
1136
+ //
1137
+ // Helper with type ID.
1138
+ //
1139
+ ICE_API ::Ice::ObjectPrx checkedCastImpl(const ::Ice::ObjectPrx&, const std::string&, const std::string&,
1140
+ const ::Ice::Context*);
1141
+
1142
+ //
1143
+ // Specializations for P = ::Ice::ObjectPrx
1144
+ // We have to use inline functions for broken compilers such as VC7.
1145
+ //
1146
+
1147
+ template<> inline ::Ice::ObjectPrx
1148
+ checkedCastImpl< ::Ice::ObjectPrx>(const ::Ice::ObjectPrx& b, const std::string& f, const ::Ice::Context* context)
1149
+ {
1150
+ return checkedCastImpl(b, f, "::Ice::Object", context);
1151
+ }
1152
+
1153
+ template<> inline ::Ice::ObjectPrx
1154
+ uncheckedCastImpl< ::Ice::ObjectPrx>(const ::Ice::ObjectPrx& b, const std::string& f)
1155
+ {
1156
+ ::Ice::ObjectPrx d = 0;
1157
+ if(b)
1158
+ {
1159
+ d = b->ice_facet(f);
1160
+ }
1161
+ return d;
1162
+ }
1163
+
1164
+ template<typename P> P
1165
+ checkedCastImpl(const ::Ice::ObjectPrx& b, const std::string& f, const ::Ice::Context* context)
1166
+ {
1167
+ P d = 0;
1168
+
1169
+ typedef typename P::element_type T;
1170
+ ::Ice::ObjectPrx bb = checkedCastImpl(b, f, T::ice_staticId(), context);
1171
+
1172
+ if(bb)
1173
+ {
1174
+ d = new T;
1175
+ d->__copyFrom(bb);
1176
+ }
1177
+ return d;
1178
+ }
1179
+
1180
+ template<typename P> P
1181
+ uncheckedCastImpl(const ::Ice::ObjectPrx& b, const std::string& f)
1182
+ {
1183
+ P d = 0;
1184
+ if(b)
1185
+ {
1186
+ typedef typename P::element_type T;
1187
+
1188
+ ::Ice::ObjectPrx bb = b->ice_facet(f);
1189
+ d = new T;
1190
+ d->__copyFrom(bb);
1191
+ }
1192
+ return d;
1193
+ }
1194
+ }
1195
+
1196
+ //
1197
+ // checkedCast and uncheckedCast functions provided in the global namespace
1198
+ //
1199
+
1200
+ template<typename P, typename Y> inline P
1201
+ checkedCast(const ::IceInternal::ProxyHandle<Y>& b)
1202
+ {
1203
+ Y* tag = 0;
1204
+ Ice::Context* ctx = 0;
1205
+ return ::IceInternal::checkedCastHelper<typename P::element_type>(b, tag, ctx);
1206
+ }
1207
+
1208
+ template<typename P, typename Y> inline P
1209
+ checkedCast(const ::IceInternal::ProxyHandle<Y>& b, const ::Ice::Context& context)
1210
+ {
1211
+ Y* tag = 0;
1212
+ return ::IceInternal::checkedCastHelper<typename P::element_type>(b, tag, &context);
1213
+ }
1214
+
1215
+ template<typename P, typename Y> inline P
1216
+ uncheckedCast(const ::IceInternal::ProxyHandle<Y>& b)
1217
+ {
1218
+ Y* tag = 0;
1219
+ return ::IceInternal::uncheckedCastHelper<typename P::element_type>(b, tag);
1220
+ }
1221
+
1222
+ template<typename P> inline P
1223
+ checkedCast(const ::Ice::ObjectPrx& b, const std::string& f)
1224
+ {
1225
+ Ice::Context* ctx = 0;
1226
+ return ::IceInternal::checkedCastImpl<P>(b, f, ctx);
1227
+ }
1228
+
1229
+ template<typename P> inline P
1230
+ checkedCast(const ::Ice::ObjectPrx& b, const std::string& f, const ::Ice::Context& context)
1231
+ {
1232
+ return ::IceInternal::checkedCastImpl<P>(b, f, &context);
1233
+ }
1234
+
1235
+ template<typename P> inline P
1236
+ uncheckedCast(const ::Ice::ObjectPrx& b, const std::string& f)
1237
+ {
1238
+ return ::IceInternal::uncheckedCastImpl<P>(b, f);
1239
+ }
1240
+
1241
+ namespace IceInternal
1242
+ {
1243
+
1244
+ //
1245
+ // Base template for operation callbacks.
1246
+ //
1247
+ template<class T>
1248
+ class CallbackNC : virtual public CallbackBase
1249
+ {
1250
+ public:
1251
+
1252
+ typedef T callback_type;
1253
+
1254
+ typedef IceUtil::Handle<T> TPtr;
1255
+
1256
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1257
+ typedef void (T::*Sent)(bool);
1258
+
1259
+ CallbackNC(const TPtr& instance, Exception excb, Sent sentcb) : _callback(instance), _exception(excb), _sent(sentcb)
1260
+ {
1261
+ }
1262
+
1263
+ virtual CallbackBasePtr verify(const ::Ice::LocalObjectPtr& cookie)
1264
+ {
1265
+ if(cookie != 0) // Makes sure begin_ was called without a cookie
1266
+ {
1267
+ throw IceUtil::IllegalArgumentException(__FILE__, __LINE__, "cookie specified for callback without cookie");
1268
+ }
1269
+ return this;
1270
+ }
1271
+
1272
+ virtual void sent(const ::Ice::AsyncResultPtr& result) const
1273
+ {
1274
+ if(_sent)
1275
+ {
1276
+ (_callback.get()->*_sent)(result->sentSynchronously());
1277
+ }
1278
+ }
1279
+
1280
+ virtual bool hasSentCallback() const
1281
+ {
1282
+ return _sent != 0;
1283
+ }
1284
+
1285
+ protected:
1286
+
1287
+ void exception(const ::Ice::AsyncResultPtr&, const ::Ice::Exception& ex) const
1288
+ {
1289
+ if(_exception)
1290
+ {
1291
+ (_callback.get()->*_exception)(ex);
1292
+ }
1293
+ }
1294
+
1295
+ TPtr _callback;
1296
+
1297
+ private:
1298
+
1299
+ Exception _exception;
1300
+ Sent _sent;
1301
+ };
1302
+
1303
+ template<class T, typename CT>
1304
+ class Callback : virtual public CallbackBase
1305
+ {
1306
+ public:
1307
+
1308
+ typedef T callback_type;
1309
+ typedef CT cookie_type;
1310
+
1311
+ typedef IceUtil::Handle<T> TPtr;
1312
+
1313
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1314
+ typedef void (T::*Sent)(bool, const CT&);
1315
+
1316
+ Callback(const TPtr& instance, Exception excb, Sent sentcb) : _callback(instance), _exception(excb), _sent(sentcb)
1317
+ {
1318
+ }
1319
+
1320
+ virtual CallbackBasePtr verify(const ::Ice::LocalObjectPtr& cookie)
1321
+ {
1322
+ if(cookie && !CT::dynamicCast(cookie))
1323
+ {
1324
+ throw IceUtil::IllegalArgumentException(__FILE__, __LINE__, "unexpected cookie type");
1325
+ }
1326
+ return this;
1327
+ }
1328
+
1329
+ virtual void sent(const ::Ice::AsyncResultPtr& result) const
1330
+ {
1331
+ if(_sent)
1332
+ {
1333
+ (_callback.get()->*_sent)(result->sentSynchronously(), CT::dynamicCast(result->getCookie()));
1334
+ }
1335
+ }
1336
+
1337
+ virtual bool hasSentCallback() const
1338
+ {
1339
+ return _sent != 0;
1340
+ }
1341
+
1342
+ protected:
1343
+
1344
+ void exception(const ::Ice::AsyncResultPtr& result, const ::Ice::Exception& ex) const
1345
+ {
1346
+ if(_exception)
1347
+ {
1348
+ (_callback.get()->*_exception)(ex, CT::dynamicCast(result->getCookie()));
1349
+ }
1350
+ }
1351
+
1352
+ TPtr _callback;
1353
+
1354
+ private:
1355
+
1356
+ Exception _exception;
1357
+ Sent _sent;
1358
+ };
1359
+
1360
+ //
1361
+ // Base class for twoway operation callbacks.
1362
+ //
1363
+ template<class T>
1364
+ class TwowayCallbackNC : public CallbackNC<T>
1365
+ {
1366
+ public:
1367
+
1368
+ typedef IceUtil::Handle<T> TPtr;
1369
+
1370
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1371
+ typedef void (T::*Sent)(bool);
1372
+
1373
+ TwowayCallbackNC(const TPtr& instance, bool cb, Exception excb, Sent sentcb) : CallbackNC<T>(instance, excb, sentcb)
1374
+ {
1375
+ CallbackBase::checkCallback(instance, cb || excb != 0);
1376
+ }
1377
+ };
1378
+
1379
+ template<class T, typename CT>
1380
+ class TwowayCallback : public Callback<T, CT>
1381
+ {
1382
+ public:
1383
+
1384
+ typedef IceUtil::Handle<T> TPtr;
1385
+
1386
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1387
+ typedef void (T::*Sent)(bool, const CT&);
1388
+
1389
+ TwowayCallback(const TPtr& instance, bool cb, Exception excb, Sent sentcb) : Callback<T, CT>(instance, excb, sentcb)
1390
+ {
1391
+ CallbackBase::checkCallback(instance, cb || excb != 0);
1392
+ }
1393
+ };
1394
+
1395
+ //
1396
+ // Base template class for oneway operations callbacks.
1397
+ //
1398
+ template<class T>
1399
+ class OnewayCallbackNC : public CallbackNC<T>
1400
+ {
1401
+ public:
1402
+
1403
+ typedef IceUtil::Handle<T> TPtr;
1404
+
1405
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1406
+ typedef void (T::*Sent)(bool);
1407
+ typedef void (T::*Response)();
1408
+
1409
+ OnewayCallbackNC(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1410
+ CallbackNC<T>(instance, excb, sentcb), _response(cb)
1411
+ {
1412
+ CallbackBase::checkCallback(instance, cb != 0 || excb != 0);
1413
+ }
1414
+
1415
+ virtual void completed(const ::Ice::AsyncResultPtr& result) const
1416
+ {
1417
+ try
1418
+ {
1419
+ result->getProxy()->__end(result, result->getOperation());
1420
+ }
1421
+ catch(const ::Ice::Exception& ex)
1422
+ {
1423
+ CallbackNC<T>::exception(result, ex);
1424
+ return;
1425
+ }
1426
+ if(_response)
1427
+ {
1428
+ (CallbackNC<T>::_callback.get()->*_response)();
1429
+ }
1430
+ }
1431
+
1432
+ private:
1433
+
1434
+ Response _response;
1435
+ };
1436
+
1437
+ template<class T, typename CT>
1438
+ class OnewayCallback : public Callback<T, CT>
1439
+ {
1440
+ public:
1441
+
1442
+ typedef IceUtil::Handle<T> TPtr;
1443
+
1444
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1445
+ typedef void (T::*Sent)(bool, const CT&);
1446
+ typedef void (T::*Response)(const CT&);
1447
+
1448
+ OnewayCallback(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1449
+ Callback<T, CT>(instance, excb, sentcb), _response(cb)
1450
+ {
1451
+ CallbackBase::checkCallback(instance, cb != 0 || excb != 0);
1452
+ }
1453
+
1454
+ virtual void completed(const ::Ice::AsyncResultPtr& result) const
1455
+ {
1456
+ try
1457
+ {
1458
+ result->getProxy()->__end(result, result->getOperation());
1459
+ }
1460
+ catch(const ::Ice::Exception& ex)
1461
+ {
1462
+ Callback<T, CT>::exception(result, ex);
1463
+ return;
1464
+ }
1465
+ if(_response)
1466
+ {
1467
+ (Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
1468
+ }
1469
+ }
1470
+
1471
+ private:
1472
+
1473
+ Response _response;
1474
+ };
1475
+
1476
+ }
1477
+
1478
+ namespace Ice
1479
+ {
1480
+
1481
+ template<class T>
1482
+ class CallbackNC_Object_ice_isA : public Callback_Object_ice_isA_Base, public ::IceInternal::TwowayCallbackNC<T>
1483
+ {
1484
+ public:
1485
+
1486
+ typedef IceUtil::Handle<T> TPtr;
1487
+
1488
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1489
+ typedef void (T::*Sent)(bool);
1490
+ typedef void (T::*Response)(bool);
1491
+
1492
+ CallbackNC_Object_ice_isA(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1493
+ ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
1494
+ {
1495
+ }
1496
+
1497
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1498
+ {
1499
+ bool __ret;
1500
+ try
1501
+ {
1502
+ __ret = __result->getProxy()->end_ice_isA(__result);
1503
+ }
1504
+ catch(const ::Ice::Exception& ex)
1505
+ {
1506
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1507
+ return;
1508
+ }
1509
+ if(_response)
1510
+ {
1511
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(__ret);
1512
+ }
1513
+ }
1514
+
1515
+ private:
1516
+
1517
+ Response _response;
1518
+ };
1519
+
1520
+ template<class T, typename CT>
1521
+ class Callback_Object_ice_isA : public Callback_Object_ice_isA_Base, public ::IceInternal::TwowayCallback<T, CT>
1522
+ {
1523
+ public:
1524
+
1525
+ typedef IceUtil::Handle<T> TPtr;
1526
+
1527
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1528
+ typedef void (T::*Sent)(bool, const CT&);
1529
+ typedef void (T::*Response)(bool, const CT&);
1530
+
1531
+ Callback_Object_ice_isA(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1532
+ ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
1533
+ {
1534
+ }
1535
+
1536
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1537
+ {
1538
+ bool __ret;
1539
+ try
1540
+ {
1541
+ __ret = __result->getProxy()->end_ice_isA(__result);
1542
+ }
1543
+ catch(const ::Ice::Exception& ex)
1544
+ {
1545
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1546
+ return;
1547
+ }
1548
+ if(_response)
1549
+ {
1550
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(__ret,
1551
+ CT::dynamicCast(__result->getCookie()));
1552
+ }
1553
+ }
1554
+
1555
+ private:
1556
+
1557
+ Response _response;
1558
+ };
1559
+
1560
+ template<class T>
1561
+ class CallbackNC_Object_ice_ping : public Callback_Object_ice_ping_Base, public ::IceInternal::OnewayCallbackNC<T>
1562
+ {
1563
+ public:
1564
+
1565
+ typedef IceUtil::Handle<T> TPtr;
1566
+
1567
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1568
+ typedef void (T::*Sent)(bool);
1569
+ typedef void (T::*Response)();
1570
+
1571
+ CallbackNC_Object_ice_ping(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1572
+ ::IceInternal::OnewayCallbackNC<T>(instance, cb, excb, sentcb)
1573
+ {
1574
+ }
1575
+ };
1576
+
1577
+ template<class T, typename CT>
1578
+ class Callback_Object_ice_ping : public Callback_Object_ice_ping_Base, public ::IceInternal::OnewayCallback<T, CT>
1579
+ {
1580
+ public:
1581
+
1582
+ typedef IceUtil::Handle<T> TPtr;
1583
+
1584
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1585
+ typedef void (T::*Sent)(bool, const CT&);
1586
+ typedef void (T::*Response)(const CT&);
1587
+
1588
+ Callback_Object_ice_ping(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1589
+ ::IceInternal::OnewayCallback<T, CT>(instance, cb, excb, sentcb)
1590
+ {
1591
+ }
1592
+ };
1593
+
1594
+ template<class T>
1595
+ class CallbackNC_Object_ice_ids : public Callback_Object_ice_ids_Base, public ::IceInternal::TwowayCallbackNC<T>
1596
+ {
1597
+ public:
1598
+
1599
+ typedef IceUtil::Handle<T> TPtr;
1600
+
1601
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1602
+ typedef void (T::*Sent)(bool);
1603
+ typedef void (T::*Response)(const ::std::vector< ::std::string>&);
1604
+
1605
+ CallbackNC_Object_ice_ids(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1606
+ ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
1607
+ {
1608
+ }
1609
+
1610
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1611
+ {
1612
+ ::std::vector< ::std::string> __ret;
1613
+ try
1614
+ {
1615
+ __ret = __result->getProxy()->end_ice_ids(__result);
1616
+ }
1617
+ catch(const ::Ice::Exception& ex)
1618
+ {
1619
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1620
+ return;
1621
+ }
1622
+ if(_response)
1623
+ {
1624
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(__ret);
1625
+ }
1626
+ }
1627
+
1628
+ private:
1629
+
1630
+ Response _response;
1631
+ };
1632
+
1633
+ template<class T, typename CT>
1634
+ class Callback_Object_ice_ids : public Callback_Object_ice_ids_Base, public ::IceInternal::TwowayCallback<T, CT>
1635
+ {
1636
+ public:
1637
+
1638
+ typedef IceUtil::Handle<T> TPtr;
1639
+
1640
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1641
+ typedef void (T::*Sent)(bool, const CT&);
1642
+ typedef void (T::*Response)(const ::std::vector< ::std::string>&, const CT&);
1643
+
1644
+ Callback_Object_ice_ids(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1645
+ ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
1646
+ {
1647
+ }
1648
+
1649
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1650
+ {
1651
+ ::std::vector< ::std::string> __ret;
1652
+ try
1653
+ {
1654
+ __ret = __result->getProxy()->end_ice_ids(__result);
1655
+ }
1656
+ catch(const ::Ice::Exception& ex)
1657
+ {
1658
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1659
+ return;
1660
+ }
1661
+ if(_response)
1662
+ {
1663
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(__ret,
1664
+ CT::dynamicCast(__result->getCookie()));
1665
+ }
1666
+ }
1667
+
1668
+ private:
1669
+
1670
+ Response _response;
1671
+ };
1672
+
1673
+ template<class T>
1674
+ class CallbackNC_Object_ice_id : public Callback_Object_ice_id_Base, public ::IceInternal::TwowayCallbackNC<T>
1675
+ {
1676
+ public:
1677
+
1678
+ typedef IceUtil::Handle<T> TPtr;
1679
+
1680
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1681
+ typedef void (T::*Sent)(bool);
1682
+ typedef void (T::*Response)(const ::std::string&);
1683
+
1684
+ CallbackNC_Object_ice_id(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1685
+ ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb)
1686
+ {
1687
+ }
1688
+
1689
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1690
+ {
1691
+ ::std::string __ret;
1692
+ try
1693
+ {
1694
+ __ret = __result->getProxy()->end_ice_id(__result);
1695
+ }
1696
+ catch(const ::Ice::Exception& ex)
1697
+ {
1698
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1699
+ return;
1700
+ }
1701
+ if(_response)
1702
+ {
1703
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(__ret);
1704
+ }
1705
+ }
1706
+
1707
+ private:
1708
+
1709
+ Response _response;
1710
+ };
1711
+
1712
+ template<class T, typename CT>
1713
+ class Callback_Object_ice_id : public Callback_Object_ice_id_Base, public ::IceInternal::TwowayCallback<T, CT>
1714
+ {
1715
+ public:
1716
+
1717
+ typedef IceUtil::Handle<T> TPtr;
1718
+
1719
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1720
+ typedef void (T::*Sent)(bool, const CT&);
1721
+ typedef void (T::*Response)(const ::std::string&, const CT&);
1722
+
1723
+ Callback_Object_ice_id(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1724
+ ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb)
1725
+ {
1726
+ }
1727
+
1728
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1729
+ {
1730
+ ::std::string __ret;
1731
+ try
1732
+ {
1733
+ __ret = __result->getProxy()->end_ice_id(__result);
1734
+ }
1735
+ catch(const ::Ice::Exception& ex)
1736
+ {
1737
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1738
+ return;
1739
+ }
1740
+ if(_response)
1741
+ {
1742
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(__ret,
1743
+ CT::dynamicCast(__result->getCookie()));
1744
+ }
1745
+ }
1746
+
1747
+ private:
1748
+
1749
+ Response _response;
1750
+ };
1751
+
1752
+ template<class T>
1753
+ class CallbackNC_Object_ice_invoke : public Callback_Object_ice_invoke_Base, public ::IceInternal::TwowayCallbackNC<T>
1754
+ {
1755
+ public:
1756
+
1757
+ typedef IceUtil::Handle<T> TPtr;
1758
+
1759
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1760
+ typedef void (T::*Sent)(bool);
1761
+ typedef void (T::*Response)(bool, const std::vector< ::Ice::Byte>&);
1762
+ typedef void (T::*ResponseArray)(bool, const std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&);
1763
+
1764
+ CallbackNC_Object_ice_invoke(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1765
+ ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(cb), _responseArray(0)
1766
+ {
1767
+ }
1768
+
1769
+ CallbackNC_Object_ice_invoke(const TPtr& instance, ResponseArray cb, Exception excb, Sent sentcb) :
1770
+ ::IceInternal::TwowayCallbackNC<T>(instance, cb != 0, excb, sentcb), _response(0), _responseArray(cb)
1771
+ {
1772
+ }
1773
+
1774
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1775
+ {
1776
+ if(_response)
1777
+ {
1778
+ bool __ok;
1779
+ std::vector< ::Ice::Byte> outParams;
1780
+ try
1781
+ {
1782
+ __ok = __result->getProxy()->end_ice_invoke(outParams, __result);
1783
+ }
1784
+ catch(const ::Ice::Exception& ex)
1785
+ {
1786
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1787
+ return;
1788
+ }
1789
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(__ok, outParams);
1790
+ }
1791
+ else
1792
+ {
1793
+ bool __ok;
1794
+ std::pair<const ::Ice::Byte*, const::Ice::Byte*> outParams;
1795
+ try
1796
+ {
1797
+ __ok = __result->getProxy()->___end_ice_invoke(outParams, __result);
1798
+ }
1799
+ catch(const ::Ice::Exception& ex)
1800
+ {
1801
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1802
+ return;
1803
+ }
1804
+ if(_responseArray)
1805
+ {
1806
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_responseArray)(__ok, outParams);
1807
+ }
1808
+ }
1809
+ }
1810
+
1811
+ private:
1812
+
1813
+ Response _response;
1814
+ ResponseArray _responseArray;
1815
+ };
1816
+
1817
+ template<class T, typename CT>
1818
+ class Callback_Object_ice_invoke : public Callback_Object_ice_invoke_Base, public ::IceInternal::TwowayCallback<T, CT>
1819
+ {
1820
+ public:
1821
+
1822
+ typedef IceUtil::Handle<T> TPtr;
1823
+
1824
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1825
+ typedef void (T::*Sent)(bool, const CT&);
1826
+ typedef void (T::*Response)(bool, const std::vector< ::Ice::Byte>&, const CT&);
1827
+ typedef void (T::*ResponseArray)(bool, const std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&, const CT&);
1828
+
1829
+ Callback_Object_ice_invoke(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1830
+ ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(cb), _responseArray(0)
1831
+ {
1832
+ }
1833
+
1834
+ Callback_Object_ice_invoke(const TPtr& instance, ResponseArray cb, Exception excb, Sent sentcb) :
1835
+ ::IceInternal::TwowayCallback<T, CT>(instance, cb != 0, excb, sentcb), _response(0), _responseArray(cb)
1836
+ {
1837
+ }
1838
+
1839
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1840
+ {
1841
+ if(_response)
1842
+ {
1843
+ bool __ok;
1844
+ std::vector< ::Ice::Byte> outParams;
1845
+ try
1846
+ {
1847
+ __ok = __result->getProxy()->end_ice_invoke(outParams, __result);
1848
+ }
1849
+ catch(const ::Ice::Exception& ex)
1850
+ {
1851
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1852
+ return;
1853
+ }
1854
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(__ok,
1855
+ outParams,
1856
+ CT::dynamicCast(__result->getCookie()));
1857
+ }
1858
+ else
1859
+ {
1860
+ bool __ok;
1861
+ std::pair<const ::Ice::Byte*, const::Ice::Byte*> outParams;
1862
+ try
1863
+ {
1864
+ __ok = __result->getProxy()->___end_ice_invoke(outParams, __result);
1865
+ }
1866
+ catch(const ::Ice::Exception& ex)
1867
+ {
1868
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1869
+ return;
1870
+ }
1871
+ if(_responseArray)
1872
+ {
1873
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_responseArray)(__ok,
1874
+ outParams,
1875
+ CT::dynamicCast(
1876
+ __result->getCookie()));
1877
+ }
1878
+ }
1879
+ }
1880
+
1881
+ private:
1882
+
1883
+ Response _response;
1884
+ ResponseArray _responseArray;
1885
+ };
1886
+
1887
+ template<class T>
1888
+ class CallbackNC_Object_ice_getConnection : public Callback_Object_ice_getConnection_Base,
1889
+ public ::IceInternal::CallbackNC<T>
1890
+ {
1891
+ public:
1892
+
1893
+ typedef IceUtil::Handle<T> TPtr;
1894
+
1895
+ typedef void (T::*Response)(const ::Ice::ConnectionPtr&);
1896
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1897
+ typedef void (T::*Sent)(bool);
1898
+
1899
+ CallbackNC_Object_ice_getConnection(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1900
+ ::IceInternal::CallbackNC<T>(instance, excb, sentcb), _response(cb)
1901
+ {
1902
+ }
1903
+
1904
+
1905
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1906
+ {
1907
+ ::Ice::ConnectionPtr __ret;
1908
+ try
1909
+ {
1910
+ __ret = __result->getProxy()->end_ice_getConnection(__result);
1911
+ }
1912
+ catch(const ::Ice::Exception& ex)
1913
+ {
1914
+ ::IceInternal::CallbackNC<T>::exception(__result, ex);
1915
+ return;
1916
+ }
1917
+ if(_response)
1918
+ {
1919
+ (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(__ret);
1920
+ }
1921
+ }
1922
+
1923
+ private:
1924
+
1925
+ Response _response;
1926
+ };
1927
+
1928
+ template<class T, typename CT>
1929
+ class Callback_Object_ice_getConnection : public Callback_Object_ice_getConnection_Base,
1930
+ public ::IceInternal::Callback<T, CT>
1931
+ {
1932
+ public:
1933
+
1934
+ typedef IceUtil::Handle<T> TPtr;
1935
+
1936
+ typedef void (T::*Response)(const ::Ice::ConnectionPtr&, const CT&);
1937
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1938
+ typedef void (T::*Sent)(bool, const CT&);
1939
+
1940
+ Callback_Object_ice_getConnection(const TPtr& instance, Response cb, Exception excb, Sent sentcb) :
1941
+ ::IceInternal::Callback<T, CT>(instance, excb, sentcb), _response(cb)
1942
+ {
1943
+ }
1944
+
1945
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1946
+ {
1947
+ ::Ice::ConnectionPtr __ret;
1948
+ try
1949
+ {
1950
+ __ret = __result->getProxy()->end_ice_getConnection(__result);
1951
+ }
1952
+ catch(const ::Ice::Exception& ex)
1953
+ {
1954
+ ::IceInternal::Callback<T, CT>::exception(__result, ex);
1955
+ return;
1956
+ }
1957
+ if(_response)
1958
+ {
1959
+ (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(__ret,
1960
+ CT::dynamicCast(__result->getCookie()));
1961
+ }
1962
+ }
1963
+
1964
+ private:
1965
+
1966
+ Response _response;
1967
+ };
1968
+
1969
+ template<class T>
1970
+ class CallbackNC_Object_ice_flushBatchRequests : public Callback_Object_ice_flushBatchRequests_Base,
1971
+ public ::IceInternal::OnewayCallbackNC<T>
1972
+ {
1973
+ public:
1974
+
1975
+ typedef IceUtil::Handle<T> TPtr;
1976
+
1977
+ typedef void (T::*Exception)(const ::Ice::Exception&);
1978
+ typedef void (T::*Sent)(bool);
1979
+
1980
+ CallbackNC_Object_ice_flushBatchRequests(const TPtr& instance, Exception excb, Sent sentcb) :
1981
+ ::IceInternal::OnewayCallbackNC<T>(instance, 0, excb, sentcb)
1982
+ {
1983
+ }
1984
+ };
1985
+
1986
+ template<class T, typename CT>
1987
+ class Callback_Object_ice_flushBatchRequests : public Callback_Object_ice_flushBatchRequests_Base,
1988
+ public ::IceInternal::OnewayCallback<T, CT>
1989
+ {
1990
+ public:
1991
+
1992
+ typedef IceUtil::Handle<T> TPtr;
1993
+
1994
+ typedef void (T::*Exception)(const ::Ice::Exception&, const CT&);
1995
+ typedef void (T::*Sent)(bool, const CT&);
1996
+
1997
+ Callback_Object_ice_flushBatchRequests(const TPtr& instance, Exception excb, Sent sentcb) :
1998
+ ::IceInternal::OnewayCallback<T, CT>(instance, 0, excb, sentcb)
1999
+ {
2000
+ }
2001
+ };
2002
+
2003
+ template<class T> Callback_Object_ice_isAPtr
2004
+ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
2005
+ void (T::*cb)(bool),
2006
+ void (T::*excb)(const ::Ice::Exception&),
2007
+ void (T::*sentcb)(bool) = 0)
2008
+ {
2009
+ return new CallbackNC_Object_ice_isA<T>(instance, cb, excb, sentcb);
2010
+ }
2011
+
2012
+ template<class T, typename CT> Callback_Object_ice_isAPtr
2013
+ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
2014
+ void (T::*cb)(bool, const CT&),
2015
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2016
+ void (T::*sentcb)(bool, const CT&) = 0)
2017
+ {
2018
+ return new Callback_Object_ice_isA<T, CT>(instance, cb, excb, sentcb);
2019
+ }
2020
+
2021
+ template<class T> Callback_Object_ice_isAPtr
2022
+ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
2023
+ void (T::*excb)(const ::Ice::Exception&),
2024
+ void (T::*sentcb)(bool) = 0)
2025
+ {
2026
+ return new CallbackNC_Object_ice_isA<T>(instance, 0, excb, sentcb);
2027
+ }
2028
+
2029
+ template<class T, typename CT> Callback_Object_ice_isAPtr
2030
+ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
2031
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2032
+ void (T::*sentcb)(bool, const CT&) = 0)
2033
+ {
2034
+ return new Callback_Object_ice_isA<T, CT>(instance, 0, excb, sentcb);
2035
+ }
2036
+
2037
+ template<class T> Callback_Object_ice_isAPtr
2038
+ newCallback_Object_ice_isA(T* instance,
2039
+ void (T::*cb)(bool),
2040
+ void (T::*excb)(const ::Ice::Exception&),
2041
+ void (T::*sentcb)(bool) = 0)
2042
+ {
2043
+ return new CallbackNC_Object_ice_isA<T>(instance, cb, excb, sentcb);
2044
+ }
2045
+
2046
+ template<class T, typename CT> Callback_Object_ice_isAPtr
2047
+ newCallback_Object_ice_isA(T* instance,
2048
+ void (T::*cb)(bool, const CT&),
2049
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2050
+ void (T::*sentcb)(bool, const CT&) = 0)
2051
+ {
2052
+ return new Callback_Object_ice_isA<T, CT>(instance, cb, excb, sentcb);
2053
+ }
2054
+
2055
+ template<class T> Callback_Object_ice_isAPtr
2056
+ newCallback_Object_ice_isA(T* instance,
2057
+ void (T::*excb)(const ::Ice::Exception&),
2058
+ void (T::*sentcb)(bool) = 0)
2059
+ {
2060
+ return new CallbackNC_Object_ice_isA<T>(instance, 0, excb, sentcb);
2061
+ }
2062
+
2063
+ template<class T, typename CT> Callback_Object_ice_isAPtr
2064
+ newCallback_Object_ice_isA(T* instance,
2065
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2066
+ void (T::*sentcb)(bool, const CT&) = 0)
2067
+ {
2068
+ return new Callback_Object_ice_isA<T, CT>(instance, 0, excb, sentcb);
2069
+ }
2070
+
2071
+ template<class T> Callback_Object_ice_pingPtr
2072
+ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
2073
+ void (T::*cb)(),
2074
+ void (T::*excb)(const ::Ice::Exception&),
2075
+ void (T::*sentcb)(bool) = 0)
2076
+ {
2077
+ return new CallbackNC_Object_ice_ping<T>(instance, cb, excb, sentcb);
2078
+ }
2079
+
2080
+ template<class T, typename CT> Callback_Object_ice_pingPtr
2081
+ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
2082
+ void (T::*cb)(const CT&),
2083
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2084
+ void (T::*sentcb)(bool, const CT&) = 0)
2085
+ {
2086
+ return new Callback_Object_ice_ping<T, CT>(instance, cb, excb, sentcb);
2087
+ }
2088
+
2089
+ template<class T> Callback_Object_ice_pingPtr
2090
+ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
2091
+ void (T::*excb)(const ::Ice::Exception&),
2092
+ void (T::*sentcb)(bool) = 0)
2093
+ {
2094
+ return new CallbackNC_Object_ice_ping<T>(instance, 0, excb, sentcb);
2095
+ }
2096
+
2097
+ template<class T, typename CT> Callback_Object_ice_pingPtr
2098
+ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
2099
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2100
+ void (T::*sentcb)(bool, const CT&) = 0)
2101
+ {
2102
+ return new Callback_Object_ice_ping<T, CT>(instance, 0, excb, sentcb);
2103
+ }
2104
+
2105
+ template<class T> Callback_Object_ice_pingPtr
2106
+ newCallback_Object_ice_ping(T* instance,
2107
+ void (T::*cb)(),
2108
+ void (T::*excb)(const ::Ice::Exception&),
2109
+ void (T::*sentcb)(bool) = 0)
2110
+ {
2111
+ return new CallbackNC_Object_ice_ping<T>(instance, cb, excb, sentcb);
2112
+ }
2113
+
2114
+ template<class T, typename CT> Callback_Object_ice_pingPtr
2115
+ newCallback_Object_ice_ping(T* instance,
2116
+ void (T::*cb)(const CT&),
2117
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2118
+ void (T::*sentcb)(bool, const CT&) = 0)
2119
+ {
2120
+ return new Callback_Object_ice_ping<T, CT>(instance, cb, excb, sentcb);
2121
+ }
2122
+
2123
+ template<class T> Callback_Object_ice_pingPtr
2124
+ newCallback_Object_ice_ping(T* instance,
2125
+ void (T::*excb)(const ::Ice::Exception&),
2126
+ void (T::*sentcb)(bool) = 0)
2127
+ {
2128
+ return new CallbackNC_Object_ice_ping<T>(instance, 0, excb, sentcb);
2129
+ }
2130
+
2131
+ template<class T, typename CT> Callback_Object_ice_pingPtr
2132
+ newCallback_Object_ice_ping(T* instance,
2133
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2134
+ void (T::*sentcb)(bool, const CT&) = 0)
2135
+ {
2136
+ return new Callback_Object_ice_ping<T, CT>(instance, 0, excb, sentcb);
2137
+ }
2138
+
2139
+ template<class T> Callback_Object_ice_idsPtr
2140
+ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
2141
+ void (T::*cb)(const ::std::vector< ::std::string>&),
2142
+ void (T::*excb)(const ::Ice::Exception&),
2143
+ void (T::*sentcb)(bool) = 0)
2144
+ {
2145
+ return new CallbackNC_Object_ice_ids<T>(instance, cb, excb, sentcb);
2146
+ }
2147
+
2148
+ template<class T, typename CT> Callback_Object_ice_idsPtr
2149
+ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
2150
+ void (T::*cb)(const ::std::vector< ::std::string>&, const CT&),
2151
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2152
+ void (T::*sentcb)(bool, const CT&) = 0)
2153
+ {
2154
+ return new Callback_Object_ice_ids<T, CT>(instance, cb, excb, sentcb);
2155
+ }
2156
+
2157
+ template<class T> Callback_Object_ice_idsPtr
2158
+ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
2159
+ void (T::*excb)(const ::Ice::Exception&),
2160
+ void (T::*sentcb)(bool) = 0)
2161
+ {
2162
+ return new CallbackNC_Object_ice_ids<T>(instance, 0, excb, sentcb);
2163
+ }
2164
+
2165
+ template<class T, typename CT> Callback_Object_ice_idsPtr
2166
+ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
2167
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2168
+ void (T::*sentcb)(bool, const CT&) = 0)
2169
+ {
2170
+ return new Callback_Object_ice_ids<T, CT>(instance, 0, excb, sentcb);
2171
+ }
2172
+
2173
+ template<class T> Callback_Object_ice_idsPtr
2174
+ newCallback_Object_ice_ids(T* instance,
2175
+ void (T::*cb)(const ::std::vector< ::std::string>&),
2176
+ void (T::*excb)(const ::Ice::Exception&),
2177
+ void (T::*sentcb)(bool) = 0)
2178
+ {
2179
+ return new CallbackNC_Object_ice_ids<T>(instance, cb, excb, sentcb);
2180
+ }
2181
+
2182
+ template<class T, typename CT> Callback_Object_ice_idsPtr
2183
+ newCallback_Object_ice_ids(T* instance,
2184
+ void (T::*cb)(const ::std::vector< ::std::string>&, const CT&),
2185
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2186
+ void (T::*sentcb)(bool, const CT&) = 0)
2187
+ {
2188
+ return new Callback_Object_ice_ids<T, CT>(instance, cb, excb, sentcb);
2189
+ }
2190
+
2191
+ template<class T> Callback_Object_ice_idsPtr
2192
+ newCallback_Object_ice_ids(T* instance,
2193
+ void (T::*excb)(const ::Ice::Exception&),
2194
+ void (T::*sentcb)(bool) = 0)
2195
+ {
2196
+ return new CallbackNC_Object_ice_ids<T>(instance, 0, excb, sentcb);
2197
+ }
2198
+
2199
+ template<class T, typename CT> Callback_Object_ice_idsPtr
2200
+ newCallback_Object_ice_ids(T* instance,
2201
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2202
+ void (T::*sentcb)(bool, const CT&) = 0)
2203
+ {
2204
+ return new Callback_Object_ice_ids<T, CT>(instance, 0, excb, sentcb);
2205
+ }
2206
+
2207
+ template<class T> Callback_Object_ice_idPtr
2208
+ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
2209
+ void (T::*cb)(const ::std::string&),
2210
+ void (T::*excb)(const ::Ice::Exception&),
2211
+ void (T::*sentcb)(bool) = 0)
2212
+ {
2213
+ return new CallbackNC_Object_ice_id<T>(instance, cb, excb, sentcb);
2214
+ }
2215
+
2216
+ template<class T, typename CT> Callback_Object_ice_idPtr
2217
+ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
2218
+ void (T::*cb)(const ::std::string&, const CT&),
2219
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2220
+ void (T::*sentcb)(bool, const CT&) = 0)
2221
+ {
2222
+ return new Callback_Object_ice_id<T, CT>(instance, cb, excb, sentcb);
2223
+ }
2224
+
2225
+ template<class T> Callback_Object_ice_idPtr
2226
+ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
2227
+ void (T::*excb)(const ::Ice::Exception&),
2228
+ void (T::*sentcb)(bool) = 0)
2229
+ {
2230
+ return new CallbackNC_Object_ice_id<T>(instance, 0, excb, sentcb);
2231
+ }
2232
+
2233
+ template<class T, typename CT> Callback_Object_ice_idPtr
2234
+ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
2235
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2236
+ void (T::*sentcb)(bool, const CT&) = 0)
2237
+ {
2238
+ return new Callback_Object_ice_id<T, CT>(instance, 0, excb, sentcb);
2239
+ }
2240
+
2241
+ template<class T> Callback_Object_ice_idPtr
2242
+ newCallback_Object_ice_id(T* instance,
2243
+ void (T::*cb)(const ::std::string&),
2244
+ void (T::*excb)(const ::Ice::Exception&),
2245
+ void (T::*sentcb)(bool) = 0)
2246
+ {
2247
+ return new CallbackNC_Object_ice_id<T>(instance, cb, excb, sentcb);
2248
+ }
2249
+
2250
+ template<class T, typename CT> Callback_Object_ice_idPtr
2251
+ newCallback_Object_ice_id(T* instance,
2252
+ void (T::*cb)(const ::std::string&, const CT&),
2253
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2254
+ void (T::*sentcb)(bool, const CT&) = 0)
2255
+ {
2256
+ return new Callback_Object_ice_id<T, CT>(instance, cb, excb, sentcb);
2257
+ }
2258
+
2259
+ template<class T> Callback_Object_ice_idPtr
2260
+ newCallback_Object_ice_id(T* instance,
2261
+ void (T::*excb)(const ::Ice::Exception&),
2262
+ void (T::*sentcb)(bool) = 0)
2263
+ {
2264
+ return new CallbackNC_Object_ice_id<T>(instance, 0, excb, sentcb);
2265
+ }
2266
+
2267
+ template<class T, typename CT> Callback_Object_ice_idPtr
2268
+ newCallback_Object_ice_id(T* instance,
2269
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2270
+ void (T::*sentcb)(bool, const CT&) = 0)
2271
+ {
2272
+ return new Callback_Object_ice_id<T, CT>(instance, 0, excb, sentcb);
2273
+ }
2274
+
2275
+ template<class T> Callback_Object_ice_invokePtr
2276
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2277
+ void (T::*cb)(bool, const std::vector<Ice::Byte>&),
2278
+ void (T::*excb)(const ::Ice::Exception&),
2279
+ void (T::*sentcb)(bool) = 0)
2280
+ {
2281
+ return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
2282
+ }
2283
+
2284
+ template<class T> Callback_Object_ice_invokePtr
2285
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2286
+ void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&),
2287
+ void (T::*excb)(const ::Ice::Exception&),
2288
+ void (T::*sentcb)(bool) = 0)
2289
+ {
2290
+ return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
2291
+ }
2292
+
2293
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2294
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2295
+ void (T::*cb)(bool, const std::vector<Ice::Byte>&, const CT&),
2296
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2297
+ void (T::*sentcb)(bool, const CT&) = 0)
2298
+ {
2299
+ return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
2300
+ }
2301
+
2302
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2303
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2304
+ void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&,
2305
+ const CT&),
2306
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2307
+ void (T::*sentcb)(bool, const CT&) = 0)
2308
+ {
2309
+ return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
2310
+ }
2311
+
2312
+ template<class T> Callback_Object_ice_invokePtr
2313
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2314
+ void (T::*excb)(const ::Ice::Exception&),
2315
+ void (T::*sentcb)(bool) = 0)
2316
+ {
2317
+ return new CallbackNC_Object_ice_invoke<T>(instance, 0, excb, sentcb);
2318
+ }
2319
+
2320
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2321
+ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
2322
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2323
+ void (T::*sentcb)(bool, const CT&) = 0)
2324
+ {
2325
+ return new Callback_Object_ice_invoke<T, CT>(instance, 0, excb, sentcb);
2326
+ }
2327
+
2328
+ template<class T> Callback_Object_ice_invokePtr
2329
+ newCallback_Object_ice_invoke(T* instance,
2330
+ void (T::*cb)(bool, const std::vector<Ice::Byte>&),
2331
+ void (T::*excb)(const ::Ice::Exception&),
2332
+ void (T::*sentcb)(bool) = 0)
2333
+ {
2334
+ return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
2335
+ }
2336
+
2337
+ template<class T> Callback_Object_ice_invokePtr
2338
+ newCallback_Object_ice_invoke(T* instance,
2339
+ void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&),
2340
+ void (T::*excb)(const ::Ice::Exception&),
2341
+ void (T::*sentcb)(bool) = 0)
2342
+ {
2343
+ return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
2344
+ }
2345
+
2346
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2347
+ newCallback_Object_ice_invoke(T* instance,
2348
+ void (T::*cb)(bool, const std::vector<Ice::Byte>&, const CT&),
2349
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2350
+ void (T::*sentcb)(bool, const CT&) = 0)
2351
+ {
2352
+ return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
2353
+ }
2354
+
2355
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2356
+ newCallback_Object_ice_invoke(T* instance,
2357
+ void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&, const CT&),
2358
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2359
+ void (T::*sentcb)(bool, const CT&) = 0)
2360
+ {
2361
+ return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
2362
+ }
2363
+
2364
+ template<class T> Callback_Object_ice_invokePtr
2365
+ newCallback_Object_ice_invoke(T* instance,
2366
+ void (T::*excb)(const ::Ice::Exception&),
2367
+ void (T::*sentcb)(bool) = 0)
2368
+ {
2369
+ return new CallbackNC_Object_ice_invoke<T>(
2370
+ instance, static_cast<void (T::*)(bool, const std::vector<Ice::Byte>&)>(0), excb, sentcb);
2371
+ }
2372
+
2373
+ template<class T, typename CT> Callback_Object_ice_invokePtr
2374
+ newCallback_Object_ice_invoke(T* instance,
2375
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2376
+ void (T::*sentcb)(bool, const CT&) = 0)
2377
+ {
2378
+ return new Callback_Object_ice_invoke<T, CT>(
2379
+ instance, static_cast<void (T::*)(bool, const std::vector<Ice::Byte>&, const CT&)>(0), excb, sentcb);
2380
+ }
2381
+
2382
+ template<class T> Callback_Object_ice_getConnectionPtr
2383
+ newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
2384
+ void (T::*cb)(const ::Ice::ConnectionPtr&),
2385
+ void (T::*excb)(const ::Ice::Exception&))
2386
+ {
2387
+ return new CallbackNC_Object_ice_getConnection<T>(instance, cb, excb, 0);
2388
+ }
2389
+
2390
+ template<class T, typename CT> Callback_Object_ice_getConnectionPtr
2391
+ newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
2392
+ void (T::*cb)(const ::Ice::ConnectionPtr&, const CT&),
2393
+ void (T::*excb)(const ::Ice::Exception&, const CT&))
2394
+ {
2395
+ return new Callback_Object_ice_getConnection<T, CT>(instance, cb, excb, 0);
2396
+ }
2397
+
2398
+ template<class T> Callback_Object_ice_getConnectionPtr
2399
+ newCallback_Object_ice_getConnection(T* instance,
2400
+ void (T::*cb)(const ::Ice::ConnectionPtr&),
2401
+ void (T::*excb)(const ::Ice::Exception&))
2402
+ {
2403
+ return new CallbackNC_Object_ice_getConnection<T>(instance, cb, excb, 0);
2404
+ }
2405
+
2406
+ template<class T, typename CT> Callback_Object_ice_getConnectionPtr
2407
+ newCallback_Object_ice_getConnection(T* instance,
2408
+ void (T::*cb)(const ::Ice::ConnectionPtr&, const CT&),
2409
+ void (T::*excb)(const ::Ice::Exception&, const CT&))
2410
+ {
2411
+ return new Callback_Object_ice_getConnection<T, CT>(instance, cb, excb, 0);
2412
+ }
2413
+
2414
+ template<class T> Callback_Object_ice_flushBatchRequestsPtr
2415
+ newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
2416
+ void (T::*excb)(const ::Ice::Exception&),
2417
+ void (T::*sentcb)(bool) = 0)
2418
+ {
2419
+ return new CallbackNC_Object_ice_flushBatchRequests<T>(instance, excb, sentcb);
2420
+ }
2421
+
2422
+ template<class T, typename CT> Callback_Object_ice_flushBatchRequestsPtr
2423
+ newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
2424
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2425
+ void (T::*sentcb)(bool, const CT&) = 0)
2426
+ {
2427
+ return new Callback_Object_ice_flushBatchRequests<T, CT>(instance, excb, sentcb);
2428
+ }
2429
+
2430
+ template<class T> Callback_Object_ice_flushBatchRequestsPtr
2431
+ newCallback_Object_ice_flushBatchRequests(T* instance,
2432
+ void (T::*excb)(const ::Ice::Exception&),
2433
+ void (T::*sentcb)(bool) = 0)
2434
+ {
2435
+ return new CallbackNC_Object_ice_flushBatchRequests<T>(instance, excb, sentcb);
2436
+ }
2437
+
2438
+ template<class T, typename CT> Callback_Object_ice_flushBatchRequestsPtr
2439
+ newCallback_Object_ice_flushBatchRequests(T* instance,
2440
+ void (T::*excb)(const ::Ice::Exception&, const CT&),
2441
+ void (T::*sentcb)(bool, const CT&) = 0)
2442
+ {
2443
+ return new Callback_Object_ice_flushBatchRequests<T, CT>(instance, excb, sentcb);
2444
+ }
2445
+
2446
+ }
2447
+
2448
+ #endif