zeroc-ice 3.6.5 → 3.7.0

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