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,29 @@
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
+ #include <Ice/LocalObject.h>
11
+
12
+ using namespace std;
13
+ using namespace Ice;
14
+ using namespace IceInternal;
15
+
16
+ IceUtil::Shared* Ice::upCast(LocalObject* obj) { return obj; }
17
+
18
+ bool
19
+ Ice::LocalObject::operator==(const LocalObject& r) const
20
+ {
21
+ return this == &r;
22
+ }
23
+
24
+ bool
25
+ Ice::LocalObject::operator<(const LocalObject& r) const
26
+ {
27
+ return this < &r;
28
+ }
29
+
@@ -0,0 +1,1946 @@
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 `Locator.ice'
15
+ //
16
+ // Warning: do not edit this file.
17
+ //
18
+ // </auto-generated>
19
+ //
20
+
21
+ #ifndef ICE_API_EXPORTS
22
+ # define ICE_API_EXPORTS
23
+ #endif
24
+ #include <Ice/Locator.h>
25
+ #include <IceUtil/PushDisableWarnings.h>
26
+ #include <Ice/LocalException.h>
27
+ #include <Ice/ObjectFactory.h>
28
+ #include <Ice/Outgoing.h>
29
+ #include <Ice/OutgoingAsync.h>
30
+ #include <Ice/BasicStream.h>
31
+ #include <IceUtil/Iterator.h>
32
+ #include <IceUtil/PopDisableWarnings.h>
33
+
34
+ #ifndef ICE_IGNORE_VERSION
35
+ # if ICE_INT_VERSION != 30651
36
+ # error Ice version mismatch: an exact match is required for beta generated code
37
+ # endif
38
+ #endif
39
+
40
+ namespace
41
+ {
42
+
43
+ const ::std::string __Ice__Locator__findObjectById_name = "findObjectById";
44
+
45
+ const ::std::string __Ice__Locator__findAdapterById_name = "findAdapterById";
46
+
47
+ const ::std::string __Ice__Locator__getRegistry_name = "getRegistry";
48
+
49
+ const ::std::string __Ice__LocatorRegistry__setAdapterDirectProxy_name = "setAdapterDirectProxy";
50
+
51
+ const ::std::string __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
52
+
53
+ const ::std::string __Ice__LocatorRegistry__setServerProcessProxy_name = "setServerProcessProxy";
54
+
55
+ const ::std::string __Ice__LocatorFinder__getLocator_name = "getLocator";
56
+
57
+ }
58
+
59
+ namespace
60
+ {
61
+
62
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterNotFoundException> __Ice__AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
63
+
64
+ }
65
+
66
+ Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
67
+ {
68
+ }
69
+
70
+ ::std::string
71
+ Ice::AdapterNotFoundException::ice_name() const
72
+ {
73
+ return "Ice::AdapterNotFoundException";
74
+ }
75
+
76
+ Ice::AdapterNotFoundException*
77
+ Ice::AdapterNotFoundException::ice_clone() const
78
+ {
79
+ return new AdapterNotFoundException(*this);
80
+ }
81
+
82
+ void
83
+ Ice::AdapterNotFoundException::ice_throw() const
84
+ {
85
+ throw *this;
86
+ }
87
+
88
+ void
89
+ Ice::AdapterNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
90
+ {
91
+ __os->startWriteSlice("::Ice::AdapterNotFoundException", -1, true);
92
+ __os->endWriteSlice();
93
+ }
94
+
95
+ void
96
+ Ice::AdapterNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
97
+ {
98
+ __is->startReadSlice();
99
+ __is->endReadSlice();
100
+ }
101
+
102
+ namespace
103
+ {
104
+
105
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> __Ice__InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
106
+
107
+ }
108
+
109
+ Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException() throw()
110
+ {
111
+ }
112
+
113
+ ::std::string
114
+ Ice::InvalidReplicaGroupIdException::ice_name() const
115
+ {
116
+ return "Ice::InvalidReplicaGroupIdException";
117
+ }
118
+
119
+ Ice::InvalidReplicaGroupIdException*
120
+ Ice::InvalidReplicaGroupIdException::ice_clone() const
121
+ {
122
+ return new InvalidReplicaGroupIdException(*this);
123
+ }
124
+
125
+ void
126
+ Ice::InvalidReplicaGroupIdException::ice_throw() const
127
+ {
128
+ throw *this;
129
+ }
130
+
131
+ void
132
+ Ice::InvalidReplicaGroupIdException::__writeImpl(::IceInternal::BasicStream* __os) const
133
+ {
134
+ __os->startWriteSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
135
+ __os->endWriteSlice();
136
+ }
137
+
138
+ void
139
+ Ice::InvalidReplicaGroupIdException::__readImpl(::IceInternal::BasicStream* __is)
140
+ {
141
+ __is->startReadSlice();
142
+ __is->endReadSlice();
143
+ }
144
+
145
+ namespace
146
+ {
147
+
148
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> __Ice__AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
149
+
150
+ }
151
+
152
+ Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException() throw()
153
+ {
154
+ }
155
+
156
+ ::std::string
157
+ Ice::AdapterAlreadyActiveException::ice_name() const
158
+ {
159
+ return "Ice::AdapterAlreadyActiveException";
160
+ }
161
+
162
+ Ice::AdapterAlreadyActiveException*
163
+ Ice::AdapterAlreadyActiveException::ice_clone() const
164
+ {
165
+ return new AdapterAlreadyActiveException(*this);
166
+ }
167
+
168
+ void
169
+ Ice::AdapterAlreadyActiveException::ice_throw() const
170
+ {
171
+ throw *this;
172
+ }
173
+
174
+ void
175
+ Ice::AdapterAlreadyActiveException::__writeImpl(::IceInternal::BasicStream* __os) const
176
+ {
177
+ __os->startWriteSlice("::Ice::AdapterAlreadyActiveException", -1, true);
178
+ __os->endWriteSlice();
179
+ }
180
+
181
+ void
182
+ Ice::AdapterAlreadyActiveException::__readImpl(::IceInternal::BasicStream* __is)
183
+ {
184
+ __is->startReadSlice();
185
+ __is->endReadSlice();
186
+ }
187
+
188
+ namespace
189
+ {
190
+
191
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> __Ice__ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
192
+
193
+ }
194
+
195
+ Ice::ObjectNotFoundException::~ObjectNotFoundException() throw()
196
+ {
197
+ }
198
+
199
+ ::std::string
200
+ Ice::ObjectNotFoundException::ice_name() const
201
+ {
202
+ return "Ice::ObjectNotFoundException";
203
+ }
204
+
205
+ Ice::ObjectNotFoundException*
206
+ Ice::ObjectNotFoundException::ice_clone() const
207
+ {
208
+ return new ObjectNotFoundException(*this);
209
+ }
210
+
211
+ void
212
+ Ice::ObjectNotFoundException::ice_throw() const
213
+ {
214
+ throw *this;
215
+ }
216
+
217
+ void
218
+ Ice::ObjectNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
219
+ {
220
+ __os->startWriteSlice("::Ice::ObjectNotFoundException", -1, true);
221
+ __os->endWriteSlice();
222
+ }
223
+
224
+ void
225
+ Ice::ObjectNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
226
+ {
227
+ __is->startReadSlice();
228
+ __is->endReadSlice();
229
+ }
230
+
231
+ namespace
232
+ {
233
+
234
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> __Ice__ServerNotFoundException_init("::Ice::ServerNotFoundException");
235
+
236
+ }
237
+
238
+ Ice::ServerNotFoundException::~ServerNotFoundException() throw()
239
+ {
240
+ }
241
+
242
+ ::std::string
243
+ Ice::ServerNotFoundException::ice_name() const
244
+ {
245
+ return "Ice::ServerNotFoundException";
246
+ }
247
+
248
+ Ice::ServerNotFoundException*
249
+ Ice::ServerNotFoundException::ice_clone() const
250
+ {
251
+ return new ServerNotFoundException(*this);
252
+ }
253
+
254
+ void
255
+ Ice::ServerNotFoundException::ice_throw() const
256
+ {
257
+ throw *this;
258
+ }
259
+
260
+ void
261
+ Ice::ServerNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
262
+ {
263
+ __os->startWriteSlice("::Ice::ServerNotFoundException", -1, true);
264
+ __os->endWriteSlice();
265
+ }
266
+
267
+ void
268
+ Ice::ServerNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
269
+ {
270
+ __is->startReadSlice();
271
+ __is->endReadSlice();
272
+ }
273
+
274
+ namespace Ice
275
+ {
276
+ }
277
+
278
+ IceAsync::Ice::AMD_Locator_findObjectById::AMD_Locator_findObjectById(::IceInternal::Incoming& in) :
279
+ ::IceInternal::IncomingAsync(in)
280
+ {
281
+ }
282
+
283
+ void
284
+ IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& __ret)
285
+ {
286
+ if(__validateResponse(true))
287
+ {
288
+ try
289
+ {
290
+ ::IceInternal::BasicStream* __os = __startWriteParams(::Ice::DefaultFormat);
291
+ __os->write(__ret);
292
+ __endWriteParams(true);
293
+ }
294
+ catch(const ::Ice::Exception& __ex)
295
+ {
296
+ __exception(__ex);
297
+ return;
298
+ }
299
+ __response();
300
+ }
301
+ }
302
+
303
+ void
304
+ IceAsync::Ice::AMD_Locator_findObjectById::ice_exception(const ::std::exception& ex)
305
+ {
306
+ if(const ::Ice::ObjectNotFoundException* __ex = dynamic_cast<const ::Ice::ObjectNotFoundException*>(&ex))
307
+ {
308
+ if(__validateResponse(false))
309
+ {
310
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
311
+ __response();
312
+ }
313
+ }
314
+ else
315
+ {
316
+ ::IceInternal::IncomingAsync::ice_exception(ex);
317
+ }
318
+ }
319
+
320
+ IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
321
+ ::IceInternal::IncomingAsync(in)
322
+ {
323
+ }
324
+
325
+ void
326
+ IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& __ret)
327
+ {
328
+ if(__validateResponse(true))
329
+ {
330
+ try
331
+ {
332
+ ::IceInternal::BasicStream* __os = __startWriteParams(::Ice::DefaultFormat);
333
+ __os->write(__ret);
334
+ __endWriteParams(true);
335
+ }
336
+ catch(const ::Ice::Exception& __ex)
337
+ {
338
+ __exception(__ex);
339
+ return;
340
+ }
341
+ __response();
342
+ }
343
+ }
344
+
345
+ void
346
+ IceAsync::Ice::AMD_Locator_findAdapterById::ice_exception(const ::std::exception& ex)
347
+ {
348
+ if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
349
+ {
350
+ if(__validateResponse(false))
351
+ {
352
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
353
+ __response();
354
+ }
355
+ }
356
+ else
357
+ {
358
+ ::IceInternal::IncomingAsync::ice_exception(ex);
359
+ }
360
+ }
361
+
362
+ IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming& in) :
363
+ ::IceInternal::IncomingAsync(in)
364
+ {
365
+ }
366
+
367
+ void
368
+ IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_response()
369
+ {
370
+ if(__validateResponse(true))
371
+ {
372
+ __writeEmptyParams();
373
+ __response();
374
+ }
375
+ }
376
+
377
+ void
378
+ IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_exception(const ::std::exception& ex)
379
+ {
380
+ if(const ::Ice::AdapterAlreadyActiveException* __ex = dynamic_cast<const ::Ice::AdapterAlreadyActiveException*>(&ex))
381
+ {
382
+ if(__validateResponse(false))
383
+ {
384
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
385
+ __response();
386
+ }
387
+ }
388
+ else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
389
+ {
390
+ if(__validateResponse(false))
391
+ {
392
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
393
+ __response();
394
+ }
395
+ }
396
+ else
397
+ {
398
+ ::IceInternal::IncomingAsync::ice_exception(ex);
399
+ }
400
+ }
401
+
402
+ IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& in) :
403
+ ::IceInternal::IncomingAsync(in)
404
+ {
405
+ }
406
+
407
+ void
408
+ IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_response()
409
+ {
410
+ if(__validateResponse(true))
411
+ {
412
+ __writeEmptyParams();
413
+ __response();
414
+ }
415
+ }
416
+
417
+ void
418
+ IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_exception(const ::std::exception& ex)
419
+ {
420
+ if(const ::Ice::AdapterAlreadyActiveException* __ex = dynamic_cast<const ::Ice::AdapterAlreadyActiveException*>(&ex))
421
+ {
422
+ if(__validateResponse(false))
423
+ {
424
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
425
+ __response();
426
+ }
427
+ }
428
+ else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
429
+ {
430
+ if(__validateResponse(false))
431
+ {
432
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
433
+ __response();
434
+ }
435
+ }
436
+ else if(const ::Ice::InvalidReplicaGroupIdException* __ex = dynamic_cast<const ::Ice::InvalidReplicaGroupIdException*>(&ex))
437
+ {
438
+ if(__validateResponse(false))
439
+ {
440
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
441
+ __response();
442
+ }
443
+ }
444
+ else
445
+ {
446
+ ::IceInternal::IncomingAsync::ice_exception(ex);
447
+ }
448
+ }
449
+
450
+ IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming& in) :
451
+ ::IceInternal::IncomingAsync(in)
452
+ {
453
+ }
454
+
455
+ void
456
+ IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_response()
457
+ {
458
+ if(__validateResponse(true))
459
+ {
460
+ __writeEmptyParams();
461
+ __response();
462
+ }
463
+ }
464
+
465
+ void
466
+ IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_exception(const ::std::exception& ex)
467
+ {
468
+ if(const ::Ice::ServerNotFoundException* __ex = dynamic_cast<const ::Ice::ServerNotFoundException*>(&ex))
469
+ {
470
+ if(__validateResponse(false))
471
+ {
472
+ __writeUserException(*__ex, ::Ice::DefaultFormat);
473
+ __response();
474
+ }
475
+ }
476
+ else
477
+ {
478
+ ::IceInternal::IncomingAsync::ice_exception(ex);
479
+ }
480
+ }
481
+ #ifdef __SUNPRO_CC
482
+ class ICE_DECLSPEC_EXPORT IceProxy::Ice::Locator;
483
+ #endif
484
+ ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::Locator* p) { return p; }
485
+
486
+ void
487
+ ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>& v)
488
+ {
489
+ ::Ice::ObjectPrx proxy;
490
+ __is->read(proxy);
491
+ if(!proxy)
492
+ {
493
+ v = 0;
494
+ }
495
+ else
496
+ {
497
+ v = new ::IceProxy::Ice::Locator;
498
+ v->__copyFrom(proxy);
499
+ }
500
+ }
501
+
502
+ ::Ice::ObjectPrx
503
+ IceProxy::Ice::Locator::findObjectById(const ::Ice::Identity& id, const ::Ice::Context* __ctx)
504
+ {
505
+ __checkTwowayOnly(__Ice__Locator__findObjectById_name);
506
+ ::IceInternal::Outgoing __og(this, __Ice__Locator__findObjectById_name, ::Ice::Nonmutating, __ctx);
507
+ try
508
+ {
509
+ ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
510
+ __os->write(id);
511
+ __og.endWriteParams();
512
+ }
513
+ catch(const ::Ice::LocalException& __ex)
514
+ {
515
+ __og.abort(__ex);
516
+ }
517
+ if(!__og.invoke())
518
+ {
519
+ try
520
+ {
521
+ __og.throwUserException();
522
+ }
523
+ catch(const ::Ice::ObjectNotFoundException&)
524
+ {
525
+ throw;
526
+ }
527
+ catch(const ::Ice::UserException& __ex)
528
+ {
529
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
530
+ throw __uue;
531
+ }
532
+ }
533
+ ::Ice::ObjectPrx __ret;
534
+ ::IceInternal::BasicStream* __is = __og.startReadParams();
535
+ __is->read(__ret);
536
+ __og.endReadParams();
537
+ return __ret;
538
+ }
539
+
540
+ ::Ice::AsyncResultPtr
541
+ IceProxy::Ice::Locator::begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
542
+ {
543
+ __checkAsyncTwowayOnly(__Ice__Locator__findObjectById_name);
544
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__findObjectById_name, __del, __cookie);
545
+ try
546
+ {
547
+ __result->prepare(__Ice__Locator__findObjectById_name, ::Ice::Nonmutating, __ctx);
548
+ ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
549
+ __os->write(id);
550
+ __result->endWriteParams();
551
+ __result->invoke();
552
+ }
553
+ catch(const ::Ice::Exception& __ex)
554
+ {
555
+ __result->abort(__ex);
556
+ }
557
+ return __result;
558
+ }
559
+
560
+ #ifdef ICE_CPP11
561
+
562
+ ::Ice::AsyncResultPtr
563
+ IceProxy::Ice::Locator::__begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::ObjectPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
564
+ {
565
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
566
+ {
567
+ public:
568
+
569
+ Cpp11CB(const ::std::function<void (const ::Ice::ObjectPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
570
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
571
+ _response(responseFunc)
572
+ {
573
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
574
+ }
575
+
576
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
577
+ {
578
+ ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
579
+ ::Ice::ObjectPrx __ret;
580
+ try
581
+ {
582
+ __ret = __proxy->end_findObjectById(__result);
583
+ }
584
+ catch(const ::Ice::Exception& ex)
585
+ {
586
+ Cpp11FnCallbackNC::exception(__result, ex);
587
+ return;
588
+ }
589
+ if(_response != nullptr)
590
+ {
591
+ _response(__ret);
592
+ }
593
+ }
594
+
595
+ private:
596
+
597
+ ::std::function<void (const ::Ice::ObjectPrx&)> _response;
598
+ };
599
+ return begin_findObjectById(id, __ctx, new Cpp11CB(__response, __exception, __sent));
600
+ }
601
+ #endif
602
+
603
+ ::Ice::ObjectPrx
604
+ IceProxy::Ice::Locator::end_findObjectById(const ::Ice::AsyncResultPtr& __result)
605
+ {
606
+ ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__findObjectById_name);
607
+ ::Ice::ObjectPrx __ret;
608
+ if(!__result->__wait())
609
+ {
610
+ try
611
+ {
612
+ __result->__throwUserException();
613
+ }
614
+ catch(const ::Ice::ObjectNotFoundException&)
615
+ {
616
+ throw;
617
+ }
618
+ catch(const ::Ice::UserException& __ex)
619
+ {
620
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
621
+ }
622
+ }
623
+ ::IceInternal::BasicStream* __is = __result->__startReadParams();
624
+ __is->read(__ret);
625
+ __result->__endReadParams();
626
+ return __ret;
627
+ }
628
+
629
+ ::Ice::ObjectPrx
630
+ IceProxy::Ice::Locator::findAdapterById(const ::std::string& id, const ::Ice::Context* __ctx)
631
+ {
632
+ __checkTwowayOnly(__Ice__Locator__findAdapterById_name);
633
+ ::IceInternal::Outgoing __og(this, __Ice__Locator__findAdapterById_name, ::Ice::Nonmutating, __ctx);
634
+ try
635
+ {
636
+ ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
637
+ __os->write(id);
638
+ __og.endWriteParams();
639
+ }
640
+ catch(const ::Ice::LocalException& __ex)
641
+ {
642
+ __og.abort(__ex);
643
+ }
644
+ if(!__og.invoke())
645
+ {
646
+ try
647
+ {
648
+ __og.throwUserException();
649
+ }
650
+ catch(const ::Ice::AdapterNotFoundException&)
651
+ {
652
+ throw;
653
+ }
654
+ catch(const ::Ice::UserException& __ex)
655
+ {
656
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
657
+ throw __uue;
658
+ }
659
+ }
660
+ ::Ice::ObjectPrx __ret;
661
+ ::IceInternal::BasicStream* __is = __og.startReadParams();
662
+ __is->read(__ret);
663
+ __og.endReadParams();
664
+ return __ret;
665
+ }
666
+
667
+ ::Ice::AsyncResultPtr
668
+ IceProxy::Ice::Locator::begin_findAdapterById(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
669
+ {
670
+ __checkAsyncTwowayOnly(__Ice__Locator__findAdapterById_name);
671
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__findAdapterById_name, __del, __cookie);
672
+ try
673
+ {
674
+ __result->prepare(__Ice__Locator__findAdapterById_name, ::Ice::Nonmutating, __ctx);
675
+ ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
676
+ __os->write(id);
677
+ __result->endWriteParams();
678
+ __result->invoke();
679
+ }
680
+ catch(const ::Ice::Exception& __ex)
681
+ {
682
+ __result->abort(__ex);
683
+ }
684
+ return __result;
685
+ }
686
+
687
+ #ifdef ICE_CPP11
688
+
689
+ ::Ice::AsyncResultPtr
690
+ IceProxy::Ice::Locator::__begin_findAdapterById(const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::ObjectPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
691
+ {
692
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
693
+ {
694
+ public:
695
+
696
+ Cpp11CB(const ::std::function<void (const ::Ice::ObjectPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
697
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
698
+ _response(responseFunc)
699
+ {
700
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
701
+ }
702
+
703
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
704
+ {
705
+ ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
706
+ ::Ice::ObjectPrx __ret;
707
+ try
708
+ {
709
+ __ret = __proxy->end_findAdapterById(__result);
710
+ }
711
+ catch(const ::Ice::Exception& ex)
712
+ {
713
+ Cpp11FnCallbackNC::exception(__result, ex);
714
+ return;
715
+ }
716
+ if(_response != nullptr)
717
+ {
718
+ _response(__ret);
719
+ }
720
+ }
721
+
722
+ private:
723
+
724
+ ::std::function<void (const ::Ice::ObjectPrx&)> _response;
725
+ };
726
+ return begin_findAdapterById(id, __ctx, new Cpp11CB(__response, __exception, __sent));
727
+ }
728
+ #endif
729
+
730
+ ::Ice::ObjectPrx
731
+ IceProxy::Ice::Locator::end_findAdapterById(const ::Ice::AsyncResultPtr& __result)
732
+ {
733
+ ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__findAdapterById_name);
734
+ ::Ice::ObjectPrx __ret;
735
+ if(!__result->__wait())
736
+ {
737
+ try
738
+ {
739
+ __result->__throwUserException();
740
+ }
741
+ catch(const ::Ice::AdapterNotFoundException&)
742
+ {
743
+ throw;
744
+ }
745
+ catch(const ::Ice::UserException& __ex)
746
+ {
747
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
748
+ }
749
+ }
750
+ ::IceInternal::BasicStream* __is = __result->__startReadParams();
751
+ __is->read(__ret);
752
+ __result->__endReadParams();
753
+ return __ret;
754
+ }
755
+
756
+ ::Ice::LocatorRegistryPrx
757
+ IceProxy::Ice::Locator::getRegistry(const ::Ice::Context* __ctx)
758
+ {
759
+ __checkTwowayOnly(__Ice__Locator__getRegistry_name);
760
+ ::IceInternal::Outgoing __og(this, __Ice__Locator__getRegistry_name, ::Ice::Nonmutating, __ctx);
761
+ __og.writeEmptyParams();
762
+ if(!__og.invoke())
763
+ {
764
+ try
765
+ {
766
+ __og.throwUserException();
767
+ }
768
+ catch(const ::Ice::UserException& __ex)
769
+ {
770
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
771
+ throw __uue;
772
+ }
773
+ }
774
+ ::Ice::LocatorRegistryPrx __ret;
775
+ ::IceInternal::BasicStream* __is = __og.startReadParams();
776
+ __is->read(__ret);
777
+ __og.endReadParams();
778
+ return __ret;
779
+ }
780
+
781
+ ::Ice::AsyncResultPtr
782
+ IceProxy::Ice::Locator::begin_getRegistry(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
783
+ {
784
+ __checkAsyncTwowayOnly(__Ice__Locator__getRegistry_name);
785
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__getRegistry_name, __del, __cookie);
786
+ try
787
+ {
788
+ __result->prepare(__Ice__Locator__getRegistry_name, ::Ice::Nonmutating, __ctx);
789
+ __result->writeEmptyParams();
790
+ __result->invoke();
791
+ }
792
+ catch(const ::Ice::Exception& __ex)
793
+ {
794
+ __result->abort(__ex);
795
+ }
796
+ return __result;
797
+ }
798
+
799
+ #ifdef ICE_CPP11
800
+
801
+ ::Ice::AsyncResultPtr
802
+ IceProxy::Ice::Locator::__begin_getRegistry(const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::LocatorRegistryPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
803
+ {
804
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
805
+ {
806
+ public:
807
+
808
+ Cpp11CB(const ::std::function<void (const ::Ice::LocatorRegistryPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
809
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
810
+ _response(responseFunc)
811
+ {
812
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
813
+ }
814
+
815
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
816
+ {
817
+ ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
818
+ ::Ice::LocatorRegistryPrx __ret;
819
+ try
820
+ {
821
+ __ret = __proxy->end_getRegistry(__result);
822
+ }
823
+ catch(const ::Ice::Exception& ex)
824
+ {
825
+ Cpp11FnCallbackNC::exception(__result, ex);
826
+ return;
827
+ }
828
+ if(_response != nullptr)
829
+ {
830
+ _response(__ret);
831
+ }
832
+ }
833
+
834
+ private:
835
+
836
+ ::std::function<void (const ::Ice::LocatorRegistryPrx&)> _response;
837
+ };
838
+ return begin_getRegistry(__ctx, new Cpp11CB(__response, __exception, __sent));
839
+ }
840
+ #endif
841
+
842
+ ::Ice::LocatorRegistryPrx
843
+ IceProxy::Ice::Locator::end_getRegistry(const ::Ice::AsyncResultPtr& __result)
844
+ {
845
+ ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__getRegistry_name);
846
+ ::Ice::LocatorRegistryPrx __ret;
847
+ if(!__result->__wait())
848
+ {
849
+ try
850
+ {
851
+ __result->__throwUserException();
852
+ }
853
+ catch(const ::Ice::UserException& __ex)
854
+ {
855
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
856
+ }
857
+ }
858
+ ::IceInternal::BasicStream* __is = __result->__startReadParams();
859
+ __is->read(__ret);
860
+ __result->__endReadParams();
861
+ return __ret;
862
+ }
863
+
864
+ const ::std::string&
865
+ IceProxy::Ice::Locator::ice_staticId()
866
+ {
867
+ return ::Ice::Locator::ice_staticId();
868
+ }
869
+
870
+ ::IceProxy::Ice::Object*
871
+ IceProxy::Ice::Locator::__newInstance() const
872
+ {
873
+ return new Locator;
874
+ }
875
+ #ifdef __SUNPRO_CC
876
+ class ICE_DECLSPEC_EXPORT IceProxy::Ice::LocatorRegistry;
877
+ #endif
878
+ ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorRegistry* p) { return p; }
879
+
880
+ void
881
+ ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry>& v)
882
+ {
883
+ ::Ice::ObjectPrx proxy;
884
+ __is->read(proxy);
885
+ if(!proxy)
886
+ {
887
+ v = 0;
888
+ }
889
+ else
890
+ {
891
+ v = new ::IceProxy::Ice::LocatorRegistry;
892
+ v->__copyFrom(proxy);
893
+ }
894
+ }
895
+
896
+ void
897
+ IceProxy::Ice::LocatorRegistry::setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context* __ctx)
898
+ {
899
+ __checkTwowayOnly(__Ice__LocatorRegistry__setAdapterDirectProxy_name);
900
+ ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
901
+ try
902
+ {
903
+ ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
904
+ __os->write(id);
905
+ __os->write(proxy);
906
+ __og.endWriteParams();
907
+ }
908
+ catch(const ::Ice::LocalException& __ex)
909
+ {
910
+ __og.abort(__ex);
911
+ }
912
+ if(!__og.invoke())
913
+ {
914
+ try
915
+ {
916
+ __og.throwUserException();
917
+ }
918
+ catch(const ::Ice::AdapterAlreadyActiveException&)
919
+ {
920
+ throw;
921
+ }
922
+ catch(const ::Ice::AdapterNotFoundException&)
923
+ {
924
+ throw;
925
+ }
926
+ catch(const ::Ice::UserException& __ex)
927
+ {
928
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
929
+ throw __uue;
930
+ }
931
+ }
932
+ }
933
+
934
+ ::Ice::AsyncResultPtr
935
+ IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
936
+ {
937
+ __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setAdapterDirectProxy_name);
938
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setAdapterDirectProxy_name, __del, __cookie);
939
+ try
940
+ {
941
+ __result->prepare(__Ice__LocatorRegistry__setAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
942
+ ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
943
+ __os->write(id);
944
+ __os->write(proxy);
945
+ __result->endWriteParams();
946
+ __result->invoke();
947
+ }
948
+ catch(const ::Ice::Exception& __ex)
949
+ {
950
+ __result->abort(__ex);
951
+ }
952
+ return __result;
953
+ }
954
+
955
+ #ifdef ICE_CPP11
956
+
957
+ ::Ice::AsyncResultPtr
958
+ IceProxy::Ice::LocatorRegistry::__begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
959
+ {
960
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
961
+ {
962
+ public:
963
+
964
+ Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
965
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
966
+ _response(responseFunc)
967
+ {
968
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
969
+ }
970
+
971
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
972
+ {
973
+ ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
974
+ try
975
+ {
976
+ __proxy->end_setAdapterDirectProxy(__result);
977
+ }
978
+ catch(const ::Ice::Exception& ex)
979
+ {
980
+ Cpp11FnCallbackNC::exception(__result, ex);
981
+ return;
982
+ }
983
+ if(_response != nullptr)
984
+ {
985
+ _response();
986
+ }
987
+ }
988
+
989
+ private:
990
+
991
+ ::std::function<void ()> _response;
992
+ };
993
+ return begin_setAdapterDirectProxy(id, proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
994
+ }
995
+ #endif
996
+
997
+ void
998
+ IceProxy::Ice::LocatorRegistry::end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& __result)
999
+ {
1000
+ ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setAdapterDirectProxy_name);
1001
+ if(!__result->__wait())
1002
+ {
1003
+ try
1004
+ {
1005
+ __result->__throwUserException();
1006
+ }
1007
+ catch(const ::Ice::AdapterAlreadyActiveException&)
1008
+ {
1009
+ throw;
1010
+ }
1011
+ catch(const ::Ice::AdapterNotFoundException&)
1012
+ {
1013
+ throw;
1014
+ }
1015
+ catch(const ::Ice::UserException& __ex)
1016
+ {
1017
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1018
+ }
1019
+ }
1020
+ __result->__readEmptyParams();
1021
+ }
1022
+
1023
+ void
1024
+ IceProxy::Ice::LocatorRegistry::setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context* __ctx)
1025
+ {
1026
+ __checkTwowayOnly(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1027
+ ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
1028
+ try
1029
+ {
1030
+ ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
1031
+ __os->write(adapterId);
1032
+ __os->write(replicaGroupId);
1033
+ __os->write(p);
1034
+ __og.endWriteParams();
1035
+ }
1036
+ catch(const ::Ice::LocalException& __ex)
1037
+ {
1038
+ __og.abort(__ex);
1039
+ }
1040
+ if(!__og.invoke())
1041
+ {
1042
+ try
1043
+ {
1044
+ __og.throwUserException();
1045
+ }
1046
+ catch(const ::Ice::AdapterAlreadyActiveException&)
1047
+ {
1048
+ throw;
1049
+ }
1050
+ catch(const ::Ice::AdapterNotFoundException&)
1051
+ {
1052
+ throw;
1053
+ }
1054
+ catch(const ::Ice::InvalidReplicaGroupIdException&)
1055
+ {
1056
+ throw;
1057
+ }
1058
+ catch(const ::Ice::UserException& __ex)
1059
+ {
1060
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1061
+ throw __uue;
1062
+ }
1063
+ }
1064
+ }
1065
+
1066
+ ::Ice::AsyncResultPtr
1067
+ IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1068
+ {
1069
+ __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1070
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, __del, __cookie);
1071
+ try
1072
+ {
1073
+ __result->prepare(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
1074
+ ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
1075
+ __os->write(adapterId);
1076
+ __os->write(replicaGroupId);
1077
+ __os->write(p);
1078
+ __result->endWriteParams();
1079
+ __result->invoke();
1080
+ }
1081
+ catch(const ::Ice::Exception& __ex)
1082
+ {
1083
+ __result->abort(__ex);
1084
+ }
1085
+ return __result;
1086
+ }
1087
+
1088
+ #ifdef ICE_CPP11
1089
+
1090
+ ::Ice::AsyncResultPtr
1091
+ IceProxy::Ice::LocatorRegistry::__begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
1092
+ {
1093
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1094
+ {
1095
+ public:
1096
+
1097
+ Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1098
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1099
+ _response(responseFunc)
1100
+ {
1101
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1102
+ }
1103
+
1104
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1105
+ {
1106
+ ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
1107
+ try
1108
+ {
1109
+ __proxy->end_setReplicatedAdapterDirectProxy(__result);
1110
+ }
1111
+ catch(const ::Ice::Exception& ex)
1112
+ {
1113
+ Cpp11FnCallbackNC::exception(__result, ex);
1114
+ return;
1115
+ }
1116
+ if(_response != nullptr)
1117
+ {
1118
+ _response();
1119
+ }
1120
+ }
1121
+
1122
+ private:
1123
+
1124
+ ::std::function<void ()> _response;
1125
+ };
1126
+ return begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, __ctx, new Cpp11CB(__response, __exception, __sent));
1127
+ }
1128
+ #endif
1129
+
1130
+ void
1131
+ IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& __result)
1132
+ {
1133
+ ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1134
+ if(!__result->__wait())
1135
+ {
1136
+ try
1137
+ {
1138
+ __result->__throwUserException();
1139
+ }
1140
+ catch(const ::Ice::AdapterAlreadyActiveException&)
1141
+ {
1142
+ throw;
1143
+ }
1144
+ catch(const ::Ice::AdapterNotFoundException&)
1145
+ {
1146
+ throw;
1147
+ }
1148
+ catch(const ::Ice::InvalidReplicaGroupIdException&)
1149
+ {
1150
+ throw;
1151
+ }
1152
+ catch(const ::Ice::UserException& __ex)
1153
+ {
1154
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1155
+ }
1156
+ }
1157
+ __result->__readEmptyParams();
1158
+ }
1159
+
1160
+ void
1161
+ IceProxy::Ice::LocatorRegistry::setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context* __ctx)
1162
+ {
1163
+ __checkTwowayOnly(__Ice__LocatorRegistry__setServerProcessProxy_name);
1164
+ ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setServerProcessProxy_name, ::Ice::Idempotent, __ctx);
1165
+ try
1166
+ {
1167
+ ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
1168
+ __os->write(id);
1169
+ __os->write(proxy);
1170
+ __og.endWriteParams();
1171
+ }
1172
+ catch(const ::Ice::LocalException& __ex)
1173
+ {
1174
+ __og.abort(__ex);
1175
+ }
1176
+ if(!__og.invoke())
1177
+ {
1178
+ try
1179
+ {
1180
+ __og.throwUserException();
1181
+ }
1182
+ catch(const ::Ice::ServerNotFoundException&)
1183
+ {
1184
+ throw;
1185
+ }
1186
+ catch(const ::Ice::UserException& __ex)
1187
+ {
1188
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1189
+ throw __uue;
1190
+ }
1191
+ }
1192
+ }
1193
+
1194
+ ::Ice::AsyncResultPtr
1195
+ IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1196
+ {
1197
+ __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setServerProcessProxy_name);
1198
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setServerProcessProxy_name, __del, __cookie);
1199
+ try
1200
+ {
1201
+ __result->prepare(__Ice__LocatorRegistry__setServerProcessProxy_name, ::Ice::Idempotent, __ctx);
1202
+ ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
1203
+ __os->write(id);
1204
+ __os->write(proxy);
1205
+ __result->endWriteParams();
1206
+ __result->invoke();
1207
+ }
1208
+ catch(const ::Ice::Exception& __ex)
1209
+ {
1210
+ __result->abort(__ex);
1211
+ }
1212
+ return __result;
1213
+ }
1214
+
1215
+ #ifdef ICE_CPP11
1216
+
1217
+ ::Ice::AsyncResultPtr
1218
+ IceProxy::Ice::LocatorRegistry::__begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
1219
+ {
1220
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1221
+ {
1222
+ public:
1223
+
1224
+ Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1225
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1226
+ _response(responseFunc)
1227
+ {
1228
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1229
+ }
1230
+
1231
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1232
+ {
1233
+ ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
1234
+ try
1235
+ {
1236
+ __proxy->end_setServerProcessProxy(__result);
1237
+ }
1238
+ catch(const ::Ice::Exception& ex)
1239
+ {
1240
+ Cpp11FnCallbackNC::exception(__result, ex);
1241
+ return;
1242
+ }
1243
+ if(_response != nullptr)
1244
+ {
1245
+ _response();
1246
+ }
1247
+ }
1248
+
1249
+ private:
1250
+
1251
+ ::std::function<void ()> _response;
1252
+ };
1253
+ return begin_setServerProcessProxy(id, proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
1254
+ }
1255
+ #endif
1256
+
1257
+ void
1258
+ IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr& __result)
1259
+ {
1260
+ ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setServerProcessProxy_name);
1261
+ if(!__result->__wait())
1262
+ {
1263
+ try
1264
+ {
1265
+ __result->__throwUserException();
1266
+ }
1267
+ catch(const ::Ice::ServerNotFoundException&)
1268
+ {
1269
+ throw;
1270
+ }
1271
+ catch(const ::Ice::UserException& __ex)
1272
+ {
1273
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1274
+ }
1275
+ }
1276
+ __result->__readEmptyParams();
1277
+ }
1278
+
1279
+ const ::std::string&
1280
+ IceProxy::Ice::LocatorRegistry::ice_staticId()
1281
+ {
1282
+ return ::Ice::LocatorRegistry::ice_staticId();
1283
+ }
1284
+
1285
+ ::IceProxy::Ice::Object*
1286
+ IceProxy::Ice::LocatorRegistry::__newInstance() const
1287
+ {
1288
+ return new LocatorRegistry;
1289
+ }
1290
+ #ifdef __SUNPRO_CC
1291
+ class ICE_DECLSPEC_EXPORT IceProxy::Ice::LocatorFinder;
1292
+ #endif
1293
+ ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorFinder* p) { return p; }
1294
+
1295
+ void
1296
+ ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder>& v)
1297
+ {
1298
+ ::Ice::ObjectPrx proxy;
1299
+ __is->read(proxy);
1300
+ if(!proxy)
1301
+ {
1302
+ v = 0;
1303
+ }
1304
+ else
1305
+ {
1306
+ v = new ::IceProxy::Ice::LocatorFinder;
1307
+ v->__copyFrom(proxy);
1308
+ }
1309
+ }
1310
+
1311
+ ::Ice::LocatorPrx
1312
+ IceProxy::Ice::LocatorFinder::getLocator(const ::Ice::Context* __ctx)
1313
+ {
1314
+ __checkTwowayOnly(__Ice__LocatorFinder__getLocator_name);
1315
+ ::IceInternal::Outgoing __og(this, __Ice__LocatorFinder__getLocator_name, ::Ice::Normal, __ctx);
1316
+ __og.writeEmptyParams();
1317
+ if(!__og.invoke())
1318
+ {
1319
+ try
1320
+ {
1321
+ __og.throwUserException();
1322
+ }
1323
+ catch(const ::Ice::UserException& __ex)
1324
+ {
1325
+ ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1326
+ throw __uue;
1327
+ }
1328
+ }
1329
+ ::Ice::LocatorPrx __ret;
1330
+ ::IceInternal::BasicStream* __is = __og.startReadParams();
1331
+ __is->read(__ret);
1332
+ __og.endReadParams();
1333
+ return __ret;
1334
+ }
1335
+
1336
+ ::Ice::AsyncResultPtr
1337
+ IceProxy::Ice::LocatorFinder::begin_getLocator(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1338
+ {
1339
+ __checkAsyncTwowayOnly(__Ice__LocatorFinder__getLocator_name);
1340
+ ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorFinder__getLocator_name, __del, __cookie);
1341
+ try
1342
+ {
1343
+ __result->prepare(__Ice__LocatorFinder__getLocator_name, ::Ice::Normal, __ctx);
1344
+ __result->writeEmptyParams();
1345
+ __result->invoke();
1346
+ }
1347
+ catch(const ::Ice::Exception& __ex)
1348
+ {
1349
+ __result->abort(__ex);
1350
+ }
1351
+ return __result;
1352
+ }
1353
+
1354
+ #ifdef ICE_CPP11
1355
+
1356
+ ::Ice::AsyncResultPtr
1357
+ IceProxy::Ice::LocatorFinder::__begin_getLocator(const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::LocatorPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
1358
+ {
1359
+ class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1360
+ {
1361
+ public:
1362
+
1363
+ Cpp11CB(const ::std::function<void (const ::Ice::LocatorPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1364
+ ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1365
+ _response(responseFunc)
1366
+ {
1367
+ CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1368
+ }
1369
+
1370
+ virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1371
+ {
1372
+ ::Ice::LocatorFinderPrx __proxy = ::Ice::LocatorFinderPrx::uncheckedCast(__result->getProxy());
1373
+ ::Ice::LocatorPrx __ret;
1374
+ try
1375
+ {
1376
+ __ret = __proxy->end_getLocator(__result);
1377
+ }
1378
+ catch(const ::Ice::Exception& ex)
1379
+ {
1380
+ Cpp11FnCallbackNC::exception(__result, ex);
1381
+ return;
1382
+ }
1383
+ if(_response != nullptr)
1384
+ {
1385
+ _response(__ret);
1386
+ }
1387
+ }
1388
+
1389
+ private:
1390
+
1391
+ ::std::function<void (const ::Ice::LocatorPrx&)> _response;
1392
+ };
1393
+ return begin_getLocator(__ctx, new Cpp11CB(__response, __exception, __sent));
1394
+ }
1395
+ #endif
1396
+
1397
+ ::Ice::LocatorPrx
1398
+ IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr& __result)
1399
+ {
1400
+ ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorFinder__getLocator_name);
1401
+ ::Ice::LocatorPrx __ret;
1402
+ if(!__result->__wait())
1403
+ {
1404
+ try
1405
+ {
1406
+ __result->__throwUserException();
1407
+ }
1408
+ catch(const ::Ice::UserException& __ex)
1409
+ {
1410
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1411
+ }
1412
+ }
1413
+ ::IceInternal::BasicStream* __is = __result->__startReadParams();
1414
+ __is->read(__ret);
1415
+ __result->__endReadParams();
1416
+ return __ret;
1417
+ }
1418
+
1419
+ const ::std::string&
1420
+ IceProxy::Ice::LocatorFinder::ice_staticId()
1421
+ {
1422
+ return ::Ice::LocatorFinder::ice_staticId();
1423
+ }
1424
+
1425
+ ::IceProxy::Ice::Object*
1426
+ IceProxy::Ice::LocatorFinder::__newInstance() const
1427
+ {
1428
+ return new LocatorFinder;
1429
+ }
1430
+
1431
+ ICE_DECLSPEC_EXPORT ::Ice::Object* Ice::upCast(::Ice::Locator* p) { return p; }
1432
+
1433
+ namespace
1434
+ {
1435
+ const ::std::string __Ice__Locator_ids[2] =
1436
+ {
1437
+ "::Ice::Locator",
1438
+ "::Ice::Object"
1439
+ };
1440
+
1441
+ }
1442
+
1443
+ bool
1444
+ Ice::Locator::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1445
+ {
1446
+ return ::std::binary_search(__Ice__Locator_ids, __Ice__Locator_ids + 2, _s);
1447
+ }
1448
+
1449
+ ::std::vector< ::std::string>
1450
+ Ice::Locator::ice_ids(const ::Ice::Current&) const
1451
+ {
1452
+ return ::std::vector< ::std::string>(&__Ice__Locator_ids[0], &__Ice__Locator_ids[2]);
1453
+ }
1454
+
1455
+ const ::std::string&
1456
+ Ice::Locator::ice_id(const ::Ice::Current&) const
1457
+ {
1458
+ return __Ice__Locator_ids[0];
1459
+ }
1460
+
1461
+ const ::std::string&
1462
+ Ice::Locator::ice_staticId()
1463
+ {
1464
+ #ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
1465
+ static const ::std::string typeId = "::Ice::Locator";
1466
+ return typeId;
1467
+ #else
1468
+ return __Ice__Locator_ids[0];
1469
+ #endif
1470
+ }
1471
+
1472
+ ::Ice::DispatchStatus
1473
+ Ice::Locator::___findObjectById(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1474
+ {
1475
+ __checkMode(::Ice::Idempotent, __current.mode);
1476
+ ::IceInternal::BasicStream* __is = __inS.startReadParams();
1477
+ ::Ice::Identity id;
1478
+ __is->read(id);
1479
+ __inS.endReadParams();
1480
+ ::Ice::AMD_Locator_findObjectByIdPtr __cb = new IceAsync::Ice::AMD_Locator_findObjectById(__inS);
1481
+ try
1482
+ {
1483
+ findObjectById_async(__cb, id, __current);
1484
+ }
1485
+ catch(const ::std::exception& __ex)
1486
+ {
1487
+ __cb->ice_exception(__ex);
1488
+ }
1489
+ catch(...)
1490
+ {
1491
+ __cb->ice_exception();
1492
+ }
1493
+ return ::Ice::DispatchAsync;
1494
+ }
1495
+
1496
+ ::Ice::DispatchStatus
1497
+ Ice::Locator::___findAdapterById(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1498
+ {
1499
+ __checkMode(::Ice::Idempotent, __current.mode);
1500
+ ::IceInternal::BasicStream* __is = __inS.startReadParams();
1501
+ ::std::string id;
1502
+ __is->read(id);
1503
+ __inS.endReadParams();
1504
+ ::Ice::AMD_Locator_findAdapterByIdPtr __cb = new IceAsync::Ice::AMD_Locator_findAdapterById(__inS);
1505
+ try
1506
+ {
1507
+ findAdapterById_async(__cb, id, __current);
1508
+ }
1509
+ catch(const ::std::exception& __ex)
1510
+ {
1511
+ __cb->ice_exception(__ex);
1512
+ }
1513
+ catch(...)
1514
+ {
1515
+ __cb->ice_exception();
1516
+ }
1517
+ return ::Ice::DispatchAsync;
1518
+ }
1519
+
1520
+ ::Ice::DispatchStatus
1521
+ Ice::Locator::___getRegistry(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1522
+ {
1523
+ __checkMode(::Ice::Idempotent, __current.mode);
1524
+ __inS.readEmptyParams();
1525
+ ::Ice::LocatorRegistryPrx __ret = getRegistry(__current);
1526
+ ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
1527
+ __os->write(__ret);
1528
+ __inS.__endWriteParams(true);
1529
+ return ::Ice::DispatchOK;
1530
+ }
1531
+
1532
+ namespace
1533
+ {
1534
+ const ::std::string __Ice__Locator_all[] =
1535
+ {
1536
+ "findAdapterById",
1537
+ "findObjectById",
1538
+ "getRegistry",
1539
+ "ice_id",
1540
+ "ice_ids",
1541
+ "ice_isA",
1542
+ "ice_ping"
1543
+ };
1544
+
1545
+ }
1546
+
1547
+ ::Ice::DispatchStatus
1548
+ Ice::Locator::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1549
+ {
1550
+ ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__Locator_all, __Ice__Locator_all + 7, current.operation);
1551
+ if(r.first == r.second)
1552
+ {
1553
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1554
+ }
1555
+
1556
+ switch(r.first - __Ice__Locator_all)
1557
+ {
1558
+ case 0:
1559
+ {
1560
+ return ___findAdapterById(in, current);
1561
+ }
1562
+ case 1:
1563
+ {
1564
+ return ___findObjectById(in, current);
1565
+ }
1566
+ case 2:
1567
+ {
1568
+ return ___getRegistry(in, current);
1569
+ }
1570
+ case 3:
1571
+ {
1572
+ return ___ice_id(in, current);
1573
+ }
1574
+ case 4:
1575
+ {
1576
+ return ___ice_ids(in, current);
1577
+ }
1578
+ case 5:
1579
+ {
1580
+ return ___ice_isA(in, current);
1581
+ }
1582
+ case 6:
1583
+ {
1584
+ return ___ice_ping(in, current);
1585
+ }
1586
+ }
1587
+
1588
+ assert(false);
1589
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1590
+ }
1591
+
1592
+ void
1593
+ Ice::Locator::__writeImpl(::IceInternal::BasicStream* __os) const
1594
+ {
1595
+ __os->startWriteSlice(ice_staticId(), -1, true);
1596
+ __os->endWriteSlice();
1597
+ }
1598
+
1599
+ void
1600
+ Ice::Locator::__readImpl(::IceInternal::BasicStream* __is)
1601
+ {
1602
+ __is->startReadSlice();
1603
+ __is->endReadSlice();
1604
+ }
1605
+
1606
+ void ICE_DECLSPEC_EXPORT
1607
+ Ice::__patch(LocatorPtr& handle, const ::Ice::ObjectPtr& v)
1608
+ {
1609
+ handle = ::Ice::LocatorPtr::dynamicCast(v);
1610
+ if(v && !handle)
1611
+ {
1612
+ IceInternal::Ex::throwUOE(::Ice::Locator::ice_staticId(), v);
1613
+ }
1614
+ }
1615
+
1616
+ ICE_DECLSPEC_EXPORT ::Ice::Object* Ice::upCast(::Ice::LocatorRegistry* p) { return p; }
1617
+
1618
+ namespace
1619
+ {
1620
+ const ::std::string __Ice__LocatorRegistry_ids[2] =
1621
+ {
1622
+ "::Ice::LocatorRegistry",
1623
+ "::Ice::Object"
1624
+ };
1625
+
1626
+ }
1627
+
1628
+ bool
1629
+ Ice::LocatorRegistry::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1630
+ {
1631
+ return ::std::binary_search(__Ice__LocatorRegistry_ids, __Ice__LocatorRegistry_ids + 2, _s);
1632
+ }
1633
+
1634
+ ::std::vector< ::std::string>
1635
+ Ice::LocatorRegistry::ice_ids(const ::Ice::Current&) const
1636
+ {
1637
+ return ::std::vector< ::std::string>(&__Ice__LocatorRegistry_ids[0], &__Ice__LocatorRegistry_ids[2]);
1638
+ }
1639
+
1640
+ const ::std::string&
1641
+ Ice::LocatorRegistry::ice_id(const ::Ice::Current&) const
1642
+ {
1643
+ return __Ice__LocatorRegistry_ids[0];
1644
+ }
1645
+
1646
+ const ::std::string&
1647
+ Ice::LocatorRegistry::ice_staticId()
1648
+ {
1649
+ #ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
1650
+ static const ::std::string typeId = "::Ice::LocatorRegistry";
1651
+ return typeId;
1652
+ #else
1653
+ return __Ice__LocatorRegistry_ids[0];
1654
+ #endif
1655
+ }
1656
+
1657
+ ::Ice::DispatchStatus
1658
+ Ice::LocatorRegistry::___setAdapterDirectProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1659
+ {
1660
+ __checkMode(::Ice::Idempotent, __current.mode);
1661
+ ::IceInternal::BasicStream* __is = __inS.startReadParams();
1662
+ ::std::string id;
1663
+ ::Ice::ObjectPrx proxy;
1664
+ __is->read(id);
1665
+ __is->read(proxy);
1666
+ __inS.endReadParams();
1667
+ ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy(__inS);
1668
+ try
1669
+ {
1670
+ setAdapterDirectProxy_async(__cb, id, proxy, __current);
1671
+ }
1672
+ catch(const ::std::exception& __ex)
1673
+ {
1674
+ __cb->ice_exception(__ex);
1675
+ }
1676
+ catch(...)
1677
+ {
1678
+ __cb->ice_exception();
1679
+ }
1680
+ return ::Ice::DispatchAsync;
1681
+ }
1682
+
1683
+ ::Ice::DispatchStatus
1684
+ Ice::LocatorRegistry::___setReplicatedAdapterDirectProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1685
+ {
1686
+ __checkMode(::Ice::Idempotent, __current.mode);
1687
+ ::IceInternal::BasicStream* __is = __inS.startReadParams();
1688
+ ::std::string adapterId;
1689
+ ::std::string replicaGroupId;
1690
+ ::Ice::ObjectPrx p;
1691
+ __is->read(adapterId);
1692
+ __is->read(replicaGroupId);
1693
+ __is->read(p);
1694
+ __inS.endReadParams();
1695
+ ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(__inS);
1696
+ try
1697
+ {
1698
+ setReplicatedAdapterDirectProxy_async(__cb, adapterId, replicaGroupId, p, __current);
1699
+ }
1700
+ catch(const ::std::exception& __ex)
1701
+ {
1702
+ __cb->ice_exception(__ex);
1703
+ }
1704
+ catch(...)
1705
+ {
1706
+ __cb->ice_exception();
1707
+ }
1708
+ return ::Ice::DispatchAsync;
1709
+ }
1710
+
1711
+ ::Ice::DispatchStatus
1712
+ Ice::LocatorRegistry::___setServerProcessProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1713
+ {
1714
+ __checkMode(::Ice::Idempotent, __current.mode);
1715
+ ::IceInternal::BasicStream* __is = __inS.startReadParams();
1716
+ ::std::string id;
1717
+ ::Ice::ProcessPrx proxy;
1718
+ __is->read(id);
1719
+ __is->read(proxy);
1720
+ __inS.endReadParams();
1721
+ ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy(__inS);
1722
+ try
1723
+ {
1724
+ setServerProcessProxy_async(__cb, id, proxy, __current);
1725
+ }
1726
+ catch(const ::std::exception& __ex)
1727
+ {
1728
+ __cb->ice_exception(__ex);
1729
+ }
1730
+ catch(...)
1731
+ {
1732
+ __cb->ice_exception();
1733
+ }
1734
+ return ::Ice::DispatchAsync;
1735
+ }
1736
+
1737
+ namespace
1738
+ {
1739
+ const ::std::string __Ice__LocatorRegistry_all[] =
1740
+ {
1741
+ "ice_id",
1742
+ "ice_ids",
1743
+ "ice_isA",
1744
+ "ice_ping",
1745
+ "setAdapterDirectProxy",
1746
+ "setReplicatedAdapterDirectProxy",
1747
+ "setServerProcessProxy"
1748
+ };
1749
+
1750
+ }
1751
+
1752
+ ::Ice::DispatchStatus
1753
+ Ice::LocatorRegistry::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1754
+ {
1755
+ ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__LocatorRegistry_all, __Ice__LocatorRegistry_all + 7, current.operation);
1756
+ if(r.first == r.second)
1757
+ {
1758
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1759
+ }
1760
+
1761
+ switch(r.first - __Ice__LocatorRegistry_all)
1762
+ {
1763
+ case 0:
1764
+ {
1765
+ return ___ice_id(in, current);
1766
+ }
1767
+ case 1:
1768
+ {
1769
+ return ___ice_ids(in, current);
1770
+ }
1771
+ case 2:
1772
+ {
1773
+ return ___ice_isA(in, current);
1774
+ }
1775
+ case 3:
1776
+ {
1777
+ return ___ice_ping(in, current);
1778
+ }
1779
+ case 4:
1780
+ {
1781
+ return ___setAdapterDirectProxy(in, current);
1782
+ }
1783
+ case 5:
1784
+ {
1785
+ return ___setReplicatedAdapterDirectProxy(in, current);
1786
+ }
1787
+ case 6:
1788
+ {
1789
+ return ___setServerProcessProxy(in, current);
1790
+ }
1791
+ }
1792
+
1793
+ assert(false);
1794
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1795
+ }
1796
+
1797
+ void
1798
+ Ice::LocatorRegistry::__writeImpl(::IceInternal::BasicStream* __os) const
1799
+ {
1800
+ __os->startWriteSlice(ice_staticId(), -1, true);
1801
+ __os->endWriteSlice();
1802
+ }
1803
+
1804
+ void
1805
+ Ice::LocatorRegistry::__readImpl(::IceInternal::BasicStream* __is)
1806
+ {
1807
+ __is->startReadSlice();
1808
+ __is->endReadSlice();
1809
+ }
1810
+
1811
+ void ICE_DECLSPEC_EXPORT
1812
+ Ice::__patch(LocatorRegistryPtr& handle, const ::Ice::ObjectPtr& v)
1813
+ {
1814
+ handle = ::Ice::LocatorRegistryPtr::dynamicCast(v);
1815
+ if(v && !handle)
1816
+ {
1817
+ IceInternal::Ex::throwUOE(::Ice::LocatorRegistry::ice_staticId(), v);
1818
+ }
1819
+ }
1820
+
1821
+ ICE_DECLSPEC_EXPORT ::Ice::Object* Ice::upCast(::Ice::LocatorFinder* p) { return p; }
1822
+
1823
+ namespace
1824
+ {
1825
+ const ::std::string __Ice__LocatorFinder_ids[2] =
1826
+ {
1827
+ "::Ice::LocatorFinder",
1828
+ "::Ice::Object"
1829
+ };
1830
+
1831
+ }
1832
+
1833
+ bool
1834
+ Ice::LocatorFinder::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1835
+ {
1836
+ return ::std::binary_search(__Ice__LocatorFinder_ids, __Ice__LocatorFinder_ids + 2, _s);
1837
+ }
1838
+
1839
+ ::std::vector< ::std::string>
1840
+ Ice::LocatorFinder::ice_ids(const ::Ice::Current&) const
1841
+ {
1842
+ return ::std::vector< ::std::string>(&__Ice__LocatorFinder_ids[0], &__Ice__LocatorFinder_ids[2]);
1843
+ }
1844
+
1845
+ const ::std::string&
1846
+ Ice::LocatorFinder::ice_id(const ::Ice::Current&) const
1847
+ {
1848
+ return __Ice__LocatorFinder_ids[0];
1849
+ }
1850
+
1851
+ const ::std::string&
1852
+ Ice::LocatorFinder::ice_staticId()
1853
+ {
1854
+ #ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
1855
+ static const ::std::string typeId = "::Ice::LocatorFinder";
1856
+ return typeId;
1857
+ #else
1858
+ return __Ice__LocatorFinder_ids[0];
1859
+ #endif
1860
+ }
1861
+
1862
+ ::Ice::DispatchStatus
1863
+ Ice::LocatorFinder::___getLocator(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1864
+ {
1865
+ __checkMode(::Ice::Normal, __current.mode);
1866
+ __inS.readEmptyParams();
1867
+ ::Ice::LocatorPrx __ret = getLocator(__current);
1868
+ ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
1869
+ __os->write(__ret);
1870
+ __inS.__endWriteParams(true);
1871
+ return ::Ice::DispatchOK;
1872
+ }
1873
+
1874
+ namespace
1875
+ {
1876
+ const ::std::string __Ice__LocatorFinder_all[] =
1877
+ {
1878
+ "getLocator",
1879
+ "ice_id",
1880
+ "ice_ids",
1881
+ "ice_isA",
1882
+ "ice_ping"
1883
+ };
1884
+
1885
+ }
1886
+
1887
+ ::Ice::DispatchStatus
1888
+ Ice::LocatorFinder::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1889
+ {
1890
+ ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__LocatorFinder_all, __Ice__LocatorFinder_all + 5, current.operation);
1891
+ if(r.first == r.second)
1892
+ {
1893
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1894
+ }
1895
+
1896
+ switch(r.first - __Ice__LocatorFinder_all)
1897
+ {
1898
+ case 0:
1899
+ {
1900
+ return ___getLocator(in, current);
1901
+ }
1902
+ case 1:
1903
+ {
1904
+ return ___ice_id(in, current);
1905
+ }
1906
+ case 2:
1907
+ {
1908
+ return ___ice_ids(in, current);
1909
+ }
1910
+ case 3:
1911
+ {
1912
+ return ___ice_isA(in, current);
1913
+ }
1914
+ case 4:
1915
+ {
1916
+ return ___ice_ping(in, current);
1917
+ }
1918
+ }
1919
+
1920
+ assert(false);
1921
+ throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1922
+ }
1923
+
1924
+ void
1925
+ Ice::LocatorFinder::__writeImpl(::IceInternal::BasicStream* __os) const
1926
+ {
1927
+ __os->startWriteSlice(ice_staticId(), -1, true);
1928
+ __os->endWriteSlice();
1929
+ }
1930
+
1931
+ void
1932
+ Ice::LocatorFinder::__readImpl(::IceInternal::BasicStream* __is)
1933
+ {
1934
+ __is->startReadSlice();
1935
+ __is->endReadSlice();
1936
+ }
1937
+
1938
+ void ICE_DECLSPEC_EXPORT
1939
+ Ice::__patch(LocatorFinderPtr& handle, const ::Ice::ObjectPtr& v)
1940
+ {
1941
+ handle = ::Ice::LocatorFinderPtr::dynamicCast(v);
1942
+ if(v && !handle)
1943
+ {
1944
+ IceInternal::Ex::throwUOE(::Ice::LocatorFinder::ice_staticId(), v);
1945
+ }
1946
+ }