zeroc-ice 3.7.10.1__cp312-cp312-win_amd64.whl → 3.8.0__cp312-cp312-win_amd64.whl

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 (453) hide show
  1. Glacier2/CannotCreateSessionException.py +40 -0
  2. Glacier2/IdentitySet.py +293 -0
  3. Glacier2/IdentitySet_forward.py +10 -0
  4. Glacier2/PermissionDeniedException.py +40 -0
  5. Glacier2/PermissionsVerifier.py +189 -0
  6. Glacier2/PermissionsVerifier_forward.py +10 -0
  7. Glacier2/Router.py +661 -0
  8. Glacier2/Router_forward.py +10 -0
  9. Glacier2/SSLInfo.py +62 -0
  10. Glacier2/SSLPermissionsVerifier.py +186 -0
  11. Glacier2/SSLPermissionsVerifier_forward.py +10 -0
  12. Glacier2/SSLSessionManager.py +192 -0
  13. Glacier2/SSLSessionManager_forward.py +10 -0
  14. Glacier2/Session.py +161 -0
  15. Glacier2/SessionControl.py +407 -0
  16. Glacier2/SessionControl_forward.py +10 -0
  17. Glacier2/SessionManager.py +189 -0
  18. Glacier2/SessionManager_forward.py +10 -0
  19. Glacier2/SessionNotExistException.py +39 -0
  20. Glacier2/Session_forward.py +10 -0
  21. Glacier2/StringSet.py +289 -0
  22. Glacier2/StringSet_forward.py +10 -0
  23. Glacier2/__init__.py +79 -226
  24. Glacier2/py.typed +0 -0
  25. Ice/AdapterAlreadyActiveException.py +35 -0
  26. Ice/AdapterNotFoundException.py +35 -0
  27. Ice/BTEndpointType.py +11 -0
  28. Ice/BTSEndpointType.py +11 -0
  29. Ice/Blobject.py +42 -0
  30. Ice/BoolSeq.py +10 -0
  31. Ice/Builtin.py +11 -0
  32. Ice/ByteSeq.py +10 -0
  33. Ice/Communicator.py +621 -0
  34. Ice/CompressBatch.py +25 -0
  35. Ice/Context.py +10 -0
  36. Ice/Current.py +48 -0
  37. Ice/Dispatch.py +122 -0
  38. Ice/DoubleSeq.py +10 -0
  39. Ice/EncodingVersion.py +41 -0
  40. Ice/EndpointSelectionType.py +22 -0
  41. Ice/EventLoopAdapter.py +52 -0
  42. Ice/Exception.py +29 -0
  43. Ice/FloatSeq.py +10 -0
  44. Ice/FormatType.py +15 -0
  45. Ice/Future.py +375 -0
  46. Ice/IcePyTypes.py +47 -0
  47. Ice/Identity.py +40 -0
  48. Ice/IdentitySeq.py +12 -0
  49. Ice/ImplicitContext.py +126 -0
  50. Ice/InitializationData.py +64 -0
  51. Ice/IntSeq.py +10 -0
  52. Ice/InvalidReplicaGroupIdException.py +34 -0
  53. Ice/InvocationFuture.py +158 -0
  54. Ice/LocalException.py +12 -0
  55. Ice/LocalExceptions.py +546 -0
  56. Ice/Locator.py +332 -0
  57. Ice/LocatorFinder.py +163 -0
  58. Ice/LocatorFinder_forward.py +10 -0
  59. Ice/LocatorRegistry.py +387 -0
  60. Ice/LocatorRegistry_forward.py +10 -0
  61. Ice/Locator_forward.py +10 -0
  62. Ice/LogMessage.py +51 -0
  63. Ice/LogMessageSeq.py +12 -0
  64. Ice/LogMessageType.py +50 -0
  65. Ice/LogMessageTypeSeq.py +12 -0
  66. Ice/Logger.py +100 -0
  67. Ice/LoggerAdmin.py +380 -0
  68. Ice/LoggerAdmin_forward.py +10 -0
  69. Ice/LongSeq.py +10 -0
  70. Ice/Object.py +145 -0
  71. Ice/ObjectAdapter.py +588 -0
  72. Ice/ObjectNotFoundException.py +35 -0
  73. Ice/ObjectProxySeq.py +12 -0
  74. Ice/ObjectPrx.py +940 -0
  75. Ice/ObjectPrx_forward.py +7 -0
  76. Ice/ObjectSeq.py +12 -0
  77. Ice/OperationMode.py +47 -0
  78. Ice/Process.py +217 -0
  79. Ice/ProcessLogger.py +25 -0
  80. Ice/Process_forward.py +10 -0
  81. Ice/Properties.py +387 -0
  82. Ice/PropertiesAdmin.py +302 -0
  83. Ice/PropertiesAdmin_forward.py +10 -0
  84. Ice/PropertyDict.py +10 -0
  85. Ice/ProtocolVersion.py +39 -0
  86. Ice/Proxy.py +63 -0
  87. Ice/RemoteLogger.py +238 -0
  88. Ice/RemoteLoggerAlreadyAttachedException.py +34 -0
  89. Ice/RemoteLogger_forward.py +10 -0
  90. Ice/ReplyStatus.py +84 -0
  91. Ice/Router.py +322 -0
  92. Ice/RouterFinder.py +163 -0
  93. Ice/RouterFinder_forward.py +10 -0
  94. Ice/Router_forward.py +10 -0
  95. Ice/SSLEndpointType.py +11 -0
  96. Ice/ServantLocator.py +93 -0
  97. Ice/ServerNotFoundException.py +34 -0
  98. Ice/ShortSeq.py +10 -0
  99. Ice/SliceChecksumDict.py +10 -0
  100. Ice/SliceInfo.py +22 -0
  101. Ice/SlicedData.py +14 -0
  102. Ice/StringSeq.py +10 -0
  103. Ice/TCPEndpointType.py +11 -0
  104. Ice/ToStringMode.py +34 -0
  105. Ice/UDPEndpointType.py +11 -0
  106. Ice/URIEndpointType.py +11 -0
  107. Ice/UnknownSlicedValue.py +31 -0
  108. Ice/UserException.py +18 -0
  109. Ice/Util.py +170 -0
  110. Ice/Value.py +59 -0
  111. Ice/Value_forward.py +7 -0
  112. Ice/WSEndpointType.py +11 -0
  113. Ice/WSSEndpointType.py +11 -0
  114. Ice/_ArrayUtil.py +51 -0
  115. Ice/_LoggerI.py +32 -0
  116. Ice/__init__.py +367 -2008
  117. Ice/asyncio/EventLoopAdapter.py +31 -0
  118. Ice/asyncio/__init__.py +5 -0
  119. Ice/iAPEndpointType.py +11 -0
  120. Ice/iAPSEndpointType.py +11 -0
  121. Ice/py.typed +0 -0
  122. IceBox/AlreadyStartedException.py +34 -0
  123. IceBox/AlreadyStoppedException.py +34 -0
  124. IceBox/NoSuchServiceException.py +34 -0
  125. IceBox/ServiceManager.py +447 -0
  126. IceBox/ServiceManager_forward.py +10 -0
  127. IceBox/ServiceObserver.py +229 -0
  128. IceBox/ServiceObserver_forward.py +10 -0
  129. IceBox/__init__.py +33 -10
  130. IceBox/py.typed +0 -0
  131. IceGrid/AccessDeniedException.py +40 -0
  132. IceGrid/AdapterDescriptor.py +77 -0
  133. IceGrid/AdapterDescriptorSeq.py +12 -0
  134. IceGrid/AdapterDynamicInfo.py +46 -0
  135. IceGrid/AdapterDynamicInfoSeq.py +12 -0
  136. IceGrid/AdapterInfo.py +50 -0
  137. IceGrid/AdapterInfoSeq.py +12 -0
  138. IceGrid/AdapterNotExistException.py +40 -0
  139. IceGrid/AdapterObserver.py +338 -0
  140. IceGrid/AdapterObserver_forward.py +10 -0
  141. IceGrid/AdaptiveLoadBalancingPolicy.py +48 -0
  142. IceGrid/AdaptiveLoadBalancingPolicy_forward.py +10 -0
  143. IceGrid/Admin.py +3662 -0
  144. IceGrid/AdminSession.py +1406 -0
  145. IceGrid/AdminSession_forward.py +10 -0
  146. IceGrid/Admin_forward.py +10 -0
  147. IceGrid/AllocationException.py +40 -0
  148. IceGrid/AllocationTimeoutException.py +35 -0
  149. IceGrid/ApplicationDescriptor.py +89 -0
  150. IceGrid/ApplicationDescriptorSeq.py +12 -0
  151. IceGrid/ApplicationInfo.py +63 -0
  152. IceGrid/ApplicationInfoSeq.py +12 -0
  153. IceGrid/ApplicationNotExistException.py +40 -0
  154. IceGrid/ApplicationObserver.py +374 -0
  155. IceGrid/ApplicationObserver_forward.py +10 -0
  156. IceGrid/ApplicationUpdateDescriptor.py +118 -0
  157. IceGrid/ApplicationUpdateInfo.py +51 -0
  158. IceGrid/BadSignalException.py +40 -0
  159. IceGrid/BoxedDistributionDescriptor.py +49 -0
  160. IceGrid/BoxedDistributionDescriptor_forward.py +10 -0
  161. IceGrid/BoxedString.py +45 -0
  162. IceGrid/BoxedString_forward.py +10 -0
  163. IceGrid/CommunicatorDescriptor.py +79 -0
  164. IceGrid/CommunicatorDescriptor_forward.py +10 -0
  165. IceGrid/DbEnvDescriptor.py +55 -0
  166. IceGrid/DbEnvDescriptorSeq.py +12 -0
  167. IceGrid/DeploymentException.py +40 -0
  168. IceGrid/DistributionDescriptor.py +42 -0
  169. IceGrid/FileIterator.py +246 -0
  170. IceGrid/FileIterator_forward.py +10 -0
  171. IceGrid/FileNotAvailableException.py +49 -0
  172. IceGrid/FileParser.py +182 -0
  173. IceGrid/FileParser_forward.py +10 -0
  174. IceGrid/IceBoxDescriptor.py +55 -0
  175. IceGrid/IceBoxDescriptor_forward.py +10 -0
  176. IceGrid/LoadBalancingPolicy.py +45 -0
  177. IceGrid/LoadBalancingPolicy_forward.py +10 -0
  178. IceGrid/LoadInfo.py +43 -0
  179. IceGrid/LoadSample.py +45 -0
  180. IceGrid/Locator.py +232 -0
  181. IceGrid/Locator_forward.py +10 -0
  182. IceGrid/NodeDescriptor.py +71 -0
  183. IceGrid/NodeDescriptorDict.py +12 -0
  184. IceGrid/NodeDynamicInfo.py +57 -0
  185. IceGrid/NodeDynamicInfoSeq.py +12 -0
  186. IceGrid/NodeInfo.py +64 -0
  187. IceGrid/NodeNotExistException.py +40 -0
  188. IceGrid/NodeObserver.py +424 -0
  189. IceGrid/NodeObserver_forward.py +10 -0
  190. IceGrid/NodeUnreachableException.py +46 -0
  191. IceGrid/NodeUpdateDescriptor.py +92 -0
  192. IceGrid/NodeUpdateDescriptorSeq.py +12 -0
  193. IceGrid/ObjectDescriptor.py +48 -0
  194. IceGrid/ObjectDescriptorSeq.py +12 -0
  195. IceGrid/ObjectExistsException.py +44 -0
  196. IceGrid/ObjectInfo.py +46 -0
  197. IceGrid/ObjectInfoSeq.py +12 -0
  198. IceGrid/ObjectNotRegisteredException.py +44 -0
  199. IceGrid/ObjectObserver.py +347 -0
  200. IceGrid/ObjectObserver_forward.py +10 -0
  201. IceGrid/ObserverAlreadyRegisteredException.py +49 -0
  202. IceGrid/OrderedLoadBalancingPolicy.py +41 -0
  203. IceGrid/OrderedLoadBalancingPolicy_forward.py +10 -0
  204. IceGrid/ParseException.py +40 -0
  205. IceGrid/PermissionDeniedException.py +40 -0
  206. IceGrid/PropertyDescriptor.py +39 -0
  207. IceGrid/PropertyDescriptorSeq.py +12 -0
  208. IceGrid/PropertySetDescriptor.py +49 -0
  209. IceGrid/PropertySetDescriptorDict.py +12 -0
  210. IceGrid/Query.py +451 -0
  211. IceGrid/Query_forward.py +10 -0
  212. IceGrid/RandomLoadBalancingPolicy.py +41 -0
  213. IceGrid/RandomLoadBalancingPolicy_forward.py +10 -0
  214. IceGrid/Registry.py +477 -0
  215. IceGrid/RegistryInfo.py +39 -0
  216. IceGrid/RegistryInfoSeq.py +12 -0
  217. IceGrid/RegistryNotExistException.py +40 -0
  218. IceGrid/RegistryObserver.py +282 -0
  219. IceGrid/RegistryObserver_forward.py +10 -0
  220. IceGrid/RegistryUnreachableException.py +46 -0
  221. IceGrid/Registry_forward.py +10 -0
  222. IceGrid/ReplicaGroupDescriptor.py +66 -0
  223. IceGrid/ReplicaGroupDescriptorSeq.py +12 -0
  224. IceGrid/RoundRobinLoadBalancingPolicy.py +41 -0
  225. IceGrid/RoundRobinLoadBalancingPolicy_forward.py +10 -0
  226. IceGrid/ServerDescriptor.py +107 -0
  227. IceGrid/ServerDescriptorSeq.py +12 -0
  228. IceGrid/ServerDescriptor_forward.py +10 -0
  229. IceGrid/ServerDynamicInfo.py +50 -0
  230. IceGrid/ServerDynamicInfoSeq.py +12 -0
  231. IceGrid/ServerInfo.py +62 -0
  232. IceGrid/ServerInstanceDescriptor.py +58 -0
  233. IceGrid/ServerInstanceDescriptorSeq.py +12 -0
  234. IceGrid/ServerNotExistException.py +40 -0
  235. IceGrid/ServerStartException.py +46 -0
  236. IceGrid/ServerState.py +66 -0
  237. IceGrid/ServerStopException.py +46 -0
  238. IceGrid/ServiceDescriptor.py +53 -0
  239. IceGrid/ServiceDescriptorSeq.py +12 -0
  240. IceGrid/ServiceDescriptor_forward.py +10 -0
  241. IceGrid/ServiceInstanceDescriptor.py +60 -0
  242. IceGrid/ServiceInstanceDescriptorSeq.py +12 -0
  243. IceGrid/Session.py +498 -0
  244. IceGrid/Session_forward.py +10 -0
  245. IceGrid/StringObjectProxyDict.py +12 -0
  246. IceGrid/StringStringDict.py +10 -0
  247. IceGrid/TemplateDescriptor.py +55 -0
  248. IceGrid/TemplateDescriptorDict.py +12 -0
  249. IceGrid/UserAccountMapper.py +178 -0
  250. IceGrid/UserAccountMapper_forward.py +10 -0
  251. IceGrid/UserAccountNotFoundException.py +34 -0
  252. IceGrid/__init__.py +375 -17
  253. IceGrid/py.typed +0 -0
  254. IceMX/ChildInvocationMetrics.py +56 -0
  255. IceMX/ChildInvocationMetrics_forward.py +10 -0
  256. IceMX/CollocatedMetrics.py +42 -0
  257. IceMX/CollocatedMetrics_forward.py +10 -0
  258. IceMX/ConnectionMetrics.py +53 -0
  259. IceMX/ConnectionMetrics_forward.py +10 -0
  260. IceMX/DispatchMetrics.py +57 -0
  261. IceMX/DispatchMetrics_forward.py +10 -0
  262. IceMX/InvocationMetrics.py +66 -0
  263. IceMX/InvocationMetrics_forward.py +10 -0
  264. IceMX/Metrics.py +66 -0
  265. IceMX/MetricsAdmin.py +586 -0
  266. IceMX/MetricsAdmin_forward.py +10 -0
  267. IceMX/MetricsFailures.py +42 -0
  268. IceMX/MetricsFailuresSeq.py +12 -0
  269. IceMX/MetricsMap.py +12 -0
  270. IceMX/MetricsView.py +12 -0
  271. IceMX/Metrics_forward.py +10 -0
  272. IceMX/RemoteMetrics.py +42 -0
  273. IceMX/RemoteMetrics_forward.py +10 -0
  274. IceMX/SessionMetrics.py +73 -0
  275. IceMX/SessionMetrics_forward.py +10 -0
  276. IceMX/StringIntDict.py +10 -0
  277. IceMX/SubscriberMetrics.py +57 -0
  278. IceMX/SubscriberMetrics_forward.py +10 -0
  279. IceMX/ThreadMetrics.py +59 -0
  280. IceMX/ThreadMetrics_forward.py +10 -0
  281. IceMX/TopicMetrics.py +53 -0
  282. IceMX/TopicMetrics_forward.py +10 -0
  283. IceMX/UnknownMetricsView.py +34 -0
  284. IceMX/__init__.py +75 -12
  285. IceMX/py.typed +0 -0
  286. IcePy-stubs/__init__.pyi +740 -0
  287. IcePy.cp312-win_amd64.pdb +0 -0
  288. IcePy.cp312-win_amd64.pyd +0 -0
  289. IceStorm/AlreadySubscribed.py +34 -0
  290. IceStorm/BadQoS.py +40 -0
  291. IceStorm/Finder.py +163 -0
  292. IceStorm/Finder_forward.py +10 -0
  293. IceStorm/LinkExists.py +40 -0
  294. IceStorm/LinkInfo.py +50 -0
  295. IceStorm/LinkInfoSeq.py +12 -0
  296. IceStorm/NoSuchLink.py +40 -0
  297. IceStorm/NoSuchTopic.py +40 -0
  298. IceStorm/QoS.py +10 -0
  299. IceStorm/Topic.py +825 -0
  300. IceStorm/TopicDict.py +12 -0
  301. IceStorm/TopicExists.py +40 -0
  302. IceStorm/TopicManager.py +394 -0
  303. IceStorm/TopicManager_forward.py +10 -0
  304. IceStorm/Topic_forward.py +10 -0
  305. IceStorm/__init__.py +61 -10
  306. IceStorm/py.typed +0 -0
  307. slice/DataStorm/SampleEvent.ice +29 -0
  308. slice/Glacier2/Metrics.ice +47 -88
  309. slice/Glacier2/PermissionsVerifier.ice +55 -111
  310. slice/Glacier2/Router.ice +93 -186
  311. slice/Glacier2/SSLInfo.ice +42 -59
  312. slice/Glacier2/Session.ice +133 -274
  313. slice/Ice/BuiltinSequences.ice +54 -59
  314. slice/Ice/Context.ice +24 -0
  315. slice/Ice/EndpointTypes.ice +50 -48
  316. slice/Ice/Identity.ice +36 -75
  317. slice/Ice/Locator.ice +74 -239
  318. slice/Ice/LocatorRegistry.ice +77 -0
  319. slice/Ice/Metrics.ice +201 -436
  320. slice/Ice/OperationMode.ice +38 -0
  321. slice/Ice/Process.ice +28 -64
  322. slice/Ice/PropertiesAdmin.ice +37 -87
  323. slice/Ice/PropertyDict.ice +23 -0
  324. slice/Ice/RemoteLogger.ice +126 -226
  325. slice/Ice/ReplyStatus.ice +65 -0
  326. slice/Ice/Router.ice +54 -103
  327. slice/Ice/SliceChecksumDict.ice +18 -36
  328. slice/Ice/Version.ice +43 -51
  329. slice/IceBox/ServiceManager.ice +79 -0
  330. slice/IceGrid/Admin.ice +981 -1957
  331. slice/IceGrid/Descriptor.ice +519 -1094
  332. slice/IceGrid/Exception.ice +98 -396
  333. slice/IceGrid/FileParser.ice +36 -72
  334. slice/IceGrid/Registry.ice +130 -269
  335. slice/IceGrid/Session.ice +64 -128
  336. slice/IceGrid/UserAccountMapper.ice +34 -69
  337. slice/IceStorm/IceStorm.ice +186 -414
  338. slice/IceStorm/Metrics.ice +41 -83
  339. slice2py.py +20 -21
  340. zeroc_ice-3.8.0.dist-info/METADATA +106 -0
  341. zeroc_ice-3.8.0.dist-info/RECORD +344 -0
  342. {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.dist-info}/WHEEL +1 -1
  343. {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.dist-info}/top_level.txt +1 -1
  344. Glacier2/Metrics_ice.py +0 -82
  345. Glacier2/PermissionsVerifierF_ice.py +0 -32
  346. Glacier2/PermissionsVerifier_ice.py +0 -284
  347. Glacier2/RouterF_ice.py +0 -28
  348. Glacier2/Router_ice.py +0 -618
  349. Glacier2/SSLInfo_ice.py +0 -179
  350. Glacier2/Session_ice.py +0 -1103
  351. Ice/BuiltinSequences_ice.py +0 -65
  352. Ice/CommunicatorF_ice.py +0 -27
  353. Ice/Communicator_ice.py +0 -469
  354. Ice/ConnectionF_ice.py +0 -33
  355. Ice/Connection_ice.py +0 -680
  356. Ice/Current_ice.py +0 -175
  357. Ice/EndpointF_ice.py +0 -45
  358. Ice/EndpointTypes_ice.py +0 -54
  359. Ice/Endpoint_ice.py +0 -304
  360. Ice/FacetMap_ice.py +0 -27
  361. Ice/Identity_ice.py +0 -133
  362. Ice/ImplicitContextF_ice.py +0 -27
  363. Ice/ImplicitContext_ice.py +0 -119
  364. Ice/InstrumentationF_ice.py +0 -38
  365. Ice/Instrumentation_ice.py +0 -566
  366. Ice/LocalException_ice.py +0 -1715
  367. Ice/LocatorF_ice.py +0 -32
  368. Ice/Locator_ice.py +0 -728
  369. Ice/LoggerF_ice.py +0 -27
  370. Ice/Logger_ice.py +0 -96
  371. Ice/Metrics_ice.py +0 -864
  372. Ice/ObjectAdapterF_ice.py +0 -27
  373. Ice/ObjectAdapter_ice.py +0 -461
  374. Ice/ObjectFactory_ice.py +0 -68
  375. Ice/PluginF_ice.py +0 -30
  376. Ice/Plugin_ice.py +0 -136
  377. Ice/ProcessF_ice.py +0 -28
  378. Ice/Process_ice.py +0 -175
  379. Ice/PropertiesAdmin_ice.py +0 -247
  380. Ice/PropertiesF_ice.py +0 -31
  381. Ice/Properties_ice.py +0 -199
  382. Ice/Py3/IceFuture.py +0 -52
  383. Ice/Py3/__init__.py +0 -3
  384. Ice/RemoteLogger_ice.py +0 -617
  385. Ice/RouterF_ice.py +0 -28
  386. Ice/Router_ice.py +0 -350
  387. Ice/ServantLocatorF_ice.py +0 -27
  388. Ice/ServantLocator_ice.py +0 -110
  389. Ice/SliceChecksumDict_ice.py +0 -29
  390. Ice/ValueFactory_ice.py +0 -125
  391. Ice/Version_ice.py +0 -217
  392. IceBox/IceBox_ice.py +0 -644
  393. IceGrid/Admin_ice.py +0 -6662
  394. IceGrid/Descriptor_ice.py +0 -1795
  395. IceGrid/Exception_ice.py +0 -592
  396. IceGrid/FileParser_ice.py +0 -171
  397. IceGrid/PluginFacade_ice.py +0 -288
  398. IceGrid/Registry_ice.py +0 -985
  399. IceGrid/Session_ice.py +0 -406
  400. IceGrid/UserAccountMapper_ice.py +0 -166
  401. IcePatch2/FileInfo_ice.py +0 -287
  402. IcePatch2/FileServer_ice.py +0 -555
  403. IcePatch2/__init__.py +0 -11
  404. IceStorm/IceStorm_ice.py +0 -1265
  405. IceStorm/Metrics_ice.py +0 -106
  406. slice/Glacier2/PermissionsVerifierF.ice +0 -30
  407. slice/Glacier2/RouterF.ice +0 -29
  408. slice/Ice/Communicator.ice +0 -676
  409. slice/Ice/CommunicatorF.ice +0 -31
  410. slice/Ice/Connection.ice +0 -516
  411. slice/Ice/ConnectionF.ice +0 -33
  412. slice/Ice/Current.ice +0 -170
  413. slice/Ice/Endpoint.ice +0 -291
  414. slice/Ice/EndpointF.ice +0 -43
  415. slice/Ice/FacetMap.ice +0 -36
  416. slice/Ice/ImplicitContext.ice +0 -119
  417. slice/Ice/ImplicitContextF.ice +0 -30
  418. slice/Ice/Instrumentation.ice +0 -509
  419. slice/Ice/InstrumentationF.ice +0 -38
  420. slice/Ice/LocalException.ice +0 -1040
  421. slice/Ice/LocatorF.ice +0 -32
  422. slice/Ice/Logger.ice +0 -99
  423. slice/Ice/LoggerF.ice +0 -31
  424. slice/Ice/ObjectAdapter.ice +0 -710
  425. slice/Ice/ObjectAdapterF.ice +0 -31
  426. slice/Ice/ObjectFactory.ice +0 -71
  427. slice/Ice/Plugin.ice +0 -131
  428. slice/Ice/PluginF.ice +0 -36
  429. slice/Ice/ProcessF.ice +0 -31
  430. slice/Ice/Properties.ice +0 -244
  431. slice/Ice/PropertiesF.ice +0 -32
  432. slice/Ice/RouterF.ice +0 -31
  433. slice/Ice/ServantLocator.ice +0 -136
  434. slice/Ice/ServantLocatorF.ice +0 -31
  435. slice/Ice/ValueFactory.ice +0 -133
  436. slice/IceBT/ConnectionInfo.ice +0 -59
  437. slice/IceBT/EndpointInfo.ice +0 -57
  438. slice/IceBT/Types.ice +0 -45
  439. slice/IceBox/IceBox.ice +0 -216
  440. slice/IceDiscovery/IceDiscovery.ice +0 -98
  441. slice/IceGrid/PluginFacade.ice +0 -329
  442. slice/IceIAP/ConnectionInfo.ice +0 -74
  443. slice/IceIAP/EndpointInfo.ice +0 -68
  444. slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  445. slice/IcePatch2/FileInfo.ice +0 -85
  446. slice/IcePatch2/FileServer.ice +0 -191
  447. slice/IceSSL/ConnectionInfo.ice +0 -54
  448. slice/IceSSL/ConnectionInfoF.ice +0 -31
  449. slice/IceSSL/EndpointInfo.ice +0 -45
  450. zeroc_ice-3.7.10.1.dist-info/LICENSE +0 -340
  451. zeroc_ice-3.7.10.1.dist-info/METADATA +0 -97
  452. zeroc_ice-3.7.10.1.dist-info/RECORD +0 -145
  453. {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.dist-info}/entry_points.txt +0 -0
@@ -1,1094 +1,519 @@
1
- //
2
- // Copyright (c) ZeroC, Inc. All rights reserved.
3
- //
4
-
5
- #pragma once
6
-
7
- [["cpp:doxygen:include:IceGrid/IceGrid.h"]]
8
- [["cpp:header-ext:h"]]
9
- [["cpp:include:IceGrid/Config.h"]]
10
-
11
- [["ice-prefix"]]
12
-
13
- [["js:module:ice"]]
14
- [["js:cjs-module"]]
15
-
16
- [["objc:header-dir:objc"]]
17
-
18
- [["python:pkgdir:IceGrid"]]
19
-
20
- #ifndef ICE_BUILDING_ICEGRIDDB
21
- [["cpp:dll-export:ICEGRID_API"]]
22
-
23
- [["objc:dll-export:ICEGRID_API"]]
24
- #endif
25
-
26
- #include <Ice/Identity.ice>
27
- #include <Ice/BuiltinSequences.ice>
28
-
29
- #ifndef __SLICE2JAVA_COMPAT__
30
- [["java:package:com.zeroc"]]
31
- #endif
32
-
33
- ["objc:prefix:ICEGRID"]
34
- module IceGrid
35
- {
36
-
37
- /**
38
- *
39
- * A mapping of string to string.
40
- *
41
- **/
42
- dictionary<string, string> StringStringDict;
43
-
44
- /**
45
- *
46
- * Property descriptor.
47
- *
48
- **/
49
- struct PropertyDescriptor
50
- {
51
- /**
52
- *
53
- * The name of the property.
54
- *
55
- **/
56
- string name;
57
-
58
- /**
59
- *
60
- * The value of the property.
61
- *
62
- **/
63
- string value;
64
- }
65
-
66
- /**
67
- *
68
- * A sequence of property descriptors.
69
- *
70
- **/
71
- ["java:type:java.util.LinkedList<PropertyDescriptor>"] sequence<PropertyDescriptor> PropertyDescriptorSeq;
72
-
73
- /**
74
- *
75
- * A property set descriptor.
76
- *
77
- **/
78
- ["cpp:comparable"]
79
- struct PropertySetDescriptor
80
- {
81
- /**
82
- *
83
- * References to named property sets.
84
- *
85
- **/
86
- Ice::StringSeq references;
87
-
88
- /**
89
- *
90
- * The property set properties.
91
- *
92
- **/
93
- PropertyDescriptorSeq properties;
94
- }
95
-
96
- /**
97
- *
98
- * A mapping of property set name to property set descriptor.
99
- *
100
- **/
101
- dictionary<string, PropertySetDescriptor> PropertySetDescriptorDict;
102
-
103
- /**
104
- *
105
- * An Ice object descriptor.
106
- *
107
- **/
108
- struct ObjectDescriptor
109
- {
110
- /**
111
- *
112
- * The identity of the object.
113
- *
114
- **/
115
- Ice::Identity id;
116
-
117
- /**
118
- *
119
- * The object type.
120
- *
121
- **/
122
- string type;
123
-
124
- /**
125
- *
126
- * Proxy options to use with the proxy created for this Ice object. If empty,
127
- * the proxy will be created with the proxy options specified on the object
128
- * adapter or replica group.
129
- *
130
- **/
131
- string proxyOptions;
132
- }
133
-
134
- /**
135
- *
136
- * A sequence of object descriptors.
137
- *
138
- **/
139
- ["java:type:java.util.LinkedList<ObjectDescriptor>"] sequence<ObjectDescriptor> ObjectDescriptorSeq;
140
-
141
- /**
142
- *
143
- * An Ice object adapter descriptor.
144
- *
145
- **/
146
- ["cpp:comparable"]
147
- struct AdapterDescriptor
148
- {
149
- /**
150
- *
151
- * The object adapter name.
152
- *
153
- **/
154
- string name;
155
-
156
- /**
157
- *
158
- * The description of this object adapter.
159
- *
160
- **/
161
- string description;
162
-
163
- /**
164
- *
165
- * The object adapter id.
166
- *
167
- **/
168
- string id;
169
-
170
- /**
171
- *
172
- * The replica id of this adapter.
173
- *
174
- **/
175
- string replicaGroupId;
176
-
177
- /**
178
- *
179
- * The adapter priority. This is eventually used when the adapter
180
- * is member of a replica group to sort the adapter endpoints by
181
- * priority.
182
- *
183
- **/
184
- string priority;
185
-
186
- /**
187
- *
188
- * Flag to specify if the object adapter will register a process object.
189
- *
190
- **/
191
- bool registerProcess;
192
-
193
- /**
194
- *
195
- * If true the lifetime of this object adapter is the same of the
196
- * server lifetime. This information is used by the IceGrid node
197
- * to figure out the server state: the server is active only if
198
- * all its "server lifetime" adapters are active.
199
- *
200
- **/
201
- bool serverLifetime;
202
-
203
- /**
204
- *
205
- * The well-known object descriptors associated with this object adapter.
206
- *
207
- **/
208
- ObjectDescriptorSeq objects;
209
-
210
- /**
211
- *
212
- * The allocatable object descriptors associated with this object adapter.
213
- *
214
- **/
215
- ObjectDescriptorSeq allocatables;
216
- }
217
-
218
- /**
219
- *
220
- * A sequence of adapter descriptors.
221
- *
222
- **/
223
- ["java:type:java.util.LinkedList<AdapterDescriptor>"] sequence<AdapterDescriptor> AdapterDescriptorSeq;
224
-
225
- /**
226
- *
227
- * A Freeze database environment descriptor.
228
- *
229
- **/
230
- ["cpp:comparable"]
231
- struct DbEnvDescriptor
232
- {
233
- /**
234
- *
235
- * The name of the database environment.
236
- *
237
- **/
238
- string name;
239
-
240
- /**
241
- *
242
- * The description of this database environment.
243
- *
244
- **/
245
- string description;
246
-
247
- /**
248
- *
249
- * The home of the database environment (i.e., the directory where
250
- * the database files will be stored). If empty, the node will
251
- * provide a default database directory, otherwise the directory
252
- * must exist.
253
- *
254
- **/
255
- string dbHome;
256
-
257
- /**
258
- *
259
- * The configuration properties of the database environment.
260
- *
261
- **/
262
- PropertyDescriptorSeq properties;
263
- }
264
-
265
- /**
266
- *
267
- * A sequence of database environment descriptors.
268
- *
269
- **/
270
- ["java:type:java.util.LinkedList<DbEnvDescriptor>"] sequence<DbEnvDescriptor> DbEnvDescriptorSeq;
271
-
272
- /**
273
- *
274
- * A communicator descriptor.
275
- *
276
- **/
277
- class CommunicatorDescriptor
278
- {
279
- /**
280
- *
281
- * The object adapters.
282
- *
283
- **/
284
- AdapterDescriptorSeq adapters;
285
-
286
- /**
287
- *
288
- * The property set.
289
- *
290
- **/
291
- PropertySetDescriptor propertySet;
292
-
293
- /**
294
- *
295
- * The database environments.
296
- *
297
- **/
298
- DbEnvDescriptorSeq dbEnvs;
299
-
300
- /**
301
- *
302
- * The path of each log file.
303
- *
304
- **/
305
- Ice::StringSeq logs;
306
-
307
- /**
308
- *
309
- * A description of this descriptor.
310
- *
311
- **/
312
- string description;
313
- }
314
-
315
- /**
316
- *
317
- * A distribution descriptor defines an IcePatch2 server and the
318
- * directories to retrieve from the patch server.
319
- *
320
- **/
321
- ["cpp:comparable"]
322
- struct DistributionDescriptor
323
- {
324
- /** The proxy of the IcePatch2 server. */
325
- string icepatch;
326
-
327
- /** The source directories. */
328
- ["java:type:java.util.LinkedList<String>"] Ice::StringSeq directories;
329
- }
330
-
331
- /**
332
- *
333
- * An Ice server descriptor.
334
- *
335
- **/
336
- class ServerDescriptor extends CommunicatorDescriptor
337
- {
338
- /**
339
- *
340
- * The server id.
341
- *
342
- **/
343
- string id;
344
-
345
- /**
346
- *
347
- * The path of the server executable.
348
- *
349
- **/
350
- string exe;
351
-
352
- /**
353
- *
354
- * The Ice version used by this server. This is only required if
355
- * backward compatibility with servers using old Ice versions is
356
- * needed (otherwise the registry will assume the server is using
357
- * the same Ice version).
358
- * For example "3.1.1", "3.2", "3.3.0".
359
- *
360
- **/
361
- string iceVersion;
362
-
363
- /**
364
- *
365
- * The path to the server working directory.
366
- *
367
- **/
368
- string pwd;
369
-
370
- /**
371
- *
372
- * The command line options to pass to the server executable.
373
- *
374
- **/
375
- ["java:type:java.util.LinkedList<String>"] Ice::StringSeq options;
376
-
377
- /**
378
- *
379
- * The server environment variables.
380
- *
381
- **/
382
- ["java:type:java.util.LinkedList<String>"] Ice::StringSeq envs;
383
-
384
- /**
385
- *
386
- * The server activation mode (possible values are "on-demand" or
387
- * "manual").
388
- *
389
- **/
390
- string activation;
391
-
392
- /**
393
- *
394
- * The activation timeout (an integer value representing the
395
- * number of seconds to wait for activation).
396
- *
397
- **/
398
- string activationTimeout;
399
-
400
- /**
401
- *
402
- * The deactivation timeout (an integer value representing the
403
- * number of seconds to wait for deactivation).
404
- *
405
- **/
406
- string deactivationTimeout;
407
-
408
- /**
409
- *
410
- * Specifies if the server depends on the application
411
- * distribution.
412
- *
413
- **/
414
- bool applicationDistrib;
415
-
416
- /**
417
- *
418
- * The distribution descriptor.
419
- *
420
- **/
421
- DistributionDescriptor distrib;
422
-
423
- /**
424
- *
425
- * Specifies if the server is allocatable.
426
- *
427
- **/
428
- bool allocatable;
429
-
430
- /**
431
- *
432
- * The user account used to run the server.
433
- *
434
- **/
435
- string user;
436
- }
437
-
438
- /**
439
- *
440
- * A sequence of server descriptors.
441
- *
442
- **/
443
- ["java:type:java.util.LinkedList<ServerDescriptor>"] sequence<ServerDescriptor> ServerDescriptorSeq;
444
-
445
- /**
446
- *
447
- * An IceBox service descriptor.
448
- *
449
- **/
450
- class ServiceDescriptor extends CommunicatorDescriptor
451
- {
452
- /**
453
- *
454
- * The service name.
455
- *
456
- **/
457
- string name;
458
-
459
- /**
460
- *
461
- * The entry point of the IceBox service.
462
- *
463
- **/
464
- string entry;
465
- }
466
-
467
- /**
468
- *
469
- * A sequence of service descriptors.
470
- *
471
- **/
472
- ["java:type:java.util.LinkedList<ServiceDescriptor>"] sequence<ServiceDescriptor> ServiceDescriptorSeq;
473
-
474
- /**
475
- *
476
- * A server template instance descriptor.
477
- *
478
- **/
479
- ["cpp:comparable"]
480
- struct ServerInstanceDescriptor
481
- {
482
- /**
483
- *
484
- * The template used by this instance.
485
- *
486
- **/
487
- string template;
488
-
489
- /**
490
- *
491
- * The template parameter values.
492
- *
493
- **/
494
- StringStringDict parameterValues;
495
-
496
- /**
497
- *
498
- * The property set.
499
- *
500
- **/
501
- PropertySetDescriptor propertySet;
502
-
503
- /**
504
- *
505
- * The services property sets. It's only valid to set these
506
- * property sets if the template is an IceBox server template.
507
- *
508
- **/
509
- PropertySetDescriptorDict servicePropertySets;
510
- }
511
-
512
- /**
513
- *
514
- * A sequence of server instance descriptors.
515
- *
516
- **/
517
- ["java:type:java.util.LinkedList<ServerInstanceDescriptor>"]
518
- sequence<ServerInstanceDescriptor> ServerInstanceDescriptorSeq;
519
-
520
- /**
521
- *
522
- * A template descriptor for server or service templates.
523
- *
524
- **/
525
- struct TemplateDescriptor
526
- {
527
- /**
528
- *
529
- * The template.
530
- *
531
- **/
532
- CommunicatorDescriptor descriptor;
533
-
534
- /**
535
- *
536
- * The parameters required to instantiate the template.
537
- *
538
- **/
539
- ["java:type:java.util.LinkedList<String>"] Ice::StringSeq parameters;
540
-
541
- /**
542
- *
543
- * The parameters default values.
544
- *
545
- **/
546
- StringStringDict parameterDefaults;
547
- }
548
-
549
- /**
550
- *
551
- * A mapping of template identifier to template descriptor.
552
- *
553
- **/
554
- dictionary<string, TemplateDescriptor> TemplateDescriptorDict;
555
-
556
- /**
557
- *
558
- * A service template instance descriptor.
559
- *
560
- **/
561
- struct ServiceInstanceDescriptor
562
- {
563
- /**
564
- *
565
- * The template used by this instance.
566
- *
567
- **/
568
- string template;
569
-
570
- /**
571
- *
572
- * The template parameter values.
573
- *
574
- **/
575
- StringStringDict parameterValues;
576
-
577
- /**
578
- *
579
- * The service definition if the instance isn't a template
580
- * instance (i.e.: if the template attribute is empty).
581
- *
582
- **/
583
- ServiceDescriptor descriptor;
584
-
585
- /**
586
- *
587
- * The property set.
588
- *
589
- **/
590
- PropertySetDescriptor propertySet;
591
- }
592
-
593
- /**
594
- *
595
- * A sequence of service instance descriptors.
596
- *
597
- **/
598
- ["java:type:java.util.LinkedList<ServiceInstanceDescriptor>"]
599
- sequence<ServiceInstanceDescriptor> ServiceInstanceDescriptorSeq;
600
-
601
- /**
602
- *
603
- * An IceBox server descriptor.
604
- *
605
- **/
606
- class IceBoxDescriptor extends ServerDescriptor
607
- {
608
- /**
609
- *
610
- * The service instances.
611
- *
612
- **/
613
- ServiceInstanceDescriptorSeq services;
614
- }
615
-
616
- /**
617
- *
618
- * A node descriptor.
619
- *
620
- **/
621
- struct NodeDescriptor
622
- {
623
- /**
624
- *
625
- * The variables defined for the node.
626
- *
627
- **/
628
- ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
629
-
630
- /**
631
- *
632
- * The server instances.
633
- *
634
- **/
635
- ServerInstanceDescriptorSeq serverInstances;
636
-
637
- /**
638
- *
639
- * Servers (which are not template instances).
640
- *
641
- **/
642
- ServerDescriptorSeq servers;
643
-
644
- /**
645
- *
646
- * Load factor of the node.
647
- *
648
- **/
649
- string loadFactor;
650
-
651
- /**
652
- *
653
- * The description of this node.
654
- *
655
- **/
656
- string description;
657
-
658
- /**
659
- *
660
- * Property set descriptors.
661
- *
662
- **/
663
- PropertySetDescriptorDict propertySets;
664
- }
665
-
666
- /**
667
- *
668
- * Mapping of node name to node descriptor.
669
- *
670
- **/
671
- dictionary<string, NodeDescriptor> NodeDescriptorDict;
672
-
673
- /**
674
- *
675
- * A base class for load balancing policies.
676
- *
677
- **/
678
- class LoadBalancingPolicy
679
- {
680
- /**
681
- *
682
- * The number of replicas that will be used to gather the
683
- * endpoints of a replica group.
684
- *
685
- **/
686
- string nReplicas;
687
- }
688
-
689
- /**
690
- *
691
- * Random load balancing policy.
692
- *
693
- **/
694
- class RandomLoadBalancingPolicy extends LoadBalancingPolicy
695
- {
696
- }
697
-
698
- /**
699
- *
700
- * Ordered load balancing policy.
701
- *
702
- **/
703
- class OrderedLoadBalancingPolicy extends LoadBalancingPolicy
704
- {
705
- }
706
-
707
- /**
708
- *
709
- * Round robin load balancing policy.
710
- *
711
- **/
712
- class RoundRobinLoadBalancingPolicy extends LoadBalancingPolicy
713
- {
714
- }
715
-
716
- /**
717
- *
718
- * Adaptive load balancing policy.
719
- *
720
- **/
721
- class AdaptiveLoadBalancingPolicy extends LoadBalancingPolicy
722
- {
723
- /**
724
- *
725
- * The load sample to use for the load balancing. The allowed
726
- * values for this attribute are "1", "5" and "15", representing
727
- * respectively the load average over the past minute, the past 5
728
- * minutes and the past 15 minutes.
729
- *
730
- **/
731
- string loadSample;
732
- }
733
-
734
- /**
735
- *
736
- * A replica group descriptor.
737
- *
738
- **/
739
- struct ReplicaGroupDescriptor
740
- {
741
- /**
742
- *
743
- * The id of the replica group.
744
- *
745
- **/
746
- string id;
747
-
748
- /**
749
- *
750
- * The load balancing policy.
751
- *
752
- **/
753
- LoadBalancingPolicy loadBalancing;
754
-
755
- /**
756
- *
757
- * Default options for proxies created for the replica group.
758
- *
759
- **/
760
- string proxyOptions;
761
-
762
- /**
763
- *
764
- * The object descriptors associated with this object adapter.
765
- *
766
- **/
767
- ObjectDescriptorSeq objects;
768
-
769
- /**
770
- *
771
- * The description of this replica group.
772
- *
773
- **/
774
- string description;
775
-
776
- /**
777
- *
778
- * The filter to use for this replica group.
779
- *
780
- **/
781
- string filter;
782
- }
783
-
784
- /**
785
- *
786
- * A sequence of replica groups.
787
- *
788
- **/
789
- ["java:type:java.util.LinkedList<ReplicaGroupDescriptor>"] sequence<ReplicaGroupDescriptor> ReplicaGroupDescriptorSeq;
790
-
791
- /**
792
- *
793
- * An application descriptor.
794
- *
795
- **/
796
- struct ApplicationDescriptor
797
- {
798
- /**
799
- *
800
- * The application name.
801
- *
802
- **/
803
- string name;
804
-
805
- /**
806
- *
807
- * The variables defined in the application descriptor.
808
- *
809
- **/
810
- ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
811
-
812
- /**
813
- *
814
- * The replica groups.
815
- *
816
- **/
817
- ReplicaGroupDescriptorSeq replicaGroups;
818
-
819
- /**
820
- *
821
- * The server templates.
822
- *
823
- **/
824
- TemplateDescriptorDict serverTemplates;
825
-
826
- /**
827
- *
828
- * The service templates.
829
- *
830
- **/
831
- TemplateDescriptorDict serviceTemplates;
832
-
833
- /**
834
- *
835
- * The application nodes.
836
- *
837
- **/
838
- NodeDescriptorDict nodes;
839
-
840
- /**
841
- *
842
- * The application distribution.
843
- *
844
- **/
845
- DistributionDescriptor distrib;
846
-
847
- /**
848
- *
849
- * The description of this application.
850
- *
851
- **/
852
- string description;
853
-
854
- /**
855
- *
856
- * Property set descriptors.
857
- *
858
- **/
859
- PropertySetDescriptorDict propertySets;
860
- }
861
-
862
- /**
863
- *
864
- * A sequence of application descriptors.
865
- *
866
- **/
867
- ["java:type:java.util.LinkedList<ApplicationDescriptor>"] sequence<ApplicationDescriptor> ApplicationDescriptorSeq;
868
-
869
- /**
870
- *
871
- * A "boxed" string.
872
- *
873
- **/
874
- class BoxedString
875
- {
876
- /** The value of the boxed string. */
877
- string value;
878
- }
879
-
880
- /**
881
- *
882
- * A node update descriptor to describe the updates to apply to a
883
- * node of a deployed application.
884
- *
885
- **/
886
- struct NodeUpdateDescriptor
887
- {
888
- /**
889
- *
890
- * The name of the node to update.
891
- *
892
- **/
893
- string name;
894
-
895
- /**
896
- *
897
- * The updated description (or null if the description wasn't
898
- * updated.)
899
- *
900
- **/
901
- BoxedString description;
902
-
903
- /**
904
- *
905
- * The variables to update.
906
- *
907
- **/
908
- ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
909
-
910
- /**
911
- *
912
- * The variables to remove.
913
- *
914
- **/
915
- Ice::StringSeq removeVariables;
916
-
917
- /**
918
- *
919
- * The property sets to update.
920
- *
921
- **/
922
- PropertySetDescriptorDict propertySets;
923
-
924
- /**
925
- *
926
- * The property sets to remove.
927
- *
928
- **/
929
- Ice::StringSeq removePropertySets;
930
-
931
- /**
932
- *
933
- * The server instances to update.
934
- *
935
- **/
936
- ServerInstanceDescriptorSeq serverInstances;
937
-
938
- /**
939
- *
940
- * The servers which are not template instances to update.
941
- *
942
- **/
943
- ServerDescriptorSeq servers;
944
-
945
- /**
946
- *
947
- * The ids of the servers to remove.
948
- *
949
- **/
950
- Ice::StringSeq removeServers;
951
-
952
- /**
953
- *
954
- * The updated load factor of the node (or null if the load factor
955
- * was not updated).
956
- *
957
- **/
958
- BoxedString loadFactor;
959
- }
960
-
961
- /**
962
- *
963
- * A sequence of node update descriptors.
964
- *
965
- **/
966
- ["java:type:java.util.LinkedList<NodeUpdateDescriptor>"] sequence<NodeUpdateDescriptor> NodeUpdateDescriptorSeq;
967
-
968
- /**
969
- *
970
- * A "boxed" distribution descriptor.
971
- *
972
- **/
973
- class BoxedDistributionDescriptor
974
- {
975
- /** The value of the boxed distribution descriptor. */
976
- DistributionDescriptor value;
977
- }
978
-
979
- /**
980
- *
981
- * An application update descriptor to describe the updates to apply
982
- * to a deployed application.
983
- *
984
- **/
985
- struct ApplicationUpdateDescriptor
986
- {
987
- /**
988
- *
989
- * The name of the application to update.
990
- *
991
- **/
992
- string name;
993
-
994
- /**
995
- *
996
- * The updated description (or null if the description wasn't
997
- * updated.)
998
- *
999
- **/
1000
- BoxedString description;
1001
-
1002
- /**
1003
- *
1004
- * The updated distribution application descriptor.
1005
- *
1006
- **/
1007
- BoxedDistributionDescriptor distrib;
1008
-
1009
- /**
1010
- *
1011
- * The variables to update.
1012
- *
1013
- **/
1014
- ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
1015
-
1016
- /**
1017
- *
1018
- * The variables to remove.
1019
- *
1020
- **/
1021
- Ice::StringSeq removeVariables;
1022
-
1023
- /**
1024
- *
1025
- * The property sets to update.
1026
- *
1027
- **/
1028
- PropertySetDescriptorDict propertySets;
1029
-
1030
- /**
1031
- *
1032
- * The property sets to remove.
1033
- *
1034
- **/
1035
- Ice::StringSeq removePropertySets;
1036
-
1037
- /**
1038
- *
1039
- * The replica groups to update.
1040
- *
1041
- **/
1042
- ReplicaGroupDescriptorSeq replicaGroups;
1043
-
1044
- /**
1045
- *
1046
- * The replica groups to remove.
1047
- *
1048
- **/
1049
- Ice::StringSeq removeReplicaGroups;
1050
-
1051
- /**
1052
- *
1053
- * The server templates to update.
1054
- *
1055
- **/
1056
- TemplateDescriptorDict serverTemplates;
1057
-
1058
- /**
1059
- *
1060
- * The ids of the server template to remove.
1061
- *
1062
- **/
1063
- Ice::StringSeq removeServerTemplates;
1064
-
1065
- /**
1066
- *
1067
- * The service templates to update.
1068
- *
1069
- **/
1070
- TemplateDescriptorDict serviceTemplates;
1071
-
1072
- /**
1073
- *
1074
- * The ids of the service template to remove.
1075
- *
1076
- **/
1077
- Ice::StringSeq removeServiceTemplates;
1078
-
1079
- /**
1080
- *
1081
- * The application nodes to update.
1082
- *
1083
- **/
1084
- NodeUpdateDescriptorSeq nodes;
1085
-
1086
- /**
1087
- *
1088
- * The nodes to remove.
1089
- *
1090
- **/
1091
- Ice::StringSeq removeNodes;
1092
- }
1093
-
1094
- }
1
+ // Copyright (c) ZeroC, Inc.
2
+
3
+ #pragma once
4
+
5
+ [["cpp:dll-export:ICEGRID_API"]]
6
+ [["cpp:doxygen:include:IceGrid/IceGrid.h"]]
7
+ [["cpp:header-ext:h"]]
8
+
9
+ [["cpp:include:IceGrid/Config.h"]]
10
+
11
+ [["js:module:@zeroc/ice"]]
12
+
13
+ #include "Ice/BuiltinSequences.ice"
14
+ #include "Ice/Identity.ice"
15
+
16
+ ["java:identifier:com.zeroc.IceGrid"]
17
+ module IceGrid
18
+ {
19
+ /// A mapping of string to string.
20
+ dictionary<string, string> StringStringDict;
21
+
22
+ /// Describes an Ice property.
23
+ struct PropertyDescriptor
24
+ {
25
+ /// The name of the property.
26
+ string name;
27
+
28
+ /// The value of the property.
29
+ string value;
30
+ }
31
+
32
+ /// A sequence of {@link PropertyDescriptor}.
33
+ ["java:type:java.util.LinkedList<PropertyDescriptor>"]
34
+ sequence<PropertyDescriptor> PropertyDescriptorSeq;
35
+
36
+ /// A property set descriptor.
37
+ struct PropertySetDescriptor
38
+ {
39
+ /// References to named property sets.
40
+ Ice::StringSeq references;
41
+
42
+ /// The property set properties.
43
+ ["matlab:identifier:propertyDescriptors"]
44
+ PropertyDescriptorSeq properties;
45
+ }
46
+
47
+ /// A mapping of property set name to property set descriptor.
48
+ dictionary<string, PropertySetDescriptor> PropertySetDescriptorDict;
49
+
50
+ /// Describes a well-known Ice object.
51
+ struct ObjectDescriptor
52
+ {
53
+ /// The identity of the object.
54
+ Ice::Identity id;
55
+
56
+ /// The object type.
57
+ string type;
58
+
59
+ /// The proxy options to use when creating a proxy for this well-known object. If empty, the proxy is created
60
+ /// with the proxy options specified on the object adapter or replica group.
61
+ string proxyOptions;
62
+ }
63
+
64
+ /// A sequence of {@link ObjectDescriptor}.
65
+ ["java:type:java.util.LinkedList<ObjectDescriptor>"]
66
+ sequence<ObjectDescriptor> ObjectDescriptorSeq;
67
+
68
+ /// Describes an indirect object adapter.
69
+ struct AdapterDescriptor
70
+ {
71
+ /// The object adapter name.
72
+ string name;
73
+
74
+ /// A description of this object adapter.
75
+ string description;
76
+
77
+ /// The adapter ID.
78
+ string id;
79
+
80
+ /// The replica group ID. It's empty when the adapter is not part of a replica group.
81
+ string replicaGroupId;
82
+
83
+ /// The adapter priority. Only relevant when the adapter is in a replica group.
84
+ string priority;
85
+
86
+ /// When `true`, the object adapter registers a process object.
87
+ ["deprecated:This field is provided for schema compatibility. It is no longer used."]
88
+ bool registerProcess = false;
89
+
90
+ /// When `true`, the lifetime of this object adapter is the same of the server lifetime. This information is
91
+ /// used by the IceGrid node to figure out the server state: the server is active when all its "server lifetime"
92
+ /// adapters are active.
93
+ bool serverLifetime;
94
+
95
+ /// The descriptors of well-known objects.
96
+ ObjectDescriptorSeq objects;
97
+
98
+ /// The descriptors of allocatable objects.
99
+ ObjectDescriptorSeq allocatables;
100
+ }
101
+
102
+ /// A sequence of {@link AdapterDescriptor}.
103
+ ["java:type:java.util.LinkedList<AdapterDescriptor>"]
104
+ sequence<AdapterDescriptor> AdapterDescriptorSeq;
105
+
106
+ /// A Freeze database environment descriptor (deprecated, no longer used).
107
+ ["deprecated:This descriptor is provided for schema compatibility. It is no longer used."]
108
+ struct DbEnvDescriptor
109
+ {
110
+ /// The name of the database environment.
111
+ string name;
112
+
113
+ /// The description of this database environment.
114
+ string description;
115
+
116
+ /// The home of the database environment.
117
+ string dbHome;
118
+
119
+ /// The configuration properties of the database environment.
120
+ ["matlab:identifier:propertyDescriptors"]
121
+ PropertyDescriptorSeq properties;
122
+ }
123
+
124
+ /// A sequence of {@link DbEnvDescriptor}.
125
+ ["deprecated:This descriptor is provided for schema compatibility. It is no longer used."]
126
+ sequence<DbEnvDescriptor> DbEnvDescriptorSeq;
127
+
128
+ /// Describes an Ice communicator.
129
+ class CommunicatorDescriptor
130
+ {
131
+ /// The indirect object adapters.
132
+ AdapterDescriptorSeq adapters;
133
+
134
+ /// The property set.
135
+ PropertySetDescriptor propertySet;
136
+
137
+ /// The database environments.
138
+ ["deprecated"]
139
+ DbEnvDescriptorSeq dbEnvs;
140
+
141
+ /// The path of each log file.
142
+ Ice::StringSeq logs;
143
+
144
+ /// A description of this descriptor.
145
+ string description;
146
+ }
147
+
148
+ /// Describes a distribution.
149
+ ["deprecated:This descriptor is provided for schema compatibility. It is no longer used."]
150
+ struct DistributionDescriptor
151
+ {
152
+ /// The proxy of the IcePatch2 server.
153
+ string icepatch;
154
+
155
+ /// The source directories.
156
+ ["java:type:java.util.LinkedList<String>"]
157
+ Ice::StringSeq directories;
158
+ }
159
+
160
+ /// Describes an Ice server.
161
+ class ServerDescriptor extends CommunicatorDescriptor
162
+ {
163
+ /// The server ID.
164
+ string id;
165
+
166
+ /// The path of the server executable.
167
+ string exe;
168
+
169
+ /// The Ice version used by this server. This is only required if backward compatibility with servers using old
170
+ /// Ice versions is needed (otherwise the registry assumes the server is using the same Ice version as the
171
+ /// registry itself). For example `"3.7.5"`.
172
+ string iceVersion;
173
+
174
+ /// The path to the server working directory.
175
+ string pwd;
176
+
177
+ /// The command line options to pass to the server executable.
178
+ ["java:type:java.util.LinkedList<String>"]
179
+ Ice::StringSeq options;
180
+
181
+ /// The server environment variables.
182
+ ["java:type:java.util.LinkedList<String>"]
183
+ Ice::StringSeq envs;
184
+
185
+ /// The server activation mode. Possible values are `"on-demand"` and `"manual"`.
186
+ string activation;
187
+
188
+ /// The activation timeout. It's an integer (in string format) that represents the number of seconds to wait for
189
+ /// activation.
190
+ string activationTimeout;
191
+
192
+ /// The deactivation timeout. It's an integer (in string format) that represents the number of seconds to wait
193
+ /// for deactivation.
194
+ string deactivationTimeout;
195
+
196
+ /// Specifies if the server depends on the application distribution.
197
+ ["deprecated"]
198
+ bool applicationDistrib = false;
199
+
200
+ /// The distribution descriptor.
201
+ ["deprecated"]
202
+ DistributionDescriptor distrib;
203
+
204
+ /// Specifies if the server is allocatable.
205
+ bool allocatable;
206
+
207
+ /// The user account used to run the server.
208
+ string user;
209
+ }
210
+
211
+ /// A sequence of {@link ServerDescriptor}.
212
+ ["java:type:java.util.LinkedList<ServerDescriptor>"]
213
+ sequence<ServerDescriptor> ServerDescriptorSeq;
214
+
215
+ /// Describes an IceBox service.
216
+ class ServiceDescriptor extends CommunicatorDescriptor
217
+ {
218
+ /// The service name.
219
+ string name;
220
+
221
+ /// The entry point of the IceBox service.
222
+ string entry;
223
+ }
224
+
225
+ /// A sequence of {@link ServiceDescriptor}.
226
+ ["java:type:java.util.LinkedList<ServiceDescriptor>"]
227
+ sequence<ServiceDescriptor> ServiceDescriptorSeq;
228
+
229
+ /// Describes a template instantiation that creates a server.
230
+ struct ServerInstanceDescriptor
231
+ {
232
+ /// The template used by this instance. It's never empty.
233
+ ["cpp:identifier:templateName"]
234
+ string template;
235
+
236
+ /// The template parameter values.
237
+ StringStringDict parameterValues;
238
+
239
+ /// The property set.
240
+ PropertySetDescriptor propertySet;
241
+
242
+ /// The services property sets.
243
+ /// It's only valid to set these property sets when the template is an IceBox server template.
244
+ PropertySetDescriptorDict servicePropertySets;
245
+ }
246
+
247
+ /// A sequence of {@link ServerInstanceDescriptor}.
248
+ ["java:type:java.util.LinkedList<ServerInstanceDescriptor>"]
249
+ sequence<ServerInstanceDescriptor> ServerInstanceDescriptorSeq;
250
+
251
+ /// Describes a template for a server or an IceBox service.
252
+ struct TemplateDescriptor
253
+ {
254
+ /// The communicator.
255
+ CommunicatorDescriptor descriptor;
256
+
257
+ /// The parameters required to instantiate the template.
258
+ ["java:type:java.util.LinkedList<String>"]
259
+ Ice::StringSeq parameters;
260
+
261
+ /// The parameters' default values.
262
+ StringStringDict parameterDefaults;
263
+ }
264
+
265
+ /// A mapping of template identifier to template descriptor.
266
+ dictionary<string, TemplateDescriptor> TemplateDescriptorDict;
267
+
268
+ /// Describes an IceBox service.
269
+ struct ServiceInstanceDescriptor
270
+ {
271
+ /// The template used by this instance. It's empty when this instance does not use a template.
272
+ ["cpp:identifier:templateName"]
273
+ string template;
274
+
275
+ /// The template parameter values.
276
+ StringStringDict parameterValues;
277
+
278
+ /// The service definition if the instance isn't a template instance (i.e.: if the template attribute is empty).
279
+ ServiceDescriptor descriptor;
280
+
281
+ /// The property set.
282
+ PropertySetDescriptor propertySet;
283
+ }
284
+
285
+ /// A sequence of {@link ServiceInstanceDescriptor}.
286
+ ["java:type:java.util.LinkedList<ServiceInstanceDescriptor>"]
287
+ sequence<ServiceInstanceDescriptor> ServiceInstanceDescriptorSeq;
288
+
289
+ /// Describes an IceBox server.
290
+ class IceBoxDescriptor extends ServerDescriptor
291
+ {
292
+ /// The service instances.
293
+ ServiceInstanceDescriptorSeq services;
294
+ }
295
+
296
+ /// Describes an IceGrid node.
297
+ struct NodeDescriptor
298
+ {
299
+ /// The variables defined for the node.
300
+ ["java:type:java.util.TreeMap<String, String>"]
301
+ StringStringDict variables;
302
+
303
+ /// The server instances (template instances).
304
+ ServerInstanceDescriptorSeq serverInstances;
305
+
306
+ /// Servers that are not template instances.
307
+ ServerDescriptorSeq servers;
308
+
309
+ /// Load factor of the node.
310
+ string loadFactor;
311
+
312
+ /// The description of this node.
313
+ string description;
314
+
315
+ /// Property set descriptors.
316
+ PropertySetDescriptorDict propertySets;
317
+ }
318
+
319
+ /// Mapping of node name to node descriptor.
320
+ dictionary<string, NodeDescriptor> NodeDescriptorDict;
321
+
322
+ /// The base class for load balancing policies.
323
+ class LoadBalancingPolicy
324
+ {
325
+ /// The number of replicas that will be used to gather the endpoints of a replica group.
326
+ string nReplicas;
327
+ }
328
+
329
+ /// The load balancing policy that returns endpoints in a random order.
330
+ class RandomLoadBalancingPolicy extends LoadBalancingPolicy
331
+ {
332
+ }
333
+
334
+ /// The load balancing policy that returns endpoints in order.
335
+ class OrderedLoadBalancingPolicy extends LoadBalancingPolicy
336
+ {
337
+ }
338
+
339
+ /// The load balancing policy that returns endpoints using round-robin.
340
+ class RoundRobinLoadBalancingPolicy extends LoadBalancingPolicy
341
+ {
342
+ }
343
+
344
+ /// The load balancing policy that returns the endpoints of the server(s) with the lowest load average.
345
+ class AdaptiveLoadBalancingPolicy extends LoadBalancingPolicy
346
+ {
347
+ /// The load sample to use for the load balancing. The allowed values for this attribute are "1", "5" and "15",
348
+ /// representing respectively the load average over the past minute, the past 5 minutes and the past 15 minutes.
349
+ string loadSample;
350
+ }
351
+
352
+ /// Describes a replica group.
353
+ struct ReplicaGroupDescriptor
354
+ {
355
+ /// The replica group ID.
356
+ string id;
357
+
358
+ /// The load balancing policy.
359
+ LoadBalancingPolicy loadBalancing;
360
+
361
+ /// Default options for proxies created for the replica group.
362
+ string proxyOptions;
363
+
364
+ /// The descriptors for the well-known objects.
365
+ ObjectDescriptorSeq objects;
366
+
367
+ /// The description of this replica group.
368
+ string description;
369
+
370
+ /// The filter to use for this replica group.
371
+ string filter;
372
+ }
373
+
374
+ /// A sequence of {@link ReplicaGroupDescriptor}.
375
+ ["java:type:java.util.LinkedList<ReplicaGroupDescriptor>"]
376
+ sequence<ReplicaGroupDescriptor> ReplicaGroupDescriptorSeq;
377
+
378
+ /// Describes an application.
379
+ struct ApplicationDescriptor
380
+ {
381
+ /// The application name.
382
+ string name;
383
+
384
+ /// The variables defined in the application descriptor.
385
+ ["java:type:java.util.TreeMap<String, String>"]
386
+ StringStringDict variables;
387
+
388
+ /// The replica groups.
389
+ ReplicaGroupDescriptorSeq replicaGroups;
390
+
391
+ /// The server templates.
392
+ TemplateDescriptorDict serverTemplates;
393
+
394
+ /// The service templates.
395
+ TemplateDescriptorDict serviceTemplates;
396
+
397
+ /// The node descriptors.
398
+ NodeDescriptorDict nodes;
399
+
400
+ /// The application distribution.
401
+ ["deprecated"]
402
+ DistributionDescriptor distrib;
403
+
404
+ /// The description of this application.
405
+ string description;
406
+
407
+ /// Property set descriptors.
408
+ PropertySetDescriptorDict propertySets;
409
+ }
410
+
411
+ /// A sequence of {@link ApplicationDescriptor}.
412
+ ["java:type:java.util.LinkedList<ApplicationDescriptor>"]
413
+ sequence<ApplicationDescriptor> ApplicationDescriptorSeq;
414
+
415
+ /// A "boxed" string.
416
+ class BoxedString
417
+ {
418
+ /// The value of the boxed string.
419
+ string value;
420
+ }
421
+
422
+ /// Describes the updates to apply to a node in a deployed application.
423
+ struct NodeUpdateDescriptor
424
+ {
425
+ /// The name of the node to update.
426
+ string name;
427
+
428
+ /// The updated description (or null if the description wasn't updated.)
429
+ BoxedString description;
430
+
431
+ /// The variables to update.
432
+ ["java:type:java.util.TreeMap<String, String>"]
433
+ StringStringDict variables;
434
+
435
+ /// The variables to remove.
436
+ Ice::StringSeq removeVariables;
437
+
438
+ /// The property sets to update.
439
+ PropertySetDescriptorDict propertySets;
440
+
441
+ /// The property sets to remove.
442
+ Ice::StringSeq removePropertySets;
443
+
444
+ /// The server instances to update.
445
+ ServerInstanceDescriptorSeq serverInstances;
446
+
447
+ /// The servers which are not template instances to update.
448
+ ServerDescriptorSeq servers;
449
+
450
+ /// The IDs of the servers to remove.
451
+ Ice::StringSeq removeServers;
452
+
453
+ /// The updated load factor of the node (or null if the load factor was not updated).
454
+ BoxedString loadFactor;
455
+ }
456
+
457
+ /// A sequence of {@link NodeUpdateDescriptor}.
458
+ ["java:type:java.util.LinkedList<NodeUpdateDescriptor>"]
459
+ sequence<NodeUpdateDescriptor> NodeUpdateDescriptorSeq;
460
+
461
+ /// A "boxed" distribution descriptor.
462
+ ["deprecated"]
463
+ class BoxedDistributionDescriptor
464
+ {
465
+ /// The value of the boxed distribution descriptor.
466
+ DistributionDescriptor value;
467
+ }
468
+
469
+ /// An application update descriptor to describe the updates to apply to a deployed application.
470
+ struct ApplicationUpdateDescriptor
471
+ {
472
+ /// The name of the application to update.
473
+ string name;
474
+
475
+ /// The updated description (or null if the description wasn't updated).
476
+ BoxedString description;
477
+
478
+ /// The updated distribution application descriptor.
479
+ ["deprecated"]
480
+ BoxedDistributionDescriptor distrib;
481
+
482
+ /// The variables to update.
483
+ ["java:type:java.util.TreeMap<String, String>"]
484
+ StringStringDict variables;
485
+
486
+ /// The variables to remove.
487
+ Ice::StringSeq removeVariables;
488
+
489
+ /// The property sets to update.
490
+ PropertySetDescriptorDict propertySets;
491
+
492
+ /// The property sets to remove.
493
+ Ice::StringSeq removePropertySets;
494
+
495
+ /// The replica groups to update.
496
+ ReplicaGroupDescriptorSeq replicaGroups;
497
+
498
+ /// The replica groups to remove.
499
+ Ice::StringSeq removeReplicaGroups;
500
+
501
+ /// The server templates to update.
502
+ TemplateDescriptorDict serverTemplates;
503
+
504
+ /// The IDs of the server template to remove.
505
+ Ice::StringSeq removeServerTemplates;
506
+
507
+ /// The service templates to update.
508
+ TemplateDescriptorDict serviceTemplates;
509
+
510
+ /// The IDs of the service template to remove.
511
+ Ice::StringSeq removeServiceTemplates;
512
+
513
+ /// The application nodes to update.
514
+ NodeUpdateDescriptorSeq nodes;
515
+
516
+ /// The nodes to remove.
517
+ Ice::StringSeq removeNodes;
518
+ }
519
+ }