zeroc-ice 3.6.5 → 3.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (777) hide show
  1. checksums.yaml +5 -5
  2. data/ICE_LICENSE +17 -17
  3. data/LICENSE +12 -12
  4. data/bin/slice2rb +1 -6
  5. data/ext/Communicator.cpp +223 -61
  6. data/ext/Communicator.h +1 -6
  7. data/ext/Config.h +23 -7
  8. data/ext/Connection.cpp +108 -76
  9. data/ext/Connection.h +4 -6
  10. data/ext/Endpoint.cpp +16 -54
  11. data/ext/Endpoint.h +1 -6
  12. data/ext/ImplicitContext.cpp +1 -10
  13. data/ext/ImplicitContext.h +1 -6
  14. data/ext/Init.cpp +4 -6
  15. data/ext/Logger.cpp +1 -6
  16. data/ext/Logger.h +1 -6
  17. data/ext/Operation.cpp +38 -54
  18. data/ext/Operation.h +1 -6
  19. data/ext/Properties.cpp +3 -8
  20. data/ext/Properties.h +1 -6
  21. data/ext/Proxy.cpp +111 -70
  22. data/ext/Proxy.h +1 -6
  23. data/ext/Slice.cpp +5 -20
  24. data/ext/Slice.h +1 -6
  25. data/ext/Types.cpp +313 -224
  26. data/ext/Types.h +118 -71
  27. data/ext/Util.cpp +69 -36
  28. data/ext/Util.h +117 -42
  29. data/ext/ValueFactoryManager.cpp +440 -0
  30. data/ext/ValueFactoryManager.h +95 -0
  31. data/ext/extconf.rb +52 -48
  32. data/ext/ice/cpp/include/Ice/Application.h +275 -105
  33. data/ext/ice/cpp/include/Ice/AsyncResult.h +124 -337
  34. data/ext/ice/cpp/include/Ice/AsyncResultF.h +4 -7
  35. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +39 -16
  36. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
  37. data/ext/ice/cpp/include/Ice/Buffer.h +10 -15
  38. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +56 -17
  39. data/ext/ice/cpp/include/Ice/Comparable.h +205 -0
  40. data/ext/ice/cpp/include/Ice/Config.h +16 -39
  41. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +203 -16
  42. data/ext/ice/cpp/include/Ice/ConnectionIF.h +7 -6
  43. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +23 -0
  44. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +57 -0
  45. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +20 -12
  46. data/ext/ice/cpp/include/Ice/Dispatcher.h +35 -19
  47. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +7 -10
  48. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
  49. data/ext/ice/cpp/include/Ice/Exception.h +110 -63
  50. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
  51. data/ext/ice/cpp/include/Ice/FactoryTable.h +22 -18
  52. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +28 -31
  53. data/ext/ice/cpp/include/Ice/Format.h +17 -18
  54. data/ext/ice/cpp/include/Ice/Functional.h +38 -38
  55. data/ext/ice/cpp/include/Ice/GCObject.h +9 -10
  56. data/ext/ice/cpp/include/Ice/Handle.h +6 -16
  57. data/ext/ice/cpp/include/Ice/Ice.h +9 -10
  58. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +377 -0
  59. data/ext/ice/cpp/include/Ice/Incoming.h +132 -38
  60. data/ext/ice/cpp/include/Ice/IncomingAsync.h +109 -31
  61. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +7 -6
  62. data/ext/ice/cpp/include/Ice/Initialize.h +872 -60
  63. data/ext/ice/cpp/include/Ice/InputStream.h +1514 -0
  64. data/ext/ice/cpp/include/Ice/InstanceF.h +1 -7
  65. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +57 -0
  66. data/ext/ice/cpp/include/Ice/LocalObject.h +13 -14
  67. data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
  68. data/ext/ice/cpp/include/Ice/LoggerUtil.h +56 -24
  69. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +124 -71
  70. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +25 -10
  71. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +116 -32
  72. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +61 -30
  73. data/ext/ice/cpp/include/Ice/Object.h +413 -78
  74. data/ext/ice/cpp/include/Ice/ObjectF.h +12 -8
  75. data/ext/ice/cpp/include/Ice/ObserverHelper.h +18 -13
  76. data/ext/ice/cpp/include/Ice/Optional.h +1114 -0
  77. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +684 -89
  78. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +12 -11
  79. data/ext/ice/cpp/include/Ice/OutputStream.h +1092 -0
  80. data/ext/ice/cpp/include/Ice/Protocol.h +49 -17
  81. data/ext/ice/cpp/include/Ice/Proxy.h +3438 -745
  82. data/ext/ice/cpp/include/Ice/ProxyF.h +13 -38
  83. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
  84. data/ext/ice/cpp/include/Ice/ProxyHandle.h +43 -55
  85. data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
  86. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +84 -12
  87. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +10 -9
  88. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +6 -6
  89. data/ext/ice/cpp/include/Ice/SHA1.h +42 -0
  90. data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
  91. data/ext/ice/cpp/include/Ice/Service.h +273 -154
  92. data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -6
  93. data/ext/ice/cpp/include/Ice/SlicedData.h +121 -53
  94. data/ext/ice/cpp/include/Ice/SlicedDataF.h +17 -11
  95. data/ext/ice/cpp/include/Ice/StreamHelpers.h +453 -140
  96. data/ext/ice/cpp/include/Ice/StringConverter.h +78 -0
  97. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
  98. data/ext/ice/cpp/include/Ice/UUID.h +19 -0
  99. data/ext/ice/cpp/include/{IceUtil → Ice}/UniquePtr.h +22 -28
  100. data/ext/ice/cpp/include/Ice/UniqueRef.h +97 -0
  101. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +45 -13
  102. data/ext/ice/cpp/include/Ice/Value.h +139 -0
  103. data/ext/ice/cpp/include/Ice/ValueF.h +21 -0
  104. data/ext/ice/cpp/include/IceSSL/Config.h +8 -28
  105. data/ext/ice/cpp/include/IceSSL/IceSSL.h +17 -11
  106. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +147 -0
  107. data/ext/ice/cpp/include/IceSSL/Plugin.h +461 -448
  108. data/ext/ice/cpp/include/IceSSL/SChannel.h +72 -0
  109. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +72 -0
  110. data/ext/ice/cpp/include/IceSSL/UWP.h +62 -0
  111. data/ext/ice/cpp/include/IceUtil/Atomic.h +7 -14
  112. data/ext/ice/cpp/include/IceUtil/Cond.h +17 -23
  113. data/ext/ice/cpp/include/IceUtil/Config.h +166 -46
  114. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +92 -0
  115. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +5 -10
  116. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +63 -41
  117. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -13
  118. data/ext/ice/cpp/include/IceUtil/Exception.h +284 -75
  119. data/ext/ice/cpp/include/IceUtil/FileUtil.h +143 -0
  120. data/ext/ice/cpp/include/IceUtil/Functional.h +4 -6
  121. data/ext/ice/cpp/include/IceUtil/Handle.h +11 -16
  122. data/ext/ice/cpp/include/IceUtil/IceUtil.h +4 -15
  123. data/ext/ice/cpp/include/IceUtil/InputUtil.h +3 -8
  124. data/ext/ice/cpp/include/IceUtil/Iterator.h +2 -7
  125. data/ext/ice/cpp/include/IceUtil/Lock.h +8 -15
  126. data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -7
  127. data/ext/ice/cpp/include/IceUtil/Mutex.h +19 -23
  128. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +2 -7
  129. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +4 -9
  130. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +4 -9
  131. data/ext/ice/cpp/include/IceUtil/Optional.h +134 -23
  132. data/ext/ice/cpp/include/IceUtil/Options.h +17 -23
  133. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +61 -37
  134. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +6 -11
  135. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +18 -15
  136. data/ext/ice/cpp/include/IceUtil/Random.h +39 -8
  137. data/ext/ice/cpp/include/IceUtil/RecMutex.h +7 -13
  138. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +53 -0
  139. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +10 -15
  140. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +8 -7
  141. data/ext/ice/cpp/include/IceUtil/Shared.h +5 -12
  142. data/ext/ice/cpp/{src → include}/IceUtil/StopWatch.h +2 -7
  143. data/ext/ice/cpp/include/IceUtil/StringConverter.h +146 -126
  144. data/ext/ice/cpp/include/IceUtil/StringUtil.h +32 -26
  145. data/ext/ice/cpp/include/IceUtil/Thread.h +10 -17
  146. data/ext/ice/cpp/include/IceUtil/ThreadException.h +33 -47
  147. data/ext/ice/cpp/include/IceUtil/Time.h +3 -8
  148. data/ext/ice/cpp/include/IceUtil/Timer.h +18 -18
  149. data/ext/ice/cpp/include/IceUtil/UUID.h +6 -7
  150. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
  151. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
  152. data/ext/ice/cpp/include/generated/Ice/Communicator.h +1156 -0
  153. data/ext/ice/cpp/include/{Ice → generated/Ice}/CommunicatorF.h +51 -16
  154. data/ext/ice/cpp/include/generated/Ice/Connection.h +1660 -0
  155. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
  156. data/ext/ice/cpp/include/generated/Ice/Current.h +322 -0
  157. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +943 -0
  158. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
  159. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
  160. data/ext/ice/cpp/include/{Ice → generated/Ice}/FacetMap.h +31 -15
  161. data/ext/ice/cpp/include/generated/Ice/Identity.h +264 -0
  162. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +278 -0
  163. data/ext/ice/cpp/include/{Ice → generated/Ice}/ImplicitContextF.h +51 -16
  164. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +1143 -0
  165. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
  166. data/ext/ice/cpp/include/generated/Ice/LocalException.h +7041 -0
  167. data/ext/ice/cpp/include/generated/Ice/Locator.h +3850 -0
  168. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
  169. data/ext/ice/cpp/include/generated/Ice/Logger.h +231 -0
  170. data/ext/ice/cpp/include/{Ice → generated/Ice}/LoggerF.h +51 -16
  171. data/ext/ice/cpp/include/generated/Ice/Metrics.h +4717 -0
  172. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1175 -0
  173. data/ext/ice/cpp/include/{Ice → generated/Ice}/ObjectAdapterF.h +51 -16
  174. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +197 -0
  175. data/ext/ice/cpp/include/generated/Ice/Plugin.h +306 -0
  176. data/ext/ice/cpp/include/generated/Ice/PluginF.h +110 -0
  177. data/ext/ice/cpp/include/generated/Ice/Process.h +971 -0
  178. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
  179. data/ext/ice/cpp/include/generated/Ice/Properties.h +446 -0
  180. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1360 -0
  181. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
  182. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2689 -0
  183. data/ext/ice/cpp/include/generated/Ice/Router.h +1838 -0
  184. data/ext/ice/cpp/include/generated/Ice/RouterF.h +125 -0
  185. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +299 -0
  186. data/ext/ice/cpp/include/{Ice → generated/Ice}/ServantLocatorF.h +51 -16
  187. data/ext/ice/cpp/include/{Ice → generated/Ice}/SliceChecksumDict.h +34 -14
  188. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +318 -0
  189. data/ext/ice/cpp/include/generated/Ice/Version.h +357 -0
  190. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +223 -0
  191. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
  192. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +181 -0
  193. data/ext/ice/cpp/src/Ice/ACM.cpp +38 -27
  194. data/ext/ice/cpp/src/Ice/ACM.h +9 -7
  195. data/ext/ice/cpp/src/Ice/ACMF.h +30 -0
  196. data/ext/ice/cpp/src/Ice/Acceptor.cpp +6 -6
  197. data/ext/ice/cpp/src/Ice/Acceptor.h +4 -8
  198. data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
  199. data/ext/ice/cpp/src/Ice/ArgVector.cpp +59 -0
  200. data/ext/ice/cpp/src/Ice/ArgVector.h +36 -0
  201. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +15 -544
  202. data/ext/ice/cpp/src/Ice/Base64.cpp +22 -28
  203. data/ext/ice/cpp/src/Ice/Base64.h +1 -6
  204. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +41 -18
  205. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +15 -15
  206. data/ext/ice/cpp/src/Ice/Buffer.cpp +75 -18
  207. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +21 -12
  208. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +86 -197
  209. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +17 -23
  210. data/ext/ice/cpp/src/Ice/Communicator.cpp +43 -15
  211. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +28 -11
  212. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +318 -117
  213. data/ext/ice/cpp/src/Ice/CommunicatorI.h +95 -40
  214. data/ext/ice/cpp/src/{IceUtil → Ice}/Cond.cpp +3 -8
  215. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +55 -122
  216. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +15 -31
  217. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +6 -7
  218. data/ext/ice/cpp/src/Ice/Connection.cpp +111 -20
  219. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +28 -11
  220. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +300 -107
  221. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +44 -28
  222. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +30 -0
  223. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +785 -713
  224. data/ext/ice/cpp/src/Ice/ConnectionI.h +105 -80
  225. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +2 -20
  226. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +5 -9
  227. data/ext/ice/cpp/src/Ice/Connector.cpp +6 -6
  228. data/ext/ice/cpp/src/Ice/Connector.h +4 -8
  229. data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
  230. data/ext/ice/cpp/src/{IceUtil → Ice}/CountDownLatch.cpp +4 -9
  231. data/ext/ice/cpp/src/Ice/Current.cpp +30 -12
  232. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +10 -16
  233. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -6
  234. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -6
  235. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -25
  236. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +34 -28
  237. data/ext/ice/cpp/src/Ice/Endpoint.cpp +107 -19
  238. data/ext/ice/cpp/src/Ice/EndpointF.cpp +28 -11
  239. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +152 -6
  240. data/ext/ice/cpp/src/Ice/EndpointFactory.h +72 -11
  241. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
  242. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +41 -36
  243. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +10 -9
  244. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
  245. data/ext/ice/cpp/src/Ice/EndpointI.cpp +18 -7
  246. data/ext/ice/cpp/src/Ice/EndpointI.h +39 -18
  247. data/ext/ice/cpp/src/Ice/EndpointIF.h +18 -10
  248. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +19 -12
  249. data/ext/ice/cpp/src/Ice/EventHandler.cpp +6 -9
  250. data/ext/ice/cpp/src/Ice/EventHandler.h +13 -13
  251. data/ext/ice/cpp/src/Ice/EventHandlerF.h +5 -7
  252. data/ext/ice/cpp/src/Ice/Exception.cpp +102 -98
  253. data/ext/ice/cpp/src/Ice/FacetMap.cpp +21 -12
  254. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +37 -33
  255. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +2 -9
  256. data/ext/ice/cpp/src/Ice/GCObject.cpp +29 -31
  257. data/ext/ice/cpp/src/Ice/HashUtil.h +3 -9
  258. data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -7
  259. data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
  260. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +128 -111
  261. data/ext/ice/cpp/src/Ice/IPEndpointI.h +23 -19
  262. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +6 -7
  263. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +51 -0
  264. data/ext/ice/cpp/src/Ice/Identity.cpp +25 -16
  265. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +41 -13
  266. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +28 -11
  267. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +11 -28
  268. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +7 -10
  269. data/ext/ice/cpp/src/Ice/Incoming.cpp +284 -255
  270. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +104 -214
  271. data/ext/ice/cpp/src/Ice/IncomingRequest.h +5 -9
  272. data/ext/ice/cpp/src/Ice/Initialize.cpp +309 -193
  273. data/ext/ice/cpp/src/Ice/InputStream.cpp +2726 -0
  274. data/ext/ice/cpp/src/Ice/Instance.cpp +243 -262
  275. data/ext/ice/cpp/src/Ice/Instance.h +30 -23
  276. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +137 -23
  277. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +28 -11
  278. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +118 -105
  279. data/ext/ice/cpp/src/Ice/InstrumentationI.h +30 -36
  280. data/ext/ice/cpp/src/Ice/LocalException.cpp +1191 -422
  281. data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -7
  282. data/ext/ice/cpp/src/Ice/Locator.cpp +1282 -1222
  283. data/ext/ice/cpp/src/Ice/LocatorF.cpp +30 -12
  284. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +150 -186
  285. data/ext/ice/cpp/src/Ice/LocatorInfo.h +31 -36
  286. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
  287. data/ext/ice/cpp/src/Ice/Logger.cpp +39 -12
  288. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +182 -88
  289. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +4 -9
  290. data/ext/ice/cpp/src/Ice/LoggerF.cpp +28 -11
  291. data/ext/ice/cpp/src/Ice/LoggerI.cpp +26 -55
  292. data/ext/ice/cpp/src/Ice/LoggerI.h +7 -18
  293. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +10 -17
  294. data/ext/ice/cpp/src/Ice/Metrics.cpp +1280 -1107
  295. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +58 -33
  296. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -7
  297. data/ext/ice/cpp/src/Ice/Network.cpp +753 -408
  298. data/ext/ice/cpp/src/Ice/Network.h +99 -36
  299. data/ext/ice/cpp/src/Ice/NetworkF.h +2 -7
  300. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +20 -19
  301. data/ext/ice/cpp/src/Ice/NetworkProxy.h +5 -7
  302. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -6
  303. data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
  304. data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
  305. data/ext/ice/cpp/src/Ice/Object.cpp +227 -232
  306. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +45 -13
  307. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +28 -11
  308. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +83 -33
  309. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +13 -12
  310. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +25 -0
  311. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +298 -191
  312. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +44 -39
  313. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +41 -13
  314. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +9 -37
  315. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +67 -67
  316. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +15 -11
  317. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +801 -366
  318. data/ext/ice/cpp/src/Ice/OutputStream.cpp +1367 -0
  319. data/ext/ice/cpp/src/Ice/Plugin.cpp +52 -14
  320. data/ext/ice/cpp/src/Ice/PluginF.cpp +28 -11
  321. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +27 -51
  322. data/ext/ice/cpp/src/Ice/PluginManagerI.h +7 -13
  323. data/ext/ice/cpp/src/Ice/Process.cpp +294 -128
  324. data/ext/ice/cpp/src/Ice/ProcessF.cpp +30 -12
  325. data/ext/ice/cpp/src/Ice/Properties.cpp +42 -15
  326. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +382 -340
  327. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +83 -24
  328. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +29 -10
  329. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +30 -12
  330. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +46 -57
  331. data/ext/ice/cpp/src/Ice/PropertiesI.h +18 -26
  332. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +112 -19
  333. data/ext/ice/cpp/src/Ice/PropertyNames.h +4 -7
  334. data/ext/ice/cpp/src/Ice/Protocol.cpp +6 -19
  335. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +37 -7
  336. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +9 -25
  337. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
  338. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +6 -6
  339. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +3 -6
  340. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
  341. data/ext/ice/cpp/src/Ice/Proxy.cpp +729 -957
  342. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +33 -38
  343. data/ext/ice/cpp/src/Ice/ProxyFactory.h +16 -16
  344. data/ext/ice/cpp/src/Ice/Reference.cpp +190 -106
  345. data/ext/ice/cpp/src/Ice/Reference.h +39 -28
  346. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +69 -118
  347. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +12 -17
  348. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
  349. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +19 -9
  350. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
  351. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +766 -565
  352. data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
  353. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +5 -8
  354. data/ext/ice/cpp/src/Ice/RequestHandler.h +10 -18
  355. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +10 -11
  356. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +2 -7
  357. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +3 -11
  358. data/ext/ice/cpp/src/Ice/ResponseHandler.h +16 -12
  359. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +12 -20
  360. data/ext/ice/cpp/src/Ice/RetryQueue.h +7 -11
  361. data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
  362. data/ext/ice/cpp/src/Ice/Router.cpp +614 -492
  363. data/ext/ice/cpp/src/Ice/RouterF.cpp +30 -12
  364. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +93 -99
  365. data/ext/ice/cpp/src/Ice/RouterInfo.h +42 -38
  366. data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
  367. data/ext/ice/cpp/src/{IceUtil → Ice}/SHA1.cpp +23 -28
  368. data/ext/ice/cpp/src/Ice/Selector.cpp +948 -855
  369. data/ext/ice/cpp/src/Ice/Selector.h +100 -152
  370. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +41 -13
  371. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +28 -11
  372. data/ext/ice/cpp/src/Ice/ServantManager.cpp +24 -45
  373. data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
  374. data/ext/ice/cpp/src/Ice/SharedContext.h +2 -7
  375. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +21 -12
  376. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +2 -7
  377. data/ext/ice/cpp/src/Ice/SlicedData.cpp +72 -25
  378. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +208 -76
  379. data/ext/ice/cpp/src/Ice/StreamSocket.h +13 -9
  380. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +57 -22
  381. data/ext/ice/cpp/src/Ice/StringUtil.h +30 -0
  382. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +6 -7
  383. data/ext/ice/cpp/src/Ice/SysLoggerI.h +2 -8
  384. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +66 -0
  385. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +39 -0
  386. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +169 -49
  387. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +12 -10
  388. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +6 -12
  389. data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -7
  390. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +51 -46
  391. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +12 -14
  392. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +17 -32
  393. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +7 -15
  394. data/ext/ice/cpp/src/{IceUtil → Ice}/Thread.cpp +41 -54
  395. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +242 -274
  396. data/ext/ice/cpp/src/Ice/ThreadPool.h +46 -48
  397. data/ext/ice/cpp/src/{IceUtil → Ice}/Timer.cpp +38 -26
  398. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +2 -7
  399. data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
  400. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +2 -7
  401. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +53 -36
  402. data/ext/ice/cpp/src/Ice/TraceUtil.h +13 -11
  403. data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -7
  404. data/ext/ice/cpp/src/Ice/Transceiver.h +8 -12
  405. data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
  406. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +5 -13
  407. data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -7
  408. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +118 -60
  409. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +13 -10
  410. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +177 -236
  411. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +15 -22
  412. data/ext/ice/cpp/src/Ice/Value.cpp +76 -0
  413. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +83 -0
  414. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +61 -0
  415. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +37 -0
  416. data/ext/ice/cpp/src/Ice/Version.cpp +25 -20
  417. data/ext/ice/cpp/src/Ice/VirtualShared.h +38 -0
  418. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +3 -14
  419. data/ext/ice/cpp/src/Ice/WSAcceptor.h +3 -12
  420. data/ext/ice/cpp/src/Ice/WSConnector.cpp +5 -16
  421. data/ext/ice/cpp/src/Ice/WSConnector.h +3 -11
  422. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +188 -89
  423. data/ext/ice/cpp/src/Ice/WSEndpoint.h +22 -37
  424. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +65 -66
  425. data/ext/ice/cpp/src/Ice/WSTransceiver.h +7 -27
  426. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +596 -281
  427. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1383 -543
  428. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +89 -32
  429. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +59 -28
  430. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +315 -66
  431. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +83 -41
  432. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +57 -64
  433. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +3 -8
  434. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +450 -172
  435. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +863 -406
  436. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +47 -0
  437. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +636 -144
  438. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +20 -173
  439. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +8 -22
  440. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +279 -0
  441. data/ext/ice/cpp/src/IceSSL/CertificateI.h +64 -0
  442. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +42 -17
  443. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +61 -0
  444. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +15 -64
  445. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +6 -18
  446. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +207 -204
  447. data/ext/ice/cpp/src/IceSSL/EndpointI.h +43 -40
  448. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +42 -16
  449. data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -11
  450. data/ext/ice/cpp/src/IceSSL/Instance.h +7 -12
  451. data/ext/ice/cpp/src/IceSSL/InstanceF.h +11 -12
  452. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +583 -0
  453. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +134 -115
  454. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +59 -0
  455. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +27 -0
  456. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +127 -0
  457. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +477 -182
  458. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +32 -26
  459. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +286 -0
  460. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +58 -0
  461. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +71 -46
  462. data/ext/ice/cpp/src/IceSSL/PluginI.h +13 -23
  463. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +9 -60
  464. data/ext/ice/cpp/src/IceSSL/RFC2253.h +7 -12
  465. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +580 -0
  466. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +523 -74
  467. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +123 -0
  468. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +31 -0
  469. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +73 -0
  470. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +187 -221
  471. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +24 -26
  472. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +97 -94
  473. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +26 -192
  474. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +4 -24
  475. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +868 -0
  476. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +69 -201
  477. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +59 -0
  478. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +29 -0
  479. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +75 -0
  480. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +174 -161
  481. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +29 -33
  482. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +864 -0
  483. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +45 -0
  484. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +12 -22
  485. data/ext/ice/cpp/src/IceSSL/TrustManager.h +4 -9
  486. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +3 -8
  487. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +266 -0
  488. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +338 -0
  489. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +41 -0
  490. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +26 -0
  491. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +89 -0
  492. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +383 -0
  493. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +71 -0
  494. data/ext/ice/cpp/src/IceSSL/Util.cpp +71 -1260
  495. data/ext/ice/cpp/src/IceSSL/Util.h +48 -142
  496. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +157 -0
  497. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +22 -27
  498. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +34 -31
  499. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +22 -36
  500. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +30 -126
  501. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -6
  502. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -6
  503. data/ext/ice/cpp/src/IceUtil/Options.cpp +20 -33
  504. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +47 -21
  505. data/ext/ice/cpp/src/IceUtil/Random.cpp +15 -20
  506. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +4 -19
  507. data/ext/ice/cpp/src/IceUtil/Shared.cpp +8 -8
  508. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +501 -269
  509. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +582 -244
  510. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +37 -79
  511. data/ext/ice/cpp/src/IceUtil/Time.cpp +6 -11
  512. data/ext/ice/cpp/src/IceUtil/UUID.cpp +17 -22
  513. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +97 -101
  514. data/ext/ice/cpp/src/IceUtil/Unicode.h +21 -40
  515. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +839 -0
  516. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +894 -234
  517. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +72 -0
  518. data/ext/ice/cpp/src/Slice/Checksum.cpp +2 -7
  519. data/ext/ice/cpp/src/Slice/Checksum.h +21 -0
  520. data/ext/ice/cpp/src/Slice/FileTracker.cpp +25 -83
  521. data/ext/ice/cpp/{include → src}/Slice/FileTracker.h +9 -14
  522. data/ext/ice/cpp/src/Slice/Grammar.cpp +1981 -1944
  523. data/ext/ice/cpp/src/Slice/Grammar.h +39 -19
  524. data/ext/ice/cpp/src/Slice/GrammarUtil.h +14 -20
  525. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +2752 -1948
  526. data/ext/ice/cpp/src/Slice/JavaUtil.h +398 -0
  527. data/ext/ice/cpp/src/Slice/MD5.cpp +1 -6
  528. data/ext/ice/cpp/src/Slice/MD5.h +1 -6
  529. data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -1
  530. data/ext/ice/cpp/src/Slice/MD5I.h +1 -1
  531. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +17 -20
  532. data/ext/ice/cpp/src/Slice/PHPUtil.h +36 -0
  533. data/ext/ice/cpp/src/Slice/Parser.cpp +1190 -426
  534. data/ext/ice/cpp/{include → src}/Slice/Parser.h +143 -91
  535. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +67 -36
  536. data/ext/ice/cpp/{include → src}/Slice/Preprocessor.h +8 -18
  537. data/ext/ice/cpp/src/Slice/Python.cpp +218 -111
  538. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +787 -699
  539. data/ext/ice/cpp/src/Slice/PythonUtil.h +70 -0
  540. data/ext/ice/cpp/src/Slice/Ruby.cpp +42 -43
  541. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +175 -445
  542. data/ext/ice/cpp/{include → src}/Slice/RubyUtil.h +6 -11
  543. data/ext/ice/cpp/src/Slice/Scanner.cpp +390 -399
  544. data/ext/ice/cpp/src/Slice/{Util.cpp → SliceUtil.cpp} +36 -69
  545. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +456 -0
  546. data/ext/ice/cpp/src/Slice/Util.h +50 -0
  547. data/ice.gemspec +2 -9
  548. data/lib/Glacier2.rb +1 -6
  549. data/lib/Glacier2/Metrics.rb +6 -50
  550. data/lib/Glacier2/PermissionsVerifier.rb +23 -99
  551. data/lib/Glacier2/PermissionsVerifierF.rb +2 -7
  552. data/lib/Glacier2/Router.rb +31 -78
  553. data/lib/Glacier2/RouterF.rb +2 -7
  554. data/lib/Glacier2/SSLInfo.rb +3 -11
  555. data/lib/Glacier2/Session.rb +87 -311
  556. data/lib/Ice.rb +84 -58
  557. data/lib/Ice/BuiltinSequences.rb +3 -8
  558. data/lib/Ice/Communicator.rb +54 -61
  559. data/lib/Ice/CommunicatorF.rb +2 -7
  560. data/lib/Ice/Connection.rb +152 -166
  561. data/lib/Ice/ConnectionF.rb +2 -7
  562. data/lib/Ice/Current.rb +3 -15
  563. data/lib/Ice/Endpoint.rb +56 -137
  564. data/lib/Ice/EndpointF.rb +2 -7
  565. data/lib/Ice/EndpointTypes.rb +2 -11
  566. data/lib/Ice/FacetMap.rb +3 -8
  567. data/lib/Ice/Identity.rb +4 -12
  568. data/lib/Ice/ImplicitContext.rb +4 -38
  569. data/lib/Ice/ImplicitContextF.rb +2 -7
  570. data/lib/Ice/Instrumentation.rb +22 -279
  571. data/lib/Ice/InstrumentationF.rb +2 -7
  572. data/lib/Ice/LocalException.rb +94 -145
  573. data/lib/Ice/Locator.rb +50 -169
  574. data/lib/Ice/LocatorF.rb +2 -7
  575. data/lib/Ice/Logger.rb +4 -38
  576. data/lib/Ice/LoggerF.rb +2 -7
  577. data/lib/Ice/Metrics.rb +60 -420
  578. data/lib/Ice/ObjectAdapter.rb +29 -0
  579. data/lib/Ice/ObjectAdapterF.rb +2 -7
  580. data/lib/Ice/ObjectFactory.rb +4 -34
  581. data/lib/Ice/Plugin.rb +6 -64
  582. data/lib/Ice/PluginF.rb +2 -7
  583. data/lib/Ice/Process.rb +15 -56
  584. data/lib/Ice/ProcessF.rb +2 -7
  585. data/lib/Ice/Properties.rb +4 -45
  586. data/lib/Ice/PropertiesAdmin.rb +18 -60
  587. data/lib/Ice/PropertiesF.rb +2 -7
  588. data/lib/Ice/RemoteLogger.rb +33 -119
  589. data/lib/Ice/Router.rb +28 -105
  590. data/lib/Ice/RouterF.rb +2 -7
  591. data/lib/Ice/ServantLocator.rb +26 -0
  592. data/lib/Ice/ServantLocatorF.rb +24 -0
  593. data/lib/Ice/SliceChecksumDict.rb +2 -7
  594. data/lib/Ice/ValueFactory.rb +28 -0
  595. data/lib/Ice/Version.rb +4 -15
  596. data/lib/IceBox.rb +1 -6
  597. data/lib/IceBox/IceBox.rb +43 -152
  598. data/lib/IceGrid.rb +1 -9
  599. data/lib/IceGrid/Admin.rb +550 -431
  600. data/lib/IceGrid/Descriptor.rb +61 -533
  601. data/lib/IceGrid/Exception.rb +23 -49
  602. data/lib/IceGrid/FileParser.rb +13 -54
  603. data/lib/IceGrid/PluginFacade.rb +35 -0
  604. data/lib/IceGrid/Registry.rb +150 -62
  605. data/lib/IceGrid/Session.rb +24 -68
  606. data/lib/IceGrid/UserAccountMapper.rb +13 -54
  607. data/lib/IcePatch2.rb +1 -6
  608. data/lib/IcePatch2/FileInfo.rb +4 -15
  609. data/lib/IcePatch2/FileServer.rb +32 -80
  610. data/lib/IceStorm.rb +1 -6
  611. data/lib/IceStorm/IceStorm.rb +78 -210
  612. data/lib/IceStorm/Metrics.rb +10 -93
  613. data/slice/Glacier2/Metrics.ice +20 -10
  614. data/slice/Glacier2/PermissionsVerifier.ice +19 -12
  615. data/slice/Glacier2/PermissionsVerifierF.ice +16 -9
  616. data/slice/Glacier2/Router.ice +19 -13
  617. data/slice/Glacier2/RouterF.ice +16 -9
  618. data/slice/Glacier2/SSLInfo.ice +17 -10
  619. data/slice/Glacier2/Session.ice +24 -18
  620. data/slice/Ice/BuiltinSequences.ice +18 -9
  621. data/slice/Ice/Communicator.ice +180 -64
  622. data/slice/Ice/CommunicatorF.ice +18 -9
  623. data/slice/Ice/Connection.ice +208 -75
  624. data/slice/Ice/ConnectionF.ice +18 -9
  625. data/slice/Ice/Current.ice +37 -28
  626. data/slice/Ice/Endpoint.ice +73 -21
  627. data/slice/Ice/EndpointF.ice +19 -10
  628. data/slice/Ice/EndpointTypes.ice +21 -13
  629. data/slice/Ice/FacetMap.ice +19 -10
  630. data/slice/Ice/Identity.ice +24 -10
  631. data/slice/Ice/ImplicitContext.ice +41 -33
  632. data/slice/Ice/ImplicitContextF.ice +17 -9
  633. data/slice/Ice/Instrumentation.ice +37 -30
  634. data/slice/Ice/InstrumentationF.ice +19 -10
  635. data/slice/Ice/LocalException.ice +118 -112
  636. data/slice/Ice/Locator.ice +28 -21
  637. data/slice/Ice/LocatorF.ice +18 -9
  638. data/slice/Ice/Logger.ice +26 -18
  639. data/slice/Ice/LoggerF.ice +18 -9
  640. data/slice/Ice/Metrics.ice +42 -30
  641. data/slice/Ice/ObjectAdapter.ice +88 -53
  642. data/slice/Ice/ObjectAdapterF.ice +18 -9
  643. data/slice/Ice/ObjectFactory.ice +28 -17
  644. data/slice/Ice/Plugin.ice +25 -13
  645. data/slice/Ice/PluginF.ice +22 -9
  646. data/slice/Ice/Process.ice +20 -11
  647. data/slice/Ice/ProcessF.ice +18 -9
  648. data/slice/Ice/Properties.ice +42 -28
  649. data/slice/Ice/PropertiesAdmin.ice +20 -10
  650. data/slice/Ice/PropertiesF.ice +18 -9
  651. data/slice/Ice/RemoteLogger.ice +23 -19
  652. data/slice/Ice/Router.ice +28 -13
  653. data/slice/Ice/RouterF.ice +18 -9
  654. data/slice/Ice/ServantLocator.ice +40 -29
  655. data/slice/Ice/ServantLocatorF.ice +18 -9
  656. data/slice/Ice/SliceChecksumDict.ice +18 -9
  657. data/slice/Ice/ValueFactory.ice +132 -0
  658. data/slice/Ice/Version.ice +20 -10
  659. data/slice/IceBT/ConnectionInfo.ice +58 -0
  660. data/slice/IceBT/EndpointInfo.ice +56 -0
  661. data/slice/IceBT/Types.ice +44 -0
  662. data/slice/IceBox/IceBox.ice +45 -27
  663. data/slice/IceDiscovery/IceDiscovery.ice +75 -10
  664. data/slice/IceGrid/Admin.ice +410 -44
  665. data/slice/IceGrid/Descriptor.ice +47 -34
  666. data/slice/IceGrid/Exception.ice +43 -32
  667. data/slice/IceGrid/FileParser.ice +21 -12
  668. data/slice/IceGrid/PluginFacade.ice +26 -18
  669. data/slice/IceGrid/Registry.ice +150 -21
  670. data/slice/IceGrid/Session.ice +25 -17
  671. data/slice/IceGrid/UserAccountMapper.ice +23 -14
  672. data/slice/IceIAP/ConnectionInfo.ice +73 -0
  673. data/slice/IceIAP/EndpointInfo.ice +67 -0
  674. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +19 -12
  675. data/slice/IcePatch2/FileInfo.ice +19 -13
  676. data/slice/IcePatch2/FileServer.ice +27 -18
  677. data/slice/IceSSL/ConnectionInfo.ice +27 -23
  678. data/slice/IceSSL/ConnectionInfoF.ice +30 -0
  679. data/slice/IceSSL/EndpointInfo.ice +21 -36
  680. data/slice/IceStorm/IceStorm.ice +33 -24
  681. data/slice/IceStorm/Metrics.ice +19 -11
  682. metadata +148 -120
  683. data/ext/ObjectFactory.cpp +0 -140
  684. data/ext/ObjectFactory.h +0 -50
  685. data/ext/ice/cpp/include/Ice/ACMF.h +0 -30
  686. data/ext/ice/cpp/include/Ice/BasicStream.h +0 -1335
  687. data/ext/ice/cpp/include/Ice/BuiltinSequences.h +0 -82
  688. data/ext/ice/cpp/include/Ice/Communicator.h +0 -200
  689. data/ext/ice/cpp/include/Ice/Connection.h +0 -497
  690. data/ext/ice/cpp/include/Ice/ConnectionF.h +0 -74
  691. data/ext/ice/cpp/include/Ice/ConnectionFactoryF.h +0 -30
  692. data/ext/ice/cpp/include/Ice/Current.h +0 -102
  693. data/ext/ice/cpp/include/Ice/DefaultObjectFactory.h +0 -48
  694. data/ext/ice/cpp/include/Ice/DeprecatedStringConverter.h +0 -62
  695. data/ext/ice/cpp/include/Ice/Endpoint.h +0 -341
  696. data/ext/ice/cpp/include/Ice/EndpointF.h +0 -93
  697. data/ext/ice/cpp/include/Ice/EndpointTypes.h +0 -82
  698. data/ext/ice/cpp/include/Ice/Identity.h +0 -168
  699. data/ext/ice/cpp/include/Ice/ImplicitContext.h +0 -102
  700. data/ext/ice/cpp/include/Ice/Instrumentation.h +0 -365
  701. data/ext/ice/cpp/include/Ice/InstrumentationF.h +0 -75
  702. data/ext/ice/cpp/include/Ice/LocalException.h +0 -1030
  703. data/ext/ice/cpp/include/Ice/Locator.h +0 -2193
  704. data/ext/ice/cpp/include/Ice/LocatorF.h +0 -93
  705. data/ext/ice/cpp/include/Ice/Logger.h +0 -100
  706. data/ext/ice/cpp/include/Ice/Metrics.h +0 -2974
  707. data/ext/ice/cpp/include/Ice/ObjectAdapter.h +0 -168
  708. data/ext/ice/cpp/include/Ice/ObjectAdapterFactoryF.h +0 -26
  709. data/ext/ice/cpp/include/Ice/ObjectFactory.h +0 -92
  710. data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +0 -66
  711. data/ext/ice/cpp/include/Ice/ObjectFactoryManagerF.h +0 -26
  712. data/ext/ice/cpp/include/Ice/Outgoing.h +0 -225
  713. data/ext/ice/cpp/include/Ice/Plugin.h +0 -125
  714. data/ext/ice/cpp/include/Ice/PluginF.h +0 -70
  715. data/ext/ice/cpp/include/Ice/Process.h +0 -574
  716. data/ext/ice/cpp/include/Ice/ProcessF.h +0 -83
  717. data/ext/ice/cpp/include/Ice/Properties.h +0 -136
  718. data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +0 -830
  719. data/ext/ice/cpp/include/Ice/PropertiesF.h +0 -87
  720. data/ext/ice/cpp/include/Ice/RemoteLogger.h +0 -1500
  721. data/ext/ice/cpp/include/Ice/Router.h +0 -1159
  722. data/ext/ice/cpp/include/Ice/RouterF.h +0 -83
  723. data/ext/ice/cpp/include/Ice/ServantLocator.h +0 -96
  724. data/ext/ice/cpp/include/Ice/Stream.h +0 -447
  725. data/ext/ice/cpp/include/Ice/StreamF.h +0 -30
  726. data/ext/ice/cpp/include/Ice/Version.h +0 -262
  727. data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +0 -158
  728. data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +0 -142
  729. data/ext/ice/cpp/include/IceUtil/AbstractMutex.h +0 -119
  730. data/ext/ice/cpp/include/IceUtil/Cache.h +0 -362
  731. data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +0 -302
  732. data/ext/ice/cpp/include/IceUtil/SHA1.h +0 -47
  733. data/ext/ice/cpp/include/Slice/CPlusPlusUtil.h +0 -65
  734. data/ext/ice/cpp/include/Slice/Checksum.h +0 -26
  735. data/ext/ice/cpp/include/Slice/CsUtil.h +0 -92
  736. data/ext/ice/cpp/include/Slice/DotNetNames.h +0 -34
  737. data/ext/ice/cpp/include/Slice/JavaUtil.h +0 -279
  738. data/ext/ice/cpp/include/Slice/ObjCUtil.h +0 -127
  739. data/ext/ice/cpp/include/Slice/PHPUtil.h +0 -50
  740. data/ext/ice/cpp/include/Slice/PythonUtil.h +0 -64
  741. data/ext/ice/cpp/include/Slice/Util.h +0 -56
  742. data/ext/ice/cpp/src/Ice/BasicStream.cpp +0 -3428
  743. data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +0 -62
  744. data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +0 -44
  745. data/ext/ice/cpp/src/Ice/ObjectFactoryManager.cpp +0 -139
  746. data/ext/ice/cpp/src/Ice/ObjectFactoryManager.h +0 -43
  747. data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -694
  748. data/ext/ice/cpp/src/Ice/Stream.cpp +0 -53
  749. data/ext/ice/cpp/src/Ice/StreamI.cpp +0 -832
  750. data/ext/ice/cpp/src/Ice/StreamI.h +0 -198
  751. data/ext/ice/cpp/src/IceSSL/Certificate.cpp +0 -1336
  752. data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -64
  753. data/ext/ice/cpp/src/IceUtil/ArgVector.h +0 -41
  754. data/ext/ice/cpp/src/IceUtil/Exception.cpp +0 -792
  755. data/ext/ice/cpp/src/IceUtil/FileUtil.h +0 -185
  756. data/ext/ice/cpp/src/Slice/CsUtil.cpp +0 -2660
  757. data/ext/ice/cpp/src/Slice/DotNetNames.cpp +0 -146
  758. data/ext/ice/cpp/src/Slice/ObjCUtil.cpp +0 -1310
  759. data/lib/Ice/ObjectFactoryF.rb +0 -29
  760. data/lib/IceGrid/Locator.rb +0 -106
  761. data/lib/IceGrid/Observer.rb +0 -572
  762. data/lib/IceGrid/Query.rb +0 -169
  763. data/slice/Freeze/BackgroundSaveEvictor.ice +0 -111
  764. data/slice/Freeze/CatalogData.ice +0 -49
  765. data/slice/Freeze/Connection.ice +0 -121
  766. data/slice/Freeze/ConnectionF.ice +0 -20
  767. data/slice/Freeze/DB.ice +0 -37
  768. data/slice/Freeze/Evictor.ice +0 -346
  769. data/slice/Freeze/EvictorF.ice +0 -22
  770. data/slice/Freeze/EvictorStorage.ice +0 -72
  771. data/slice/Freeze/Exception.ice +0 -100
  772. data/slice/Freeze/Transaction.ice +0 -58
  773. data/slice/Freeze/TransactionalEvictor.ice +0 -50
  774. data/slice/Ice/ObjectFactoryF.ice +0 -21
  775. data/slice/IceGrid/Locator.ice +0 -57
  776. data/slice/IceGrid/Observer.ice +0 -395
  777. data/slice/IceGrid/Query.ice +0 -131
@@ -1,11 +1,6 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
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
4
 
10
5
  #include <Ice/LocalObject.h>
11
6
 
@@ -26,4 +21,3 @@ Ice::LocalObject::operator<(const LocalObject& r) const
26
21
  {
27
22
  return this < &r;
28
23
  }
29
-
@@ -1,13 +1,8 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
5
- // This copy of Ice is licensed to you under the terms described in the
6
- // ICE_LICENSE file included in this distribution.
7
4
  //
8
- // **********************************************************************
9
- //
10
- // Ice version 3.6.5
5
+ // Ice version 3.7.4
11
6
  //
12
7
  // <auto-generated>
13
8
  //
@@ -24,1124 +19,1270 @@
24
19
  #include <Ice/Locator.h>
25
20
  #include <IceUtil/PushDisableWarnings.h>
26
21
  #include <Ice/LocalException.h>
27
- #include <Ice/ObjectFactory.h>
28
- #include <Ice/Outgoing.h>
22
+ #include <Ice/ValueFactory.h>
29
23
  #include <Ice/OutgoingAsync.h>
30
- #include <Ice/BasicStream.h>
31
- #include <IceUtil/Iterator.h>
24
+ #include <Ice/InputStream.h>
25
+ #include <Ice/OutputStream.h>
26
+ #include <Ice/LocalException.h>
32
27
  #include <IceUtil/PopDisableWarnings.h>
33
28
 
29
+ #if defined(_MSC_VER)
30
+ # pragma warning(disable:4458) // declaration of ... hides class member
31
+ #elif defined(__clang__)
32
+ # pragma clang diagnostic ignored "-Wshadow"
33
+ #elif defined(__GNUC__)
34
+ # pragma GCC diagnostic ignored "-Wshadow"
35
+ #endif
36
+
34
37
  #ifndef ICE_IGNORE_VERSION
35
- # if ICE_INT_VERSION / 100 != 306
38
+ # if ICE_INT_VERSION / 100 != 307
36
39
  # error Ice version mismatch!
37
40
  # endif
38
- # if ICE_INT_VERSION % 100 > 50
41
+ # if ICE_INT_VERSION % 100 >= 50
39
42
  # error Beta header file detected
40
43
  # endif
41
- # if ICE_INT_VERSION % 100 < 5
44
+ # if ICE_INT_VERSION % 100 < 4
42
45
  # error Ice patch level mismatch!
43
46
  # endif
44
47
  #endif
45
48
 
49
+ #ifdef ICE_CPP11_MAPPING // C++11 mapping
50
+
46
51
  namespace
47
52
  {
48
53
 
49
- const ::std::string __Ice__Locator__findObjectById_name = "findObjectById";
50
-
51
- const ::std::string __Ice__Locator__findAdapterById_name = "findAdapterById";
54
+ const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
52
55
 
53
- const ::std::string __Ice__Locator__getRegistry_name = "getRegistry";
56
+ const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
54
57
 
55
- const ::std::string __Ice__LocatorRegistry__setAdapterDirectProxy_name = "setAdapterDirectProxy";
58
+ const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
56
59
 
57
- const ::std::string __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
60
+ const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
58
61
 
59
- const ::std::string __Ice__LocatorRegistry__setServerProcessProxy_name = "setServerProcessProxy";
62
+ const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
60
63
 
61
- const ::std::string __Ice__LocatorFinder__getLocator_name = "getLocator";
62
-
63
- }
64
+ const ::std::string iceC_Ice_Locator_ids[2] =
65
+ {
66
+ "::Ice::Locator",
67
+ "::Ice::Object"
68
+ };
69
+ const ::std::string iceC_Ice_Locator_ops[] =
70
+ {
71
+ "findAdapterById",
72
+ "findObjectById",
73
+ "getRegistry",
74
+ "ice_id",
75
+ "ice_ids",
76
+ "ice_isA",
77
+ "ice_ping"
78
+ };
79
+ const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
80
+ const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
81
+ const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
64
82
 
65
- namespace
83
+ const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
84
+ {
85
+ "::Ice::LocatorRegistry",
86
+ "::Ice::Object"
87
+ };
88
+ const ::std::string iceC_Ice_LocatorRegistry_ops[] =
66
89
  {
90
+ "ice_id",
91
+ "ice_ids",
92
+ "ice_isA",
93
+ "ice_ping",
94
+ "setAdapterDirectProxy",
95
+ "setReplicatedAdapterDirectProxy",
96
+ "setServerProcessProxy"
97
+ };
98
+ const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
99
+ const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
100
+ const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
67
101
 
68
- const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterNotFoundException> __Ice__AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
102
+ const ::std::string iceC_Ice_LocatorFinder_ids[2] =
103
+ {
104
+ "::Ice::LocatorFinder",
105
+ "::Ice::Object"
106
+ };
107
+ const ::std::string iceC_Ice_LocatorFinder_ops[] =
108
+ {
109
+ "getLocator",
110
+ "ice_id",
111
+ "ice_ids",
112
+ "ice_isA",
113
+ "ice_ping"
114
+ };
115
+ const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
69
116
 
70
117
  }
71
118
 
72
- Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
119
+ Ice::AdapterNotFoundException::~AdapterNotFoundException()
73
120
  {
74
121
  }
75
122
 
76
- ::std::string
77
- Ice::AdapterNotFoundException::ice_name() const
123
+ const ::std::string&
124
+ Ice::AdapterNotFoundException::ice_staticId()
78
125
  {
79
- return "Ice::AdapterNotFoundException";
126
+ static const ::std::string typeId = "::Ice::AdapterNotFoundException";
127
+ return typeId;
80
128
  }
81
129
 
82
- Ice::AdapterNotFoundException*
83
- Ice::AdapterNotFoundException::ice_clone() const
130
+ Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException()
84
131
  {
85
- return new AdapterNotFoundException(*this);
86
132
  }
87
133
 
88
- void
89
- Ice::AdapterNotFoundException::ice_throw() const
134
+ const ::std::string&
135
+ Ice::InvalidReplicaGroupIdException::ice_staticId()
90
136
  {
91
- throw *this;
137
+ static const ::std::string typeId = "::Ice::InvalidReplicaGroupIdException";
138
+ return typeId;
92
139
  }
93
140
 
94
- void
95
- Ice::AdapterNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
141
+ Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException()
96
142
  {
97
- __os->startWriteSlice("::Ice::AdapterNotFoundException", -1, true);
98
- __os->endWriteSlice();
99
143
  }
100
144
 
101
- void
102
- Ice::AdapterNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
145
+ const ::std::string&
146
+ Ice::AdapterAlreadyActiveException::ice_staticId()
103
147
  {
104
- __is->startReadSlice();
105
- __is->endReadSlice();
148
+ static const ::std::string typeId = "::Ice::AdapterAlreadyActiveException";
149
+ return typeId;
106
150
  }
107
151
 
108
- namespace
152
+ Ice::ObjectNotFoundException::~ObjectNotFoundException()
109
153
  {
110
-
111
- const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> __Ice__InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
112
-
113
154
  }
114
155
 
115
- Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException() throw()
156
+ const ::std::string&
157
+ Ice::ObjectNotFoundException::ice_staticId()
116
158
  {
159
+ static const ::std::string typeId = "::Ice::ObjectNotFoundException";
160
+ return typeId;
117
161
  }
118
162
 
119
- ::std::string
120
- Ice::InvalidReplicaGroupIdException::ice_name() const
163
+ Ice::ServerNotFoundException::~ServerNotFoundException()
121
164
  {
122
- return "Ice::InvalidReplicaGroupIdException";
123
165
  }
124
166
 
125
- Ice::InvalidReplicaGroupIdException*
126
- Ice::InvalidReplicaGroupIdException::ice_clone() const
167
+ const ::std::string&
168
+ Ice::ServerNotFoundException::ice_staticId()
127
169
  {
128
- return new InvalidReplicaGroupIdException(*this);
170
+ static const ::std::string typeId = "::Ice::ServerNotFoundException";
171
+ return typeId;
129
172
  }
130
173
 
131
- void
132
- Ice::InvalidReplicaGroupIdException::ice_throw() const
174
+ bool
175
+ Ice::Locator::ice_isA(::std::string s, const Current&) const
133
176
  {
134
- throw *this;
177
+ return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
135
178
  }
136
179
 
137
- void
138
- Ice::InvalidReplicaGroupIdException::__writeImpl(::IceInternal::BasicStream* __os) const
180
+ ::std::vector<::std::string>
181
+ Ice::Locator::ice_ids(const Current&) const
139
182
  {
140
- __os->startWriteSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
141
- __os->endWriteSlice();
183
+ return ::std::vector<::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
142
184
  }
143
185
 
144
- void
145
- Ice::InvalidReplicaGroupIdException::__readImpl(::IceInternal::BasicStream* __is)
186
+ ::std::string
187
+ Ice::Locator::ice_id(const Current&) const
146
188
  {
147
- __is->startReadSlice();
148
- __is->endReadSlice();
189
+ return ice_staticId();
149
190
  }
150
191
 
151
- namespace
192
+ const ::std::string&
193
+ Ice::Locator::ice_staticId()
152
194
  {
153
-
154
- const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> __Ice__AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
155
-
195
+ static const ::std::string typeId = "::Ice::Locator";
196
+ return typeId;
156
197
  }
157
198
 
158
- Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException() throw()
159
- {
199
+ /// \cond INTERNAL
200
+ bool
201
+ Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const Current& current) const
202
+ {
203
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
204
+ auto istr = inS.startReadParams();
205
+ Identity iceP_id;
206
+ istr->readAll(iceP_id);
207
+ inS.endReadParams();
208
+ auto inA = ::IceInternal::IncomingAsync::create(inS);
209
+ auto responseCB = [inA](const ::std::shared_ptr<ObjectPrx>& ret)
210
+ {
211
+ auto ostr = inA->startWriteParams();
212
+ ostr->writeAll(ret);
213
+ inA->endWriteParams();
214
+ inA->completed();
215
+ };
216
+ this->findObjectByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
217
+ return false;
160
218
  }
219
+ /// \endcond
161
220
 
162
- ::std::string
163
- Ice::AdapterAlreadyActiveException::ice_name() const
164
- {
165
- return "Ice::AdapterAlreadyActiveException";
221
+ /// \cond INTERNAL
222
+ bool
223
+ Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const Current& current) const
224
+ {
225
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
226
+ auto istr = inS.startReadParams();
227
+ ::std::string iceP_id;
228
+ istr->readAll(iceP_id);
229
+ inS.endReadParams();
230
+ auto inA = ::IceInternal::IncomingAsync::create(inS);
231
+ auto responseCB = [inA](const ::std::shared_ptr<ObjectPrx>& ret)
232
+ {
233
+ auto ostr = inA->startWriteParams();
234
+ ostr->writeAll(ret);
235
+ inA->endWriteParams();
236
+ inA->completed();
237
+ };
238
+ this->findAdapterByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
239
+ return false;
166
240
  }
241
+ /// \endcond
167
242
 
168
- Ice::AdapterAlreadyActiveException*
169
- Ice::AdapterAlreadyActiveException::ice_clone() const
243
+ /// \cond INTERNAL
244
+ bool
245
+ Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const Current& current) const
170
246
  {
171
- return new AdapterAlreadyActiveException(*this);
247
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
248
+ inS.readEmptyParams();
249
+ ::std::shared_ptr<LocatorRegistryPrx> ret = this->getRegistry(current);
250
+ auto ostr = inS.startWriteParams();
251
+ ostr->writeAll(ret);
252
+ inS.endWriteParams();
253
+ return true;
172
254
  }
255
+ /// \endcond
173
256
 
174
- void
175
- Ice::AdapterAlreadyActiveException::ice_throw() const
257
+ /// \cond INTERNAL
258
+ bool
259
+ Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
176
260
  {
177
- throw *this;
261
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_ops, iceC_Ice_Locator_ops + 7, current.operation);
262
+ if(r.first == r.second)
263
+ {
264
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
265
+ }
266
+
267
+ switch(r.first - iceC_Ice_Locator_ops)
268
+ {
269
+ case 0:
270
+ {
271
+ return _iceD_findAdapterById(in, current);
272
+ }
273
+ case 1:
274
+ {
275
+ return _iceD_findObjectById(in, current);
276
+ }
277
+ case 2:
278
+ {
279
+ return _iceD_getRegistry(in, current);
280
+ }
281
+ case 3:
282
+ {
283
+ return _iceD_ice_id(in, current);
284
+ }
285
+ case 4:
286
+ {
287
+ return _iceD_ice_ids(in, current);
288
+ }
289
+ case 5:
290
+ {
291
+ return _iceD_ice_isA(in, current);
292
+ }
293
+ case 6:
294
+ {
295
+ return _iceD_ice_ping(in, current);
296
+ }
297
+ default:
298
+ {
299
+ assert(false);
300
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
301
+ }
302
+ }
178
303
  }
304
+ /// \endcond
179
305
 
180
- void
181
- Ice::AdapterAlreadyActiveException::__writeImpl(::IceInternal::BasicStream* __os) const
306
+ bool
307
+ Ice::LocatorRegistry::ice_isA(::std::string s, const Current&) const
182
308
  {
183
- __os->startWriteSlice("::Ice::AdapterAlreadyActiveException", -1, true);
184
- __os->endWriteSlice();
309
+ return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
185
310
  }
186
311
 
187
- void
188
- Ice::AdapterAlreadyActiveException::__readImpl(::IceInternal::BasicStream* __is)
312
+ ::std::vector<::std::string>
313
+ Ice::LocatorRegistry::ice_ids(const Current&) const
189
314
  {
190
- __is->startReadSlice();
191
- __is->endReadSlice();
315
+ return ::std::vector<::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
192
316
  }
193
317
 
194
- namespace
318
+ ::std::string
319
+ Ice::LocatorRegistry::ice_id(const Current&) const
195
320
  {
196
-
197
- const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> __Ice__ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
198
-
321
+ return ice_staticId();
199
322
  }
200
323
 
201
- Ice::ObjectNotFoundException::~ObjectNotFoundException() throw()
324
+ const ::std::string&
325
+ Ice::LocatorRegistry::ice_staticId()
202
326
  {
327
+ static const ::std::string typeId = "::Ice::LocatorRegistry";
328
+ return typeId;
203
329
  }
204
330
 
205
- ::std::string
206
- Ice::ObjectNotFoundException::ice_name() const
331
+ /// \cond INTERNAL
332
+ bool
333
+ Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
207
334
  {
208
- return "Ice::ObjectNotFoundException";
335
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
336
+ auto istr = inS.startReadParams();
337
+ ::std::string iceP_id;
338
+ ::std::shared_ptr<ObjectPrx> iceP_proxy;
339
+ istr->readAll(iceP_id, iceP_proxy);
340
+ inS.endReadParams();
341
+ auto inA = ::IceInternal::IncomingAsync::create(inS);
342
+ this->setAdapterDirectProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
343
+ return false;
209
344
  }
345
+ /// \endcond
210
346
 
211
- Ice::ObjectNotFoundException*
212
- Ice::ObjectNotFoundException::ice_clone() const
347
+ /// \cond INTERNAL
348
+ bool
349
+ Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
350
+ {
351
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
352
+ auto istr = inS.startReadParams();
353
+ ::std::string iceP_adapterId;
354
+ ::std::string iceP_replicaGroupId;
355
+ ::std::shared_ptr<ObjectPrx> iceP_p;
356
+ istr->readAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
357
+ inS.endReadParams();
358
+ auto inA = ::IceInternal::IncomingAsync::create(inS);
359
+ this->setReplicatedAdapterDirectProxyAsync(::std::move(iceP_adapterId), ::std::move(iceP_replicaGroupId), ::std::move(iceP_p), inA->response(), inA->exception(), current);
360
+ return false;
361
+ }
362
+ /// \endcond
363
+
364
+ /// \cond INTERNAL
365
+ bool
366
+ Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const Current& current)
213
367
  {
214
- return new ObjectNotFoundException(*this);
368
+ _iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
369
+ auto istr = inS.startReadParams();
370
+ ::std::string iceP_id;
371
+ ::std::shared_ptr<ProcessPrx> iceP_proxy;
372
+ istr->readAll(iceP_id, iceP_proxy);
373
+ inS.endReadParams();
374
+ auto inA = ::IceInternal::IncomingAsync::create(inS);
375
+ this->setServerProcessProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
376
+ return false;
215
377
  }
378
+ /// \endcond
216
379
 
217
- void
218
- Ice::ObjectNotFoundException::ice_throw() const
380
+ /// \cond INTERNAL
381
+ bool
382
+ Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
219
383
  {
220
- throw *this;
384
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_ops, iceC_Ice_LocatorRegistry_ops + 7, current.operation);
385
+ if(r.first == r.second)
386
+ {
387
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
388
+ }
389
+
390
+ switch(r.first - iceC_Ice_LocatorRegistry_ops)
391
+ {
392
+ case 0:
393
+ {
394
+ return _iceD_ice_id(in, current);
395
+ }
396
+ case 1:
397
+ {
398
+ return _iceD_ice_ids(in, current);
399
+ }
400
+ case 2:
401
+ {
402
+ return _iceD_ice_isA(in, current);
403
+ }
404
+ case 3:
405
+ {
406
+ return _iceD_ice_ping(in, current);
407
+ }
408
+ case 4:
409
+ {
410
+ return _iceD_setAdapterDirectProxy(in, current);
411
+ }
412
+ case 5:
413
+ {
414
+ return _iceD_setReplicatedAdapterDirectProxy(in, current);
415
+ }
416
+ case 6:
417
+ {
418
+ return _iceD_setServerProcessProxy(in, current);
419
+ }
420
+ default:
421
+ {
422
+ assert(false);
423
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
424
+ }
425
+ }
221
426
  }
427
+ /// \endcond
222
428
 
223
- void
224
- Ice::ObjectNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
429
+ bool
430
+ Ice::LocatorFinder::ice_isA(::std::string s, const Current&) const
225
431
  {
226
- __os->startWriteSlice("::Ice::ObjectNotFoundException", -1, true);
227
- __os->endWriteSlice();
432
+ return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
228
433
  }
229
434
 
230
- void
231
- Ice::ObjectNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
435
+ ::std::vector<::std::string>
436
+ Ice::LocatorFinder::ice_ids(const Current&) const
232
437
  {
233
- __is->startReadSlice();
234
- __is->endReadSlice();
438
+ return ::std::vector<::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
235
439
  }
236
440
 
237
- namespace
441
+ ::std::string
442
+ Ice::LocatorFinder::ice_id(const Current&) const
238
443
  {
239
-
240
- const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> __Ice__ServerNotFoundException_init("::Ice::ServerNotFoundException");
241
-
444
+ return ice_staticId();
242
445
  }
243
446
 
244
- Ice::ServerNotFoundException::~ServerNotFoundException() throw()
447
+ const ::std::string&
448
+ Ice::LocatorFinder::ice_staticId()
245
449
  {
450
+ static const ::std::string typeId = "::Ice::LocatorFinder";
451
+ return typeId;
246
452
  }
247
453
 
248
- ::std::string
249
- Ice::ServerNotFoundException::ice_name() const
454
+ /// \cond INTERNAL
455
+ bool
456
+ Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const Current& current)
250
457
  {
251
- return "Ice::ServerNotFoundException";
458
+ _iceCheckMode(::Ice::OperationMode::Normal, current.mode);
459
+ inS.readEmptyParams();
460
+ ::std::shared_ptr<LocatorPrx> ret = this->getLocator(current);
461
+ auto ostr = inS.startWriteParams();
462
+ ostr->writeAll(ret);
463
+ inS.endWriteParams();
464
+ return true;
252
465
  }
466
+ /// \endcond
253
467
 
254
- Ice::ServerNotFoundException*
255
- Ice::ServerNotFoundException::ice_clone() const
468
+ /// \cond INTERNAL
469
+ bool
470
+ Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
256
471
  {
257
- return new ServerNotFoundException(*this);
472
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_ops, iceC_Ice_LocatorFinder_ops + 5, current.operation);
473
+ if(r.first == r.second)
474
+ {
475
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
476
+ }
477
+
478
+ switch(r.first - iceC_Ice_LocatorFinder_ops)
479
+ {
480
+ case 0:
481
+ {
482
+ return _iceD_getLocator(in, current);
483
+ }
484
+ case 1:
485
+ {
486
+ return _iceD_ice_id(in, current);
487
+ }
488
+ case 2:
489
+ {
490
+ return _iceD_ice_ids(in, current);
491
+ }
492
+ case 3:
493
+ {
494
+ return _iceD_ice_isA(in, current);
495
+ }
496
+ case 4:
497
+ {
498
+ return _iceD_ice_ping(in, current);
499
+ }
500
+ default:
501
+ {
502
+ assert(false);
503
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
504
+ }
505
+ }
258
506
  }
507
+ /// \endcond
259
508
 
509
+ /// \cond INTERNAL
260
510
  void
261
- Ice::ServerNotFoundException::ice_throw() const
511
+ Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const Identity& iceP_id, const Context& context)
262
512
  {
263
- throw *this;
513
+ _checkTwowayOnly(iceC_Ice_Locator_findObjectById_name);
514
+ outAsync->invoke(iceC_Ice_Locator_findObjectById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
515
+ [&](OutputStream* ostr)
516
+ {
517
+ ostr->writeAll(iceP_id);
518
+ },
519
+ [](const UserException& ex)
520
+ {
521
+ try
522
+ {
523
+ ex.ice_throw();
524
+ }
525
+ catch(const ObjectNotFoundException&)
526
+ {
527
+ throw;
528
+ }
529
+ catch(const UserException&)
530
+ {
531
+ }
532
+ });
264
533
  }
534
+ /// \endcond
265
535
 
536
+ /// \cond INTERNAL
266
537
  void
267
- Ice::ServerNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
538
+ Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const ::std::string& iceP_id, const Context& context)
268
539
  {
269
- __os->startWriteSlice("::Ice::ServerNotFoundException", -1, true);
270
- __os->endWriteSlice();
540
+ _checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name);
541
+ outAsync->invoke(iceC_Ice_Locator_findAdapterById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
542
+ [&](OutputStream* ostr)
543
+ {
544
+ ostr->writeAll(iceP_id);
545
+ },
546
+ [](const UserException& ex)
547
+ {
548
+ try
549
+ {
550
+ ex.ice_throw();
551
+ }
552
+ catch(const AdapterNotFoundException&)
553
+ {
554
+ throw;
555
+ }
556
+ catch(const UserException&)
557
+ {
558
+ }
559
+ });
271
560
  }
561
+ /// \endcond
272
562
 
563
+ /// \cond INTERNAL
273
564
  void
274
- Ice::ServerNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
565
+ Ice::LocatorPrx::_iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>& outAsync, const Context& context)
275
566
  {
276
- __is->startReadSlice();
277
- __is->endReadSlice();
567
+ _checkTwowayOnly(iceC_Ice_Locator_getRegistry_name);
568
+ outAsync->invoke(iceC_Ice_Locator_getRegistry_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
569
+ nullptr,
570
+ nullptr);
278
571
  }
572
+ /// \endcond
279
573
 
280
- namespace Ice
574
+ /// \cond INTERNAL
575
+ ::std::shared_ptr<::Ice::ObjectPrx>
576
+ Ice::LocatorPrx::_newInstance() const
281
577
  {
578
+ return ::IceInternal::createProxy<LocatorPrx>();
282
579
  }
580
+ /// \endcond
283
581
 
284
- IceAsync::Ice::AMD_Locator_findObjectById::AMD_Locator_findObjectById(::IceInternal::Incoming& in) :
285
- ::IceInternal::IncomingAsync(in)
582
+ const ::std::string&
583
+ Ice::LocatorPrx::ice_staticId()
286
584
  {
585
+ return Locator::ice_staticId();
287
586
  }
288
587
 
588
+ /// \cond INTERNAL
289
589
  void
290
- IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& __ret)
590
+ Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<ObjectPrx>& iceP_proxy, const Context& context)
291
591
  {
292
- if(__validateResponse(true))
293
- {
294
- try
592
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
593
+ outAsync->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
594
+ [&](OutputStream* ostr)
295
595
  {
296
- ::IceInternal::BasicStream* __os = __startWriteParams(::Ice::DefaultFormat);
297
- __os->write(__ret);
298
- __endWriteParams(true);
299
- }
300
- catch(const ::Ice::Exception& __ex)
596
+ ostr->writeAll(iceP_id, iceP_proxy);
597
+ },
598
+ [](const UserException& ex)
301
599
  {
302
- __exception(__ex);
303
- return;
304
- }
305
- __response();
306
- }
307
- }
308
-
600
+ try
601
+ {
602
+ ex.ice_throw();
603
+ }
604
+ catch(const AdapterAlreadyActiveException&)
605
+ {
606
+ throw;
607
+ }
608
+ catch(const AdapterNotFoundException&)
609
+ {
610
+ throw;
611
+ }
612
+ catch(const UserException&)
613
+ {
614
+ }
615
+ });
616
+ }
617
+ /// \endcond
618
+
619
+ /// \cond INTERNAL
309
620
  void
310
- IceAsync::Ice::AMD_Locator_findObjectById::ice_exception(const ::std::exception& ex)
621
+ Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::std::shared_ptr<ObjectPrx>& iceP_p, const Context& context)
311
622
  {
312
- if(const ::Ice::ObjectNotFoundException* __ex = dynamic_cast<const ::Ice::ObjectNotFoundException*>(&ex))
313
- {
314
- if(__validateResponse(false))
623
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
624
+ outAsync->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
625
+ [&](OutputStream* ostr)
315
626
  {
316
- __writeUserException(*__ex, ::Ice::DefaultFormat);
317
- __response();
318
- }
319
- }
320
- else
321
- {
322
- ::IceInternal::IncomingAsync::ice_exception(ex);
323
- }
627
+ ostr->writeAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
628
+ },
629
+ [](const UserException& ex)
630
+ {
631
+ try
632
+ {
633
+ ex.ice_throw();
634
+ }
635
+ catch(const AdapterAlreadyActiveException&)
636
+ {
637
+ throw;
638
+ }
639
+ catch(const AdapterNotFoundException&)
640
+ {
641
+ throw;
642
+ }
643
+ catch(const InvalidReplicaGroupIdException&)
644
+ {
645
+ throw;
646
+ }
647
+ catch(const UserException&)
648
+ {
649
+ }
650
+ });
324
651
  }
652
+ /// \endcond
325
653
 
326
- IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
327
- ::IceInternal::IncomingAsync(in)
654
+ /// \cond INTERNAL
655
+ void
656
+ Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<ProcessPrx>& iceP_proxy, const Context& context)
328
657
  {
658
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
659
+ outAsync->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
660
+ [&](OutputStream* ostr)
661
+ {
662
+ ostr->writeAll(iceP_id, iceP_proxy);
663
+ },
664
+ [](const UserException& ex)
665
+ {
666
+ try
667
+ {
668
+ ex.ice_throw();
669
+ }
670
+ catch(const ServerNotFoundException&)
671
+ {
672
+ throw;
673
+ }
674
+ catch(const UserException&)
675
+ {
676
+ }
677
+ });
329
678
  }
679
+ /// \endcond
330
680
 
681
+ /// \cond INTERNAL
682
+ ::std::shared_ptr<::Ice::ObjectPrx>
683
+ Ice::LocatorRegistryPrx::_newInstance() const
684
+ {
685
+ return ::IceInternal::createProxy<LocatorRegistryPrx>();
686
+ }
687
+ /// \endcond
688
+
689
+ const ::std::string&
690
+ Ice::LocatorRegistryPrx::ice_staticId()
691
+ {
692
+ return LocatorRegistry::ice_staticId();
693
+ }
694
+
695
+ /// \cond INTERNAL
331
696
  void
332
- IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& __ret)
697
+ Ice::LocatorFinderPrx::_iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>& outAsync, const Context& context)
333
698
  {
334
- if(__validateResponse(true))
335
- {
336
- try
337
- {
338
- ::IceInternal::BasicStream* __os = __startWriteParams(::Ice::DefaultFormat);
339
- __os->write(__ret);
340
- __endWriteParams(true);
341
- }
342
- catch(const ::Ice::Exception& __ex)
343
- {
344
- __exception(__ex);
345
- return;
346
- }
347
- __response();
348
- }
699
+ _checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name);
700
+ outAsync->invoke(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
701
+ nullptr,
702
+ nullptr);
703
+ }
704
+ /// \endcond
705
+
706
+ /// \cond INTERNAL
707
+ ::std::shared_ptr<::Ice::ObjectPrx>
708
+ Ice::LocatorFinderPrx::_newInstance() const
709
+ {
710
+ return ::IceInternal::createProxy<LocatorFinderPrx>();
711
+ }
712
+ /// \endcond
713
+
714
+ const ::std::string&
715
+ Ice::LocatorFinderPrx::ice_staticId()
716
+ {
717
+ return LocatorFinder::ice_staticId();
718
+ }
719
+
720
+ #else // C++98 mapping
721
+
722
+ namespace
723
+ {
724
+
725
+ const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
726
+
727
+ const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
728
+
729
+ const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
730
+
731
+ const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
732
+
733
+ const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
734
+
735
+ const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
736
+
737
+ const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
738
+
739
+ }
740
+
741
+ namespace
742
+ {
743
+
744
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
745
+
746
+ }
747
+
748
+ Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
749
+ {
750
+ }
751
+
752
+ ::std::string
753
+ Ice::AdapterNotFoundException::ice_id() const
754
+ {
755
+ return "::Ice::AdapterNotFoundException";
756
+ }
757
+
758
+ Ice::AdapterNotFoundException*
759
+ Ice::AdapterNotFoundException::ice_clone() const
760
+ {
761
+ return new AdapterNotFoundException(*this);
349
762
  }
350
763
 
351
764
  void
352
- IceAsync::Ice::AMD_Locator_findAdapterById::ice_exception(const ::std::exception& ex)
765
+ Ice::AdapterNotFoundException::ice_throw() const
353
766
  {
354
- if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
355
- {
356
- if(__validateResponse(false))
357
- {
358
- __writeUserException(*__ex, ::Ice::DefaultFormat);
359
- __response();
360
- }
361
- }
362
- else
363
- {
364
- ::IceInternal::IncomingAsync::ice_exception(ex);
365
- }
767
+ throw *this;
366
768
  }
367
769
 
368
- IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming& in) :
369
- ::IceInternal::IncomingAsync(in)
770
+ /// \cond STREAM
771
+ void
772
+ Ice::AdapterNotFoundException::_writeImpl(OutputStream* ostr) const
370
773
  {
774
+ ostr->startSlice("::Ice::AdapterNotFoundException", -1, true);
775
+ StreamWriter< AdapterNotFoundException, OutputStream>::write(ostr, *this);
776
+ ostr->endSlice();
371
777
  }
372
778
 
373
779
  void
374
- IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_response()
780
+ Ice::AdapterNotFoundException::_readImpl(InputStream* istr)
375
781
  {
376
- if(__validateResponse(true))
377
- {
378
- __writeEmptyParams();
379
- __response();
380
- }
782
+ istr->startSlice();
783
+ StreamReader< AdapterNotFoundException, InputStream>::read(istr, *this);
784
+ istr->endSlice();
785
+ }
786
+ /// \endcond
787
+
788
+ namespace
789
+ {
790
+
791
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
792
+
793
+ }
794
+
795
+ Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException() throw()
796
+ {
797
+ }
798
+
799
+ ::std::string
800
+ Ice::InvalidReplicaGroupIdException::ice_id() const
801
+ {
802
+ return "::Ice::InvalidReplicaGroupIdException";
803
+ }
804
+
805
+ Ice::InvalidReplicaGroupIdException*
806
+ Ice::InvalidReplicaGroupIdException::ice_clone() const
807
+ {
808
+ return new InvalidReplicaGroupIdException(*this);
381
809
  }
382
810
 
383
811
  void
384
- IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_exception(const ::std::exception& ex)
812
+ Ice::InvalidReplicaGroupIdException::ice_throw() const
385
813
  {
386
- if(const ::Ice::AdapterAlreadyActiveException* __ex = dynamic_cast<const ::Ice::AdapterAlreadyActiveException*>(&ex))
387
- {
388
- if(__validateResponse(false))
389
- {
390
- __writeUserException(*__ex, ::Ice::DefaultFormat);
391
- __response();
392
- }
393
- }
394
- else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
395
- {
396
- if(__validateResponse(false))
397
- {
398
- __writeUserException(*__ex, ::Ice::DefaultFormat);
399
- __response();
400
- }
401
- }
402
- else
403
- {
404
- ::IceInternal::IncomingAsync::ice_exception(ex);
405
- }
814
+ throw *this;
406
815
  }
407
816
 
408
- IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& in) :
409
- ::IceInternal::IncomingAsync(in)
817
+ /// \cond STREAM
818
+ void
819
+ Ice::InvalidReplicaGroupIdException::_writeImpl(OutputStream* ostr) const
410
820
  {
821
+ ostr->startSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
822
+ StreamWriter< InvalidReplicaGroupIdException, OutputStream>::write(ostr, *this);
823
+ ostr->endSlice();
411
824
  }
412
825
 
413
826
  void
414
- IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_response()
827
+ Ice::InvalidReplicaGroupIdException::_readImpl(InputStream* istr)
415
828
  {
416
- if(__validateResponse(true))
417
- {
418
- __writeEmptyParams();
419
- __response();
420
- }
829
+ istr->startSlice();
830
+ StreamReader< InvalidReplicaGroupIdException, InputStream>::read(istr, *this);
831
+ istr->endSlice();
832
+ }
833
+ /// \endcond
834
+
835
+ namespace
836
+ {
837
+
838
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
839
+
840
+ }
841
+
842
+ Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException() throw()
843
+ {
844
+ }
845
+
846
+ ::std::string
847
+ Ice::AdapterAlreadyActiveException::ice_id() const
848
+ {
849
+ return "::Ice::AdapterAlreadyActiveException";
850
+ }
851
+
852
+ Ice::AdapterAlreadyActiveException*
853
+ Ice::AdapterAlreadyActiveException::ice_clone() const
854
+ {
855
+ return new AdapterAlreadyActiveException(*this);
421
856
  }
422
857
 
423
858
  void
424
- IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_exception(const ::std::exception& ex)
859
+ Ice::AdapterAlreadyActiveException::ice_throw() const
425
860
  {
426
- if(const ::Ice::AdapterAlreadyActiveException* __ex = dynamic_cast<const ::Ice::AdapterAlreadyActiveException*>(&ex))
427
- {
428
- if(__validateResponse(false))
429
- {
430
- __writeUserException(*__ex, ::Ice::DefaultFormat);
431
- __response();
432
- }
433
- }
434
- else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
435
- {
436
- if(__validateResponse(false))
437
- {
438
- __writeUserException(*__ex, ::Ice::DefaultFormat);
439
- __response();
440
- }
441
- }
442
- else if(const ::Ice::InvalidReplicaGroupIdException* __ex = dynamic_cast<const ::Ice::InvalidReplicaGroupIdException*>(&ex))
443
- {
444
- if(__validateResponse(false))
445
- {
446
- __writeUserException(*__ex, ::Ice::DefaultFormat);
447
- __response();
448
- }
449
- }
450
- else
451
- {
452
- ::IceInternal::IncomingAsync::ice_exception(ex);
453
- }
861
+ throw *this;
454
862
  }
455
863
 
456
- IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming& in) :
457
- ::IceInternal::IncomingAsync(in)
864
+ /// \cond STREAM
865
+ void
866
+ Ice::AdapterAlreadyActiveException::_writeImpl(OutputStream* ostr) const
458
867
  {
868
+ ostr->startSlice("::Ice::AdapterAlreadyActiveException", -1, true);
869
+ StreamWriter< AdapterAlreadyActiveException, OutputStream>::write(ostr, *this);
870
+ ostr->endSlice();
459
871
  }
460
872
 
461
873
  void
462
- IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_response()
874
+ Ice::AdapterAlreadyActiveException::_readImpl(InputStream* istr)
875
+ {
876
+ istr->startSlice();
877
+ StreamReader< AdapterAlreadyActiveException, InputStream>::read(istr, *this);
878
+ istr->endSlice();
879
+ }
880
+ /// \endcond
881
+
882
+ namespace
883
+ {
884
+
885
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
886
+
887
+ }
888
+
889
+ Ice::ObjectNotFoundException::~ObjectNotFoundException() throw()
463
890
  {
464
- if(__validateResponse(true))
465
- {
466
- __writeEmptyParams();
467
- __response();
468
- }
891
+ }
892
+
893
+ ::std::string
894
+ Ice::ObjectNotFoundException::ice_id() const
895
+ {
896
+ return "::Ice::ObjectNotFoundException";
897
+ }
898
+
899
+ Ice::ObjectNotFoundException*
900
+ Ice::ObjectNotFoundException::ice_clone() const
901
+ {
902
+ return new ObjectNotFoundException(*this);
469
903
  }
470
904
 
471
905
  void
472
- IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_exception(const ::std::exception& ex)
906
+ Ice::ObjectNotFoundException::ice_throw() const
473
907
  {
474
- if(const ::Ice::ServerNotFoundException* __ex = dynamic_cast<const ::Ice::ServerNotFoundException*>(&ex))
475
- {
476
- if(__validateResponse(false))
477
- {
478
- __writeUserException(*__ex, ::Ice::DefaultFormat);
479
- __response();
480
- }
481
- }
482
- else
483
- {
484
- ::IceInternal::IncomingAsync::ice_exception(ex);
485
- }
908
+ throw *this;
486
909
  }
487
- #ifdef __SUNPRO_CC
488
- class ICE_API IceProxy::Ice::Locator;
489
- #endif
490
- ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::Locator* p) { return p; }
491
910
 
911
+ /// \cond STREAM
492
912
  void
493
- ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>& v)
913
+ Ice::ObjectNotFoundException::_writeImpl(OutputStream* ostr) const
494
914
  {
495
- ::Ice::ObjectPrx proxy;
496
- __is->read(proxy);
497
- if(!proxy)
498
- {
499
- v = 0;
500
- }
501
- else
502
- {
503
- v = new ::IceProxy::Ice::Locator;
504
- v->__copyFrom(proxy);
505
- }
915
+ ostr->startSlice("::Ice::ObjectNotFoundException", -1, true);
916
+ StreamWriter< ObjectNotFoundException, OutputStream>::write(ostr, *this);
917
+ ostr->endSlice();
506
918
  }
507
919
 
508
- ::Ice::ObjectPrx
509
- IceProxy::Ice::Locator::findObjectById(const ::Ice::Identity& __p_id, const ::Ice::Context* __ctx)
920
+ void
921
+ Ice::ObjectNotFoundException::_readImpl(InputStream* istr)
510
922
  {
511
- __checkTwowayOnly(__Ice__Locator__findObjectById_name);
512
- ::IceInternal::Outgoing __og(this, __Ice__Locator__findObjectById_name, ::Ice::Nonmutating, __ctx);
513
- try
514
- {
515
- ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
516
- __os->write(__p_id);
517
- __og.endWriteParams();
518
- }
519
- catch(const ::Ice::LocalException& __ex)
520
- {
521
- __og.abort(__ex);
522
- }
523
- if(!__og.invoke())
524
- {
525
- try
526
- {
527
- __og.throwUserException();
528
- }
529
- catch(const ::Ice::ObjectNotFoundException&)
530
- {
531
- throw;
532
- }
533
- catch(const ::Ice::UserException& __ex)
534
- {
535
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
536
- throw __uue;
537
- }
538
- }
539
- ::Ice::ObjectPrx __ret;
540
- ::IceInternal::BasicStream* __is = __og.startReadParams();
541
- __is->read(__ret);
542
- __og.endReadParams();
543
- return __ret;
923
+ istr->startSlice();
924
+ StreamReader< ObjectNotFoundException, InputStream>::read(istr, *this);
925
+ istr->endSlice();
544
926
  }
927
+ /// \endcond
545
928
 
546
- ::Ice::AsyncResultPtr
547
- IceProxy::Ice::Locator::begin_findObjectById(const ::Ice::Identity& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
929
+ namespace
548
930
  {
549
- __checkAsyncTwowayOnly(__Ice__Locator__findObjectById_name);
550
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__findObjectById_name, __del, __cookie);
551
- try
552
- {
553
- __result->prepare(__Ice__Locator__findObjectById_name, ::Ice::Nonmutating, __ctx);
554
- ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
555
- __os->write(__p_id);
556
- __result->endWriteParams();
557
- __result->invoke();
558
- }
559
- catch(const ::Ice::Exception& __ex)
560
- {
561
- __result->abort(__ex);
562
- }
563
- return __result;
931
+
932
+ const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
933
+
564
934
  }
565
935
 
566
- #ifdef ICE_CPP11
936
+ Ice::ServerNotFoundException::~ServerNotFoundException() throw()
937
+ {
938
+ }
567
939
 
568
- ::Ice::AsyncResultPtr
569
- IceProxy::Ice::Locator::__begin_findObjectById(const ::Ice::Identity& __p_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)
940
+ ::std::string
941
+ Ice::ServerNotFoundException::ice_id() const
570
942
  {
571
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
572
- {
573
- public:
943
+ return "::Ice::ServerNotFoundException";
944
+ }
574
945
 
575
- Cpp11CB(const ::std::function<void (const ::Ice::ObjectPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
576
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
577
- _response(responseFunc)
578
- {
579
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
580
- }
946
+ Ice::ServerNotFoundException*
947
+ Ice::ServerNotFoundException::ice_clone() const
948
+ {
949
+ return new ServerNotFoundException(*this);
950
+ }
581
951
 
582
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
583
- {
584
- ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
585
- ::Ice::ObjectPrx __ret;
586
- try
587
- {
588
- __ret = __proxy->end_findObjectById(__result);
589
- }
590
- catch(const ::Ice::Exception& ex)
591
- {
592
- Cpp11FnCallbackNC::exception(__result, ex);
593
- return;
594
- }
595
- if(_response != nullptr)
596
- {
597
- _response(__ret);
598
- }
599
- }
600
-
601
- private:
602
-
603
- ::std::function<void (const ::Ice::ObjectPrx&)> _response;
604
- };
605
- return begin_findObjectById(__p_id, __ctx, new Cpp11CB(__response, __exception, __sent));
952
+ void
953
+ Ice::ServerNotFoundException::ice_throw() const
954
+ {
955
+ throw *this;
606
956
  }
607
- #endif
608
957
 
609
- ::Ice::ObjectPrx
610
- IceProxy::Ice::Locator::end_findObjectById(const ::Ice::AsyncResultPtr& __result)
958
+ /// \cond STREAM
959
+ void
960
+ Ice::ServerNotFoundException::_writeImpl(OutputStream* ostr) const
611
961
  {
612
- ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__findObjectById_name);
613
- ::Ice::ObjectPrx __ret;
614
- if(!__result->__wait())
615
- {
616
- try
617
- {
618
- __result->__throwUserException();
619
- }
620
- catch(const ::Ice::ObjectNotFoundException&)
621
- {
622
- throw;
623
- }
624
- catch(const ::Ice::UserException& __ex)
625
- {
626
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
627
- }
628
- }
629
- ::IceInternal::BasicStream* __is = __result->__startReadParams();
630
- __is->read(__ret);
631
- __result->__endReadParams();
632
- return __ret;
962
+ ostr->startSlice("::Ice::ServerNotFoundException", -1, true);
963
+ StreamWriter< ServerNotFoundException, OutputStream>::write(ostr, *this);
964
+ ostr->endSlice();
633
965
  }
634
966
 
635
- ::Ice::ObjectPrx
636
- IceProxy::Ice::Locator::findAdapterById(const ::std::string& __p_id, const ::Ice::Context* __ctx)
967
+ void
968
+ Ice::ServerNotFoundException::_readImpl(InputStream* istr)
637
969
  {
638
- __checkTwowayOnly(__Ice__Locator__findAdapterById_name);
639
- ::IceInternal::Outgoing __og(this, __Ice__Locator__findAdapterById_name, ::Ice::Nonmutating, __ctx);
640
- try
641
- {
642
- ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
643
- __os->write(__p_id);
644
- __og.endWriteParams();
645
- }
646
- catch(const ::Ice::LocalException& __ex)
647
- {
648
- __og.abort(__ex);
649
- }
650
- if(!__og.invoke())
651
- {
652
- try
653
- {
654
- __og.throwUserException();
655
- }
656
- catch(const ::Ice::AdapterNotFoundException&)
657
- {
658
- throw;
659
- }
660
- catch(const ::Ice::UserException& __ex)
661
- {
662
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
663
- throw __uue;
664
- }
665
- }
666
- ::Ice::ObjectPrx __ret;
667
- ::IceInternal::BasicStream* __is = __og.startReadParams();
668
- __is->read(__ret);
669
- __og.endReadParams();
670
- return __ret;
970
+ istr->startSlice();
971
+ StreamReader< ServerNotFoundException, InputStream>::read(istr, *this);
972
+ istr->endSlice();
671
973
  }
974
+ /// \endcond
672
975
 
673
- ::Ice::AsyncResultPtr
674
- IceProxy::Ice::Locator::begin_findAdapterById(const ::std::string& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
976
+ Ice::AMD_Locator_findObjectById::~AMD_Locator_findObjectById()
675
977
  {
676
- __checkAsyncTwowayOnly(__Ice__Locator__findAdapterById_name);
677
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__findAdapterById_name, __del, __cookie);
678
- try
679
- {
680
- __result->prepare(__Ice__Locator__findAdapterById_name, ::Ice::Nonmutating, __ctx);
681
- ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
682
- __os->write(__p_id);
683
- __result->endWriteParams();
684
- __result->invoke();
685
- }
686
- catch(const ::Ice::Exception& __ex)
687
- {
688
- __result->abort(__ex);
689
- }
690
- return __result;
691
978
  }
692
979
 
693
- #ifdef ICE_CPP11
980
+ Ice::AMD_Locator_findAdapterById::~AMD_Locator_findAdapterById()
981
+ {
982
+ }
694
983
 
695
- ::Ice::AsyncResultPtr
696
- IceProxy::Ice::Locator::__begin_findAdapterById(const ::std::string& __p_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)
984
+ Ice::AMD_LocatorRegistry_setAdapterDirectProxy::~AMD_LocatorRegistry_setAdapterDirectProxy()
697
985
  {
698
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
699
- {
700
- public:
986
+ }
701
987
 
702
- Cpp11CB(const ::std::function<void (const ::Ice::ObjectPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
703
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
704
- _response(responseFunc)
705
- {
706
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
707
- }
988
+ Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy()
989
+ {
990
+ }
708
991
 
709
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
710
- {
711
- ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
712
- ::Ice::ObjectPrx __ret;
713
- try
714
- {
715
- __ret = __proxy->end_findAdapterById(__result);
716
- }
717
- catch(const ::Ice::Exception& ex)
718
- {
719
- Cpp11FnCallbackNC::exception(__result, ex);
720
- return;
721
- }
722
- if(_response != nullptr)
723
- {
724
- _response(__ret);
725
- }
726
- }
727
-
728
- private:
729
-
730
- ::std::function<void (const ::Ice::ObjectPrx&)> _response;
731
- };
732
- return begin_findAdapterById(__p_id, __ctx, new Cpp11CB(__response, __exception, __sent));
992
+ Ice::AMD_LocatorRegistry_setServerProcessProxy::~AMD_LocatorRegistry_setServerProcessProxy()
993
+ {
733
994
  }
734
- #endif
735
995
 
736
- ::Ice::ObjectPrx
737
- IceProxy::Ice::Locator::end_findAdapterById(const ::Ice::AsyncResultPtr& __result)
996
+ /// \cond INTERNAL
997
+ IceAsync::Ice::AMD_Locator_findObjectById::AMD_Locator_findObjectById(::IceInternal::Incoming& in) :
998
+ ::IceInternal::IncomingAsync(in)
738
999
  {
739
- ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__findAdapterById_name);
740
- ::Ice::ObjectPrx __ret;
741
- if(!__result->__wait())
742
- {
743
- try
744
- {
745
- __result->__throwUserException();
746
- }
747
- catch(const ::Ice::AdapterNotFoundException&)
748
- {
749
- throw;
750
- }
751
- catch(const ::Ice::UserException& __ex)
752
- {
753
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
754
- }
755
- }
756
- ::IceInternal::BasicStream* __is = __result->__startReadParams();
757
- __is->read(__ret);
758
- __result->__endReadParams();
759
- return __ret;
760
1000
  }
761
1001
 
762
- ::Ice::LocatorRegistryPrx
763
- IceProxy::Ice::Locator::getRegistry(const ::Ice::Context* __ctx)
1002
+ void
1003
+ IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& ret)
764
1004
  {
765
- __checkTwowayOnly(__Ice__Locator__getRegistry_name);
766
- ::IceInternal::Outgoing __og(this, __Ice__Locator__getRegistry_name, ::Ice::Nonmutating, __ctx);
767
- __og.writeEmptyParams();
768
- if(!__og.invoke())
769
- {
770
- try
771
- {
772
- __og.throwUserException();
773
- }
774
- catch(const ::Ice::UserException& __ex)
775
- {
776
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
777
- throw __uue;
778
- }
779
- }
780
- ::Ice::LocatorRegistryPrx __ret;
781
- ::IceInternal::BasicStream* __is = __og.startReadParams();
782
- __is->read(__ret);
783
- __og.endReadParams();
784
- return __ret;
1005
+ ::Ice::OutputStream* ostr = startWriteParams();
1006
+ ostr->write(ret);
1007
+ endWriteParams();
1008
+ completed();
785
1009
  }
1010
+ /// \endcond
786
1011
 
787
- ::Ice::AsyncResultPtr
788
- IceProxy::Ice::Locator::begin_getRegistry(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1012
+ /// \cond INTERNAL
1013
+ IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
1014
+ ::IceInternal::IncomingAsync(in)
789
1015
  {
790
- __checkAsyncTwowayOnly(__Ice__Locator__getRegistry_name);
791
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__getRegistry_name, __del, __cookie);
792
- try
793
- {
794
- __result->prepare(__Ice__Locator__getRegistry_name, ::Ice::Nonmutating, __ctx);
795
- __result->writeEmptyParams();
796
- __result->invoke();
797
- }
798
- catch(const ::Ice::Exception& __ex)
799
- {
800
- __result->abort(__ex);
801
- }
802
- return __result;
803
1016
  }
804
1017
 
805
- #ifdef ICE_CPP11
1018
+ void
1019
+ IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& ret)
1020
+ {
1021
+ ::Ice::OutputStream* ostr = startWriteParams();
1022
+ ostr->write(ret);
1023
+ endWriteParams();
1024
+ completed();
1025
+ }
1026
+ /// \endcond
806
1027
 
807
- ::Ice::AsyncResultPtr
808
- 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)
1028
+ /// \cond INTERNAL
1029
+ IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming& in) :
1030
+ ::IceInternal::IncomingAsync(in)
809
1031
  {
810
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
811
- {
812
- public:
1032
+ }
813
1033
 
814
- Cpp11CB(const ::std::function<void (const ::Ice::LocatorRegistryPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
815
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
816
- _response(responseFunc)
817
- {
818
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
819
- }
1034
+ void
1035
+ IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_response()
1036
+ {
1037
+ writeEmptyParams();
1038
+ completed();
1039
+ }
1040
+ /// \endcond
820
1041
 
821
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
822
- {
823
- ::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
824
- ::Ice::LocatorRegistryPrx __ret;
825
- try
826
- {
827
- __ret = __proxy->end_getRegistry(__result);
828
- }
829
- catch(const ::Ice::Exception& ex)
830
- {
831
- Cpp11FnCallbackNC::exception(__result, ex);
832
- return;
833
- }
834
- if(_response != nullptr)
835
- {
836
- _response(__ret);
837
- }
838
- }
839
-
840
- private:
841
-
842
- ::std::function<void (const ::Ice::LocatorRegistryPrx&)> _response;
843
- };
844
- return begin_getRegistry(__ctx, new Cpp11CB(__response, __exception, __sent));
1042
+ /// \cond INTERNAL
1043
+ IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& in) :
1044
+ ::IceInternal::IncomingAsync(in)
1045
+ {
845
1046
  }
846
- #endif
847
1047
 
848
- ::Ice::LocatorRegistryPrx
849
- IceProxy::Ice::Locator::end_getRegistry(const ::Ice::AsyncResultPtr& __result)
1048
+ void
1049
+ IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_response()
850
1050
  {
851
- ::Ice::AsyncResult::__check(__result, this, __Ice__Locator__getRegistry_name);
852
- ::Ice::LocatorRegistryPrx __ret;
853
- if(!__result->__wait())
854
- {
855
- try
856
- {
857
- __result->__throwUserException();
858
- }
859
- catch(const ::Ice::UserException& __ex)
860
- {
861
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
862
- }
863
- }
864
- ::IceInternal::BasicStream* __is = __result->__startReadParams();
865
- __is->read(__ret);
866
- __result->__endReadParams();
867
- return __ret;
1051
+ writeEmptyParams();
1052
+ completed();
868
1053
  }
1054
+ /// \endcond
869
1055
 
870
- const ::std::string&
871
- IceProxy::Ice::Locator::ice_staticId()
1056
+ /// \cond INTERNAL
1057
+ IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming& in) :
1058
+ ::IceInternal::IncomingAsync(in)
872
1059
  {
873
- return ::Ice::Locator::ice_staticId();
874
1060
  }
875
1061
 
876
- ::IceProxy::Ice::Object*
877
- IceProxy::Ice::Locator::__newInstance() const
1062
+ void
1063
+ IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_response()
878
1064
  {
879
- return new Locator;
1065
+ writeEmptyParams();
1066
+ completed();
880
1067
  }
881
- #ifdef __SUNPRO_CC
882
- class ICE_API IceProxy::Ice::LocatorRegistry;
883
- #endif
884
- ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorRegistry* p) { return p; }
1068
+ /// \endcond
1069
+
1070
+ /// \cond INTERNAL
1071
+ ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(Locator* p) { return p; }
885
1072
 
886
1073
  void
887
- ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry>& v)
1074
+ ::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< Locator>& v)
888
1075
  {
889
1076
  ::Ice::ObjectPrx proxy;
890
- __is->read(proxy);
1077
+ istr->read(proxy);
891
1078
  if(!proxy)
892
1079
  {
893
1080
  v = 0;
894
1081
  }
895
1082
  else
896
1083
  {
897
- v = new ::IceProxy::Ice::LocatorRegistry;
898
- v->__copyFrom(proxy);
1084
+ v = new Locator;
1085
+ v->_copyFrom(proxy);
899
1086
  }
900
1087
  }
1088
+ /// \endcond
901
1089
 
902
- void
903
- IceProxy::Ice::LocatorRegistry::setAdapterDirectProxy(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_proxy, const ::Ice::Context* __ctx)
1090
+ ::Ice::AsyncResultPtr
1091
+ IceProxy::Ice::Locator::_iceI_begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
904
1092
  {
905
- __checkTwowayOnly(__Ice__LocatorRegistry__setAdapterDirectProxy_name);
906
- ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
1093
+ _checkTwowayOnly(iceC_Ice_Locator_findObjectById_name, sync);
1094
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findObjectById_name, del, cookie, sync);
907
1095
  try
908
1096
  {
909
- ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
910
- __os->write(__p_id);
911
- __os->write(__p_proxy);
912
- __og.endWriteParams();
1097
+ result->prepare(iceC_Ice_Locator_findObjectById_name, ::Ice::Nonmutating, context);
1098
+ ::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
1099
+ ostr->write(iceP_id);
1100
+ result->endWriteParams();
1101
+ result->invoke(iceC_Ice_Locator_findObjectById_name);
913
1102
  }
914
- catch(const ::Ice::LocalException& __ex)
1103
+ catch(const ::Ice::Exception& ex)
915
1104
  {
916
- __og.abort(__ex);
1105
+ result->abort(ex);
917
1106
  }
918
- if(!__og.invoke())
1107
+ return result;
1108
+ }
1109
+
1110
+ ::Ice::ObjectPrx
1111
+ IceProxy::Ice::Locator::end_findObjectById(const ::Ice::AsyncResultPtr& result)
1112
+ {
1113
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findObjectById_name);
1114
+ ::Ice::ObjectPrx ret;
1115
+ if(!result->_waitForResponse())
919
1116
  {
920
1117
  try
921
1118
  {
922
- __og.throwUserException();
923
- }
924
- catch(const ::Ice::AdapterAlreadyActiveException&)
925
- {
926
- throw;
1119
+ result->_throwUserException();
927
1120
  }
928
- catch(const ::Ice::AdapterNotFoundException&)
1121
+ catch(const ::Ice::ObjectNotFoundException&)
929
1122
  {
930
1123
  throw;
931
1124
  }
932
- catch(const ::Ice::UserException& __ex)
1125
+ catch(const ::Ice::UserException& ex)
933
1126
  {
934
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
935
- throw __uue;
1127
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
936
1128
  }
937
1129
  }
1130
+ ::Ice::InputStream* istr = result->_startReadParams();
1131
+ istr->read(ret);
1132
+ result->_endReadParams();
1133
+ return ret;
938
1134
  }
939
1135
 
940
1136
  ::Ice::AsyncResultPtr
941
- IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1137
+ IceProxy::Ice::Locator::_iceI_begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
942
1138
  {
943
- __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setAdapterDirectProxy_name);
944
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setAdapterDirectProxy_name, __del, __cookie);
1139
+ _checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name, sync);
1140
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findAdapterById_name, del, cookie, sync);
945
1141
  try
946
1142
  {
947
- __result->prepare(__Ice__LocatorRegistry__setAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
948
- ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
949
- __os->write(__p_id);
950
- __os->write(__p_proxy);
951
- __result->endWriteParams();
952
- __result->invoke();
1143
+ result->prepare(iceC_Ice_Locator_findAdapterById_name, ::Ice::Nonmutating, context);
1144
+ ::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
1145
+ ostr->write(iceP_id);
1146
+ result->endWriteParams();
1147
+ result->invoke(iceC_Ice_Locator_findAdapterById_name);
953
1148
  }
954
- catch(const ::Ice::Exception& __ex)
1149
+ catch(const ::Ice::Exception& ex)
955
1150
  {
956
- __result->abort(__ex);
1151
+ result->abort(ex);
957
1152
  }
958
- return __result;
959
- }
960
-
961
- #ifdef ICE_CPP11
962
-
963
- ::Ice::AsyncResultPtr
964
- IceProxy::Ice::LocatorRegistry::__begin_setAdapterDirectProxy(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
965
- {
966
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
967
- {
968
- public:
969
-
970
- Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
971
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
972
- _response(responseFunc)
973
- {
974
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
975
- }
976
-
977
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
978
- {
979
- ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
980
- try
981
- {
982
- __proxy->end_setAdapterDirectProxy(__result);
983
- }
984
- catch(const ::Ice::Exception& ex)
985
- {
986
- Cpp11FnCallbackNC::exception(__result, ex);
987
- return;
988
- }
989
- if(_response != nullptr)
990
- {
991
- _response();
992
- }
993
- }
994
-
995
- private:
996
-
997
- ::std::function<void ()> _response;
998
- };
999
- return begin_setAdapterDirectProxy(__p_id, __p_proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
1153
+ return result;
1000
1154
  }
1001
- #endif
1002
1155
 
1003
- void
1004
- IceProxy::Ice::LocatorRegistry::end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& __result)
1156
+ ::Ice::ObjectPrx
1157
+ IceProxy::Ice::Locator::end_findAdapterById(const ::Ice::AsyncResultPtr& result)
1005
1158
  {
1006
- ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setAdapterDirectProxy_name);
1007
- if(!__result->__wait())
1159
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findAdapterById_name);
1160
+ ::Ice::ObjectPrx ret;
1161
+ if(!result->_waitForResponse())
1008
1162
  {
1009
1163
  try
1010
1164
  {
1011
- __result->__throwUserException();
1012
- }
1013
- catch(const ::Ice::AdapterAlreadyActiveException&)
1014
- {
1015
- throw;
1165
+ result->_throwUserException();
1016
1166
  }
1017
1167
  catch(const ::Ice::AdapterNotFoundException&)
1018
1168
  {
1019
1169
  throw;
1020
1170
  }
1021
- catch(const ::Ice::UserException& __ex)
1171
+ catch(const ::Ice::UserException& ex)
1022
1172
  {
1023
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1173
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1024
1174
  }
1025
1175
  }
1026
- __result->__readEmptyParams();
1176
+ ::Ice::InputStream* istr = result->_startReadParams();
1177
+ istr->read(ret);
1178
+ result->_endReadParams();
1179
+ return ret;
1027
1180
  }
1028
1181
 
1029
- void
1030
- IceProxy::Ice::LocatorRegistry::setReplicatedAdapterDirectProxy(const ::std::string& __p_adapterId, const ::std::string& __p_replicaGroupId, const ::Ice::ObjectPrx& __p_p, const ::Ice::Context* __ctx)
1182
+ ::Ice::AsyncResultPtr
1183
+ IceProxy::Ice::Locator::_iceI_begin_getRegistry(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
1031
1184
  {
1032
- __checkTwowayOnly(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1033
- ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
1185
+ _checkTwowayOnly(iceC_Ice_Locator_getRegistry_name, sync);
1186
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_getRegistry_name, del, cookie, sync);
1034
1187
  try
1035
1188
  {
1036
- ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
1037
- __os->write(__p_adapterId);
1038
- __os->write(__p_replicaGroupId);
1039
- __os->write(__p_p);
1040
- __og.endWriteParams();
1189
+ result->prepare(iceC_Ice_Locator_getRegistry_name, ::Ice::Nonmutating, context);
1190
+ result->writeEmptyParams();
1191
+ result->invoke(iceC_Ice_Locator_getRegistry_name);
1041
1192
  }
1042
- catch(const ::Ice::LocalException& __ex)
1193
+ catch(const ::Ice::Exception& ex)
1043
1194
  {
1044
- __og.abort(__ex);
1195
+ result->abort(ex);
1045
1196
  }
1046
- if(!__og.invoke())
1197
+ return result;
1198
+ }
1199
+
1200
+ ::Ice::LocatorRegistryPrx
1201
+ IceProxy::Ice::Locator::end_getRegistry(const ::Ice::AsyncResultPtr& result)
1202
+ {
1203
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_getRegistry_name);
1204
+ ::Ice::LocatorRegistryPrx ret;
1205
+ if(!result->_waitForResponse())
1047
1206
  {
1048
1207
  try
1049
1208
  {
1050
- __og.throwUserException();
1051
- }
1052
- catch(const ::Ice::AdapterAlreadyActiveException&)
1053
- {
1054
- throw;
1055
- }
1056
- catch(const ::Ice::AdapterNotFoundException&)
1057
- {
1058
- throw;
1059
- }
1060
- catch(const ::Ice::InvalidReplicaGroupIdException&)
1061
- {
1062
- throw;
1209
+ result->_throwUserException();
1063
1210
  }
1064
- catch(const ::Ice::UserException& __ex)
1211
+ catch(const ::Ice::UserException& ex)
1065
1212
  {
1066
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1067
- throw __uue;
1213
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1068
1214
  }
1069
1215
  }
1216
+ ::Ice::InputStream* istr = result->_startReadParams();
1217
+ istr->read(ret);
1218
+ result->_endReadParams();
1219
+ return ret;
1070
1220
  }
1071
1221
 
1072
- ::Ice::AsyncResultPtr
1073
- IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy(const ::std::string& __p_adapterId, const ::std::string& __p_replicaGroupId, const ::Ice::ObjectPrx& __p_p, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1222
+ /// \cond INTERNAL
1223
+ ::IceProxy::Ice::Object*
1224
+ IceProxy::Ice::Locator::_newInstance() const
1074
1225
  {
1075
- __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1076
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, __del, __cookie);
1077
- try
1226
+ return new Locator;
1227
+ }
1228
+ /// \endcond
1229
+
1230
+ const ::std::string&
1231
+ IceProxy::Ice::Locator::ice_staticId()
1232
+ {
1233
+ return ::Ice::Locator::ice_staticId();
1234
+ }
1235
+
1236
+ /// \cond INTERNAL
1237
+ ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LocatorRegistry* p) { return p; }
1238
+
1239
+ void
1240
+ ::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LocatorRegistry>& v)
1241
+ {
1242
+ ::Ice::ObjectPrx proxy;
1243
+ istr->read(proxy);
1244
+ if(!proxy)
1078
1245
  {
1079
- __result->prepare(__Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, __ctx);
1080
- ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
1081
- __os->write(__p_adapterId);
1082
- __os->write(__p_replicaGroupId);
1083
- __os->write(__p_p);
1084
- __result->endWriteParams();
1085
- __result->invoke();
1246
+ v = 0;
1086
1247
  }
1087
- catch(const ::Ice::Exception& __ex)
1248
+ else
1088
1249
  {
1089
- __result->abort(__ex);
1250
+ v = new LocatorRegistry;
1251
+ v->_copyFrom(proxy);
1090
1252
  }
1091
- return __result;
1092
1253
  }
1093
-
1094
- #ifdef ICE_CPP11
1254
+ /// \endcond
1095
1255
 
1096
1256
  ::Ice::AsyncResultPtr
1097
- IceProxy::Ice::LocatorRegistry::__begin_setReplicatedAdapterDirectProxy(const ::std::string& __p_adapterId, const ::std::string& __p_replicaGroupId, const ::Ice::ObjectPrx& __p_p, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
1257
+ IceProxy::Ice::LocatorRegistry::_iceI_begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
1098
1258
  {
1099
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1259
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, sync);
1260
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, del, cookie, sync);
1261
+ try
1100
1262
  {
1101
- public:
1102
-
1103
- Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1104
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1105
- _response(responseFunc)
1106
- {
1107
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1108
- }
1109
-
1110
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1111
- {
1112
- ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
1113
- try
1114
- {
1115
- __proxy->end_setReplicatedAdapterDirectProxy(__result);
1116
- }
1117
- catch(const ::Ice::Exception& ex)
1118
- {
1119
- Cpp11FnCallbackNC::exception(__result, ex);
1120
- return;
1121
- }
1122
- if(_response != nullptr)
1123
- {
1124
- _response();
1125
- }
1126
- }
1127
-
1128
- private:
1129
-
1130
- ::std::function<void ()> _response;
1131
- };
1132
- return begin_setReplicatedAdapterDirectProxy(__p_adapterId, __p_replicaGroupId, __p_p, __ctx, new Cpp11CB(__response, __exception, __sent));
1263
+ result->prepare(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::Idempotent, context);
1264
+ ::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
1265
+ ostr->write(iceP_id);
1266
+ ostr->write(iceP_proxy);
1267
+ result->endWriteParams();
1268
+ result->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
1269
+ }
1270
+ catch(const ::Ice::Exception& ex)
1271
+ {
1272
+ result->abort(ex);
1273
+ }
1274
+ return result;
1133
1275
  }
1134
- #endif
1135
1276
 
1136
1277
  void
1137
- IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& __result)
1278
+ IceProxy::Ice::LocatorRegistry::end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
1138
1279
  {
1139
- ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setReplicatedAdapterDirectProxy_name);
1140
- if(!__result->__wait())
1280
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
1281
+ if(!result->_waitForResponse())
1141
1282
  {
1142
1283
  try
1143
1284
  {
1144
- __result->__throwUserException();
1285
+ result->_throwUserException();
1145
1286
  }
1146
1287
  catch(const ::Ice::AdapterAlreadyActiveException&)
1147
1288
  {
@@ -1151,136 +1292,116 @@ IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice:
1151
1292
  {
1152
1293
  throw;
1153
1294
  }
1154
- catch(const ::Ice::InvalidReplicaGroupIdException&)
1155
- {
1156
- throw;
1157
- }
1158
- catch(const ::Ice::UserException& __ex)
1295
+ catch(const ::Ice::UserException& ex)
1159
1296
  {
1160
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1297
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1161
1298
  }
1162
1299
  }
1163
- __result->__readEmptyParams();
1300
+ result->_readEmptyParams();
1164
1301
  }
1165
1302
 
1166
- void
1167
- IceProxy::Ice::LocatorRegistry::setServerProcessProxy(const ::std::string& __p_id, const ::Ice::ProcessPrx& __p_proxy, const ::Ice::Context* __ctx)
1303
+ ::Ice::AsyncResultPtr
1304
+ IceProxy::Ice::LocatorRegistry::_iceI_begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
1168
1305
  {
1169
- __checkTwowayOnly(__Ice__LocatorRegistry__setServerProcessProxy_name);
1170
- ::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setServerProcessProxy_name, ::Ice::Idempotent, __ctx);
1306
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, sync);
1307
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, del, cookie, sync);
1171
1308
  try
1172
1309
  {
1173
- ::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
1174
- __os->write(__p_id);
1175
- __os->write(__p_proxy);
1176
- __og.endWriteParams();
1310
+ result->prepare(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, context);
1311
+ ::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
1312
+ ostr->write(iceP_adapterId);
1313
+ ostr->write(iceP_replicaGroupId);
1314
+ ostr->write(iceP_p);
1315
+ result->endWriteParams();
1316
+ result->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
1177
1317
  }
1178
- catch(const ::Ice::LocalException& __ex)
1318
+ catch(const ::Ice::Exception& ex)
1179
1319
  {
1180
- __og.abort(__ex);
1320
+ result->abort(ex);
1181
1321
  }
1182
- if(!__og.invoke())
1322
+ return result;
1323
+ }
1324
+
1325
+ void
1326
+ IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
1327
+ {
1328
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
1329
+ if(!result->_waitForResponse())
1183
1330
  {
1184
1331
  try
1185
1332
  {
1186
- __og.throwUserException();
1333
+ result->_throwUserException();
1187
1334
  }
1188
- catch(const ::Ice::ServerNotFoundException&)
1335
+ catch(const ::Ice::AdapterAlreadyActiveException&)
1336
+ {
1337
+ throw;
1338
+ }
1339
+ catch(const ::Ice::AdapterNotFoundException&)
1340
+ {
1341
+ throw;
1342
+ }
1343
+ catch(const ::Ice::InvalidReplicaGroupIdException&)
1189
1344
  {
1190
1345
  throw;
1191
1346
  }
1192
- catch(const ::Ice::UserException& __ex)
1347
+ catch(const ::Ice::UserException& ex)
1193
1348
  {
1194
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1195
- throw __uue;
1349
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1196
1350
  }
1197
1351
  }
1352
+ result->_readEmptyParams();
1198
1353
  }
1199
1354
 
1200
1355
  ::Ice::AsyncResultPtr
1201
- IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy(const ::std::string& __p_id, const ::Ice::ProcessPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1356
+ IceProxy::Ice::LocatorRegistry::_iceI_begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
1202
1357
  {
1203
- __checkAsyncTwowayOnly(__Ice__LocatorRegistry__setServerProcessProxy_name);
1204
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorRegistry__setServerProcessProxy_name, __del, __cookie);
1358
+ _checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, sync);
1359
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name, del, cookie, sync);
1205
1360
  try
1206
1361
  {
1207
- __result->prepare(__Ice__LocatorRegistry__setServerProcessProxy_name, ::Ice::Idempotent, __ctx);
1208
- ::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
1209
- __os->write(__p_id);
1210
- __os->write(__p_proxy);
1211
- __result->endWriteParams();
1212
- __result->invoke();
1362
+ result->prepare(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::Idempotent, context);
1363
+ ::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
1364
+ ostr->write(iceP_id);
1365
+ ostr->write(iceP_proxy);
1366
+ result->endWriteParams();
1367
+ result->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
1213
1368
  }
1214
- catch(const ::Ice::Exception& __ex)
1369
+ catch(const ::Ice::Exception& ex)
1215
1370
  {
1216
- __result->abort(__ex);
1371
+ result->abort(ex);
1217
1372
  }
1218
- return __result;
1219
- }
1220
-
1221
- #ifdef ICE_CPP11
1222
-
1223
- ::Ice::AsyncResultPtr
1224
- IceProxy::Ice::LocatorRegistry::__begin_setServerProcessProxy(const ::std::string& __p_id, const ::Ice::ProcessPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
1225
- {
1226
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1227
- {
1228
- public:
1229
-
1230
- Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1231
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1232
- _response(responseFunc)
1233
- {
1234
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1235
- }
1236
-
1237
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1238
- {
1239
- ::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
1240
- try
1241
- {
1242
- __proxy->end_setServerProcessProxy(__result);
1243
- }
1244
- catch(const ::Ice::Exception& ex)
1245
- {
1246
- Cpp11FnCallbackNC::exception(__result, ex);
1247
- return;
1248
- }
1249
- if(_response != nullptr)
1250
- {
1251
- _response();
1252
- }
1253
- }
1254
-
1255
- private:
1256
-
1257
- ::std::function<void ()> _response;
1258
- };
1259
- return begin_setServerProcessProxy(__p_id, __p_proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
1373
+ return result;
1260
1374
  }
1261
- #endif
1262
1375
 
1263
1376
  void
1264
- IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr& __result)
1377
+ IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result)
1265
1378
  {
1266
- ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorRegistry__setServerProcessProxy_name);
1267
- if(!__result->__wait())
1379
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
1380
+ if(!result->_waitForResponse())
1268
1381
  {
1269
1382
  try
1270
1383
  {
1271
- __result->__throwUserException();
1384
+ result->_throwUserException();
1272
1385
  }
1273
1386
  catch(const ::Ice::ServerNotFoundException&)
1274
1387
  {
1275
1388
  throw;
1276
1389
  }
1277
- catch(const ::Ice::UserException& __ex)
1390
+ catch(const ::Ice::UserException& ex)
1278
1391
  {
1279
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1392
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1280
1393
  }
1281
1394
  }
1282
- __result->__readEmptyParams();
1395
+ result->_readEmptyParams();
1396
+ }
1397
+
1398
+ /// \cond INTERNAL
1399
+ ::IceProxy::Ice::Object*
1400
+ IceProxy::Ice::LocatorRegistry::_newInstance() const
1401
+ {
1402
+ return new LocatorRegistry;
1283
1403
  }
1404
+ /// \endcond
1284
1405
 
1285
1406
  const ::std::string&
1286
1407
  IceProxy::Ice::LocatorRegistry::ice_staticId()
@@ -1288,139 +1409,73 @@ IceProxy::Ice::LocatorRegistry::ice_staticId()
1288
1409
  return ::Ice::LocatorRegistry::ice_staticId();
1289
1410
  }
1290
1411
 
1291
- ::IceProxy::Ice::Object*
1292
- IceProxy::Ice::LocatorRegistry::__newInstance() const
1293
- {
1294
- return new LocatorRegistry;
1295
- }
1296
- #ifdef __SUNPRO_CC
1297
- class ICE_API IceProxy::Ice::LocatorFinder;
1298
- #endif
1299
- ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorFinder* p) { return p; }
1412
+ /// \cond INTERNAL
1413
+ ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LocatorFinder* p) { return p; }
1300
1414
 
1301
1415
  void
1302
- ::IceProxy::Ice::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder>& v)
1416
+ ::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LocatorFinder>& v)
1303
1417
  {
1304
1418
  ::Ice::ObjectPrx proxy;
1305
- __is->read(proxy);
1419
+ istr->read(proxy);
1306
1420
  if(!proxy)
1307
1421
  {
1308
1422
  v = 0;
1309
1423
  }
1310
1424
  else
1311
1425
  {
1312
- v = new ::IceProxy::Ice::LocatorFinder;
1313
- v->__copyFrom(proxy);
1314
- }
1315
- }
1316
-
1317
- ::Ice::LocatorPrx
1318
- IceProxy::Ice::LocatorFinder::getLocator(const ::Ice::Context* __ctx)
1319
- {
1320
- __checkTwowayOnly(__Ice__LocatorFinder__getLocator_name);
1321
- ::IceInternal::Outgoing __og(this, __Ice__LocatorFinder__getLocator_name, ::Ice::Normal, __ctx);
1322
- __og.writeEmptyParams();
1323
- if(!__og.invoke())
1324
- {
1325
- try
1326
- {
1327
- __og.throwUserException();
1328
- }
1329
- catch(const ::Ice::UserException& __ex)
1330
- {
1331
- ::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
1332
- throw __uue;
1333
- }
1426
+ v = new LocatorFinder;
1427
+ v->_copyFrom(proxy);
1334
1428
  }
1335
- ::Ice::LocatorPrx __ret;
1336
- ::IceInternal::BasicStream* __is = __og.startReadParams();
1337
- __is->read(__ret);
1338
- __og.endReadParams();
1339
- return __ret;
1340
1429
  }
1430
+ /// \endcond
1341
1431
 
1342
1432
  ::Ice::AsyncResultPtr
1343
- IceProxy::Ice::LocatorFinder::begin_getLocator(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
1433
+ IceProxy::Ice::LocatorFinder::_iceI_begin_getLocator(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
1344
1434
  {
1345
- __checkAsyncTwowayOnly(__Ice__LocatorFinder__getLocator_name);
1346
- ::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LocatorFinder__getLocator_name, __del, __cookie);
1435
+ _checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name, sync);
1436
+ ::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorFinder_getLocator_name, del, cookie, sync);
1347
1437
  try
1348
1438
  {
1349
- __result->prepare(__Ice__LocatorFinder__getLocator_name, ::Ice::Normal, __ctx);
1350
- __result->writeEmptyParams();
1351
- __result->invoke();
1439
+ result->prepare(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::Normal, context);
1440
+ result->writeEmptyParams();
1441
+ result->invoke(iceC_Ice_LocatorFinder_getLocator_name);
1352
1442
  }
1353
- catch(const ::Ice::Exception& __ex)
1443
+ catch(const ::Ice::Exception& ex)
1354
1444
  {
1355
- __result->abort(__ex);
1445
+ result->abort(ex);
1356
1446
  }
1357
- return __result;
1358
- }
1359
-
1360
- #ifdef ICE_CPP11
1361
-
1362
- ::Ice::AsyncResultPtr
1363
- 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)
1364
- {
1365
- class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
1366
- {
1367
- public:
1368
-
1369
- Cpp11CB(const ::std::function<void (const ::Ice::LocatorPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
1370
- ::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
1371
- _response(responseFunc)
1372
- {
1373
- CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
1374
- }
1375
-
1376
- virtual void completed(const ::Ice::AsyncResultPtr& __result) const
1377
- {
1378
- ::Ice::LocatorFinderPrx __proxy = ::Ice::LocatorFinderPrx::uncheckedCast(__result->getProxy());
1379
- ::Ice::LocatorPrx __ret;
1380
- try
1381
- {
1382
- __ret = __proxy->end_getLocator(__result);
1383
- }
1384
- catch(const ::Ice::Exception& ex)
1385
- {
1386
- Cpp11FnCallbackNC::exception(__result, ex);
1387
- return;
1388
- }
1389
- if(_response != nullptr)
1390
- {
1391
- _response(__ret);
1392
- }
1393
- }
1394
-
1395
- private:
1396
-
1397
- ::std::function<void (const ::Ice::LocatorPrx&)> _response;
1398
- };
1399
- return begin_getLocator(__ctx, new Cpp11CB(__response, __exception, __sent));
1447
+ return result;
1400
1448
  }
1401
- #endif
1402
1449
 
1403
1450
  ::Ice::LocatorPrx
1404
- IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr& __result)
1451
+ IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr& result)
1405
1452
  {
1406
- ::Ice::AsyncResult::__check(__result, this, __Ice__LocatorFinder__getLocator_name);
1407
- ::Ice::LocatorPrx __ret;
1408
- if(!__result->__wait())
1453
+ ::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorFinder_getLocator_name);
1454
+ ::Ice::LocatorPrx ret;
1455
+ if(!result->_waitForResponse())
1409
1456
  {
1410
1457
  try
1411
1458
  {
1412
- __result->__throwUserException();
1459
+ result->_throwUserException();
1413
1460
  }
1414
- catch(const ::Ice::UserException& __ex)
1461
+ catch(const ::Ice::UserException& ex)
1415
1462
  {
1416
- throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
1463
+ throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
1417
1464
  }
1418
1465
  }
1419
- ::IceInternal::BasicStream* __is = __result->__startReadParams();
1420
- __is->read(__ret);
1421
- __result->__endReadParams();
1422
- return __ret;
1466
+ ::Ice::InputStream* istr = result->_startReadParams();
1467
+ istr->read(ret);
1468
+ result->_endReadParams();
1469
+ return ret;
1470
+ }
1471
+
1472
+ /// \cond INTERNAL
1473
+ ::IceProxy::Ice::Object*
1474
+ IceProxy::Ice::LocatorFinder::_newInstance() const
1475
+ {
1476
+ return new LocatorFinder;
1423
1477
  }
1478
+ /// \endcond
1424
1479
 
1425
1480
  const ::std::string&
1426
1481
  IceProxy::Ice::LocatorFinder::ice_staticId()
@@ -1428,17 +1483,18 @@ IceProxy::Ice::LocatorFinder::ice_staticId()
1428
1483
  return ::Ice::LocatorFinder::ice_staticId();
1429
1484
  }
1430
1485
 
1431
- ::IceProxy::Ice::Object*
1432
- IceProxy::Ice::LocatorFinder::__newInstance() const
1486
+ Ice::Locator::~Locator()
1433
1487
  {
1434
- return new LocatorFinder;
1435
1488
  }
1436
1489
 
1437
- ICE_API ::Ice::Object* Ice::upCast(::Ice::Locator* p) { return p; }
1490
+ /// \cond INTERNAL
1491
+ ICE_API ::Ice::Object* Ice::upCast(Locator* p) { return p; }
1492
+
1493
+ /// \endcond
1438
1494
 
1439
1495
  namespace
1440
1496
  {
1441
- const ::std::string __Ice__Locator_ids[2] =
1497
+ const ::std::string iceC_Ice_Locator_ids[2] =
1442
1498
  {
1443
1499
  "::Ice::Locator",
1444
1500
  "::Ice::Object"
@@ -1447,21 +1503,21 @@ const ::std::string __Ice__Locator_ids[2] =
1447
1503
  }
1448
1504
 
1449
1505
  bool
1450
- Ice::Locator::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1506
+ Ice::Locator::ice_isA(const ::std::string& s, const Current&) const
1451
1507
  {
1452
- return ::std::binary_search(__Ice__Locator_ids, __Ice__Locator_ids + 2, _s);
1508
+ return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
1453
1509
  }
1454
1510
 
1455
1511
  ::std::vector< ::std::string>
1456
- Ice::Locator::ice_ids(const ::Ice::Current&) const
1512
+ Ice::Locator::ice_ids(const Current&) const
1457
1513
  {
1458
- return ::std::vector< ::std::string>(&__Ice__Locator_ids[0], &__Ice__Locator_ids[2]);
1514
+ return ::std::vector< ::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
1459
1515
  }
1460
1516
 
1461
1517
  const ::std::string&
1462
- Ice::Locator::ice_id(const ::Ice::Current&) const
1518
+ Ice::Locator::ice_id(const Current&) const
1463
1519
  {
1464
- return __Ice__Locator_ids[0];
1520
+ return ice_staticId();
1465
1521
  }
1466
1522
 
1467
1523
  const ::std::string&
@@ -1471,73 +1527,55 @@ Ice::Locator::ice_staticId()
1471
1527
  static const ::std::string typeId = "::Ice::Locator";
1472
1528
  return typeId;
1473
1529
  #else
1474
- return __Ice__Locator_ids[0];
1530
+ return iceC_Ice_Locator_ids[0];
1475
1531
  #endif
1476
1532
  }
1477
1533
 
1478
- ::Ice::DispatchStatus
1479
- Ice::Locator::___findObjectById(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1534
+ /// \cond INTERNAL
1535
+ bool
1536
+ Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const Current& current) const
1480
1537
  {
1481
- __checkMode(::Ice::Idempotent, __current.mode);
1482
- ::IceInternal::BasicStream* __is = __inS.startReadParams();
1483
- ::Ice::Identity __p_id;
1484
- __is->read(__p_id);
1485
- __inS.endReadParams();
1486
- ::Ice::AMD_Locator_findObjectByIdPtr __cb = new IceAsync::Ice::AMD_Locator_findObjectById(__inS);
1487
- try
1488
- {
1489
- findObjectById_async(__cb, __p_id, __current);
1490
- }
1491
- catch(const ::std::exception& __ex)
1492
- {
1493
- __cb->ice_exception(__ex);
1494
- }
1495
- catch(...)
1496
- {
1497
- __cb->ice_exception();
1498
- }
1499
- return ::Ice::DispatchAsync;
1538
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1539
+ InputStream* istr = inS.startReadParams();
1540
+ Identity iceP_id;
1541
+ istr->read(iceP_id);
1542
+ inS.endReadParams();
1543
+ this->findObjectById_async(new IceAsync::Ice::AMD_Locator_findObjectById(inS), iceP_id, current);
1544
+ return false;
1500
1545
  }
1546
+ /// \endcond
1501
1547
 
1502
- ::Ice::DispatchStatus
1503
- Ice::Locator::___findAdapterById(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1548
+ /// \cond INTERNAL
1549
+ bool
1550
+ Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const Current& current) const
1504
1551
  {
1505
- __checkMode(::Ice::Idempotent, __current.mode);
1506
- ::IceInternal::BasicStream* __is = __inS.startReadParams();
1507
- ::std::string __p_id;
1508
- __is->read(__p_id);
1509
- __inS.endReadParams();
1510
- ::Ice::AMD_Locator_findAdapterByIdPtr __cb = new IceAsync::Ice::AMD_Locator_findAdapterById(__inS);
1511
- try
1512
- {
1513
- findAdapterById_async(__cb, __p_id, __current);
1514
- }
1515
- catch(const ::std::exception& __ex)
1516
- {
1517
- __cb->ice_exception(__ex);
1518
- }
1519
- catch(...)
1520
- {
1521
- __cb->ice_exception();
1522
- }
1523
- return ::Ice::DispatchAsync;
1552
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1553
+ InputStream* istr = inS.startReadParams();
1554
+ ::std::string iceP_id;
1555
+ istr->read(iceP_id);
1556
+ inS.endReadParams();
1557
+ this->findAdapterById_async(new IceAsync::Ice::AMD_Locator_findAdapterById(inS), iceP_id, current);
1558
+ return false;
1524
1559
  }
1560
+ /// \endcond
1525
1561
 
1526
- ::Ice::DispatchStatus
1527
- Ice::Locator::___getRegistry(::IceInternal::Incoming& __inS, const ::Ice::Current& __current) const
1562
+ /// \cond INTERNAL
1563
+ bool
1564
+ Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const Current& current) const
1528
1565
  {
1529
- __checkMode(::Ice::Idempotent, __current.mode);
1530
- __inS.readEmptyParams();
1531
- ::Ice::LocatorRegistryPrx __ret = getRegistry(__current);
1532
- ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
1533
- __os->write(__ret);
1534
- __inS.__endWriteParams(true);
1535
- return ::Ice::DispatchOK;
1566
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1567
+ inS.readEmptyParams();
1568
+ LocatorRegistryPrx ret = this->getRegistry(current);
1569
+ OutputStream* ostr = inS.startWriteParams();
1570
+ ostr->write(ret);
1571
+ inS.endWriteParams();
1572
+ return true;
1536
1573
  }
1574
+ /// \endcond
1537
1575
 
1538
1576
  namespace
1539
1577
  {
1540
- const ::std::string __Ice__Locator_all[] =
1578
+ const ::std::string iceC_Ice_Locator_all[] =
1541
1579
  {
1542
1580
  "findAdapterById",
1543
1581
  "findObjectById",
@@ -1550,80 +1588,97 @@ const ::std::string __Ice__Locator_all[] =
1550
1588
 
1551
1589
  }
1552
1590
 
1553
- ::Ice::DispatchStatus
1554
- Ice::Locator::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1591
+ /// \cond INTERNAL
1592
+ bool
1593
+ Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
1555
1594
  {
1556
- ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__Locator_all, __Ice__Locator_all + 7, current.operation);
1595
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_all, iceC_Ice_Locator_all + 7, current.operation);
1557
1596
  if(r.first == r.second)
1558
1597
  {
1559
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1598
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1560
1599
  }
1561
1600
 
1562
- switch(r.first - __Ice__Locator_all)
1601
+ switch(r.first - iceC_Ice_Locator_all)
1563
1602
  {
1564
1603
  case 0:
1565
1604
  {
1566
- return ___findAdapterById(in, current);
1605
+ return _iceD_findAdapterById(in, current);
1567
1606
  }
1568
1607
  case 1:
1569
1608
  {
1570
- return ___findObjectById(in, current);
1609
+ return _iceD_findObjectById(in, current);
1571
1610
  }
1572
1611
  case 2:
1573
1612
  {
1574
- return ___getRegistry(in, current);
1613
+ return _iceD_getRegistry(in, current);
1575
1614
  }
1576
1615
  case 3:
1577
1616
  {
1578
- return ___ice_id(in, current);
1617
+ return _iceD_ice_id(in, current);
1579
1618
  }
1580
1619
  case 4:
1581
1620
  {
1582
- return ___ice_ids(in, current);
1621
+ return _iceD_ice_ids(in, current);
1583
1622
  }
1584
1623
  case 5:
1585
1624
  {
1586
- return ___ice_isA(in, current);
1625
+ return _iceD_ice_isA(in, current);
1587
1626
  }
1588
1627
  case 6:
1589
1628
  {
1590
- return ___ice_ping(in, current);
1629
+ return _iceD_ice_ping(in, current);
1630
+ }
1631
+ default:
1632
+ {
1633
+ assert(false);
1634
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1591
1635
  }
1592
1636
  }
1593
-
1594
- assert(false);
1595
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1596
1637
  }
1638
+ /// \endcond
1597
1639
 
1640
+ /// \cond STREAM
1598
1641
  void
1599
- Ice::Locator::__writeImpl(::IceInternal::BasicStream* __os) const
1642
+ Ice::Locator::_iceWriteImpl(OutputStream* ostr) const
1600
1643
  {
1601
- __os->startWriteSlice(ice_staticId(), -1, true);
1602
- __os->endWriteSlice();
1644
+ ostr->startSlice(ice_staticId(), -1, true);
1645
+ StreamWriter< Locator, OutputStream>::write(ostr, *this);
1646
+ ostr->endSlice();
1603
1647
  }
1604
1648
 
1605
1649
  void
1606
- Ice::Locator::__readImpl(::IceInternal::BasicStream* __is)
1650
+ Ice::Locator::_iceReadImpl(InputStream* istr)
1607
1651
  {
1608
- __is->startReadSlice();
1609
- __is->endReadSlice();
1652
+ istr->startSlice();
1653
+ StreamReader< Locator, InputStream>::read(istr, *this);
1654
+ istr->endSlice();
1610
1655
  }
1656
+ /// \endcond
1611
1657
 
1612
- void ICE_API
1613
- Ice::__patch(LocatorPtr& handle, const ::Ice::ObjectPtr& v)
1658
+ /// \cond INTERNAL
1659
+ void
1660
+ Ice::_icePatchObjectPtr(LocatorPtr& handle, const ObjectPtr& v)
1614
1661
  {
1615
- handle = ::Ice::LocatorPtr::dynamicCast(v);
1662
+ handle = LocatorPtr::dynamicCast(v);
1616
1663
  if(v && !handle)
1617
1664
  {
1618
- IceInternal::Ex::throwUOE(::Ice::Locator::ice_staticId(), v);
1665
+ IceInternal::Ex::throwUOE(Locator::ice_staticId(), v);
1619
1666
  }
1620
1667
  }
1668
+ /// \endcond
1669
+
1670
+ Ice::LocatorRegistry::~LocatorRegistry()
1671
+ {
1672
+ }
1621
1673
 
1622
- ICE_API ::Ice::Object* Ice::upCast(::Ice::LocatorRegistry* p) { return p; }
1674
+ /// \cond INTERNAL
1675
+ ICE_API ::Ice::Object* Ice::upCast(LocatorRegistry* p) { return p; }
1676
+
1677
+ /// \endcond
1623
1678
 
1624
1679
  namespace
1625
1680
  {
1626
- const ::std::string __Ice__LocatorRegistry_ids[2] =
1681
+ const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
1627
1682
  {
1628
1683
  "::Ice::LocatorRegistry",
1629
1684
  "::Ice::Object"
@@ -1632,21 +1687,21 @@ const ::std::string __Ice__LocatorRegistry_ids[2] =
1632
1687
  }
1633
1688
 
1634
1689
  bool
1635
- Ice::LocatorRegistry::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1690
+ Ice::LocatorRegistry::ice_isA(const ::std::string& s, const Current&) const
1636
1691
  {
1637
- return ::std::binary_search(__Ice__LocatorRegistry_ids, __Ice__LocatorRegistry_ids + 2, _s);
1692
+ return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
1638
1693
  }
1639
1694
 
1640
1695
  ::std::vector< ::std::string>
1641
- Ice::LocatorRegistry::ice_ids(const ::Ice::Current&) const
1696
+ Ice::LocatorRegistry::ice_ids(const Current&) const
1642
1697
  {
1643
- return ::std::vector< ::std::string>(&__Ice__LocatorRegistry_ids[0], &__Ice__LocatorRegistry_ids[2]);
1698
+ return ::std::vector< ::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
1644
1699
  }
1645
1700
 
1646
1701
  const ::std::string&
1647
- Ice::LocatorRegistry::ice_id(const ::Ice::Current&) const
1702
+ Ice::LocatorRegistry::ice_id(const Current&) const
1648
1703
  {
1649
- return __Ice__LocatorRegistry_ids[0];
1704
+ return ice_staticId();
1650
1705
  }
1651
1706
 
1652
1707
  const ::std::string&
@@ -1656,93 +1711,63 @@ Ice::LocatorRegistry::ice_staticId()
1656
1711
  static const ::std::string typeId = "::Ice::LocatorRegistry";
1657
1712
  return typeId;
1658
1713
  #else
1659
- return __Ice__LocatorRegistry_ids[0];
1714
+ return iceC_Ice_LocatorRegistry_ids[0];
1660
1715
  #endif
1661
1716
  }
1662
1717
 
1663
- ::Ice::DispatchStatus
1664
- Ice::LocatorRegistry::___setAdapterDirectProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1718
+ /// \cond INTERNAL
1719
+ bool
1720
+ Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
1665
1721
  {
1666
- __checkMode(::Ice::Idempotent, __current.mode);
1667
- ::IceInternal::BasicStream* __is = __inS.startReadParams();
1668
- ::std::string __p_id;
1669
- ::Ice::ObjectPrx __p_proxy;
1670
- __is->read(__p_id);
1671
- __is->read(__p_proxy);
1672
- __inS.endReadParams();
1673
- ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy(__inS);
1674
- try
1675
- {
1676
- setAdapterDirectProxy_async(__cb, __p_id, __p_proxy, __current);
1677
- }
1678
- catch(const ::std::exception& __ex)
1679
- {
1680
- __cb->ice_exception(__ex);
1681
- }
1682
- catch(...)
1683
- {
1684
- __cb->ice_exception();
1685
- }
1686
- return ::Ice::DispatchAsync;
1687
- }
1688
-
1689
- ::Ice::DispatchStatus
1690
- Ice::LocatorRegistry::___setReplicatedAdapterDirectProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1691
- {
1692
- __checkMode(::Ice::Idempotent, __current.mode);
1693
- ::IceInternal::BasicStream* __is = __inS.startReadParams();
1694
- ::std::string __p_adapterId;
1695
- ::std::string __p_replicaGroupId;
1696
- ::Ice::ObjectPrx __p_p;
1697
- __is->read(__p_adapterId);
1698
- __is->read(__p_replicaGroupId);
1699
- __is->read(__p_p);
1700
- __inS.endReadParams();
1701
- ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(__inS);
1702
- try
1703
- {
1704
- setReplicatedAdapterDirectProxy_async(__cb, __p_adapterId, __p_replicaGroupId, __p_p, __current);
1705
- }
1706
- catch(const ::std::exception& __ex)
1707
- {
1708
- __cb->ice_exception(__ex);
1709
- }
1710
- catch(...)
1711
- {
1712
- __cb->ice_exception();
1713
- }
1714
- return ::Ice::DispatchAsync;
1722
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1723
+ InputStream* istr = inS.startReadParams();
1724
+ ::std::string iceP_id;
1725
+ ObjectPrx iceP_proxy;
1726
+ istr->read(iceP_id);
1727
+ istr->read(iceP_proxy);
1728
+ inS.endReadParams();
1729
+ this->setAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy(inS), iceP_id, iceP_proxy, current);
1730
+ return false;
1715
1731
  }
1732
+ /// \endcond
1716
1733
 
1717
- ::Ice::DispatchStatus
1718
- Ice::LocatorRegistry::___setServerProcessProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1734
+ /// \cond INTERNAL
1735
+ bool
1736
+ Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
1737
+ {
1738
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1739
+ InputStream* istr = inS.startReadParams();
1740
+ ::std::string iceP_adapterId;
1741
+ ::std::string iceP_replicaGroupId;
1742
+ ObjectPrx iceP_p;
1743
+ istr->read(iceP_adapterId);
1744
+ istr->read(iceP_replicaGroupId);
1745
+ istr->read(iceP_p);
1746
+ inS.endReadParams();
1747
+ this->setReplicatedAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(inS), iceP_adapterId, iceP_replicaGroupId, iceP_p, current);
1748
+ return false;
1749
+ }
1750
+ /// \endcond
1751
+
1752
+ /// \cond INTERNAL
1753
+ bool
1754
+ Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const Current& current)
1719
1755
  {
1720
- __checkMode(::Ice::Idempotent, __current.mode);
1721
- ::IceInternal::BasicStream* __is = __inS.startReadParams();
1722
- ::std::string __p_id;
1723
- ::Ice::ProcessPrx __p_proxy;
1724
- __is->read(__p_id);
1725
- __is->read(__p_proxy);
1726
- __inS.endReadParams();
1727
- ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy(__inS);
1728
- try
1729
- {
1730
- setServerProcessProxy_async(__cb, __p_id, __p_proxy, __current);
1731
- }
1732
- catch(const ::std::exception& __ex)
1733
- {
1734
- __cb->ice_exception(__ex);
1735
- }
1736
- catch(...)
1737
- {
1738
- __cb->ice_exception();
1739
- }
1740
- return ::Ice::DispatchAsync;
1756
+ _iceCheckMode(::Ice::Idempotent, current.mode);
1757
+ InputStream* istr = inS.startReadParams();
1758
+ ::std::string iceP_id;
1759
+ ProcessPrx iceP_proxy;
1760
+ istr->read(iceP_id);
1761
+ istr->read(iceP_proxy);
1762
+ inS.endReadParams();
1763
+ this->setServerProcessProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy(inS), iceP_id, iceP_proxy, current);
1764
+ return false;
1741
1765
  }
1766
+ /// \endcond
1742
1767
 
1743
1768
  namespace
1744
1769
  {
1745
- const ::std::string __Ice__LocatorRegistry_all[] =
1770
+ const ::std::string iceC_Ice_LocatorRegistry_all[] =
1746
1771
  {
1747
1772
  "ice_id",
1748
1773
  "ice_ids",
@@ -1755,80 +1780,97 @@ const ::std::string __Ice__LocatorRegistry_all[] =
1755
1780
 
1756
1781
  }
1757
1782
 
1758
- ::Ice::DispatchStatus
1759
- Ice::LocatorRegistry::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1783
+ /// \cond INTERNAL
1784
+ bool
1785
+ Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
1760
1786
  {
1761
- ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__LocatorRegistry_all, __Ice__LocatorRegistry_all + 7, current.operation);
1787
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_all, iceC_Ice_LocatorRegistry_all + 7, current.operation);
1762
1788
  if(r.first == r.second)
1763
1789
  {
1764
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1790
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1765
1791
  }
1766
1792
 
1767
- switch(r.first - __Ice__LocatorRegistry_all)
1793
+ switch(r.first - iceC_Ice_LocatorRegistry_all)
1768
1794
  {
1769
1795
  case 0:
1770
1796
  {
1771
- return ___ice_id(in, current);
1797
+ return _iceD_ice_id(in, current);
1772
1798
  }
1773
1799
  case 1:
1774
1800
  {
1775
- return ___ice_ids(in, current);
1801
+ return _iceD_ice_ids(in, current);
1776
1802
  }
1777
1803
  case 2:
1778
1804
  {
1779
- return ___ice_isA(in, current);
1805
+ return _iceD_ice_isA(in, current);
1780
1806
  }
1781
1807
  case 3:
1782
1808
  {
1783
- return ___ice_ping(in, current);
1809
+ return _iceD_ice_ping(in, current);
1784
1810
  }
1785
1811
  case 4:
1786
1812
  {
1787
- return ___setAdapterDirectProxy(in, current);
1813
+ return _iceD_setAdapterDirectProxy(in, current);
1788
1814
  }
1789
1815
  case 5:
1790
1816
  {
1791
- return ___setReplicatedAdapterDirectProxy(in, current);
1817
+ return _iceD_setReplicatedAdapterDirectProxy(in, current);
1792
1818
  }
1793
1819
  case 6:
1794
1820
  {
1795
- return ___setServerProcessProxy(in, current);
1821
+ return _iceD_setServerProcessProxy(in, current);
1822
+ }
1823
+ default:
1824
+ {
1825
+ assert(false);
1826
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1796
1827
  }
1797
1828
  }
1798
-
1799
- assert(false);
1800
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1801
1829
  }
1830
+ /// \endcond
1802
1831
 
1832
+ /// \cond STREAM
1803
1833
  void
1804
- Ice::LocatorRegistry::__writeImpl(::IceInternal::BasicStream* __os) const
1834
+ Ice::LocatorRegistry::_iceWriteImpl(OutputStream* ostr) const
1805
1835
  {
1806
- __os->startWriteSlice(ice_staticId(), -1, true);
1807
- __os->endWriteSlice();
1836
+ ostr->startSlice(ice_staticId(), -1, true);
1837
+ StreamWriter< LocatorRegistry, OutputStream>::write(ostr, *this);
1838
+ ostr->endSlice();
1808
1839
  }
1809
1840
 
1810
1841
  void
1811
- Ice::LocatorRegistry::__readImpl(::IceInternal::BasicStream* __is)
1842
+ Ice::LocatorRegistry::_iceReadImpl(InputStream* istr)
1812
1843
  {
1813
- __is->startReadSlice();
1814
- __is->endReadSlice();
1844
+ istr->startSlice();
1845
+ StreamReader< LocatorRegistry, InputStream>::read(istr, *this);
1846
+ istr->endSlice();
1815
1847
  }
1848
+ /// \endcond
1816
1849
 
1817
- void ICE_API
1818
- Ice::__patch(LocatorRegistryPtr& handle, const ::Ice::ObjectPtr& v)
1850
+ /// \cond INTERNAL
1851
+ void
1852
+ Ice::_icePatchObjectPtr(LocatorRegistryPtr& handle, const ObjectPtr& v)
1819
1853
  {
1820
- handle = ::Ice::LocatorRegistryPtr::dynamicCast(v);
1854
+ handle = LocatorRegistryPtr::dynamicCast(v);
1821
1855
  if(v && !handle)
1822
1856
  {
1823
- IceInternal::Ex::throwUOE(::Ice::LocatorRegistry::ice_staticId(), v);
1857
+ IceInternal::Ex::throwUOE(LocatorRegistry::ice_staticId(), v);
1824
1858
  }
1825
1859
  }
1860
+ /// \endcond
1826
1861
 
1827
- ICE_API ::Ice::Object* Ice::upCast(::Ice::LocatorFinder* p) { return p; }
1862
+ Ice::LocatorFinder::~LocatorFinder()
1863
+ {
1864
+ }
1865
+
1866
+ /// \cond INTERNAL
1867
+ ICE_API ::Ice::Object* Ice::upCast(LocatorFinder* p) { return p; }
1868
+
1869
+ /// \endcond
1828
1870
 
1829
1871
  namespace
1830
1872
  {
1831
- const ::std::string __Ice__LocatorFinder_ids[2] =
1873
+ const ::std::string iceC_Ice_LocatorFinder_ids[2] =
1832
1874
  {
1833
1875
  "::Ice::LocatorFinder",
1834
1876
  "::Ice::Object"
@@ -1837,21 +1879,21 @@ const ::std::string __Ice__LocatorFinder_ids[2] =
1837
1879
  }
1838
1880
 
1839
1881
  bool
1840
- Ice::LocatorFinder::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
1882
+ Ice::LocatorFinder::ice_isA(const ::std::string& s, const Current&) const
1841
1883
  {
1842
- return ::std::binary_search(__Ice__LocatorFinder_ids, __Ice__LocatorFinder_ids + 2, _s);
1884
+ return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
1843
1885
  }
1844
1886
 
1845
1887
  ::std::vector< ::std::string>
1846
- Ice::LocatorFinder::ice_ids(const ::Ice::Current&) const
1888
+ Ice::LocatorFinder::ice_ids(const Current&) const
1847
1889
  {
1848
- return ::std::vector< ::std::string>(&__Ice__LocatorFinder_ids[0], &__Ice__LocatorFinder_ids[2]);
1890
+ return ::std::vector< ::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
1849
1891
  }
1850
1892
 
1851
1893
  const ::std::string&
1852
- Ice::LocatorFinder::ice_id(const ::Ice::Current&) const
1894
+ Ice::LocatorFinder::ice_id(const Current&) const
1853
1895
  {
1854
- return __Ice__LocatorFinder_ids[0];
1896
+ return ice_staticId();
1855
1897
  }
1856
1898
 
1857
1899
  const ::std::string&
@@ -1861,25 +1903,27 @@ Ice::LocatorFinder::ice_staticId()
1861
1903
  static const ::std::string typeId = "::Ice::LocatorFinder";
1862
1904
  return typeId;
1863
1905
  #else
1864
- return __Ice__LocatorFinder_ids[0];
1906
+ return iceC_Ice_LocatorFinder_ids[0];
1865
1907
  #endif
1866
1908
  }
1867
1909
 
1868
- ::Ice::DispatchStatus
1869
- Ice::LocatorFinder::___getLocator(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
1910
+ /// \cond INTERNAL
1911
+ bool
1912
+ Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const Current& current)
1870
1913
  {
1871
- __checkMode(::Ice::Normal, __current.mode);
1872
- __inS.readEmptyParams();
1873
- ::Ice::LocatorPrx __ret = getLocator(__current);
1874
- ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
1875
- __os->write(__ret);
1876
- __inS.__endWriteParams(true);
1877
- return ::Ice::DispatchOK;
1914
+ _iceCheckMode(::Ice::Normal, current.mode);
1915
+ inS.readEmptyParams();
1916
+ LocatorPrx ret = this->getLocator(current);
1917
+ OutputStream* ostr = inS.startWriteParams();
1918
+ ostr->write(ret);
1919
+ inS.endWriteParams();
1920
+ return true;
1878
1921
  }
1922
+ /// \endcond
1879
1923
 
1880
1924
  namespace
1881
1925
  {
1882
- const ::std::string __Ice__LocatorFinder_all[] =
1926
+ const ::std::string iceC_Ice_LocatorFinder_all[] =
1883
1927
  {
1884
1928
  "getLocator",
1885
1929
  "ice_id",
@@ -1890,63 +1934,79 @@ const ::std::string __Ice__LocatorFinder_all[] =
1890
1934
 
1891
1935
  }
1892
1936
 
1893
- ::Ice::DispatchStatus
1894
- Ice::LocatorFinder::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
1937
+ /// \cond INTERNAL
1938
+ bool
1939
+ Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
1895
1940
  {
1896
- ::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__Ice__LocatorFinder_all, __Ice__LocatorFinder_all + 5, current.operation);
1941
+ ::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_all, iceC_Ice_LocatorFinder_all + 5, current.operation);
1897
1942
  if(r.first == r.second)
1898
1943
  {
1899
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1944
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1900
1945
  }
1901
1946
 
1902
- switch(r.first - __Ice__LocatorFinder_all)
1947
+ switch(r.first - iceC_Ice_LocatorFinder_all)
1903
1948
  {
1904
1949
  case 0:
1905
1950
  {
1906
- return ___getLocator(in, current);
1951
+ return _iceD_getLocator(in, current);
1907
1952
  }
1908
1953
  case 1:
1909
1954
  {
1910
- return ___ice_id(in, current);
1955
+ return _iceD_ice_id(in, current);
1911
1956
  }
1912
1957
  case 2:
1913
1958
  {
1914
- return ___ice_ids(in, current);
1959
+ return _iceD_ice_ids(in, current);
1915
1960
  }
1916
1961
  case 3:
1917
1962
  {
1918
- return ___ice_isA(in, current);
1963
+ return _iceD_ice_isA(in, current);
1919
1964
  }
1920
1965
  case 4:
1921
1966
  {
1922
- return ___ice_ping(in, current);
1967
+ return _iceD_ice_ping(in, current);
1968
+ }
1969
+ default:
1970
+ {
1971
+ assert(false);
1972
+ throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1923
1973
  }
1924
1974
  }
1925
-
1926
- assert(false);
1927
- throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
1928
1975
  }
1976
+ /// \endcond
1929
1977
 
1978
+ /// \cond STREAM
1930
1979
  void
1931
- Ice::LocatorFinder::__writeImpl(::IceInternal::BasicStream* __os) const
1980
+ Ice::LocatorFinder::_iceWriteImpl(OutputStream* ostr) const
1932
1981
  {
1933
- __os->startWriteSlice(ice_staticId(), -1, true);
1934
- __os->endWriteSlice();
1982
+ ostr->startSlice(ice_staticId(), -1, true);
1983
+ StreamWriter< LocatorFinder, OutputStream>::write(ostr, *this);
1984
+ ostr->endSlice();
1935
1985
  }
1936
1986
 
1937
1987
  void
1938
- Ice::LocatorFinder::__readImpl(::IceInternal::BasicStream* __is)
1988
+ Ice::LocatorFinder::_iceReadImpl(InputStream* istr)
1939
1989
  {
1940
- __is->startReadSlice();
1941
- __is->endReadSlice();
1990
+ istr->startSlice();
1991
+ StreamReader< LocatorFinder, InputStream>::read(istr, *this);
1992
+ istr->endSlice();
1942
1993
  }
1994
+ /// \endcond
1943
1995
 
1944
- void ICE_API
1945
- Ice::__patch(LocatorFinderPtr& handle, const ::Ice::ObjectPtr& v)
1996
+ /// \cond INTERNAL
1997
+ void
1998
+ Ice::_icePatchObjectPtr(LocatorFinderPtr& handle, const ObjectPtr& v)
1946
1999
  {
1947
- handle = ::Ice::LocatorFinderPtr::dynamicCast(v);
2000
+ handle = LocatorFinderPtr::dynamicCast(v);
1948
2001
  if(v && !handle)
1949
2002
  {
1950
- IceInternal::Ex::throwUOE(::Ice::LocatorFinder::ice_staticId(), v);
2003
+ IceInternal::Ex::throwUOE(LocatorFinder::ice_staticId(), v);
1951
2004
  }
1952
2005
  }
2006
+ /// \endcond
2007
+
2008
+ namespace Ice
2009
+ {
2010
+ }
2011
+
2012
+ #endif