zeroc-ice 3.7.10 → 3.7.12

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 (961) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +801 -0
  3. data/dist/IceRuby/Connection.cpp +536 -0
  4. data/dist/IceRuby/Endpoint.cpp +344 -0
  5. data/dist/IceRuby/ImplicitContext.cpp +148 -0
  6. data/dist/IceRuby/Logger.cpp +151 -0
  7. data/dist/IceRuby/Operation.cpp +665 -0
  8. data/dist/IceRuby/Properties.cpp +369 -0
  9. data/dist/IceRuby/Types.cpp +3336 -0
  10. data/dist/IceRuby/Types.h +604 -0
  11. data/dist/IceRuby/ValueFactoryManager.cpp +445 -0
  12. data/dist/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
  13. data/dist/ice/cpp/include/Ice/Initialize.h +957 -0
  14. data/dist/ice/cpp/include/Ice/InputStream.h +1517 -0
  15. data/dist/ice/cpp/include/Ice/MetricsObserverI.h +669 -0
  16. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +868 -0
  17. data/dist/ice/cpp/include/Ice/Proxy.h +5171 -0
  18. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +90 -0
  19. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +1889 -0
  20. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
  21. data/dist/ice/cpp/include/IceUtil/Cond.h +317 -0
  22. data/dist/ice/cpp/include/IceUtil/Config.h +392 -0
  23. data/dist/ice/cpp/include/IceUtil/CtrlCHandler.h +96 -0
  24. data/dist/ice/cpp/include/IceUtil/InputUtil.h +42 -0
  25. data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +37 -0
  26. data/dist/ice/cpp/include/IceUtil/Timer.h +153 -0
  27. data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +475 -0
  28. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +1430 -0
  29. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +147 -0
  30. data/dist/ice/cpp/include/generated/Glacier2/Router.h +3260 -0
  31. data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +125 -0
  32. data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +223 -0
  33. data/dist/ice/cpp/include/generated/Glacier2/Session.h +5894 -0
  34. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
  35. data/dist/ice/cpp/include/generated/Ice/Communicator.h +1162 -0
  36. data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +101 -0
  37. data/dist/ice/cpp/include/generated/Ice/Connection.h +1703 -0
  38. data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
  39. data/dist/ice/cpp/include/generated/Ice/Current.h +322 -0
  40. data/dist/ice/cpp/include/generated/Ice/Endpoint.h +979 -0
  41. data/dist/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
  42. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
  43. data/dist/ice/cpp/include/generated/Ice/FacetMap.h +80 -0
  44. data/dist/ice/cpp/include/generated/Ice/Identity.h +264 -0
  45. data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +284 -0
  46. data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +101 -0
  47. data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +1203 -0
  48. data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
  49. data/dist/ice/cpp/include/generated/Ice/LocalException.h +7437 -0
  50. data/dist/ice/cpp/include/generated/Ice/Locator.h +3898 -0
  51. data/dist/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
  52. data/dist/ice/cpp/include/generated/Ice/Logger.h +237 -0
  53. data/dist/ice/cpp/include/generated/Ice/LoggerF.h +101 -0
  54. data/dist/ice/cpp/include/generated/Ice/Metrics.h +4769 -0
  55. data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +1181 -0
  56. data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +101 -0
  57. data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +203 -0
  58. data/dist/ice/cpp/include/generated/Ice/Plugin.h +318 -0
  59. data/dist/ice/cpp/include/generated/Ice/PluginF.h +110 -0
  60. data/dist/ice/cpp/include/generated/Ice/Process.h +977 -0
  61. data/dist/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
  62. data/dist/ice/cpp/include/generated/Ice/Properties.h +452 -0
  63. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1366 -0
  64. data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
  65. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +2707 -0
  66. data/dist/ice/cpp/include/generated/Ice/Router.h +1850 -0
  67. data/dist/ice/cpp/include/generated/Ice/RouterF.h +125 -0
  68. data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +305 -0
  69. data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +101 -0
  70. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +84 -0
  71. data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +330 -0
  72. data/dist/ice/cpp/include/generated/Ice/Version.h +357 -0
  73. data/dist/ice/cpp/include/generated/IceBox/IceBox.h +3269 -0
  74. data/dist/ice/cpp/include/generated/IceGrid/Admin.h +33773 -0
  75. data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +5254 -0
  76. data/dist/ice/cpp/include/generated/IceGrid/Exception.h +2834 -0
  77. data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +824 -0
  78. data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +635 -0
  79. data/dist/ice/cpp/include/generated/IceGrid/Registry.h +5089 -0
  80. data/dist/ice/cpp/include/generated/IceGrid/Session.h +2240 -0
  81. data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +800 -0
  82. data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +325 -0
  83. data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +2891 -0
  84. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +228 -0
  85. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
  86. data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +186 -0
  87. data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +6627 -0
  88. data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +665 -0
  89. data/dist/ice/cpp/src/Ice/Application.cpp +661 -0
  90. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +269 -0
  91. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +66 -0
  92. data/dist/ice/cpp/src/Ice/CommunicatorI.cpp +596 -0
  93. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3715 -0
  94. data/dist/ice/cpp/src/Ice/CountDownLatch.cpp +171 -0
  95. data/dist/ice/cpp/src/Ice/DLLMain.cpp +50 -0
  96. data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +189 -0
  97. data/dist/ice/cpp/src/Ice/EndpointI.cpp +98 -0
  98. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +716 -0
  99. data/dist/ice/cpp/src/Ice/InputStream.cpp +2758 -0
  100. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +694 -0
  101. data/dist/ice/cpp/src/Ice/Network.cpp +2262 -0
  102. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +322 -0
  103. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1531 -0
  104. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1322 -0
  105. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
  106. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +1428 -0
  107. data/dist/ice/cpp/src/Ice/PropertyNames.h +78 -0
  108. data/dist/ice/cpp/src/Ice/Proxy.cpp +1604 -0
  109. data/dist/ice/cpp/src/Ice/Reference.cpp +2052 -0
  110. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +890 -0
  111. data/dist/ice/cpp/src/Ice/Selector.cpp +1543 -0
  112. data/dist/ice/cpp/src/Ice/Service.cpp +1883 -0
  113. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1292 -0
  114. data/dist/ice/cpp/src/Ice/Timer.cpp +269 -0
  115. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +824 -0
  116. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1770 -0
  117. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +49 -0
  118. data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +79 -0
  119. data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +61 -0
  120. data/dist/ice/cpp/src/Ice/generated/Connection.cpp +155 -0
  121. data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +61 -0
  122. data/dist/ice/cpp/src/Ice/generated/Current.cpp +62 -0
  123. data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +147 -0
  124. data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +61 -0
  125. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +51 -0
  126. data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +49 -0
  127. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +57 -0
  128. data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +75 -0
  129. data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +61 -0
  130. data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +188 -0
  131. data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +66 -0
  132. data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +3262 -0
  133. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2042 -0
  134. data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +63 -0
  135. data/dist/ice/cpp/src/Ice/generated/Logger.cpp +73 -0
  136. data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +61 -0
  137. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2352 -0
  138. data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +79 -0
  139. data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +61 -0
  140. data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +75 -0
  141. data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +87 -0
  142. data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +61 -0
  143. data/dist/ice/cpp/src/Ice/generated/Process.cpp +471 -0
  144. data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +63 -0
  145. data/dist/ice/cpp/src/Ice/generated/Properties.cpp +78 -0
  146. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +603 -0
  147. data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +63 -0
  148. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +1171 -0
  149. data/dist/ice/cpp/src/Ice/generated/Router.cpp +977 -0
  150. data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +63 -0
  151. data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +75 -0
  152. data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +61 -0
  153. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +49 -0
  154. data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +83 -0
  155. data/dist/ice/cpp/src/Ice/generated/Version.cpp +57 -0
  156. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.cpp +154 -0
  157. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.h +49 -0
  158. data/dist/ice/cpp/src/Ice/ios/StreamConnector.cpp +146 -0
  159. data/dist/ice/cpp/src/Ice/ios/StreamConnector.h +52 -0
  160. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.cpp +477 -0
  161. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.h +156 -0
  162. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.cpp +570 -0
  163. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.h +93 -0
  164. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +1889 -0
  165. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +915 -0
  166. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
  167. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +730 -0
  168. data/dist/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1155 -0
  169. data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1093 -0
  170. data/dist/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +290 -0
  171. data/dist/ice/cpp/src/IceSSL/PluginI.cpp +246 -0
  172. data/dist/ice/cpp/src/IceSSL/RFC2253.cpp +490 -0
  173. data/dist/ice/cpp/src/IceSSL/SChannelEngine.cpp +1293 -0
  174. data/dist/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +1175 -0
  175. data/dist/ice/cpp/src/IceSSL/SSLEngine.cpp +328 -0
  176. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1413 -0
  177. data/dist/ice/cpp/src/IceSSL/SecureTransportEngine.h +66 -0
  178. data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +721 -0
  179. data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +868 -0
  180. data/dist/ice/cpp/src/IceSSL/TrustManager.cpp +247 -0
  181. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +75 -0
  182. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +61 -0
  183. data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +75 -0
  184. data/dist/ice/cpp/src/IceUtil/ConvertUTF.cpp +476 -0
  185. data/dist/ice/cpp/src/IceUtil/FileUtil.cpp +471 -0
  186. data/dist/ice/cpp/src/IceUtil/StringConverter.cpp +690 -0
  187. data/dist/ice/cpp/src/IceUtil/Time.cpp +307 -0
  188. data/dist/ice/cpp/src/Slice/JavaUtil.cpp +5183 -0
  189. data/dist/ice/cpp/src/slice2rb/Main.cpp +35 -0
  190. data/dist/ice/mcpp/directive.c +1407 -0
  191. data/dist/ice/mcpp/internal.H +530 -0
  192. data/dist/ice/mcpp/mcpp_main.c +792 -0
  193. data/dist/ice/mcpp/support.c +1985 -0
  194. data/dist/ice/mcpp/system.c +2741 -0
  195. data/dist/ice/slice/Ice/Connection.ice +516 -0
  196. data/dist/ice/slice/Ice/Locator.ice +239 -0
  197. data/dist/ice/slice/Ice/Metrics.ice +436 -0
  198. data/dist/ice/slice/Ice/ObjectAdapter.ice +710 -0
  199. data/dist/ice/slice/Ice/Router.ice +103 -0
  200. data/dist/ice/slice/IceGrid/PluginFacade.ice +329 -0
  201. data/dist/ice/slice/IceStorm/IceStorm.ice +414 -0
  202. data/dist/lib/Glacier2/Metrics.rb +56 -0
  203. data/dist/lib/Glacier2/PermissionsVerifier.rb +93 -0
  204. data/dist/lib/Glacier2/PermissionsVerifierF.rb +30 -0
  205. data/dist/lib/Glacier2/Router.rb +95 -0
  206. data/dist/lib/Glacier2/RouterF.rb +25 -0
  207. data/dist/lib/Glacier2/SSLInfo.rb +72 -0
  208. data/dist/lib/Glacier2/Session.rb +247 -0
  209. data/dist/lib/Ice/BuiltinSequences.rb +60 -0
  210. data/dist/lib/Ice/Communicator.rb +87 -0
  211. data/dist/lib/Ice/CommunicatorF.rb +24 -0
  212. data/dist/lib/Ice/Connection.rb +413 -0
  213. data/dist/lib/Ice/ConnectionF.rb +32 -0
  214. data/dist/lib/Ice/Current.rb +141 -0
  215. data/dist/lib/Ice/Endpoint.rb +187 -0
  216. data/dist/lib/Ice/EndpointF.rb +48 -0
  217. data/dist/lib/Ice/EndpointTypes.rb +69 -0
  218. data/dist/lib/Ice/FacetMap.rb +24 -0
  219. data/dist/lib/Ice/Identity.rb +63 -0
  220. data/dist/lib/Ice/ImplicitContext.rb +26 -0
  221. data/dist/lib/Ice/ImplicitContextF.rb +24 -0
  222. data/dist/lib/Ice/Instrumentation.rb +169 -0
  223. data/dist/lib/Ice/InstrumentationF.rb +31 -0
  224. data/dist/lib/Ice/LocalException.rb +1031 -0
  225. data/dist/lib/Ice/Locator.rb +196 -0
  226. data/dist/lib/Ice/LocatorF.rb +30 -0
  227. data/dist/lib/Ice/Logger.rb +24 -0
  228. data/dist/lib/Ice/LoggerF.rb +24 -0
  229. data/dist/lib/Ice/Metrics.rb +337 -0
  230. data/dist/lib/Ice/ObjectAdapter.rb +29 -0
  231. data/dist/lib/Ice/ObjectAdapterF.rb +24 -0
  232. data/dist/lib/Ice/ObjectFactory.rb +24 -0
  233. data/dist/lib/Ice/Plugin.rb +30 -0
  234. data/dist/lib/Ice/PluginF.rb +28 -0
  235. data/dist/lib/Ice/Process.rb +53 -0
  236. data/dist/lib/Ice/ProcessF.rb +25 -0
  237. data/dist/lib/Ice/Properties.rb +25 -0
  238. data/dist/lib/Ice/PropertiesAdmin.rb +63 -0
  239. data/dist/lib/Ice/PropertiesF.rb +29 -0
  240. data/dist/lib/Ice/RemoteLogger.rb +207 -0
  241. data/dist/lib/Ice/Router.rb +87 -0
  242. data/dist/lib/Ice/RouterF.rb +25 -0
  243. data/dist/lib/Ice/ServantLocator.rb +26 -0
  244. data/dist/lib/Ice/ServantLocatorF.rb +24 -0
  245. data/dist/lib/Ice/SliceChecksumDict.rb +24 -0
  246. data/dist/lib/Ice/ValueFactory.rb +28 -0
  247. data/dist/lib/Ice/Version.rb +90 -0
  248. data/dist/lib/IceBox/IceBox.rb +164 -0
  249. data/dist/lib/IceGrid/Admin.rb +1196 -0
  250. data/dist/lib/IceGrid/Descriptor.rb +1034 -0
  251. data/dist/lib/IceGrid/Exception.rb +376 -0
  252. data/dist/lib/IceGrid/FileParser.rb +65 -0
  253. data/dist/lib/IceGrid/PluginFacade.rb +35 -0
  254. data/dist/lib/IceGrid/Registry.rb +209 -0
  255. data/dist/lib/IceGrid/Session.rb +71 -0
  256. data/dist/lib/IceGrid/UserAccountMapper.rb +61 -0
  257. data/dist/lib/IcePatch2/FileInfo.rb +115 -0
  258. data/dist/lib/IcePatch2/FileServer.rb +123 -0
  259. data/dist/lib/IceStorm/IceStorm.rb +332 -0
  260. data/dist/lib/IceStorm/Metrics.rb +73 -0
  261. data/extconf.rb +91 -0
  262. data/ice.gemspec +21 -16
  263. metadata +715 -711
  264. data/ICE_LICENSE +0 -48
  265. data/LICENSE +0 -340
  266. data/MCPP_LICENSE +0 -29
  267. data/ext/Communicator.cpp +0 -792
  268. data/ext/Connection.cpp +0 -532
  269. data/ext/Endpoint.cpp +0 -340
  270. data/ext/ImplicitContext.cpp +0 -144
  271. data/ext/Logger.cpp +0 -147
  272. data/ext/Operation.cpp +0 -661
  273. data/ext/Properties.cpp +0 -365
  274. data/ext/Types.cpp +0 -3325
  275. data/ext/Types.h +0 -595
  276. data/ext/ValueFactoryManager.cpp +0 -441
  277. data/ext/extconf.rb +0 -97
  278. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  279. data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
  280. data/ext/ice/cpp/include/Ice/InputStream.h +0 -1514
  281. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  282. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
  283. data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
  284. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
  285. data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
  286. data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
  287. data/ext/ice/cpp/include/IceUtil/Config.h +0 -392
  288. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
  289. data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  290. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -37
  291. data/ext/ice/cpp/include/IceUtil/Timer.h +0 -144
  292. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
  293. data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  294. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  295. data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  296. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  297. data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
  298. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  299. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  300. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
  301. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  302. data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
  303. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  304. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  305. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  306. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  307. data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  308. data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
  309. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  310. data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
  311. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  312. data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
  313. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  314. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  315. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  316. data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  317. data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  318. data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
  319. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  320. data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
  321. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
  322. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  323. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
  324. data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
  325. data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  326. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  327. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  328. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
  329. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  330. data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
  331. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  332. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  333. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  334. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -250
  335. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +0 -59
  336. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
  337. data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
  338. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
  339. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -586
  340. data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
  341. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
  342. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
  343. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -171
  344. data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
  345. data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
  346. data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
  347. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
  348. data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
  349. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
  350. data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
  351. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -710
  352. data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
  353. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
  354. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
  355. data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
  356. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
  357. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
  358. data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
  359. data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
  360. data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
  361. data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
  362. data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
  363. data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
  364. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
  365. data/ext/ice/cpp/src/Ice/Network.cpp +0 -2249
  366. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -311
  367. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
  368. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
  369. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
  370. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
  371. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
  372. data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
  373. data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
  374. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
  375. data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
  376. data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
  377. data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
  378. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
  379. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
  380. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
  381. data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
  382. data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
  383. data/ext/ice/cpp/src/Ice/Reference.cpp +0 -2046
  384. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -888
  385. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
  386. data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
  387. data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
  388. data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1525
  389. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
  390. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
  391. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
  392. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1292
  393. data/ext/ice/cpp/src/Ice/Timer.cpp +0 -263
  394. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -806
  395. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
  396. data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
  397. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1704
  398. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
  399. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
  400. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
  401. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  402. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
  403. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
  404. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
  405. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -1147
  406. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  407. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -288
  408. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  409. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +0 -490
  410. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -1283
  411. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -1174
  412. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -313
  413. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -1308
  414. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -59
  415. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  416. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  417. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +0 -236
  418. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
  419. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
  420. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
  421. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
  422. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
  423. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
  424. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
  425. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -472
  426. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -471
  427. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  428. data/ext/ice/cpp/src/IceUtil/Time.cpp +0 -307
  429. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5176
  430. data/ext/ice/mcpp/CMakeLists.txt +0 -80
  431. data/ext/ice/mcpp/LICENSE +0 -29
  432. data/ext/ice/mcpp/Makefile +0 -63
  433. data/ext/ice/mcpp/README.md +0 -32
  434. data/ext/ice/mcpp/directive.c +0 -1404
  435. data/ext/ice/mcpp/internal.H +0 -530
  436. data/ext/ice/mcpp/main.c +0 -792
  437. data/ext/ice/mcpp/mcpp.gyp +0 -88
  438. data/ext/ice/mcpp/support.c +0 -1985
  439. data/ext/ice/mcpp/system.c +0 -2737
  440. data/lib/Glacier2/Metrics.rb +0 -56
  441. data/lib/Glacier2/PermissionsVerifier.rb +0 -93
  442. data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  443. data/lib/Glacier2/Router.rb +0 -95
  444. data/lib/Glacier2/RouterF.rb +0 -25
  445. data/lib/Glacier2/SSLInfo.rb +0 -72
  446. data/lib/Glacier2/Session.rb +0 -247
  447. data/lib/Ice/BuiltinSequences.rb +0 -60
  448. data/lib/Ice/Communicator.rb +0 -87
  449. data/lib/Ice/CommunicatorF.rb +0 -24
  450. data/lib/Ice/Connection.rb +0 -413
  451. data/lib/Ice/ConnectionF.rb +0 -32
  452. data/lib/Ice/Current.rb +0 -141
  453. data/lib/Ice/Endpoint.rb +0 -187
  454. data/lib/Ice/EndpointF.rb +0 -48
  455. data/lib/Ice/EndpointTypes.rb +0 -69
  456. data/lib/Ice/FacetMap.rb +0 -24
  457. data/lib/Ice/Identity.rb +0 -63
  458. data/lib/Ice/ImplicitContext.rb +0 -26
  459. data/lib/Ice/ImplicitContextF.rb +0 -24
  460. data/lib/Ice/Instrumentation.rb +0 -169
  461. data/lib/Ice/InstrumentationF.rb +0 -31
  462. data/lib/Ice/LocalException.rb +0 -1031
  463. data/lib/Ice/Locator.rb +0 -196
  464. data/lib/Ice/LocatorF.rb +0 -30
  465. data/lib/Ice/Logger.rb +0 -24
  466. data/lib/Ice/LoggerF.rb +0 -24
  467. data/lib/Ice/Metrics.rb +0 -337
  468. data/lib/Ice/ObjectAdapter.rb +0 -29
  469. data/lib/Ice/ObjectAdapterF.rb +0 -24
  470. data/lib/Ice/ObjectFactory.rb +0 -24
  471. data/lib/Ice/Plugin.rb +0 -30
  472. data/lib/Ice/PluginF.rb +0 -28
  473. data/lib/Ice/Process.rb +0 -53
  474. data/lib/Ice/ProcessF.rb +0 -25
  475. data/lib/Ice/Properties.rb +0 -25
  476. data/lib/Ice/PropertiesAdmin.rb +0 -63
  477. data/lib/Ice/PropertiesF.rb +0 -29
  478. data/lib/Ice/RemoteLogger.rb +0 -207
  479. data/lib/Ice/Router.rb +0 -87
  480. data/lib/Ice/RouterF.rb +0 -25
  481. data/lib/Ice/ServantLocator.rb +0 -26
  482. data/lib/Ice/ServantLocatorF.rb +0 -24
  483. data/lib/Ice/SliceChecksumDict.rb +0 -24
  484. data/lib/Ice/ValueFactory.rb +0 -28
  485. data/lib/Ice/Version.rb +0 -90
  486. data/lib/IceBox/IceBox.rb +0 -164
  487. data/lib/IceGrid/Admin.rb +0 -1196
  488. data/lib/IceGrid/Descriptor.rb +0 -1034
  489. data/lib/IceGrid/Exception.rb +0 -376
  490. data/lib/IceGrid/FileParser.rb +0 -65
  491. data/lib/IceGrid/PluginFacade.rb +0 -35
  492. data/lib/IceGrid/Registry.rb +0 -209
  493. data/lib/IceGrid/Session.rb +0 -71
  494. data/lib/IceGrid/UserAccountMapper.rb +0 -61
  495. data/lib/IcePatch2/FileInfo.rb +0 -115
  496. data/lib/IcePatch2/FileServer.rb +0 -123
  497. data/lib/IceStorm/IceStorm.rb +0 -332
  498. data/lib/IceStorm/Metrics.rb +0 -73
  499. data/slice/Ice/Connection.ice +0 -516
  500. data/slice/Ice/Locator.ice +0 -239
  501. data/slice/Ice/Metrics.ice +0 -436
  502. data/slice/Ice/ObjectAdapter.ice +0 -710
  503. data/slice/Ice/Router.ice +0 -103
  504. data/slice/IceBT/ConnectionInfo.ice +0 -59
  505. data/slice/IceBT/EndpointInfo.ice +0 -57
  506. data/slice/IceBT/Types.ice +0 -45
  507. data/slice/IceDiscovery/IceDiscovery.ice +0 -98
  508. data/slice/IceGrid/PluginFacade.ice +0 -329
  509. data/slice/IceIAP/ConnectionInfo.ice +0 -74
  510. data/slice/IceIAP/EndpointInfo.ice +0 -68
  511. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  512. data/slice/IceSSL/ConnectionInfo.ice +0 -54
  513. data/slice/IceSSL/ConnectionInfoF.ice +0 -31
  514. data/slice/IceSSL/EndpointInfo.ice +0 -45
  515. data/slice/IceStorm/IceStorm.ice +0 -414
  516. /data/{ext → dist/IceRuby}/Communicator.h +0 -0
  517. /data/{ext → dist/IceRuby}/Config.h +0 -0
  518. /data/{ext → dist/IceRuby}/Connection.h +0 -0
  519. /data/{ext → dist/IceRuby}/Endpoint.h +0 -0
  520. /data/{ext → dist/IceRuby}/ImplicitContext.h +0 -0
  521. /data/{ext → dist/IceRuby}/Init.cpp +0 -0
  522. /data/{ext → dist/IceRuby}/Logger.h +0 -0
  523. /data/{ext → dist/IceRuby}/Operation.h +0 -0
  524. /data/{ext → dist/IceRuby}/Properties.h +0 -0
  525. /data/{ext → dist/IceRuby}/Proxy.cpp +0 -0
  526. /data/{ext → dist/IceRuby}/Proxy.h +0 -0
  527. /data/{ext → dist/IceRuby}/Slice.cpp +0 -0
  528. /data/{ext → dist/IceRuby}/Slice.h +0 -0
  529. /data/{ext → dist/IceRuby}/Util.cpp +0 -0
  530. /data/{ext → dist/IceRuby}/Util.h +0 -0
  531. /data/{ext → dist/IceRuby}/ValueFactoryManager.h +0 -0
  532. /data/{ext → dist}/ice/cpp/include/Ice/Application.h +0 -0
  533. /data/{ext → dist}/ice/cpp/include/Ice/AsyncResult.h +0 -0
  534. /data/{ext → dist}/ice/cpp/include/Ice/AsyncResultF.h +0 -0
  535. /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -0
  536. /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -0
  537. /data/{ext → dist}/ice/cpp/include/Ice/Buffer.h +0 -0
  538. /data/{ext → dist}/ice/cpp/include/Ice/CommunicatorAsync.h +0 -0
  539. /data/{ext → dist}/ice/cpp/include/Ice/Comparable.h +0 -0
  540. /data/{ext → dist}/ice/cpp/include/Ice/Config.h +0 -0
  541. /data/{ext → dist}/ice/cpp/include/Ice/ConnectionAsync.h +0 -0
  542. /data/{ext → dist}/ice/cpp/include/Ice/ConnectionIF.h +0 -0
  543. /data/{ext → dist}/ice/cpp/include/Ice/ConsoleUtil.h +0 -0
  544. /data/{ext → dist}/ice/cpp/include/Ice/DefaultValueFactory.h +0 -0
  545. /data/{ext → dist}/ice/cpp/include/Ice/DispatchInterceptor.h +0 -0
  546. /data/{ext → dist}/ice/cpp/include/Ice/Dispatcher.h +0 -0
  547. /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibrary.h +0 -0
  548. /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibraryF.h +0 -0
  549. /data/{ext → dist}/ice/cpp/include/Ice/Exception.h +0 -0
  550. /data/{ext → dist}/ice/cpp/include/Ice/FactoryTable.h +0 -0
  551. /data/{ext → dist}/ice/cpp/include/Ice/FactoryTableInit.h +0 -0
  552. /data/{ext → dist}/ice/cpp/include/Ice/Format.h +0 -0
  553. /data/{ext → dist}/ice/cpp/include/Ice/Functional.h +0 -0
  554. /data/{ext → dist}/ice/cpp/include/Ice/GCObject.h +0 -0
  555. /data/{ext → dist}/ice/cpp/include/Ice/Handle.h +0 -0
  556. /data/{ext → dist}/ice/cpp/include/Ice/Ice.h +0 -0
  557. /data/{ext → dist}/ice/cpp/include/Ice/IconvStringConverter.h +0 -0
  558. /data/{ext → dist}/ice/cpp/include/Ice/Incoming.h +0 -0
  559. /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsync.h +0 -0
  560. /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsyncF.h +0 -0
  561. /data/{ext → dist}/ice/cpp/include/Ice/InstanceF.h +0 -0
  562. /data/{ext → dist}/ice/cpp/include/Ice/InterfaceByValue.h +0 -0
  563. /data/{ext → dist}/ice/cpp/include/Ice/LocalObject.h +0 -0
  564. /data/{ext → dist}/ice/cpp/include/Ice/LocalObjectF.h +0 -0
  565. /data/{ext → dist}/ice/cpp/include/Ice/LoggerUtil.h +0 -0
  566. /data/{ext → dist}/ice/cpp/include/Ice/MetricsAdminI.h +0 -0
  567. /data/{ext → dist}/ice/cpp/include/Ice/MetricsFunctional.h +0 -0
  568. /data/{ext → dist}/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -0
  569. /data/{ext → dist}/ice/cpp/include/Ice/Object.h +0 -0
  570. /data/{ext → dist}/ice/cpp/include/Ice/ObjectF.h +0 -0
  571. /data/{ext → dist}/ice/cpp/include/Ice/ObserverHelper.h +0 -0
  572. /data/{ext → dist}/ice/cpp/include/Ice/Optional.h +0 -0
  573. /data/{ext → dist}/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -0
  574. /data/{ext → dist}/ice/cpp/include/Ice/OutputStream.h +0 -0
  575. /data/{ext → dist}/ice/cpp/include/Ice/Protocol.h +0 -0
  576. /data/{ext → dist}/ice/cpp/include/Ice/ProxyF.h +0 -0
  577. /data/{ext → dist}/ice/cpp/include/Ice/ProxyFactoryF.h +0 -0
  578. /data/{ext → dist}/ice/cpp/include/Ice/ProxyHandle.h +0 -0
  579. /data/{ext → dist}/ice/cpp/include/Ice/ReferenceF.h +0 -0
  580. /data/{ext → dist}/ice/cpp/include/Ice/RegisterPlugins.h +0 -0
  581. /data/{ext → dist}/ice/cpp/include/Ice/RequestHandlerF.h +0 -0
  582. /data/{ext → dist}/ice/cpp/include/Ice/ResponseHandlerF.h +0 -0
  583. /data/{ext → dist}/ice/cpp/include/Ice/SHA1.h +0 -0
  584. /data/{ext → dist}/ice/cpp/include/Ice/ServantManagerF.h +0 -0
  585. /data/{ext → dist}/ice/cpp/include/Ice/Service.h +0 -0
  586. /data/{ext → dist}/ice/cpp/include/Ice/SliceChecksums.h +0 -0
  587. /data/{ext → dist}/ice/cpp/include/Ice/SlicedData.h +0 -0
  588. /data/{ext → dist}/ice/cpp/include/Ice/SlicedDataF.h +0 -0
  589. /data/{ext → dist}/ice/cpp/include/Ice/StreamHelpers.h +0 -0
  590. /data/{ext → dist}/ice/cpp/include/Ice/StringConverter.h +0 -0
  591. /data/{ext → dist}/ice/cpp/include/Ice/ThreadPoolF.h +0 -0
  592. /data/{ext → dist}/ice/cpp/include/Ice/UUID.h +0 -0
  593. /data/{ext → dist}/ice/cpp/include/Ice/UniquePtr.h +0 -0
  594. /data/{ext → dist}/ice/cpp/include/Ice/UniqueRef.h +0 -0
  595. /data/{ext → dist}/ice/cpp/include/Ice/Value.h +0 -0
  596. /data/{ext → dist}/ice/cpp/include/Ice/ValueF.h +0 -0
  597. /data/{ext → dist}/ice/cpp/include/IceSSL/Config.h +0 -0
  598. /data/{ext → dist}/ice/cpp/include/IceSSL/IceSSL.h +0 -0
  599. /data/{ext → dist}/ice/cpp/include/IceSSL/OpenSSL.h +0 -0
  600. /data/{ext → dist}/ice/cpp/include/IceSSL/Plugin.h +0 -0
  601. /data/{ext → dist}/ice/cpp/include/IceSSL/SChannel.h +0 -0
  602. /data/{ext → dist}/ice/cpp/include/IceSSL/SecureTransport.h +0 -0
  603. /data/{ext → dist}/ice/cpp/include/IceUtil/Atomic.h +0 -0
  604. /data/{ext → dist}/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -0
  605. /data/{ext → dist}/ice/cpp/include/IceUtil/CountDownLatch.h +0 -0
  606. /data/{ext → dist}/ice/cpp/include/IceUtil/DisableWarnings.h +0 -0
  607. /data/{ext → dist}/ice/cpp/include/IceUtil/Exception.h +0 -0
  608. /data/{ext → dist}/ice/cpp/include/IceUtil/FileUtil.h +0 -0
  609. /data/{ext → dist}/ice/cpp/include/IceUtil/Functional.h +0 -0
  610. /data/{ext → dist}/ice/cpp/include/IceUtil/Handle.h +0 -0
  611. /data/{ext → dist}/ice/cpp/include/IceUtil/IceUtil.h +0 -0
  612. /data/{ext → dist}/ice/cpp/include/IceUtil/Iterator.h +0 -0
  613. /data/{ext → dist}/ice/cpp/include/IceUtil/Lock.h +0 -0
  614. /data/{ext → dist}/ice/cpp/include/IceUtil/Monitor.h +0 -0
  615. /data/{ext → dist}/ice/cpp/include/IceUtil/Mutex.h +0 -0
  616. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexProtocol.h +0 -0
  617. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -0
  618. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -0
  619. /data/{ext → dist}/ice/cpp/include/IceUtil/Optional.h +0 -0
  620. /data/{ext → dist}/ice/cpp/include/IceUtil/Options.h +0 -0
  621. /data/{ext → dist}/ice/cpp/include/IceUtil/OutputUtil.h +0 -0
  622. /data/{ext → dist}/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -0
  623. /data/{ext → dist}/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -0
  624. /data/{ext → dist}/ice/cpp/include/IceUtil/Random.h +0 -0
  625. /data/{ext → dist}/ice/cpp/include/IceUtil/RecMutex.h +0 -0
  626. /data/{ext → dist}/ice/cpp/include/IceUtil/ScannerConfig.h +0 -0
  627. /data/{ext → dist}/ice/cpp/include/IceUtil/ScopedArray.h +0 -0
  628. /data/{ext → dist}/ice/cpp/include/IceUtil/Shared.h +0 -0
  629. /data/{ext → dist}/ice/cpp/include/IceUtil/StopWatch.h +0 -0
  630. /data/{ext → dist}/ice/cpp/include/IceUtil/StringConverter.h +0 -0
  631. /data/{ext → dist}/ice/cpp/include/IceUtil/StringUtil.h +0 -0
  632. /data/{ext → dist}/ice/cpp/include/IceUtil/Thread.h +0 -0
  633. /data/{ext → dist}/ice/cpp/include/IceUtil/ThreadException.h +0 -0
  634. /data/{ext → dist}/ice/cpp/include/IceUtil/Time.h +0 -0
  635. /data/{ext → dist}/ice/cpp/include/IceUtil/UUID.h +0 -0
  636. /data/{ext → dist}/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -0
  637. /data/{ext → dist}/ice/cpp/src/Ice/ACM.cpp +0 -0
  638. /data/{ext → dist}/ice/cpp/src/Ice/ACM.h +0 -0
  639. /data/{ext → dist}/ice/cpp/src/Ice/ACMF.h +0 -0
  640. /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.cpp +0 -0
  641. /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.h +0 -0
  642. /data/{ext → dist}/ice/cpp/src/Ice/AcceptorF.h +0 -0
  643. /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.cpp +0 -0
  644. /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.h +0 -0
  645. /data/{ext → dist}/ice/cpp/src/Ice/AsyncResult.cpp +0 -0
  646. /data/{ext → dist}/ice/cpp/src/Ice/Base64.cpp +0 -0
  647. /data/{ext → dist}/ice/cpp/src/Ice/Base64.h +0 -0
  648. /data/{ext → dist}/ice/cpp/src/Ice/Buffer.cpp +0 -0
  649. /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -0
  650. /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -0
  651. /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.h +0 -0
  652. /data/{ext → dist}/ice/cpp/src/Ice/Cond.cpp +0 -0
  653. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -0
  654. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -0
  655. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -0
  656. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -0
  657. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactory.h +0 -0
  658. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -0
  659. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionI.h +0 -0
  660. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -0
  661. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -0
  662. /data/{ext → dist}/ice/cpp/src/Ice/Connector.cpp +0 -0
  663. /data/{ext → dist}/ice/cpp/src/Ice/Connector.h +0 -0
  664. /data/{ext → dist}/ice/cpp/src/Ice/ConnectorF.h +0 -0
  665. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -0
  666. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -0
  667. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -0
  668. /data/{ext → dist}/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -0
  669. /data/{ext → dist}/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -0
  670. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactory.h +0 -0
  671. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryF.h +0 -0
  672. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -0
  673. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -0
  674. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -0
  675. /data/{ext → dist}/ice/cpp/src/Ice/EndpointI.h +0 -0
  676. /data/{ext → dist}/ice/cpp/src/Ice/EndpointIF.h +0 -0
  677. /data/{ext → dist}/ice/cpp/src/Ice/EventHandler.cpp +0 -0
  678. /data/{ext → dist}/ice/cpp/src/Ice/EventHandler.h +0 -0
  679. /data/{ext → dist}/ice/cpp/src/Ice/EventHandlerF.h +0 -0
  680. /data/{ext → dist}/ice/cpp/src/Ice/Exception.cpp +0 -0
  681. /data/{ext → dist}/ice/cpp/src/Ice/FactoryTable.cpp +0 -0
  682. /data/{ext → dist}/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -0
  683. /data/{ext → dist}/ice/cpp/src/Ice/GCObject.cpp +0 -0
  684. /data/{ext → dist}/ice/cpp/src/Ice/HashUtil.h +0 -0
  685. /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.cpp +0 -0
  686. /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.h +0 -0
  687. /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointI.h +0 -0
  688. /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointIF.h +0 -0
  689. /data/{ext → dist}/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -0
  690. /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -0
  691. /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.h +0 -0
  692. /data/{ext → dist}/ice/cpp/src/Ice/Incoming.cpp +0 -0
  693. /data/{ext → dist}/ice/cpp/src/Ice/IncomingAsync.cpp +0 -0
  694. /data/{ext → dist}/ice/cpp/src/Ice/IncomingRequest.h +0 -0
  695. /data/{ext → dist}/ice/cpp/src/Ice/Initialize.cpp +0 -0
  696. /data/{ext → dist}/ice/cpp/src/Ice/Instance.cpp +0 -0
  697. /data/{ext → dist}/ice/cpp/src/Ice/Instance.h +0 -0
  698. /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.cpp +0 -0
  699. /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.h +0 -0
  700. /data/{ext → dist}/ice/cpp/src/Ice/LocalObject.cpp +0 -0
  701. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.cpp +0 -0
  702. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.h +0 -0
  703. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfoF.h +0 -0
  704. /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -0
  705. /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.h +0 -0
  706. /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.cpp +0 -0
  707. /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.h +0 -0
  708. /data/{ext → dist}/ice/cpp/src/Ice/LoggerUtil.cpp +0 -0
  709. /data/{ext → dist}/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -0
  710. /data/{ext → dist}/ice/cpp/src/Ice/Network.h +0 -0
  711. /data/{ext → dist}/ice/cpp/src/Ice/NetworkF.h +0 -0
  712. /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxy.h +0 -0
  713. /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxyF.h +0 -0
  714. /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -0
  715. /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.h +0 -0
  716. /data/{ext → dist}/ice/cpp/src/Ice/Object.cpp +0 -0
  717. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -0
  718. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -0
  719. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -0
  720. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterI.h +0 -0
  721. /data/{ext → dist}/ice/cpp/src/Ice/ObserverHelper.cpp +0 -0
  722. /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -0
  723. /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -0
  724. /data/{ext → dist}/ice/cpp/src/Ice/OutputStream.cpp +0 -0
  725. /data/{ext → dist}/ice/cpp/src/Ice/PluginManagerI.h +0 -0
  726. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -0
  727. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.h +0 -0
  728. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.cpp +0 -0
  729. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.h +0 -0
  730. /data/{ext → dist}/ice/cpp/src/Ice/Protocol.cpp +0 -0
  731. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -0
  732. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.h +0 -0
  733. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -0
  734. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -0
  735. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -0
  736. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -0
  737. /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.cpp +0 -0
  738. /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.h +0 -0
  739. /data/{ext → dist}/ice/cpp/src/Ice/Reference.h +0 -0
  740. /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.h +0 -0
  741. /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -0
  742. /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -0
  743. /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -0
  744. /data/{ext → dist}/ice/cpp/src/Ice/ReplyStatus.h +0 -0
  745. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.cpp +0 -0
  746. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.h +0 -0
  747. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -0
  748. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -0
  749. /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.cpp +0 -0
  750. /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.h +0 -0
  751. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.cpp +0 -0
  752. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.h +0 -0
  753. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueueF.h +0 -0
  754. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.cpp +0 -0
  755. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.h +0 -0
  756. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfoF.h +0 -0
  757. /data/{ext → dist}/ice/cpp/src/Ice/SHA1.cpp +0 -0
  758. /data/{ext → dist}/ice/cpp/src/Ice/Selector.h +0 -0
  759. /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.cpp +0 -0
  760. /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.h +0 -0
  761. /data/{ext → dist}/ice/cpp/src/Ice/SharedContext.h +0 -0
  762. /data/{ext → dist}/ice/cpp/src/Ice/SliceChecksums.cpp +0 -0
  763. /data/{ext → dist}/ice/cpp/src/Ice/SlicedData.cpp +0 -0
  764. /data/{ext → dist}/ice/cpp/src/Ice/StreamSocket.cpp +0 -0
  765. /data/{ext → dist}/ice/cpp/src/Ice/StreamSocket.h +0 -0
  766. /data/{ext → dist}/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -0
  767. /data/{ext → dist}/ice/cpp/src/Ice/StringUtil.h +0 -0
  768. /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.cpp +0 -0
  769. /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.h +0 -0
  770. /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -0
  771. /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.h +0 -0
  772. /data/{ext → dist}/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -0
  773. /data/{ext → dist}/ice/cpp/src/Ice/TcpAcceptor.h +0 -0
  774. /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.cpp +0 -0
  775. /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.h +0 -0
  776. /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -0
  777. /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.h +0 -0
  778. /data/{ext → dist}/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -0
  779. /data/{ext → dist}/ice/cpp/src/Ice/TcpTransceiver.h +0 -0
  780. /data/{ext → dist}/ice/cpp/src/Ice/Thread.cpp +0 -0
  781. /data/{ext → dist}/ice/cpp/src/Ice/ThreadPool.h +0 -0
  782. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.cpp +0 -0
  783. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.h +0 -0
  784. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevelsF.h +0 -0
  785. /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.cpp +0 -0
  786. /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.h +0 -0
  787. /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.cpp +0 -0
  788. /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.h +0 -0
  789. /data/{ext → dist}/ice/cpp/src/Ice/TransceiverF.h +0 -0
  790. /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.cpp +0 -0
  791. /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.h +0 -0
  792. /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -0
  793. /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.h +0 -0
  794. /data/{ext → dist}/ice/cpp/src/Ice/UdpTransceiver.h +0 -0
  795. /data/{ext → dist}/ice/cpp/src/Ice/Value.cpp +0 -0
  796. /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -0
  797. /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -0
  798. /data/{ext → dist}/ice/cpp/src/Ice/VirtualShared.h +0 -0
  799. /data/{ext → dist}/ice/cpp/src/Ice/WSAcceptor.cpp +0 -0
  800. /data/{ext → dist}/ice/cpp/src/Ice/WSAcceptor.h +0 -0
  801. /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.cpp +0 -0
  802. /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.h +0 -0
  803. /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.cpp +0 -0
  804. /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.h +0 -0
  805. /data/{ext → dist}/ice/cpp/src/Ice/WSTransceiver.h +0 -0
  806. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -0
  807. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.h +0 -0
  808. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -0
  809. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.h +0 -0
  810. /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -0
  811. /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.h +0 -0
  812. /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -0
  813. /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -0
  814. /data/{ext → dist}/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -0
  815. /data/{ext → dist}/ice/cpp/src/IceSSL/AcceptorI.h +0 -0
  816. /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.cpp +0 -0
  817. /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.h +0 -0
  818. /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -0
  819. /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.h +0 -0
  820. /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.cpp +0 -0
  821. /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.h +0 -0
  822. /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.cpp +0 -0
  823. /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.h +0 -0
  824. /data/{ext → dist}/ice/cpp/src/IceSSL/InstanceF.h +0 -0
  825. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -0
  826. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -0
  827. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -0
  828. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -0
  829. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -0
  830. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -0
  831. /data/{ext → dist}/ice/cpp/src/IceSSL/PluginI.h +0 -0
  832. /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.h +0 -0
  833. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -0
  834. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.h +0 -0
  835. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -0
  836. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -0
  837. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -0
  838. /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.h +0 -0
  839. /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngineF.h +0 -0
  840. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -0
  841. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -0
  842. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -0
  843. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -0
  844. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -0
  845. /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.h +0 -0
  846. /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManagerF.h +0 -0
  847. /data/{ext → dist}/ice/cpp/src/IceSSL/Util.cpp +0 -0
  848. /data/{ext → dist}/ice/cpp/src/IceSSL/Util.h +0 -0
  849. /data/{ext → dist}/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -0
  850. /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.h +0 -0
  851. /data/{ext → dist}/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -0
  852. /data/{ext → dist}/ice/cpp/src/IceUtil/InputUtil.cpp +0 -0
  853. /data/{ext → dist}/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -0
  854. /data/{ext → dist}/ice/cpp/src/IceUtil/Options.cpp +0 -0
  855. /data/{ext → dist}/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -0
  856. /data/{ext → dist}/ice/cpp/src/IceUtil/Random.cpp +0 -0
  857. /data/{ext → dist}/ice/cpp/src/IceUtil/RecMutex.cpp +0 -0
  858. /data/{ext → dist}/ice/cpp/src/IceUtil/Shared.cpp +0 -0
  859. /data/{ext → dist}/ice/cpp/src/IceUtil/StringUtil.cpp +0 -0
  860. /data/{ext → dist}/ice/cpp/src/IceUtil/ThreadException.cpp +0 -0
  861. /data/{ext → dist}/ice/cpp/src/IceUtil/UUID.cpp +0 -0
  862. /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.cpp +0 -0
  863. /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.h +0 -0
  864. /data/{ext → dist}/ice/cpp/src/IceUtil/UtilException.cpp +0 -0
  865. /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -0
  866. /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -0
  867. /data/{ext → dist}/ice/cpp/src/Slice/Checksum.cpp +0 -0
  868. /data/{ext → dist}/ice/cpp/src/Slice/Checksum.h +0 -0
  869. /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.cpp +0 -0
  870. /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.h +0 -0
  871. /data/{ext → dist}/ice/cpp/src/Slice/Grammar.cpp +0 -0
  872. /data/{ext → dist}/ice/cpp/src/Slice/Grammar.h +0 -0
  873. /data/{ext → dist}/ice/cpp/src/Slice/GrammarUtil.h +0 -0
  874. /data/{ext → dist}/ice/cpp/src/Slice/JavaUtil.h +0 -0
  875. /data/{ext → dist}/ice/cpp/src/Slice/MD5.cpp +0 -0
  876. /data/{ext → dist}/ice/cpp/src/Slice/MD5.h +0 -0
  877. /data/{ext → dist}/ice/cpp/src/Slice/MD5I.cpp +0 -0
  878. /data/{ext → dist}/ice/cpp/src/Slice/MD5I.h +0 -0
  879. /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.cpp +0 -0
  880. /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.h +0 -0
  881. /data/{ext → dist}/ice/cpp/src/Slice/Parser.cpp +0 -0
  882. /data/{ext → dist}/ice/cpp/src/Slice/Parser.h +0 -0
  883. /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.cpp +0 -0
  884. /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.h +0 -0
  885. /data/{ext → dist}/ice/cpp/src/Slice/Python.cpp +0 -0
  886. /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.cpp +0 -0
  887. /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.h +0 -0
  888. /data/{ext → dist}/ice/cpp/src/Slice/Ruby.cpp +0 -0
  889. /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.cpp +0 -0
  890. /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.h +0 -0
  891. /data/{ext → dist}/ice/cpp/src/Slice/Scanner.cpp +0 -0
  892. /data/{ext → dist}/ice/cpp/src/Slice/SliceUtil.cpp +0 -0
  893. /data/{ext → dist}/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -0
  894. /data/{ext → dist}/ice/cpp/src/Slice/Util.h +0 -0
  895. /data/{ext → dist}/ice/mcpp/config.h +0 -0
  896. /data/{ext → dist}/ice/mcpp/configed.H +0 -0
  897. /data/{ext → dist}/ice/mcpp/eval.c +0 -0
  898. /data/{ext → dist}/ice/mcpp/expand.c +0 -0
  899. /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
  900. /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
  901. /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
  902. /data/{ext → dist}/ice/mcpp/system.H +0 -0
  903. /data/{slice → dist/ice/slice}/Glacier2/Metrics.ice +0 -0
  904. /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifier.ice +0 -0
  905. /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifierF.ice +0 -0
  906. /data/{slice → dist/ice/slice}/Glacier2/Router.ice +0 -0
  907. /data/{slice → dist/ice/slice}/Glacier2/RouterF.ice +0 -0
  908. /data/{slice → dist/ice/slice}/Glacier2/SSLInfo.ice +0 -0
  909. /data/{slice → dist/ice/slice}/Glacier2/Session.ice +0 -0
  910. /data/{slice → dist/ice/slice}/Ice/BuiltinSequences.ice +0 -0
  911. /data/{slice → dist/ice/slice}/Ice/Communicator.ice +0 -0
  912. /data/{slice → dist/ice/slice}/Ice/CommunicatorF.ice +0 -0
  913. /data/{slice → dist/ice/slice}/Ice/ConnectionF.ice +0 -0
  914. /data/{slice → dist/ice/slice}/Ice/Current.ice +0 -0
  915. /data/{slice → dist/ice/slice}/Ice/Endpoint.ice +0 -0
  916. /data/{slice → dist/ice/slice}/Ice/EndpointF.ice +0 -0
  917. /data/{slice → dist/ice/slice}/Ice/EndpointTypes.ice +0 -0
  918. /data/{slice → dist/ice/slice}/Ice/FacetMap.ice +0 -0
  919. /data/{slice → dist/ice/slice}/Ice/Identity.ice +0 -0
  920. /data/{slice → dist/ice/slice}/Ice/ImplicitContext.ice +0 -0
  921. /data/{slice → dist/ice/slice}/Ice/ImplicitContextF.ice +0 -0
  922. /data/{slice → dist/ice/slice}/Ice/Instrumentation.ice +0 -0
  923. /data/{slice → dist/ice/slice}/Ice/InstrumentationF.ice +0 -0
  924. /data/{slice → dist/ice/slice}/Ice/LocalException.ice +0 -0
  925. /data/{slice → dist/ice/slice}/Ice/LocatorF.ice +0 -0
  926. /data/{slice → dist/ice/slice}/Ice/Logger.ice +0 -0
  927. /data/{slice → dist/ice/slice}/Ice/LoggerF.ice +0 -0
  928. /data/{slice → dist/ice/slice}/Ice/ObjectAdapterF.ice +0 -0
  929. /data/{slice → dist/ice/slice}/Ice/ObjectFactory.ice +0 -0
  930. /data/{slice → dist/ice/slice}/Ice/Plugin.ice +0 -0
  931. /data/{slice → dist/ice/slice}/Ice/PluginF.ice +0 -0
  932. /data/{slice → dist/ice/slice}/Ice/Process.ice +0 -0
  933. /data/{slice → dist/ice/slice}/Ice/ProcessF.ice +0 -0
  934. /data/{slice → dist/ice/slice}/Ice/Properties.ice +0 -0
  935. /data/{slice → dist/ice/slice}/Ice/PropertiesAdmin.ice +0 -0
  936. /data/{slice → dist/ice/slice}/Ice/PropertiesF.ice +0 -0
  937. /data/{slice → dist/ice/slice}/Ice/RemoteLogger.ice +0 -0
  938. /data/{slice → dist/ice/slice}/Ice/RouterF.ice +0 -0
  939. /data/{slice → dist/ice/slice}/Ice/ServantLocator.ice +0 -0
  940. /data/{slice → dist/ice/slice}/Ice/ServantLocatorF.ice +0 -0
  941. /data/{slice → dist/ice/slice}/Ice/SliceChecksumDict.ice +0 -0
  942. /data/{slice → dist/ice/slice}/Ice/ValueFactory.ice +0 -0
  943. /data/{slice → dist/ice/slice}/Ice/Version.ice +0 -0
  944. /data/{slice → dist/ice/slice}/IceBox/IceBox.ice +0 -0
  945. /data/{slice → dist/ice/slice}/IceGrid/Admin.ice +0 -0
  946. /data/{slice → dist/ice/slice}/IceGrid/Descriptor.ice +0 -0
  947. /data/{slice → dist/ice/slice}/IceGrid/Exception.ice +0 -0
  948. /data/{slice → dist/ice/slice}/IceGrid/FileParser.ice +0 -0
  949. /data/{slice → dist/ice/slice}/IceGrid/Registry.ice +0 -0
  950. /data/{slice → dist/ice/slice}/IceGrid/Session.ice +0 -0
  951. /data/{slice → dist/ice/slice}/IceGrid/UserAccountMapper.ice +0 -0
  952. /data/{slice → dist/ice/slice}/IcePatch2/FileInfo.ice +0 -0
  953. /data/{slice → dist/ice/slice}/IcePatch2/FileServer.ice +0 -0
  954. /data/{slice → dist/ice/slice}/IceStorm/Metrics.ice +0 -0
  955. /data/{lib → dist/lib}/Glacier2.rb +0 -0
  956. /data/{lib → dist/lib}/Ice.rb +0 -0
  957. /data/{lib → dist/lib}/IceBox.rb +0 -0
  958. /data/{lib → dist/lib}/IceGrid.rb +0 -0
  959. /data/{lib → dist/lib}/IcePatch2.rb +0 -0
  960. /data/{lib → dist/lib}/IceStorm.rb +0 -0
  961. /data/{bin → scripts}/slice2rb +0 -0
@@ -0,0 +1,2052 @@
1
+ //
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
3
+ //
4
+
5
+ #include <Ice/Reference.h>
6
+ #include <Ice/ReferenceFactory.h>
7
+ #include <Ice/LocalException.h>
8
+ #include <Ice/Instance.h>
9
+ #include <Ice/EndpointI.h>
10
+ #include <Ice/OpaqueEndpointI.h>
11
+ #include <Ice/OutputStream.h>
12
+ #include <Ice/RouterInfo.h>
13
+ #include <Ice/Router.h>
14
+ #include <Ice/LocatorInfo.h>
15
+ #include <Ice/Locator.h>
16
+ #include <Ice/Functional.h>
17
+ #include <Ice/ConnectionI.h>
18
+ #include <Ice/ConnectionFactory.h>
19
+ #include <Ice/LoggerUtil.h>
20
+ #include <Ice/TraceLevels.h>
21
+ #include <Ice/HashUtil.h>
22
+ #include <Ice/RequestHandlerFactory.h>
23
+ #include <Ice/ConnectionRequestHandler.h>
24
+ #include <Ice/DefaultsAndOverrides.h>
25
+ #include <Ice/Comparable.h>
26
+ #include <Ice/StringUtil.h>
27
+
28
+ #include <IceUtil/Random.h>
29
+ #include <IceUtil/MutexPtrLock.h>
30
+
31
+ #include <functional>
32
+ #include <algorithm>
33
+
34
+ using namespace std;
35
+ using namespace Ice;
36
+ using namespace IceInternal;
37
+
38
+ IceUtil::Shared* IceInternal::upCast(IceInternal::Reference* p) { return p; }
39
+
40
+ namespace
41
+ {
42
+
43
+ IceUtil::Mutex* hashMutex = 0;
44
+
45
+ class Init
46
+ {
47
+ public:
48
+
49
+ Init()
50
+ {
51
+ hashMutex = new IceUtil::Mutex;
52
+ }
53
+
54
+ ~Init()
55
+ {
56
+ delete hashMutex;
57
+ hashMutex = 0;
58
+ }
59
+ };
60
+
61
+ Init init;
62
+
63
+ }
64
+
65
+ CommunicatorPtr
66
+ IceInternal::Reference::getCommunicator() const
67
+ {
68
+ return _communicator;
69
+ }
70
+
71
+ ReferencePtr
72
+ IceInternal::Reference::changeContext(const Context& newContext) const
73
+ {
74
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
75
+ r->_context = new SharedContext(newContext);
76
+ return r;
77
+ }
78
+
79
+ ReferencePtr
80
+ IceInternal::Reference::changeMode(Mode newMode) const
81
+ {
82
+ if(newMode == _mode)
83
+ {
84
+ return ReferencePtr(const_cast<Reference*>(this));
85
+ }
86
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
87
+ r->_mode = newMode;
88
+ return r;
89
+ }
90
+
91
+ ReferencePtr
92
+ IceInternal::Reference::changeSecure(bool newSecure) const
93
+ {
94
+ if(newSecure == _secure)
95
+ {
96
+ return ReferencePtr(const_cast<Reference*>(this));
97
+ }
98
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
99
+ r->_secure = newSecure;
100
+ return r;
101
+ }
102
+
103
+ ReferencePtr
104
+ IceInternal::Reference::changeIdentity(const Identity& newIdentity) const
105
+ {
106
+ if(newIdentity == _identity)
107
+ {
108
+ return ReferencePtr(const_cast<Reference*>(this));
109
+ }
110
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
111
+ r->_identity = newIdentity;
112
+ return r;
113
+ }
114
+
115
+ ReferencePtr
116
+ IceInternal::Reference::changeFacet(const string& newFacet) const
117
+ {
118
+ if(newFacet == _facet)
119
+ {
120
+ return ReferencePtr(const_cast<Reference*>(this));
121
+ }
122
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
123
+ r->_facet = newFacet;
124
+ return r;
125
+ }
126
+
127
+ ReferencePtr
128
+ IceInternal::Reference::changeInvocationTimeout(int invocationTimeout) const
129
+ {
130
+ if(_invocationTimeout == invocationTimeout)
131
+ {
132
+ return ReferencePtr(const_cast<Reference*>(this));
133
+ }
134
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
135
+ r->_invocationTimeout = invocationTimeout;
136
+ return r;
137
+ }
138
+
139
+ ReferencePtr
140
+ IceInternal::Reference::changeEncoding(const Ice::EncodingVersion& encoding) const
141
+ {
142
+ if(_encoding == encoding)
143
+ {
144
+ return ReferencePtr(const_cast<Reference*>(this));
145
+ }
146
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
147
+ r->_encoding = encoding;
148
+ return r;
149
+ }
150
+
151
+ ReferencePtr
152
+ IceInternal::Reference::changeCompress(bool newCompress) const
153
+ {
154
+ if(_overrideCompress && newCompress == _compress)
155
+ {
156
+ return ReferencePtr(const_cast<Reference*>(this));
157
+ }
158
+ ReferencePtr r = _instance->referenceFactory()->copy(this);
159
+ r->_compress = newCompress;
160
+ r->_overrideCompress = true;
161
+ return r;
162
+ }
163
+
164
+ bool
165
+ IceInternal::Reference::getCompressOverride(bool& compress) const
166
+ {
167
+ DefaultsAndOverridesPtr defaultsAndOverrides = getInstance()->defaultsAndOverrides();
168
+ if(defaultsAndOverrides->overrideCompress)
169
+ {
170
+ compress = defaultsAndOverrides->overrideCompressValue;
171
+ }
172
+ else if(_overrideCompress)
173
+ {
174
+ compress = _compress;
175
+ }
176
+ else
177
+ {
178
+ return false;
179
+ }
180
+ return true;
181
+ }
182
+
183
+ Int
184
+ Reference::hash() const
185
+ {
186
+ IceUtilInternal::MutexPtrLock<IceUtil::Mutex> lock(hashMutex);
187
+ if(!_hashInitialized)
188
+ {
189
+ _hashValue = hashInit();
190
+ _hashInitialized = true;
191
+ }
192
+ return _hashValue;
193
+ }
194
+
195
+ void
196
+ IceInternal::Reference::streamWrite(OutputStream* s) const
197
+ {
198
+ //
199
+ // Don't write the identity here. Operations calling streamWrite
200
+ // write the identity.
201
+ //
202
+
203
+ //
204
+ // For compatibility with the old FacetPath.
205
+ //
206
+ if(_facet.empty())
207
+ {
208
+ s->write(static_cast<string*>(0), static_cast<string*>(0));
209
+ }
210
+ else
211
+ {
212
+ s->write(&_facet, &_facet + 1);
213
+ }
214
+
215
+ s->write(static_cast<Byte>(_mode));
216
+
217
+ s->write(_secure);
218
+
219
+ if(s->getEncoding() != Ice::Encoding_1_0)
220
+ {
221
+ s->write(_protocol);
222
+ s->write(_encoding);
223
+ }
224
+
225
+ // Derived class writes the remainder of the reference.
226
+ }
227
+
228
+ string
229
+ IceInternal::Reference::toString() const
230
+ {
231
+ //
232
+ // WARNING: Certain features, such as proxy validation in Glacier2,
233
+ // depend on the format of proxy strings. Changes to toString() and
234
+ // methods called to generate parts of the reference string could break
235
+ // these features. Please review for all features that depend on the
236
+ // format of proxyToString() before changing this and related code.
237
+ //
238
+ ostringstream s;
239
+
240
+ ToStringMode toStringMode = _instance->toStringMode();
241
+ const string separators = " :@";
242
+
243
+ string id = Ice::identityToString(_identity, toStringMode);
244
+
245
+ //
246
+ // If the encoded identity string contains characters which
247
+ // the reference parser uses as separators, then we enclose
248
+ // the identity string in quotes.
249
+ //
250
+
251
+ if(id.find_first_of(separators) != string::npos)
252
+ {
253
+ s << '"' << id << '"';
254
+ }
255
+ else
256
+ {
257
+ s << id;
258
+ }
259
+
260
+ if(!_facet.empty())
261
+ {
262
+ s << " -f ";
263
+
264
+ string fs = escapeString(_facet, "", toStringMode);
265
+ //
266
+ // If the encoded facet string contains characters which
267
+ // the reference parser uses as separators, then we enclose
268
+ // the facet string in quotes.
269
+ //
270
+ if(fs.find_first_of(separators) != string::npos)
271
+ {
272
+ s << '"' << fs << '"';
273
+ }
274
+ else
275
+ {
276
+ s << fs;
277
+ }
278
+ }
279
+
280
+ switch(_mode)
281
+ {
282
+ case ModeTwoway:
283
+ {
284
+ s << " -t";
285
+ break;
286
+ }
287
+
288
+ case ModeOneway:
289
+ {
290
+ s << " -o";
291
+ break;
292
+ }
293
+
294
+ case ModeBatchOneway:
295
+ {
296
+ s << " -O";
297
+ break;
298
+ }
299
+
300
+ case ModeDatagram:
301
+ {
302
+ s << " -d";
303
+ break;
304
+ }
305
+
306
+ case ModeBatchDatagram:
307
+ {
308
+ s << " -D";
309
+ break;
310
+ }
311
+ }
312
+
313
+ if(_secure)
314
+ {
315
+ s << " -s";
316
+ }
317
+
318
+ if(_protocol != Ice::Protocol_1_0)
319
+ {
320
+ //
321
+ // We only print the protocol if it's not 1.0. It's fine as
322
+ // long as we don't add Ice.Default.ProtocolVersion, a
323
+ // stringified proxy will convert back to the same proxy with
324
+ // stringToProxy.
325
+ //
326
+ s << " -p " << _protocol;
327
+ }
328
+
329
+ //
330
+ // Always print the encoding version to ensure a stringified proxy
331
+ // will convert back to a proxy with the same encoding with
332
+ // stringToProxy (and won't use Ice.Default.EncodingVersion).
333
+ //
334
+ s << " -e " << _encoding;
335
+
336
+ return s.str();
337
+
338
+ // Derived class writes the remainder of the string.
339
+ }
340
+
341
+ bool
342
+ IceInternal::Reference::operator==(const Reference& r) const
343
+ {
344
+ //
345
+ // Note: if(this == &r) test is performed by each non-abstract derived class.
346
+ //
347
+
348
+ if(_mode != r._mode)
349
+ {
350
+ return false;
351
+ }
352
+
353
+ if(_secure != r._secure)
354
+ {
355
+ return false;
356
+ }
357
+
358
+ if(_identity != r._identity)
359
+ {
360
+ return false;
361
+ }
362
+
363
+ if(_context->getValue() != r._context->getValue())
364
+ {
365
+ return false;
366
+ }
367
+
368
+ if(_facet != r._facet)
369
+ {
370
+ return false;
371
+ }
372
+
373
+ if((_overrideCompress != r._overrideCompress) || (_overrideCompress && _compress != r._compress))
374
+ {
375
+ return false;
376
+ }
377
+
378
+ if(_protocol != r._protocol)
379
+ {
380
+ return false;
381
+ }
382
+
383
+ if(_encoding != r._encoding)
384
+ {
385
+ return false;
386
+ }
387
+
388
+ if(_invocationTimeout != r._invocationTimeout)
389
+ {
390
+ return false;
391
+ }
392
+ return true;
393
+ }
394
+
395
+ bool
396
+ IceInternal::Reference::operator<(const Reference& r) const
397
+ {
398
+ //
399
+ // Note: if(this == &r) test is performed by each non-abstract derived class.
400
+ //
401
+
402
+ if(_mode < r._mode)
403
+ {
404
+ return true;
405
+ }
406
+ else if(r._mode < _mode)
407
+ {
408
+ return false;
409
+ }
410
+
411
+ if(_identity < r._identity)
412
+ {
413
+ return true;
414
+ }
415
+ else if(r._identity < _identity)
416
+ {
417
+ return false;
418
+ }
419
+
420
+ if(_context->getValue() < r._context->getValue())
421
+ {
422
+ return true;
423
+ }
424
+ else if(r._context->getValue() < _context->getValue())
425
+ {
426
+ return false;
427
+ }
428
+
429
+ if(_facet < r._facet)
430
+ {
431
+ return true;
432
+ }
433
+ else if(r._facet < _facet)
434
+ {
435
+ return false;
436
+ }
437
+
438
+ if(!_overrideCompress && r._overrideCompress)
439
+ {
440
+ return true;
441
+ }
442
+ else if(r._overrideCompress < _overrideCompress)
443
+ {
444
+ return false;
445
+ }
446
+ else if(_overrideCompress)
447
+ {
448
+ if(!_compress && r._compress)
449
+ {
450
+ return true;
451
+ }
452
+ else if(r._compress < _compress)
453
+ {
454
+ return false;
455
+ }
456
+ }
457
+
458
+ if(!_secure && r._secure)
459
+ {
460
+ return true;
461
+ }
462
+ else if(r._secure < _secure)
463
+ {
464
+ return false;
465
+ }
466
+
467
+ if(_protocol < r._protocol)
468
+ {
469
+ return true;
470
+ }
471
+ else if(r._protocol < _protocol)
472
+ {
473
+ return false;
474
+ }
475
+
476
+ if(_encoding < r._encoding)
477
+ {
478
+ return true;
479
+ }
480
+ else if(r._encoding < _encoding)
481
+ {
482
+ return false;
483
+ }
484
+
485
+ if(_invocationTimeout < r._invocationTimeout)
486
+ {
487
+ return true;
488
+ }
489
+ else if(r._invocationTimeout < _invocationTimeout)
490
+ {
491
+ return false;
492
+ }
493
+
494
+ return false;
495
+ }
496
+
497
+ #ifndef ICE_CPP11_COMPILER
498
+ class ConnectionIsDatagram : public unary_function<ConnectionIPtr, bool>
499
+ {
500
+ public:
501
+
502
+ bool
503
+ operator()(ConnectionIPtr p) const
504
+ {
505
+ return p->endpoint()->datagram();
506
+ }
507
+ };
508
+
509
+ class ConnectionIsSecure : public unary_function<ConnectionIPtr, bool>
510
+ {
511
+ public:
512
+
513
+ bool
514
+ operator()(ConnectionIPtr p) const
515
+ {
516
+ return p->endpoint()->secure();
517
+ }
518
+ };
519
+ #endif
520
+
521
+ IceInternal::Reference::Reference(const InstancePtr& instance,
522
+ const CommunicatorPtr& communicator,
523
+ const Identity& id,
524
+ const string& facet,
525
+ Mode mode,
526
+ bool secure,
527
+ const ProtocolVersion& protocol,
528
+ const EncodingVersion& encoding,
529
+ int invocationTimeout,
530
+ const Ice::Context& ctx) :
531
+ _hashInitialized(false),
532
+ _instance(instance),
533
+ _communicator(communicator),
534
+ _mode(mode),
535
+ _secure(secure),
536
+ _identity(id),
537
+ _context(new SharedContext(ctx)),
538
+ _facet(facet),
539
+ _protocol(protocol),
540
+ _encoding(encoding),
541
+ _invocationTimeout(invocationTimeout),
542
+ _overrideCompress(false),
543
+ _compress(false)
544
+ {
545
+ }
546
+
547
+ IceInternal::Reference::Reference(const Reference& r) :
548
+ IceUtil::Shared(),
549
+ _hashInitialized(false),
550
+ _instance(r._instance),
551
+ _communicator(r._communicator),
552
+ _mode(r._mode),
553
+ _secure(r._secure),
554
+ _identity(r._identity),
555
+ _context(r._context),
556
+ _facet(r._facet),
557
+ _protocol(r._protocol),
558
+ _encoding(r._encoding),
559
+ _invocationTimeout(r._invocationTimeout),
560
+ _overrideCompress(r._overrideCompress),
561
+ _compress(r._compress)
562
+ {
563
+ }
564
+
565
+ int
566
+ IceInternal::Reference::hashInit() const
567
+ {
568
+ Int h = 5381;
569
+ hashAdd(h, static_cast<Int>(_mode));
570
+ hashAdd(h, _secure);
571
+ hashAdd(h, _identity.name);
572
+ hashAdd(h, _identity.category);
573
+ hashAdd(h, _context->getValue());
574
+ hashAdd(h, _facet);
575
+ hashAdd(h, _overrideCompress);
576
+ if(_overrideCompress)
577
+ {
578
+ hashAdd(h, _compress);
579
+ }
580
+ hashAdd(h, _protocol.major);
581
+ hashAdd(h, _protocol.minor);
582
+ hashAdd(h, _encoding.major);
583
+ hashAdd(h, _encoding.minor);
584
+ hashAdd(h, _invocationTimeout);
585
+ return h;
586
+ }
587
+
588
+ IceUtil::Shared* IceInternal::upCast(IceInternal::FixedReference* p) { return p; }
589
+
590
+ IceInternal::FixedReference::FixedReference(const InstancePtr& instance,
591
+ const CommunicatorPtr& communicator,
592
+ const Identity& id,
593
+ const string& facet,
594
+ Mode mode,
595
+ bool secure,
596
+ const ProtocolVersion& protocol,
597
+ const EncodingVersion& encoding,
598
+ const ConnectionIPtr& fixedConnection,
599
+ int invocationTimeout,
600
+ const Ice::Context& context,
601
+ const IceUtil::Optional<bool>& compress) :
602
+ Reference(instance, communicator, id, facet, mode, secure, protocol, encoding, invocationTimeout, context),
603
+ _fixedConnection(fixedConnection)
604
+ {
605
+ if(compress)
606
+ {
607
+ _overrideCompress = true;
608
+ _compress = *compress;
609
+ }
610
+ }
611
+
612
+ vector<EndpointIPtr>
613
+ IceInternal::FixedReference::getEndpoints() const
614
+ {
615
+ return vector<EndpointIPtr>();
616
+ }
617
+
618
+ string
619
+ IceInternal::FixedReference::getAdapterId() const
620
+ {
621
+ return string();
622
+ }
623
+
624
+ bool
625
+ IceInternal::FixedReference::getCollocationOptimized() const
626
+ {
627
+ return false;
628
+ }
629
+
630
+ bool
631
+ IceInternal::FixedReference::getCacheConnection() const
632
+ {
633
+ return true;
634
+ }
635
+
636
+ bool
637
+ IceInternal::FixedReference::getPreferSecure() const
638
+ {
639
+ return false;
640
+ }
641
+
642
+ Ice::EndpointSelectionType
643
+ IceInternal::FixedReference::getEndpointSelection() const
644
+ {
645
+ return ICE_ENUM(EndpointSelectionType, Random);
646
+ }
647
+
648
+ int
649
+ IceInternal::FixedReference::getLocatorCacheTimeout() const
650
+ {
651
+ return 0;
652
+ }
653
+
654
+ string
655
+ IceInternal::FixedReference::getConnectionId() const
656
+ {
657
+ return string();
658
+ }
659
+
660
+ IceUtil::Optional<int>
661
+ IceInternal::FixedReference::getTimeout() const
662
+ {
663
+ return IceUtil::Optional<int>();
664
+ }
665
+
666
+ ReferencePtr
667
+ IceInternal::FixedReference::changeEndpoints(const vector<EndpointIPtr>& /*newEndpoints*/) const
668
+ {
669
+ throw FixedProxyException(__FILE__, __LINE__);
670
+ }
671
+
672
+ ReferencePtr
673
+ IceInternal::FixedReference::changeAdapterId(const string& /*newAdapterId*/) const
674
+ {
675
+ throw FixedProxyException(__FILE__, __LINE__);
676
+ }
677
+
678
+ ReferencePtr
679
+ IceInternal::FixedReference::changeLocator(const LocatorPrxPtr&) const
680
+ {
681
+ throw FixedProxyException(__FILE__, __LINE__);
682
+ }
683
+
684
+ ReferencePtr
685
+ IceInternal::FixedReference::changeRouter(const RouterPrxPtr&) const
686
+ {
687
+ throw FixedProxyException(__FILE__, __LINE__);
688
+ }
689
+
690
+ ReferencePtr
691
+ IceInternal::FixedReference::changeCollocationOptimized(bool) const
692
+ {
693
+ throw FixedProxyException(__FILE__, __LINE__);
694
+ }
695
+
696
+ ReferencePtr
697
+ IceInternal::FixedReference::changeCacheConnection(bool) const
698
+ {
699
+ throw FixedProxyException(__FILE__, __LINE__);
700
+ }
701
+
702
+ ReferencePtr
703
+ IceInternal::FixedReference::changePreferSecure(bool) const
704
+ {
705
+ throw FixedProxyException(__FILE__, __LINE__);
706
+ }
707
+
708
+ ReferencePtr
709
+ IceInternal::FixedReference::changeEndpointSelection(EndpointSelectionType) const
710
+ {
711
+ throw FixedProxyException(__FILE__, __LINE__);
712
+ }
713
+
714
+ ReferencePtr
715
+ IceInternal::FixedReference::changeLocatorCacheTimeout(int) const
716
+ {
717
+ throw FixedProxyException(__FILE__, __LINE__);
718
+ }
719
+
720
+ ReferencePtr
721
+ IceInternal::FixedReference::changeTimeout(int) const
722
+ {
723
+ throw FixedProxyException(__FILE__, __LINE__);
724
+ }
725
+
726
+ ReferencePtr
727
+ IceInternal::FixedReference::changeConnectionId(const string&) const
728
+ {
729
+ throw FixedProxyException(__FILE__, __LINE__);
730
+ }
731
+
732
+ ReferencePtr
733
+ IceInternal::FixedReference::changeConnection(const Ice::ConnectionIPtr& newConnection) const
734
+ {
735
+ if(newConnection == _fixedConnection)
736
+ {
737
+ return FixedReferencePtr(const_cast<FixedReference*>(this));
738
+ }
739
+ FixedReferencePtr r = FixedReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
740
+ r->_fixedConnection = newConnection;
741
+ return r;
742
+ }
743
+
744
+ bool
745
+ IceInternal::FixedReference::isIndirect() const
746
+ {
747
+ return false;
748
+ }
749
+
750
+ bool
751
+ IceInternal::FixedReference::isWellKnown() const
752
+ {
753
+ return false;
754
+ }
755
+
756
+ void
757
+ IceInternal::FixedReference::streamWrite(OutputStream*) const
758
+ {
759
+ throw FixedProxyException(__FILE__, __LINE__);
760
+ }
761
+
762
+ PropertyDict
763
+ IceInternal::FixedReference::toProperty(const string&) const
764
+ {
765
+ throw FixedProxyException(__FILE__, __LINE__);
766
+ }
767
+
768
+ RequestHandlerPtr
769
+ IceInternal::FixedReference::getRequestHandler(const Ice::ObjectPrxPtr& proxy) const
770
+ {
771
+ switch(getMode())
772
+ {
773
+ case Reference::ModeTwoway:
774
+ case Reference::ModeOneway:
775
+ case Reference::ModeBatchOneway:
776
+ {
777
+ if(_fixedConnection->endpoint()->datagram())
778
+ {
779
+ throw NoEndpointException(__FILE__, __LINE__, toString());
780
+ }
781
+ break;
782
+ }
783
+
784
+ case Reference::ModeDatagram:
785
+ case Reference::ModeBatchDatagram:
786
+ {
787
+ if(!_fixedConnection->endpoint()->datagram())
788
+ {
789
+ throw NoEndpointException(__FILE__, __LINE__, toString());
790
+ }
791
+ break;
792
+ }
793
+ }
794
+
795
+ //
796
+ // If a secure connection is requested or secure overrides is set,
797
+ // check if the connection is secure.
798
+ //
799
+ bool secure;
800
+ DefaultsAndOverridesPtr defaultsAndOverrides = getInstance()->defaultsAndOverrides();
801
+ if(defaultsAndOverrides->overrideSecure)
802
+ {
803
+ secure = defaultsAndOverrides->overrideSecureValue;
804
+ }
805
+ else
806
+ {
807
+ secure = getSecure();
808
+ }
809
+ if(secure && !_fixedConnection->endpoint()->secure())
810
+ {
811
+ throw NoEndpointException(__FILE__, __LINE__, toString());
812
+ }
813
+
814
+ _fixedConnection->throwException(); // Throw in case our connection is already destroyed.
815
+
816
+ bool compress = false;
817
+ if(defaultsAndOverrides->overrideCompress)
818
+ {
819
+ compress = defaultsAndOverrides->overrideCompressValue;
820
+ }
821
+ else if(_overrideCompress)
822
+ {
823
+ compress = _compress;
824
+ }
825
+
826
+ ReferencePtr ref = const_cast<FixedReference*>(this);
827
+ return proxy->_setRequestHandler(ICE_MAKE_SHARED(ConnectionRequestHandler, ref, _fixedConnection, compress));
828
+ }
829
+
830
+ BatchRequestQueuePtr
831
+ IceInternal::FixedReference::getBatchRequestQueue() const
832
+ {
833
+ return _fixedConnection->getBatchRequestQueue();
834
+ }
835
+
836
+ bool
837
+ IceInternal::FixedReference::operator==(const Reference& r) const
838
+ {
839
+ if(this == &r)
840
+ {
841
+ return true;
842
+ }
843
+ const FixedReference* rhs = dynamic_cast<const FixedReference*>(&r);
844
+ if(!rhs || !Reference::operator==(r))
845
+ {
846
+ return false;
847
+ }
848
+ return _fixedConnection == rhs->_fixedConnection;
849
+ }
850
+
851
+ bool
852
+ IceInternal::FixedReference::operator<(const Reference& r) const
853
+ {
854
+ if(this == &r)
855
+ {
856
+ return false;
857
+ }
858
+ if(Reference::operator<(r))
859
+ {
860
+ return true;
861
+ }
862
+ if(!Reference::operator==(r))
863
+ {
864
+ return false;
865
+ }
866
+
867
+ const FixedReference* rhs = dynamic_cast<const FixedReference*>(&r);
868
+ if(!rhs)
869
+ {
870
+ assert(dynamic_cast<const RoutableReference*>(&r));
871
+ return false; // As a rule, routable references are superior to fixed references.
872
+ }
873
+ return _fixedConnection < rhs->_fixedConnection;
874
+ }
875
+
876
+ ReferencePtr
877
+ IceInternal::FixedReference::clone() const
878
+ {
879
+ return new FixedReference(*this);
880
+ }
881
+
882
+ IceInternal::FixedReference::FixedReference(const FixedReference& r) :
883
+ Reference(r),
884
+ _fixedConnection(r._fixedConnection)
885
+ {
886
+ }
887
+
888
+ IceUtil::Shared* IceInternal::upCast(IceInternal::RoutableReference* p) { return p; }
889
+
890
+ IceInternal::RoutableReference::RoutableReference(const InstancePtr& instance,
891
+ const CommunicatorPtr& communicator,
892
+ const Identity& id,
893
+ const string& facet,
894
+ Mode mode,
895
+ bool secure,
896
+ const ProtocolVersion& protocol,
897
+ const EncodingVersion& encoding,
898
+ const vector<EndpointIPtr>& endpoints,
899
+ const string& adapterId,
900
+ const LocatorInfoPtr& locatorInfo,
901
+ const RouterInfoPtr& routerInfo,
902
+ bool collocationOptimized,
903
+ bool cacheConnection,
904
+ bool preferSecure,
905
+ EndpointSelectionType endpointSelection,
906
+ int locatorCacheTimeout,
907
+ int invocationTimeout,
908
+ const Ice::Context& ctx) :
909
+ Reference(instance, communicator, id, facet, mode, secure, protocol, encoding, invocationTimeout, ctx),
910
+ _endpoints(endpoints),
911
+ _adapterId(adapterId),
912
+ _locatorInfo(locatorInfo),
913
+ _routerInfo(routerInfo),
914
+ _collocationOptimized(collocationOptimized),
915
+ _cacheConnection(cacheConnection),
916
+ _preferSecure(preferSecure),
917
+ _endpointSelection(endpointSelection),
918
+ _locatorCacheTimeout(locatorCacheTimeout),
919
+ _overrideTimeout(false),
920
+ _timeout(-1)
921
+ {
922
+ assert(_adapterId.empty() || _endpoints.empty());
923
+ }
924
+
925
+ vector<EndpointIPtr>
926
+ IceInternal::RoutableReference::getEndpoints() const
927
+ {
928
+ return _endpoints;
929
+ }
930
+
931
+ string
932
+ IceInternal::RoutableReference::getAdapterId() const
933
+ {
934
+ return _adapterId;
935
+ }
936
+
937
+ LocatorInfoPtr
938
+ IceInternal::RoutableReference::getLocatorInfo() const
939
+ {
940
+ return _locatorInfo;
941
+ }
942
+
943
+ RouterInfoPtr
944
+ IceInternal::RoutableReference::getRouterInfo() const
945
+ {
946
+ return _routerInfo;
947
+ }
948
+
949
+ bool
950
+ IceInternal::RoutableReference::getCollocationOptimized() const
951
+ {
952
+ return _collocationOptimized;
953
+ }
954
+
955
+ bool
956
+ IceInternal::RoutableReference::getCacheConnection() const
957
+ {
958
+ return _cacheConnection;
959
+ }
960
+
961
+ bool
962
+ IceInternal::RoutableReference::getPreferSecure() const
963
+ {
964
+ return _preferSecure;
965
+ }
966
+
967
+ Ice::EndpointSelectionType
968
+ IceInternal::RoutableReference::getEndpointSelection() const
969
+ {
970
+ return _endpointSelection;
971
+ }
972
+
973
+ int
974
+ IceInternal::RoutableReference::getLocatorCacheTimeout() const
975
+ {
976
+ return _locatorCacheTimeout;
977
+ }
978
+
979
+ string
980
+ IceInternal::RoutableReference::getConnectionId() const
981
+ {
982
+ return _connectionId;
983
+ }
984
+
985
+ IceUtil::Optional<int>
986
+ IceInternal::RoutableReference::getTimeout() const
987
+ {
988
+ return _overrideTimeout ? IceUtil::Optional<int>(_timeout) : IceUtil::None;
989
+ }
990
+
991
+ ReferencePtr
992
+ IceInternal::RoutableReference::changeEncoding(const Ice::EncodingVersion& encoding) const
993
+ {
994
+ ReferencePtr r = Reference::changeEncoding(encoding);
995
+ if(r.get() != const_cast<RoutableReference*>(this))
996
+ {
997
+ LocatorInfoPtr& locInfo = RoutableReferencePtr::dynamicCast(r)->_locatorInfo;
998
+ if(locInfo && locInfo->getLocator()->ice_getEncodingVersion() != encoding)
999
+ {
1000
+ locInfo = getInstance()->locatorManager()->get(locInfo->getLocator()->ice_encodingVersion(encoding));
1001
+ }
1002
+ }
1003
+ return r;
1004
+ }
1005
+
1006
+ ReferencePtr
1007
+ IceInternal::RoutableReference::changeCompress(bool newCompress) const
1008
+ {
1009
+ ReferencePtr r = Reference::changeCompress(newCompress);
1010
+ // Also override the compress flag on the endpoints if it was updated.
1011
+ if(r.get() != const_cast<RoutableReference*>(this) && !_endpoints.empty())
1012
+ {
1013
+ vector<EndpointIPtr> newEndpoints;
1014
+ for(vector<EndpointIPtr>::const_iterator p = _endpoints.begin(); p != _endpoints.end(); ++p)
1015
+ {
1016
+ newEndpoints.push_back((*p)->compress(newCompress));
1017
+ }
1018
+ RoutableReferencePtr::dynamicCast(r)->_endpoints = newEndpoints;
1019
+ }
1020
+ return r;
1021
+ }
1022
+
1023
+ ReferencePtr
1024
+ IceInternal::RoutableReference::changeEndpoints(const vector<EndpointIPtr>& newEndpoints) const
1025
+ {
1026
+ if(newEndpoints == _endpoints)
1027
+ {
1028
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1029
+ }
1030
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1031
+ r->_endpoints = newEndpoints;
1032
+ r->applyOverrides(r->_endpoints);
1033
+ r->_adapterId.clear();
1034
+ return r;
1035
+ }
1036
+
1037
+ ReferencePtr
1038
+ IceInternal::RoutableReference::changeAdapterId(const string& newAdapterId) const
1039
+ {
1040
+ if(newAdapterId == _adapterId)
1041
+ {
1042
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1043
+ }
1044
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1045
+ r->_adapterId = newAdapterId;
1046
+ r->_endpoints.clear();
1047
+ return r;
1048
+ }
1049
+
1050
+ ReferencePtr
1051
+ IceInternal::RoutableReference::changeLocator(const LocatorPrxPtr& newLocator) const
1052
+ {
1053
+ LocatorInfoPtr newLocatorInfo = getInstance()->locatorManager()->get(newLocator);
1054
+ if(newLocatorInfo == _locatorInfo)
1055
+ {
1056
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1057
+ }
1058
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1059
+ r->_locatorInfo = newLocatorInfo;
1060
+ return r;
1061
+ }
1062
+
1063
+ ReferencePtr
1064
+ IceInternal::RoutableReference::changeRouter(const RouterPrxPtr& newRouter) const
1065
+ {
1066
+ RouterInfoPtr newRouterInfo = getInstance()->routerManager()->get(newRouter);
1067
+ if(newRouterInfo == _routerInfo)
1068
+ {
1069
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1070
+ }
1071
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1072
+ r->_routerInfo = newRouterInfo;
1073
+ return r;
1074
+ }
1075
+
1076
+ ReferencePtr
1077
+ IceInternal::RoutableReference::changeCollocationOptimized(bool newCollocationOptimized) const
1078
+ {
1079
+ if(newCollocationOptimized == _collocationOptimized)
1080
+ {
1081
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1082
+ }
1083
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1084
+ r->_collocationOptimized = newCollocationOptimized;
1085
+ return r;
1086
+ }
1087
+
1088
+ ReferencePtr
1089
+ IceInternal::RoutableReference::changeCacheConnection(bool newCache) const
1090
+ {
1091
+ if(newCache == _cacheConnection)
1092
+ {
1093
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1094
+ }
1095
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1096
+ r->_cacheConnection = newCache;
1097
+ return r;
1098
+ }
1099
+
1100
+ ReferencePtr
1101
+ IceInternal::RoutableReference::changePreferSecure(bool newPreferSecure) const
1102
+ {
1103
+ if(newPreferSecure == _preferSecure)
1104
+ {
1105
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1106
+ }
1107
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1108
+ r->_preferSecure = newPreferSecure;
1109
+ return r;
1110
+ }
1111
+
1112
+ ReferencePtr
1113
+ IceInternal::RoutableReference::changeEndpointSelection(EndpointSelectionType newType) const
1114
+ {
1115
+ if(newType == _endpointSelection)
1116
+ {
1117
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1118
+ }
1119
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1120
+ r->_endpointSelection = newType;
1121
+ return r;
1122
+ }
1123
+
1124
+ ReferencePtr
1125
+ IceInternal::RoutableReference::changeLocatorCacheTimeout(int timeout) const
1126
+ {
1127
+ if(timeout == _locatorCacheTimeout)
1128
+ {
1129
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1130
+ }
1131
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1132
+ r->_locatorCacheTimeout = timeout;
1133
+ return r;
1134
+ }
1135
+
1136
+ ReferencePtr
1137
+ IceInternal::RoutableReference::changeTimeout(int newTimeout) const
1138
+ {
1139
+ if(_overrideTimeout && newTimeout == _timeout)
1140
+ {
1141
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1142
+ }
1143
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1144
+ r->_timeout = newTimeout;
1145
+ r->_overrideTimeout = true;
1146
+ if(!_endpoints.empty()) // Also override the timeout on the endpoints.
1147
+ {
1148
+ vector<EndpointIPtr> newEndpoints;
1149
+ for(vector<EndpointIPtr>::const_iterator p = _endpoints.begin(); p != _endpoints.end(); ++p)
1150
+ {
1151
+ newEndpoints.push_back((*p)->timeout(newTimeout));
1152
+ }
1153
+ r->_endpoints = newEndpoints;
1154
+ }
1155
+ return r;
1156
+ }
1157
+
1158
+ ReferencePtr
1159
+ IceInternal::RoutableReference::changeConnectionId(const string& id) const
1160
+ {
1161
+ if(id == _connectionId)
1162
+ {
1163
+ return RoutableReferencePtr(const_cast<RoutableReference*>(this));
1164
+ }
1165
+ RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
1166
+ r->_connectionId = id;
1167
+ if(!_endpoints.empty()) // Also override the connection id on the endpoints.
1168
+ {
1169
+ vector<EndpointIPtr> newEndpoints;
1170
+ for(vector<EndpointIPtr>::const_iterator p = _endpoints.begin(); p != _endpoints.end(); ++p)
1171
+ {
1172
+ newEndpoints.push_back((*p)->connectionId(id));
1173
+ }
1174
+ r->_endpoints = newEndpoints;
1175
+ }
1176
+ return r;
1177
+ }
1178
+
1179
+ ReferencePtr
1180
+ IceInternal::RoutableReference::changeConnection(const Ice::ConnectionIPtr& connection) const
1181
+ {
1182
+ return new FixedReference(getInstance(),
1183
+ getCommunicator(),
1184
+ getIdentity(),
1185
+ getFacet(),
1186
+ getMode(),
1187
+ getSecure(),
1188
+ getProtocol(),
1189
+ getEncoding(),
1190
+ connection,
1191
+ getInvocationTimeout(),
1192
+ getContext()->getValue(),
1193
+ getCompress());
1194
+ }
1195
+
1196
+ bool
1197
+ IceInternal::RoutableReference::isIndirect() const
1198
+ {
1199
+ return _endpoints.empty();
1200
+ }
1201
+
1202
+ bool
1203
+ IceInternal::RoutableReference::isWellKnown() const
1204
+ {
1205
+ return _endpoints.empty() && _adapterId.empty();
1206
+ }
1207
+
1208
+ void
1209
+ IceInternal::RoutableReference::streamWrite(OutputStream* s) const
1210
+ {
1211
+ Reference::streamWrite(s);
1212
+
1213
+ Int sz = static_cast<Int>(_endpoints.size());
1214
+ s->writeSize(sz);
1215
+ if(sz)
1216
+ {
1217
+ assert(_adapterId.empty());
1218
+ for(vector<EndpointIPtr>::const_iterator p = _endpoints.begin(); p != _endpoints.end(); ++p)
1219
+ {
1220
+ s->write((*p)->type());
1221
+ (*p)->streamWrite(s);
1222
+ }
1223
+ }
1224
+ else
1225
+ {
1226
+ s->write(_adapterId);
1227
+ }
1228
+ }
1229
+
1230
+ string
1231
+ IceInternal::RoutableReference::toString() const
1232
+ {
1233
+ //
1234
+ // WARNING: Certain features, such as proxy validation in Glacier2,
1235
+ // depend on the format of proxy strings. Changes to toString() and
1236
+ // methods called to generate parts of the reference string could break
1237
+ // these features. Please review for all features that depend on the
1238
+ // format of proxyToString() before changing this and related code.
1239
+ //
1240
+ string result = Reference::toString();
1241
+
1242
+ if(!_endpoints.empty())
1243
+ {
1244
+ for(vector<EndpointIPtr>::const_iterator p = _endpoints.begin(); p != _endpoints.end(); ++p)
1245
+ {
1246
+ string endp = (*p)->toString();
1247
+ if(!endp.empty())
1248
+ {
1249
+ result.append(":");
1250
+ result.append(endp);
1251
+ }
1252
+ }
1253
+ }
1254
+ else if(!_adapterId.empty())
1255
+ {
1256
+ result.append(" @ ");
1257
+
1258
+ //
1259
+ // If the encoded adapter id string contains characters which the
1260
+ // reference parser uses as separators, then we enclose the
1261
+ // adapter id string in quotes.
1262
+ //
1263
+ string a = escapeString(_adapterId, "", getInstance()->toStringMode());
1264
+ if(a.find_first_of(" :@") != string::npos)
1265
+ {
1266
+ result.append("\"");
1267
+ result.append(a);
1268
+ result.append("\"");
1269
+ }
1270
+ else
1271
+ {
1272
+ result.append(a);
1273
+ }
1274
+ }
1275
+ else
1276
+ {
1277
+ return result;
1278
+ }
1279
+ return result;
1280
+ }
1281
+
1282
+ PropertyDict
1283
+ IceInternal::RoutableReference::toProperty(const string& prefix) const
1284
+ {
1285
+ Ice::PropertyDict properties;
1286
+
1287
+ properties[prefix] = toString();
1288
+ properties[prefix + ".CollocationOptimized"] = _collocationOptimized ? "1" : "0";
1289
+ properties[prefix + ".ConnectionCached"] = _cacheConnection ? "1" : "0";
1290
+ properties[prefix + ".PreferSecure"] = _preferSecure ? "1" : "0";
1291
+ properties[prefix + ".EndpointSelection"] = _endpointSelection == ICE_ENUM(EndpointSelectionType, Random) ? "Random" : "Ordered";
1292
+ {
1293
+ ostringstream s;
1294
+ s << _locatorCacheTimeout;
1295
+ properties[prefix + ".LocatorCacheTimeout"] = s.str();
1296
+ }
1297
+ {
1298
+ ostringstream s;
1299
+ s << getInvocationTimeout();
1300
+ properties[prefix + ".InvocationTimeout"] = s.str();
1301
+ }
1302
+ if(_routerInfo)
1303
+ {
1304
+ PropertyDict routerProperties = _routerInfo->getRouter()->_getReference()->toProperty(prefix + ".Router");
1305
+ for(PropertyDict::const_iterator p = routerProperties.begin(); p != routerProperties.end(); ++p)
1306
+ {
1307
+ properties[p->first] = p->second;
1308
+ }
1309
+ }
1310
+
1311
+ if(_locatorInfo)
1312
+ {
1313
+ PropertyDict locatorProperties = _locatorInfo->getLocator()->_getReference()->toProperty(prefix + ".Locator");
1314
+ for(PropertyDict::const_iterator p = locatorProperties.begin(); p != locatorProperties.end(); ++p)
1315
+ {
1316
+ properties[p->first] = p->second;
1317
+ }
1318
+ }
1319
+
1320
+ return properties;
1321
+ }
1322
+
1323
+ int
1324
+ IceInternal::RoutableReference::hashInit() const
1325
+ {
1326
+ int value = Reference::hashInit();
1327
+ hashAdd(value, _adapterId);
1328
+ return value;
1329
+ }
1330
+
1331
+ bool
1332
+ IceInternal::RoutableReference::operator==(const Reference& r) const
1333
+ {
1334
+ //
1335
+ // Note: if(this == &r) test is performed by each non-abstract derived class.
1336
+ //
1337
+ if(this == &r)
1338
+ {
1339
+ return true;
1340
+ }
1341
+
1342
+ const RoutableReference* rhs = dynamic_cast<const RoutableReference*>(&r);
1343
+ if(!rhs || !Reference::operator==(r))
1344
+ {
1345
+ return false;
1346
+ }
1347
+ if(_preferSecure != rhs->_preferSecure)
1348
+ {
1349
+ return false;
1350
+ }
1351
+ if(_collocationOptimized != rhs->_collocationOptimized)
1352
+ {
1353
+ return false;
1354
+ }
1355
+ if(_cacheConnection != rhs->_cacheConnection)
1356
+ {
1357
+ return false;
1358
+ }
1359
+ if(_endpointSelection != rhs->_endpointSelection)
1360
+ {
1361
+ return false;
1362
+ }
1363
+ if(_connectionId != rhs->_connectionId)
1364
+ {
1365
+ return false;
1366
+ }
1367
+ if((_overrideTimeout != rhs->_overrideTimeout) || (_overrideTimeout && _timeout != rhs->_timeout))
1368
+ {
1369
+ return false;
1370
+ }
1371
+ if(_routerInfo != rhs->_routerInfo)
1372
+ {
1373
+ return false;
1374
+ }
1375
+ if(_locatorInfo != rhs->_locatorInfo)
1376
+ {
1377
+ return false;
1378
+ }
1379
+ #ifdef ICE_CPP11_MAPPING
1380
+ //
1381
+ // TODO: With C++14 we could use the version that receives four iterators and we don't need to explicitly
1382
+ // check the sizes are equal.
1383
+ //
1384
+ if(_endpoints.size() != rhs->_endpoints.size() ||
1385
+ !equal(_endpoints.begin(), _endpoints.end(), rhs->_endpoints.begin(), Ice::TargetCompare<shared_ptr<EndpointI>, std::equal_to>()))
1386
+ #else
1387
+ if(_endpoints != rhs->_endpoints)
1388
+ #endif
1389
+ {
1390
+ return false;
1391
+ }
1392
+ if(_adapterId != rhs->_adapterId)
1393
+ {
1394
+ return false;
1395
+ }
1396
+ if(_locatorCacheTimeout != rhs->_locatorCacheTimeout)
1397
+ {
1398
+ return false;
1399
+ }
1400
+ return true;
1401
+ }
1402
+
1403
+ bool
1404
+ IceInternal::RoutableReference::operator<(const Reference& r) const
1405
+ {
1406
+ if(this == &r)
1407
+ {
1408
+ return false;
1409
+ }
1410
+
1411
+ if(Reference::operator<(r))
1412
+ {
1413
+ return true;
1414
+ }
1415
+ else if(!Reference::operator==(r))
1416
+ {
1417
+ return false;
1418
+ }
1419
+
1420
+ const RoutableReference* rhs = dynamic_cast<const RoutableReference*>(&r);
1421
+ if(!rhs)
1422
+ {
1423
+ assert(dynamic_cast<const FixedReference*>(&r));
1424
+ return true; // As a rule, routable references are superior to fixed references.
1425
+ }
1426
+
1427
+ if(!_preferSecure && rhs->_preferSecure)
1428
+ {
1429
+ return true;
1430
+ }
1431
+ else if(rhs->_preferSecure < _preferSecure)
1432
+ {
1433
+ return false;
1434
+ }
1435
+ if(!_collocationOptimized && rhs->_collocationOptimized)
1436
+ {
1437
+ return true;
1438
+ }
1439
+ else if(rhs->_collocationOptimized < _collocationOptimized)
1440
+ {
1441
+ return false;
1442
+ }
1443
+ if(!_cacheConnection && rhs->_cacheConnection)
1444
+ {
1445
+ return true;
1446
+ }
1447
+ else if(rhs->_cacheConnection < _cacheConnection)
1448
+ {
1449
+ return false;
1450
+ }
1451
+ if(_endpointSelection < rhs->_endpointSelection)
1452
+ {
1453
+ return true;
1454
+ }
1455
+ else if(rhs->_endpointSelection < _endpointSelection)
1456
+ {
1457
+ return false;
1458
+ }
1459
+ if(_connectionId < rhs->_connectionId)
1460
+ {
1461
+ return true;
1462
+ }
1463
+ else if(rhs->_connectionId < _connectionId)
1464
+ {
1465
+ return false;
1466
+ }
1467
+ if(!_overrideTimeout && rhs->_overrideTimeout)
1468
+ {
1469
+ return true;
1470
+ }
1471
+ else if(rhs->_overrideTimeout < _overrideTimeout)
1472
+ {
1473
+ return false;
1474
+ }
1475
+ else if(_overrideTimeout)
1476
+ {
1477
+ if(_timeout < rhs->_timeout)
1478
+ {
1479
+ return true;
1480
+ }
1481
+ else if(rhs->_timeout < _timeout)
1482
+ {
1483
+ return false;
1484
+ }
1485
+ }
1486
+ if(_routerInfo < rhs->_routerInfo)
1487
+ {
1488
+ return true;
1489
+ }
1490
+ else if(rhs->_routerInfo < _routerInfo)
1491
+ {
1492
+ return false;
1493
+ }
1494
+ if(_locatorInfo < rhs->_locatorInfo)
1495
+ {
1496
+ return true;
1497
+ }
1498
+ else if(rhs->_locatorInfo < _locatorInfo)
1499
+ {
1500
+ return false;
1501
+ }
1502
+ if(_adapterId < rhs->_adapterId)
1503
+ {
1504
+ return true;
1505
+ }
1506
+ else if(rhs->_adapterId < _adapterId)
1507
+ {
1508
+ return false;
1509
+ }
1510
+ #ifdef ICE_CPP11_MAPPING
1511
+ if(lexicographical_compare(_endpoints.begin(), _endpoints.end(), rhs->_endpoints.begin(), rhs->_endpoints.end(),
1512
+ Ice::TargetCompare<shared_ptr<EndpointI>, std::less>()))
1513
+ #else
1514
+ if(_endpoints < rhs->_endpoints)
1515
+ #endif
1516
+ {
1517
+ return true;
1518
+ }
1519
+ #ifdef ICE_CPP11_MAPPING
1520
+ else if(lexicographical_compare(rhs->_endpoints.begin(), rhs->_endpoints.end(),
1521
+ _endpoints.begin(), _endpoints.end(),
1522
+ Ice::TargetCompare<shared_ptr<EndpointI>, std::less>()))
1523
+ #else
1524
+ else if(rhs->_endpoints < _endpoints)
1525
+ #endif
1526
+ {
1527
+ return false;
1528
+ }
1529
+ if(_locatorCacheTimeout < rhs->_locatorCacheTimeout)
1530
+ {
1531
+ return true;
1532
+ }
1533
+ else if(rhs->_locatorCacheTimeout < _locatorCacheTimeout)
1534
+ {
1535
+ return false;
1536
+ }
1537
+ return false;
1538
+ }
1539
+
1540
+ ReferencePtr
1541
+ IceInternal::RoutableReference::clone() const
1542
+ {
1543
+ return new RoutableReference(*this);
1544
+ }
1545
+
1546
+ RequestHandlerPtr
1547
+ IceInternal::RoutableReference::getRequestHandler(const Ice::ObjectPrxPtr& proxy) const
1548
+ {
1549
+ return getInstance()->requestHandlerFactory()->getRequestHandler(const_cast<RoutableReference*>(this), proxy);
1550
+ }
1551
+
1552
+ BatchRequestQueuePtr
1553
+ IceInternal::RoutableReference::getBatchRequestQueue() const
1554
+ {
1555
+ return new BatchRequestQueue(getInstance(), getMode() == Reference::ModeBatchDatagram);
1556
+ }
1557
+
1558
+ void
1559
+ IceInternal::RoutableReference::getConnection(const GetConnectionCallbackPtr& callback) const
1560
+ {
1561
+ class Callback : public RouterInfo::GetClientEndpointsCallback
1562
+ {
1563
+ public:
1564
+
1565
+ virtual void
1566
+ setEndpoints(const vector<EndpointIPtr>& endpoints)
1567
+ {
1568
+ vector<EndpointIPtr> endpts = endpoints;
1569
+ if(!endpts.empty())
1570
+ {
1571
+ _reference->applyOverrides(endpts);
1572
+ _reference->createConnection(endpts, _callback);
1573
+ return;
1574
+ }
1575
+
1576
+ _reference->getConnectionNoRouterInfo(_callback);
1577
+ }
1578
+
1579
+ virtual void
1580
+ setException(const Ice::LocalException& ex)
1581
+ {
1582
+ _callback->setException(ex);
1583
+ }
1584
+
1585
+ Callback(const RoutableReferencePtr& reference, const GetConnectionCallbackPtr& callback) :
1586
+ _reference(reference), _callback(callback)
1587
+ {
1588
+ }
1589
+
1590
+ private:
1591
+
1592
+ const RoutableReferencePtr _reference;
1593
+ const GetConnectionCallbackPtr _callback;
1594
+ };
1595
+
1596
+ if(_routerInfo)
1597
+ {
1598
+ //
1599
+ // If we route, we send everything to the router's client
1600
+ // proxy endpoints.
1601
+ //
1602
+ _routerInfo->getClientEndpoints(new Callback(const_cast<RoutableReference*>(this), callback));
1603
+ return;
1604
+ }
1605
+
1606
+ getConnectionNoRouterInfo(callback);
1607
+ }
1608
+
1609
+ void
1610
+ IceInternal::RoutableReference::getConnectionNoRouterInfo(const GetConnectionCallbackPtr& callback) const
1611
+ {
1612
+ class Callback : public LocatorInfo::GetEndpointsCallback
1613
+ {
1614
+ public:
1615
+
1616
+ class Callback2 ICE_FINAL : public Reference::GetConnectionCallback
1617
+ {
1618
+ public:
1619
+
1620
+ virtual void
1621
+ setConnection(const Ice::ConnectionIPtr& connection, bool compress)
1622
+ {
1623
+ _callback->setConnection(connection, compress);
1624
+ }
1625
+
1626
+ virtual void
1627
+ setException(const Ice::LocalException& exc)
1628
+ {
1629
+ try
1630
+ {
1631
+ exc.ice_throw();
1632
+ }
1633
+ catch(const Ice::NoEndpointException& ex)
1634
+ {
1635
+ _callback->setException(ex); // No need to retry if there's no endpoints.
1636
+ }
1637
+ catch(const Ice::LocalException& ex)
1638
+ {
1639
+ LocatorInfoPtr locatorInfo = _reference->getLocatorInfo();
1640
+ assert(locatorInfo);
1641
+ locatorInfo->clearCache(_reference);
1642
+ if(_cached)
1643
+ {
1644
+ TraceLevelsPtr traceLvls = _reference->getInstance()->traceLevels();
1645
+ if(traceLvls->retry >= 2)
1646
+ {
1647
+ Trace out(_reference->getInstance()->initializationData().logger, traceLvls->retryCat);
1648
+ out << "connection to cached endpoints failed\n"
1649
+ << "removing endpoints from cache and trying again\n" << ex;
1650
+ }
1651
+ _reference->getConnectionNoRouterInfo(_callback); // Retry.
1652
+ return;
1653
+ }
1654
+ _callback->setException(ex);
1655
+ }
1656
+ }
1657
+
1658
+ Callback2(const RoutableReferencePtr& reference, const GetConnectionCallbackPtr& cb, bool cached) :
1659
+ _reference(reference), _callback(cb), _cached(cached)
1660
+ {
1661
+ }
1662
+
1663
+ private:
1664
+
1665
+ const RoutableReferencePtr _reference;
1666
+ const GetConnectionCallbackPtr _callback;
1667
+ const bool _cached;
1668
+ };
1669
+
1670
+ virtual void
1671
+ setEndpoints(const vector<EndpointIPtr>& endpoints, bool cached)
1672
+ {
1673
+ if(endpoints.empty())
1674
+ {
1675
+ _callback->setException(Ice::NoEndpointException(__FILE__, __LINE__, _reference->toString()));
1676
+ return;
1677
+ }
1678
+
1679
+ vector<EndpointIPtr> endpts = endpoints;
1680
+ _reference->applyOverrides(endpts);
1681
+ _reference->createConnection(endpts, ICE_MAKE_SHARED(Callback2, _reference, _callback, cached));
1682
+ }
1683
+
1684
+ virtual void
1685
+ setException(const Ice::LocalException& ex)
1686
+ {
1687
+ _callback->setException(ex);
1688
+ }
1689
+
1690
+ Callback(const RoutableReferencePtr& reference, const GetConnectionCallbackPtr& callback) :
1691
+ _reference(reference), _callback(callback)
1692
+ {
1693
+ }
1694
+
1695
+ private:
1696
+
1697
+ const RoutableReferencePtr _reference;
1698
+ const GetConnectionCallbackPtr _callback;
1699
+ };
1700
+
1701
+ if(!_endpoints.empty())
1702
+ {
1703
+ createConnection(_endpoints, callback);
1704
+ return;
1705
+ }
1706
+
1707
+ if(_locatorInfo)
1708
+ {
1709
+ RoutableReference* self = const_cast<RoutableReference*>(this);
1710
+ _locatorInfo->getEndpoints(self, _locatorCacheTimeout, new Callback(self, callback));
1711
+ }
1712
+ else
1713
+ {
1714
+ callback->setException(Ice::NoEndpointException(__FILE__, __LINE__, toString()));
1715
+ }
1716
+ }
1717
+
1718
+ void
1719
+ IceInternal::RoutableReference::createConnection(const vector<EndpointIPtr>& allEndpoints,
1720
+ const GetConnectionCallbackPtr& callback) const
1721
+ {
1722
+ vector<EndpointIPtr> endpoints = filterEndpoints(allEndpoints);
1723
+ if(endpoints.empty())
1724
+ {
1725
+ callback->setException(Ice::NoEndpointException(__FILE__, __LINE__, toString()));
1726
+ return;
1727
+ }
1728
+
1729
+ //
1730
+ // Finally, create the connection.
1731
+ //
1732
+ OutgoingConnectionFactoryPtr factory = getInstance()->outgoingConnectionFactory();
1733
+ if(getCacheConnection() || endpoints.size() == 1)
1734
+ {
1735
+ class CB1 : public OutgoingConnectionFactory::CreateConnectionCallback
1736
+ {
1737
+ public:
1738
+
1739
+ virtual void
1740
+ setConnection(const Ice::ConnectionIPtr& connection, bool compress)
1741
+ {
1742
+ //
1743
+ // If we have a router, set the object adapter for this router
1744
+ // (if any) to the new connection, so that callbacks from the
1745
+ // router can be received over this new connection.
1746
+ //
1747
+ if(_routerInfo && _routerInfo->getAdapter())
1748
+ {
1749
+ connection->setAdapter(_routerInfo->getAdapter());
1750
+ }
1751
+ _callback->setConnection(connection, compress);
1752
+ }
1753
+
1754
+ virtual void
1755
+ setException(const Ice::LocalException& ex)
1756
+ {
1757
+ _callback->setException(ex);
1758
+ }
1759
+
1760
+ CB1(const RouterInfoPtr& routerInfo, const GetConnectionCallbackPtr& callback) :
1761
+ _routerInfo(routerInfo), _callback(callback)
1762
+ {
1763
+ }
1764
+
1765
+ private:
1766
+
1767
+ const RouterInfoPtr _routerInfo;
1768
+ const GetConnectionCallbackPtr _callback;
1769
+ };
1770
+
1771
+ //
1772
+ // Get an existing connection or create one if there's no
1773
+ // existing connection to one of the given endpoints.
1774
+ //
1775
+ factory->create(endpoints, false, getEndpointSelection(), new CB1(_routerInfo, callback));
1776
+ return;
1777
+ }
1778
+ else
1779
+ {
1780
+ class CB2 : public OutgoingConnectionFactory::CreateConnectionCallback
1781
+ {
1782
+ public:
1783
+
1784
+ virtual void
1785
+ setConnection(const Ice::ConnectionIPtr& connection, bool compress)
1786
+ {
1787
+ //
1788
+ // If we have a router, set the object adapter for this router
1789
+ // (if any) to the new connection, so that callbacks from the
1790
+ // router can be received over this new connection.
1791
+ //
1792
+ if(_reference->getRouterInfo() && _reference->getRouterInfo()->getAdapter())
1793
+ {
1794
+ connection->setAdapter(_reference->getRouterInfo()->getAdapter());
1795
+ }
1796
+ _callback->setConnection(connection, compress);
1797
+ }
1798
+
1799
+ virtual void
1800
+ setException(const Ice::LocalException& ex)
1801
+ {
1802
+ if(!_exception)
1803
+ {
1804
+ ICE_SET_EXCEPTION_FROM_CLONE(_exception, ex.ice_clone());
1805
+ }
1806
+
1807
+ if(++_i == _endpoints.size())
1808
+ {
1809
+ _callback->setException(*_exception);
1810
+ return;
1811
+ }
1812
+
1813
+ const bool more = _i != _endpoints.size() - 1;
1814
+ vector<EndpointIPtr> endpoint;
1815
+ endpoint.push_back(_endpoints[_i]);
1816
+
1817
+ OutgoingConnectionFactoryPtr factory = _reference->getInstance()->outgoingConnectionFactory();
1818
+ factory->create(endpoint, more, _reference->getEndpointSelection(), this);
1819
+ }
1820
+
1821
+ CB2(const RoutableReferencePtr& reference, const vector<EndpointIPtr>& endpoints,
1822
+ const GetConnectionCallbackPtr& callback) :
1823
+ _reference(reference),
1824
+ _endpoints(endpoints),
1825
+ _callback(callback),
1826
+ _i(0)
1827
+ {
1828
+ }
1829
+
1830
+ private:
1831
+
1832
+ const RoutableReferencePtr _reference;
1833
+ const vector<EndpointIPtr> _endpoints;
1834
+ const GetConnectionCallbackPtr _callback;
1835
+ size_t _i;
1836
+ IceInternal::UniquePtr<Ice::LocalException> _exception;
1837
+ };
1838
+
1839
+ //
1840
+ // Go through the list of endpoints and try to create the
1841
+ // connection until it succeeds. This is different from just
1842
+ // calling create() with the given endpoints since this might
1843
+ // create a new connection even if there's an existing
1844
+ // connection for one of the endpoints.
1845
+ //
1846
+
1847
+ vector<EndpointIPtr> endpt;
1848
+ endpt.push_back(endpoints[0]);
1849
+ RoutableReference* self = const_cast<RoutableReference*>(this);
1850
+ factory->create(endpt, true, getEndpointSelection(), new CB2(self, endpoints, callback));
1851
+ return;
1852
+ }
1853
+ }
1854
+
1855
+ void
1856
+ IceInternal::RoutableReference::applyOverrides(vector<EndpointIPtr>& endpoints) const
1857
+ {
1858
+ for(vector<EndpointIPtr>::iterator p = endpoints.begin(); p != endpoints.end(); ++p)
1859
+ {
1860
+ *p = (*p)->connectionId(_connectionId);
1861
+ if(_overrideCompress)
1862
+ {
1863
+ *p = (*p)->compress(_compress);
1864
+ }
1865
+ if(_overrideTimeout)
1866
+ {
1867
+ *p = (*p)->timeout(_timeout);
1868
+ }
1869
+ }
1870
+ }
1871
+
1872
+ IceInternal::RoutableReference::RoutableReference(const RoutableReference& r) :
1873
+ Reference(r),
1874
+ _endpoints(r._endpoints),
1875
+ _adapterId(r._adapterId),
1876
+ _locatorInfo(r._locatorInfo),
1877
+ _routerInfo(r._routerInfo),
1878
+ _collocationOptimized(r._collocationOptimized),
1879
+ _cacheConnection(r._cacheConnection),
1880
+ _preferSecure(r._preferSecure),
1881
+ _endpointSelection(r._endpointSelection),
1882
+ _locatorCacheTimeout(r._locatorCacheTimeout),
1883
+ _overrideTimeout(r._overrideTimeout),
1884
+ _timeout(r._timeout),
1885
+ _connectionId(r._connectionId)
1886
+ {
1887
+ }
1888
+
1889
+ namespace
1890
+ {
1891
+
1892
+ #ifndef ICE_CPP11_COMPILER
1893
+ struct EndpointIsOpaque : public unary_function<EndpointIPtr, bool>
1894
+ {
1895
+ public:
1896
+
1897
+ bool
1898
+ operator()(EndpointIPtr p) const
1899
+ {
1900
+ return dynamic_cast<OpaqueEndpointI*>(p.get()) != 0;
1901
+ }
1902
+ };
1903
+ #endif
1904
+
1905
+ }
1906
+
1907
+ vector<EndpointIPtr>
1908
+ IceInternal::RoutableReference::filterEndpoints(const vector<EndpointIPtr>& allEndpoints) const
1909
+ {
1910
+ vector<EndpointIPtr> endpoints = allEndpoints;
1911
+
1912
+ //
1913
+ // Filter out unknown endpoints.
1914
+ //
1915
+ #ifdef ICE_CPP11_COMPILER
1916
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(),
1917
+ [](const EndpointIPtr& p)
1918
+ {
1919
+ return dynamic_cast<OpaqueEndpointI*>(p.get()) != 0;
1920
+ }),
1921
+ endpoints.end());
1922
+ #else
1923
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(), EndpointIsOpaque()), endpoints.end());
1924
+ #endif
1925
+ //
1926
+ // Filter out endpoints according to the mode of the reference.
1927
+ //
1928
+ switch(getMode())
1929
+ {
1930
+ case Reference::ModeTwoway:
1931
+ case Reference::ModeOneway:
1932
+ case Reference::ModeBatchOneway:
1933
+ {
1934
+ //
1935
+ // Filter out datagram endpoints.
1936
+ //
1937
+ #ifdef ICE_CPP11_COMPILER
1938
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(),
1939
+ [](const EndpointIPtr& p)
1940
+ {
1941
+ return p->datagram();
1942
+ }),
1943
+ endpoints.end());
1944
+ #else
1945
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(), Ice::constMemFun(&EndpointI::datagram)),
1946
+ endpoints.end());
1947
+ #endif
1948
+ break;
1949
+ }
1950
+
1951
+ case Reference::ModeDatagram:
1952
+ case Reference::ModeBatchDatagram:
1953
+ {
1954
+ //
1955
+ // Filter out non-datagram endpoints.
1956
+ //
1957
+ #ifdef ICE_CPP11_COMPILER
1958
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(),
1959
+ [](const EndpointIPtr& p)
1960
+ {
1961
+ return !p->datagram();
1962
+ }),
1963
+ endpoints.end());
1964
+ #else
1965
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(),
1966
+ not1(Ice::constMemFun(&EndpointI::datagram))),
1967
+ endpoints.end());
1968
+ #endif
1969
+ break;
1970
+ }
1971
+ }
1972
+
1973
+ //
1974
+ // Sort the endpoints according to the endpoint selection type.
1975
+ //
1976
+ switch(getEndpointSelection())
1977
+ {
1978
+ case ICE_ENUM(EndpointSelectionType, Random):
1979
+ {
1980
+ IceUtilInternal::shuffle(endpoints.begin(), endpoints.end());
1981
+ break;
1982
+ }
1983
+ case ICE_ENUM(EndpointSelectionType, Ordered):
1984
+ {
1985
+ // Nothing to do.
1986
+ break;
1987
+ }
1988
+ default:
1989
+ {
1990
+ assert(false);
1991
+ break;
1992
+ }
1993
+ }
1994
+
1995
+ //
1996
+ // If a secure connection is requested or secure overrides is set,
1997
+ // remove all non-secure endpoints. Otherwise if preferSecure is set
1998
+ // make secure endpoints prefered. By default make non-secure
1999
+ // endpoints preferred over secure endpoints.
2000
+ //
2001
+ DefaultsAndOverridesPtr overrides = getInstance()->defaultsAndOverrides();
2002
+ if(overrides->overrideSecure ? overrides->overrideSecureValue : getSecure())
2003
+ {
2004
+ #ifdef ICE_CPP11_COMPILER
2005
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(),
2006
+ [](const EndpointIPtr& p)
2007
+ {
2008
+ return !p->secure();
2009
+ }),
2010
+ endpoints.end());
2011
+ #else
2012
+ endpoints.erase(remove_if(endpoints.begin(), endpoints.end(), not1(Ice::constMemFun(&EndpointI::secure))),
2013
+ endpoints.end());
2014
+ #endif
2015
+ }
2016
+ else if(getPreferSecure())
2017
+ {
2018
+ //
2019
+ // We must use stable_partition() instead of just simply
2020
+ // partition(), because otherwise some STL implementations
2021
+ // order our now randomized endpoints.
2022
+ //
2023
+ #ifdef ICE_CPP11_COMPILER
2024
+ stable_partition(endpoints.begin(), endpoints.end(),
2025
+ [](const EndpointIPtr& p)
2026
+ {
2027
+ return p->secure();
2028
+ });
2029
+ #else
2030
+ stable_partition(endpoints.begin(), endpoints.end(), Ice::constMemFun(&EndpointI::secure));
2031
+ #endif
2032
+ }
2033
+ else
2034
+ {
2035
+ //
2036
+ // We must use stable_partition() instead of just simply
2037
+ // partition(), because otherwise some STL implementations
2038
+ // order our now randomized endpoints.
2039
+ //
2040
+ #ifdef ICE_CPP11_COMPILER
2041
+ stable_partition(endpoints.begin(), endpoints.end(),
2042
+ [](const EndpointIPtr& p)
2043
+ {
2044
+ return !p->secure();
2045
+ });
2046
+ #else
2047
+ stable_partition(endpoints.begin(), endpoints.end(), not1(Ice::constMemFun(&EndpointI::secure)));
2048
+ #endif
2049
+ }
2050
+
2051
+ return endpoints;
2052
+ }