zeroc-ice 3.7.10.1__cp312-cp312-win_amd64.whl → 3.8.0.post1__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.
- Glacier2/CannotCreateSessionException.py +40 -0
- Glacier2/IdentitySet.py +293 -0
- Glacier2/IdentitySet_forward.py +10 -0
- Glacier2/PermissionDeniedException.py +40 -0
- Glacier2/PermissionsVerifier.py +189 -0
- Glacier2/PermissionsVerifier_forward.py +10 -0
- Glacier2/Router.py +661 -0
- Glacier2/Router_forward.py +10 -0
- Glacier2/SSLInfo.py +62 -0
- Glacier2/SSLPermissionsVerifier.py +186 -0
- Glacier2/SSLPermissionsVerifier_forward.py +10 -0
- Glacier2/SSLSessionManager.py +192 -0
- Glacier2/SSLSessionManager_forward.py +10 -0
- Glacier2/Session.py +161 -0
- Glacier2/SessionControl.py +407 -0
- Glacier2/SessionControl_forward.py +10 -0
- Glacier2/SessionManager.py +189 -0
- Glacier2/SessionManager_forward.py +10 -0
- Glacier2/SessionNotExistException.py +39 -0
- Glacier2/Session_forward.py +10 -0
- Glacier2/StringSet.py +289 -0
- Glacier2/StringSet_forward.py +10 -0
- Glacier2/__init__.py +79 -226
- Glacier2/py.typed +0 -0
- Ice/AdapterAlreadyActiveException.py +35 -0
- Ice/AdapterNotFoundException.py +35 -0
- Ice/BTEndpointType.py +18 -0
- Ice/BTSEndpointType.py +18 -0
- Ice/Blobject.py +42 -0
- Ice/BoolSeq.py +10 -0
- Ice/Builtin.py +11 -0
- Ice/ByteSeq.py +10 -0
- Ice/Communicator.py +633 -0
- Ice/CompressBatch.py +25 -0
- Ice/Context.py +10 -0
- Ice/Current.py +47 -0
- Ice/Dispatch.py +122 -0
- Ice/DoubleSeq.py +10 -0
- Ice/EncodingVersion.py +41 -0
- Ice/EndpointSelectionType.py +22 -0
- Ice/EventLoopAdapter.py +52 -0
- Ice/Exception.py +27 -0
- Ice/FloatSeq.py +10 -0
- Ice/FormatType.py +22 -0
- Ice/Future.py +375 -0
- Ice/IcePyTypes.py +49 -0
- Ice/Identity.py +40 -0
- Ice/IdentitySeq.py +12 -0
- Ice/ImplicitContext.py +119 -0
- Ice/InitializationData.py +65 -0
- Ice/IntSeq.py +10 -0
- Ice/InvalidReplicaGroupIdException.py +34 -0
- Ice/InvocationFuture.py +155 -0
- Ice/LocalException.py +12 -0
- Ice/LocalExceptions.py +534 -0
- Ice/Locator.py +332 -0
- Ice/LocatorFinder.py +163 -0
- Ice/LocatorFinder_forward.py +10 -0
- Ice/LocatorRegistry.py +387 -0
- Ice/LocatorRegistry_forward.py +10 -0
- Ice/Locator_forward.py +10 -0
- Ice/LogMessage.py +51 -0
- Ice/LogMessageSeq.py +12 -0
- Ice/LogMessageType.py +51 -0
- Ice/LogMessageTypeSeq.py +12 -0
- Ice/Logger.py +100 -0
- Ice/LoggerAdmin.py +380 -0
- Ice/LoggerAdmin_forward.py +10 -0
- Ice/LongSeq.py +10 -0
- Ice/Object.py +150 -0
- Ice/ObjectAdapter.py +621 -0
- Ice/ObjectNotFoundException.py +35 -0
- Ice/ObjectProxySeq.py +12 -0
- Ice/ObjectPrx.py +934 -0
- Ice/ObjectPrx_forward.py +7 -0
- Ice/ObjectSeq.py +12 -0
- Ice/OperationMode.py +52 -0
- Ice/Process.py +217 -0
- Ice/ProcessLogger.py +41 -0
- Ice/Process_forward.py +10 -0
- Ice/Properties.py +371 -0
- Ice/PropertiesAdmin.py +302 -0
- Ice/PropertiesAdmin_forward.py +10 -0
- Ice/PropertyDict.py +10 -0
- Ice/ProtocolVersion.py +39 -0
- Ice/Proxy.py +126 -0
- Ice/RemoteLogger.py +238 -0
- Ice/RemoteLoggerAlreadyAttachedException.py +34 -0
- Ice/RemoteLogger_forward.py +10 -0
- Ice/ReplyStatus.py +91 -0
- Ice/Router.py +322 -0
- Ice/RouterFinder.py +163 -0
- Ice/RouterFinder_forward.py +10 -0
- Ice/Router_forward.py +10 -0
- Ice/SSLEndpointType.py +18 -0
- Ice/ServantLocator.py +88 -0
- Ice/ServerNotFoundException.py +34 -0
- Ice/ShortSeq.py +10 -0
- Ice/SliceChecksumDict.py +10 -0
- Ice/SliceInfo.py +22 -0
- Ice/SlicedData.py +14 -0
- Ice/StringSeq.py +10 -0
- Ice/TCPEndpointType.py +18 -0
- Ice/ToStringMode.py +34 -0
- Ice/UDPEndpointType.py +18 -0
- Ice/URIEndpointType.py +18 -0
- Ice/UnknownSlicedValue.py +39 -0
- Ice/UserException.py +18 -0
- Ice/Util.py +171 -0
- Ice/Value.py +59 -0
- Ice/Value_forward.py +7 -0
- Ice/WSEndpointType.py +18 -0
- Ice/WSSEndpointType.py +18 -0
- Ice/_ArrayUtil.py +51 -0
- Ice/_LoggerI.py +32 -0
- Ice/__init__.py +369 -2008
- Ice/asyncio/EventLoopAdapter.py +31 -0
- Ice/asyncio/__init__.py +5 -0
- Ice/iAPEndpointType.py +18 -0
- Ice/iAPSEndpointType.py +18 -0
- Ice/py.typed +0 -0
- IceBox/AlreadyStartedException.py +34 -0
- IceBox/AlreadyStoppedException.py +34 -0
- IceBox/NoSuchServiceException.py +34 -0
- IceBox/ServiceManager.py +447 -0
- IceBox/ServiceManager_forward.py +10 -0
- IceBox/ServiceObserver.py +229 -0
- IceBox/ServiceObserver_forward.py +10 -0
- IceBox/__init__.py +33 -10
- IceBox/py.typed +0 -0
- IceGrid/AccessDeniedException.py +40 -0
- IceGrid/AdapterDescriptor.py +77 -0
- IceGrid/AdapterDescriptorSeq.py +12 -0
- IceGrid/AdapterDynamicInfo.py +46 -0
- IceGrid/AdapterDynamicInfoSeq.py +12 -0
- IceGrid/AdapterInfo.py +50 -0
- IceGrid/AdapterInfoSeq.py +12 -0
- IceGrid/AdapterNotExistException.py +40 -0
- IceGrid/AdapterObserver.py +338 -0
- IceGrid/AdapterObserver_forward.py +10 -0
- IceGrid/AdaptiveLoadBalancingPolicy.py +48 -0
- IceGrid/AdaptiveLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Admin.py +3662 -0
- IceGrid/AdminSession.py +1406 -0
- IceGrid/AdminSession_forward.py +10 -0
- IceGrid/Admin_forward.py +10 -0
- IceGrid/AllocationException.py +40 -0
- IceGrid/AllocationTimeoutException.py +35 -0
- IceGrid/ApplicationDescriptor.py +89 -0
- IceGrid/ApplicationDescriptorSeq.py +12 -0
- IceGrid/ApplicationInfo.py +63 -0
- IceGrid/ApplicationInfoSeq.py +12 -0
- IceGrid/ApplicationNotExistException.py +40 -0
- IceGrid/ApplicationObserver.py +374 -0
- IceGrid/ApplicationObserver_forward.py +10 -0
- IceGrid/ApplicationUpdateDescriptor.py +118 -0
- IceGrid/ApplicationUpdateInfo.py +51 -0
- IceGrid/BadSignalException.py +40 -0
- IceGrid/BoxedDistributionDescriptor.py +49 -0
- IceGrid/BoxedDistributionDescriptor_forward.py +10 -0
- IceGrid/BoxedString.py +45 -0
- IceGrid/BoxedString_forward.py +10 -0
- IceGrid/CommunicatorDescriptor.py +79 -0
- IceGrid/CommunicatorDescriptor_forward.py +10 -0
- IceGrid/DbEnvDescriptor.py +55 -0
- IceGrid/DbEnvDescriptorSeq.py +12 -0
- IceGrid/DeploymentException.py +40 -0
- IceGrid/DistributionDescriptor.py +42 -0
- IceGrid/FileIterator.py +246 -0
- IceGrid/FileIterator_forward.py +10 -0
- IceGrid/FileNotAvailableException.py +49 -0
- IceGrid/FileParser.py +182 -0
- IceGrid/FileParser_forward.py +10 -0
- IceGrid/IceBoxDescriptor.py +55 -0
- IceGrid/IceBoxDescriptor_forward.py +10 -0
- IceGrid/LoadBalancingPolicy.py +45 -0
- IceGrid/LoadBalancingPolicy_forward.py +10 -0
- IceGrid/LoadInfo.py +43 -0
- IceGrid/LoadSample.py +45 -0
- IceGrid/Locator.py +232 -0
- IceGrid/Locator_forward.py +10 -0
- IceGrid/NodeDescriptor.py +71 -0
- IceGrid/NodeDescriptorDict.py +12 -0
- IceGrid/NodeDynamicInfo.py +57 -0
- IceGrid/NodeDynamicInfoSeq.py +12 -0
- IceGrid/NodeInfo.py +64 -0
- IceGrid/NodeNotExistException.py +40 -0
- IceGrid/NodeObserver.py +424 -0
- IceGrid/NodeObserver_forward.py +10 -0
- IceGrid/NodeUnreachableException.py +46 -0
- IceGrid/NodeUpdateDescriptor.py +92 -0
- IceGrid/NodeUpdateDescriptorSeq.py +12 -0
- IceGrid/ObjectDescriptor.py +48 -0
- IceGrid/ObjectDescriptorSeq.py +12 -0
- IceGrid/ObjectExistsException.py +44 -0
- IceGrid/ObjectInfo.py +46 -0
- IceGrid/ObjectInfoSeq.py +12 -0
- IceGrid/ObjectNotRegisteredException.py +44 -0
- IceGrid/ObjectObserver.py +347 -0
- IceGrid/ObjectObserver_forward.py +10 -0
- IceGrid/ObserverAlreadyRegisteredException.py +49 -0
- IceGrid/OrderedLoadBalancingPolicy.py +41 -0
- IceGrid/OrderedLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ParseException.py +40 -0
- IceGrid/PermissionDeniedException.py +40 -0
- IceGrid/PropertyDescriptor.py +39 -0
- IceGrid/PropertyDescriptorSeq.py +12 -0
- IceGrid/PropertySetDescriptor.py +49 -0
- IceGrid/PropertySetDescriptorDict.py +12 -0
- IceGrid/Query.py +451 -0
- IceGrid/Query_forward.py +10 -0
- IceGrid/RandomLoadBalancingPolicy.py +41 -0
- IceGrid/RandomLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Registry.py +477 -0
- IceGrid/RegistryInfo.py +39 -0
- IceGrid/RegistryInfoSeq.py +12 -0
- IceGrid/RegistryNotExistException.py +40 -0
- IceGrid/RegistryObserver.py +282 -0
- IceGrid/RegistryObserver_forward.py +10 -0
- IceGrid/RegistryUnreachableException.py +46 -0
- IceGrid/Registry_forward.py +10 -0
- IceGrid/ReplicaGroupDescriptor.py +66 -0
- IceGrid/ReplicaGroupDescriptorSeq.py +12 -0
- IceGrid/RoundRobinLoadBalancingPolicy.py +41 -0
- IceGrid/RoundRobinLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ServerDescriptor.py +107 -0
- IceGrid/ServerDescriptorSeq.py +12 -0
- IceGrid/ServerDescriptor_forward.py +10 -0
- IceGrid/ServerDynamicInfo.py +50 -0
- IceGrid/ServerDynamicInfoSeq.py +12 -0
- IceGrid/ServerInfo.py +62 -0
- IceGrid/ServerInstanceDescriptor.py +58 -0
- IceGrid/ServerInstanceDescriptorSeq.py +12 -0
- IceGrid/ServerNotExistException.py +40 -0
- IceGrid/ServerStartException.py +46 -0
- IceGrid/ServerState.py +70 -0
- IceGrid/ServerStopException.py +46 -0
- IceGrid/ServiceDescriptor.py +53 -0
- IceGrid/ServiceDescriptorSeq.py +12 -0
- IceGrid/ServiceDescriptor_forward.py +10 -0
- IceGrid/ServiceInstanceDescriptor.py +60 -0
- IceGrid/ServiceInstanceDescriptorSeq.py +12 -0
- IceGrid/Session.py +498 -0
- IceGrid/Session_forward.py +10 -0
- IceGrid/StringObjectProxyDict.py +12 -0
- IceGrid/StringStringDict.py +10 -0
- IceGrid/TemplateDescriptor.py +55 -0
- IceGrid/TemplateDescriptorDict.py +12 -0
- IceGrid/UserAccountMapper.py +178 -0
- IceGrid/UserAccountMapper_forward.py +10 -0
- IceGrid/UserAccountNotFoundException.py +34 -0
- IceGrid/__init__.py +375 -17
- IceGrid/py.typed +0 -0
- IceMX/ChildInvocationMetrics.py +56 -0
- IceMX/ChildInvocationMetrics_forward.py +10 -0
- IceMX/CollocatedMetrics.py +42 -0
- IceMX/CollocatedMetrics_forward.py +10 -0
- IceMX/ConnectionMetrics.py +53 -0
- IceMX/ConnectionMetrics_forward.py +10 -0
- IceMX/DispatchMetrics.py +57 -0
- IceMX/DispatchMetrics_forward.py +10 -0
- IceMX/InvocationMetrics.py +66 -0
- IceMX/InvocationMetrics_forward.py +10 -0
- IceMX/Metrics.py +66 -0
- IceMX/MetricsAdmin.py +586 -0
- IceMX/MetricsAdmin_forward.py +10 -0
- IceMX/MetricsFailures.py +42 -0
- IceMX/MetricsFailuresSeq.py +12 -0
- IceMX/MetricsMap.py +12 -0
- IceMX/MetricsView.py +12 -0
- IceMX/Metrics_forward.py +10 -0
- IceMX/RemoteMetrics.py +42 -0
- IceMX/RemoteMetrics_forward.py +10 -0
- IceMX/SessionMetrics.py +73 -0
- IceMX/SessionMetrics_forward.py +10 -0
- IceMX/StringIntDict.py +10 -0
- IceMX/SubscriberMetrics.py +57 -0
- IceMX/SubscriberMetrics_forward.py +10 -0
- IceMX/ThreadMetrics.py +59 -0
- IceMX/ThreadMetrics_forward.py +10 -0
- IceMX/TopicMetrics.py +53 -0
- IceMX/TopicMetrics_forward.py +10 -0
- IceMX/UnknownMetricsView.py +34 -0
- IceMX/__init__.py +75 -12
- IceMX/py.typed +0 -0
- IcePy-stubs/__init__.pyi +739 -0
- IcePy.cp312-win_amd64.pdb +0 -0
- IcePy.cp312-win_amd64.pyd +0 -0
- IceStorm/AlreadySubscribed.py +34 -0
- IceStorm/BadQoS.py +40 -0
- IceStorm/Finder.py +163 -0
- IceStorm/Finder_forward.py +10 -0
- IceStorm/LinkExists.py +40 -0
- IceStorm/LinkInfo.py +50 -0
- IceStorm/LinkInfoSeq.py +12 -0
- IceStorm/NoSuchLink.py +40 -0
- IceStorm/NoSuchTopic.py +40 -0
- IceStorm/QoS.py +10 -0
- IceStorm/Topic.py +825 -0
- IceStorm/TopicDict.py +12 -0
- IceStorm/TopicExists.py +40 -0
- IceStorm/TopicManager.py +394 -0
- IceStorm/TopicManager_forward.py +10 -0
- IceStorm/Topic_forward.py +10 -0
- IceStorm/__init__.py +61 -10
- IceStorm/py.typed +0 -0
- slice/DataStorm/SampleEvent.ice +29 -0
- slice/Glacier2/Metrics.ice +47 -88
- slice/Glacier2/PermissionsVerifier.ice +55 -111
- slice/Glacier2/Router.ice +93 -186
- slice/Glacier2/SSLInfo.ice +42 -59
- slice/Glacier2/Session.ice +133 -274
- slice/Ice/BuiltinSequences.ice +54 -59
- slice/Ice/Context.ice +24 -0
- slice/Ice/EndpointTypes.ice +50 -48
- slice/Ice/Identity.ice +36 -75
- slice/Ice/Locator.ice +74 -239
- slice/Ice/LocatorRegistry.ice +77 -0
- slice/Ice/Metrics.ice +201 -436
- slice/Ice/OperationMode.ice +38 -0
- slice/Ice/Process.ice +28 -64
- slice/Ice/PropertiesAdmin.ice +37 -87
- slice/Ice/PropertyDict.ice +23 -0
- slice/Ice/RemoteLogger.ice +126 -226
- slice/Ice/ReplyStatus.ice +65 -0
- slice/Ice/Router.ice +54 -103
- slice/Ice/SliceChecksumDict.ice +18 -36
- slice/Ice/Version.ice +43 -51
- slice/IceBox/ServiceManager.ice +79 -0
- slice/IceGrid/Admin.ice +981 -1957
- slice/IceGrid/Descriptor.ice +519 -1094
- slice/IceGrid/Exception.ice +98 -396
- slice/IceGrid/FileParser.ice +36 -72
- slice/IceGrid/Registry.ice +130 -269
- slice/IceGrid/Session.ice +64 -128
- slice/IceGrid/UserAccountMapper.ice +34 -69
- slice/IceStorm/IceStorm.ice +186 -414
- slice/IceStorm/Metrics.ice +41 -83
- slice2py.py +20 -21
- zeroc_ice-3.8.0.post1.dist-info/METADATA +106 -0
- zeroc_ice-3.8.0.post1.dist-info/RECORD +344 -0
- {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.post1.dist-info}/WHEEL +1 -1
- {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.post1.dist-info}/top_level.txt +1 -1
- Glacier2/Metrics_ice.py +0 -82
- Glacier2/PermissionsVerifierF_ice.py +0 -32
- Glacier2/PermissionsVerifier_ice.py +0 -284
- Glacier2/RouterF_ice.py +0 -28
- Glacier2/Router_ice.py +0 -618
- Glacier2/SSLInfo_ice.py +0 -179
- Glacier2/Session_ice.py +0 -1103
- Ice/BuiltinSequences_ice.py +0 -65
- Ice/CommunicatorF_ice.py +0 -27
- Ice/Communicator_ice.py +0 -469
- Ice/ConnectionF_ice.py +0 -33
- Ice/Connection_ice.py +0 -680
- Ice/Current_ice.py +0 -175
- Ice/EndpointF_ice.py +0 -45
- Ice/EndpointTypes_ice.py +0 -54
- Ice/Endpoint_ice.py +0 -304
- Ice/FacetMap_ice.py +0 -27
- Ice/Identity_ice.py +0 -133
- Ice/ImplicitContextF_ice.py +0 -27
- Ice/ImplicitContext_ice.py +0 -119
- Ice/InstrumentationF_ice.py +0 -38
- Ice/Instrumentation_ice.py +0 -566
- Ice/LocalException_ice.py +0 -1715
- Ice/LocatorF_ice.py +0 -32
- Ice/Locator_ice.py +0 -728
- Ice/LoggerF_ice.py +0 -27
- Ice/Logger_ice.py +0 -96
- Ice/Metrics_ice.py +0 -864
- Ice/ObjectAdapterF_ice.py +0 -27
- Ice/ObjectAdapter_ice.py +0 -461
- Ice/ObjectFactory_ice.py +0 -68
- Ice/PluginF_ice.py +0 -30
- Ice/Plugin_ice.py +0 -136
- Ice/ProcessF_ice.py +0 -28
- Ice/Process_ice.py +0 -175
- Ice/PropertiesAdmin_ice.py +0 -247
- Ice/PropertiesF_ice.py +0 -31
- Ice/Properties_ice.py +0 -199
- Ice/Py3/IceFuture.py +0 -52
- Ice/Py3/__init__.py +0 -3
- Ice/RemoteLogger_ice.py +0 -617
- Ice/RouterF_ice.py +0 -28
- Ice/Router_ice.py +0 -350
- Ice/ServantLocatorF_ice.py +0 -27
- Ice/ServantLocator_ice.py +0 -110
- Ice/SliceChecksumDict_ice.py +0 -29
- Ice/ValueFactory_ice.py +0 -125
- Ice/Version_ice.py +0 -217
- IceBox/IceBox_ice.py +0 -644
- IceGrid/Admin_ice.py +0 -6662
- IceGrid/Descriptor_ice.py +0 -1795
- IceGrid/Exception_ice.py +0 -592
- IceGrid/FileParser_ice.py +0 -171
- IceGrid/PluginFacade_ice.py +0 -288
- IceGrid/Registry_ice.py +0 -985
- IceGrid/Session_ice.py +0 -406
- IceGrid/UserAccountMapper_ice.py +0 -166
- IcePatch2/FileInfo_ice.py +0 -287
- IcePatch2/FileServer_ice.py +0 -555
- IcePatch2/__init__.py +0 -11
- IceStorm/IceStorm_ice.py +0 -1265
- IceStorm/Metrics_ice.py +0 -106
- slice/Glacier2/PermissionsVerifierF.ice +0 -30
- slice/Glacier2/RouterF.ice +0 -29
- slice/Ice/Communicator.ice +0 -676
- slice/Ice/CommunicatorF.ice +0 -31
- slice/Ice/Connection.ice +0 -516
- slice/Ice/ConnectionF.ice +0 -33
- slice/Ice/Current.ice +0 -170
- slice/Ice/Endpoint.ice +0 -291
- slice/Ice/EndpointF.ice +0 -43
- slice/Ice/FacetMap.ice +0 -36
- slice/Ice/ImplicitContext.ice +0 -119
- slice/Ice/ImplicitContextF.ice +0 -30
- slice/Ice/Instrumentation.ice +0 -509
- slice/Ice/InstrumentationF.ice +0 -38
- slice/Ice/LocalException.ice +0 -1040
- slice/Ice/LocatorF.ice +0 -32
- slice/Ice/Logger.ice +0 -99
- slice/Ice/LoggerF.ice +0 -31
- slice/Ice/ObjectAdapter.ice +0 -710
- slice/Ice/ObjectAdapterF.ice +0 -31
- slice/Ice/ObjectFactory.ice +0 -71
- slice/Ice/Plugin.ice +0 -131
- slice/Ice/PluginF.ice +0 -36
- slice/Ice/ProcessF.ice +0 -31
- slice/Ice/Properties.ice +0 -244
- slice/Ice/PropertiesF.ice +0 -32
- slice/Ice/RouterF.ice +0 -31
- slice/Ice/ServantLocator.ice +0 -136
- slice/Ice/ServantLocatorF.ice +0 -31
- slice/Ice/ValueFactory.ice +0 -133
- slice/IceBT/ConnectionInfo.ice +0 -59
- slice/IceBT/EndpointInfo.ice +0 -57
- slice/IceBT/Types.ice +0 -45
- slice/IceBox/IceBox.ice +0 -216
- slice/IceDiscovery/IceDiscovery.ice +0 -98
- slice/IceGrid/PluginFacade.ice +0 -329
- slice/IceIAP/ConnectionInfo.ice +0 -74
- slice/IceIAP/EndpointInfo.ice +0 -68
- slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
- slice/IcePatch2/FileInfo.ice +0 -85
- slice/IcePatch2/FileServer.ice +0 -191
- slice/IceSSL/ConnectionInfo.ice +0 -54
- slice/IceSSL/ConnectionInfoF.ice +0 -31
- slice/IceSSL/EndpointInfo.ice +0 -45
- zeroc_ice-3.7.10.1.dist-info/LICENSE +0 -340
- zeroc_ice-3.7.10.1.dist-info/METADATA +0 -97
- zeroc_ice-3.7.10.1.dist-info/RECORD +0 -145
- {zeroc_ice-3.7.10.1.dist-info → zeroc_ice-3.8.0.post1.dist-info}/entry_points.txt +0 -0
IceGrid/NodeObserver.py
ADDED
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from Ice.Object import Object
|
|
9
|
+
|
|
10
|
+
from Ice.ObjectPrx import ObjectPrx
|
|
11
|
+
from Ice.ObjectPrx import checkedCast
|
|
12
|
+
from Ice.ObjectPrx import checkedCastAsync
|
|
13
|
+
from Ice.ObjectPrx import uncheckedCast
|
|
14
|
+
|
|
15
|
+
from Ice.OperationMode import OperationMode
|
|
16
|
+
|
|
17
|
+
from IceGrid.AdapterDynamicInfo import _IceGrid_AdapterDynamicInfo_t
|
|
18
|
+
|
|
19
|
+
from IceGrid.NodeDynamicInfo import _IceGrid_NodeDynamicInfo_t
|
|
20
|
+
|
|
21
|
+
from IceGrid.NodeDynamicInfoSeq import _IceGrid_NodeDynamicInfoSeq_t
|
|
22
|
+
|
|
23
|
+
from IceGrid.NodeObserver_forward import _IceGrid_NodeObserverPrx_t
|
|
24
|
+
|
|
25
|
+
from IceGrid.ServerDynamicInfo import _IceGrid_ServerDynamicInfo_t
|
|
26
|
+
|
|
27
|
+
from abc import ABC
|
|
28
|
+
from abc import abstractmethod
|
|
29
|
+
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
31
|
+
from typing import overload
|
|
32
|
+
|
|
33
|
+
if TYPE_CHECKING:
|
|
34
|
+
from Ice.Current import Current
|
|
35
|
+
from IceGrid.AdapterDynamicInfo import AdapterDynamicInfo
|
|
36
|
+
from IceGrid.NodeDynamicInfo import NodeDynamicInfo
|
|
37
|
+
from IceGrid.ServerDynamicInfo import ServerDynamicInfo
|
|
38
|
+
from collections.abc import Awaitable
|
|
39
|
+
from collections.abc import Sequence
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class NodeObserverPrx(ObjectPrx):
|
|
43
|
+
"""
|
|
44
|
+
Monitors changes to the state of the nodes.
|
|
45
|
+
|
|
46
|
+
Notes
|
|
47
|
+
-----
|
|
48
|
+
The Slice compiler generated this proxy class from Slice interface ``::IceGrid::NodeObserver``.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def nodeInit(self, nodes: Sequence[NodeDynamicInfo], context: dict[str, str] | None = None) -> None:
|
|
52
|
+
"""
|
|
53
|
+
Provides the initial state of the nodes to the observer.
|
|
54
|
+
|
|
55
|
+
Parameters
|
|
56
|
+
----------
|
|
57
|
+
nodes : Sequence[NodeDynamicInfo]
|
|
58
|
+
The current state of the nodes.
|
|
59
|
+
context : dict[str, str]
|
|
60
|
+
The request context for the invocation.
|
|
61
|
+
"""
|
|
62
|
+
return NodeObserver._op_nodeInit.invoke(self, ((nodes, ), context))
|
|
63
|
+
|
|
64
|
+
def nodeInitAsync(self, nodes: Sequence[NodeDynamicInfo], context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
65
|
+
"""
|
|
66
|
+
Provides the initial state of the nodes to the observer.
|
|
67
|
+
|
|
68
|
+
Parameters
|
|
69
|
+
----------
|
|
70
|
+
nodes : Sequence[NodeDynamicInfo]
|
|
71
|
+
The current state of the nodes.
|
|
72
|
+
context : dict[str, str]
|
|
73
|
+
The request context for the invocation.
|
|
74
|
+
|
|
75
|
+
Returns
|
|
76
|
+
-------
|
|
77
|
+
Awaitable[None]
|
|
78
|
+
An awaitable that is completed when the invocation completes.
|
|
79
|
+
"""
|
|
80
|
+
return NodeObserver._op_nodeInit.invokeAsync(self, ((nodes, ), context))
|
|
81
|
+
|
|
82
|
+
def nodeUp(self, node: NodeDynamicInfo, context: dict[str, str] | None = None) -> None:
|
|
83
|
+
"""
|
|
84
|
+
Notifies the observer that a node came up.
|
|
85
|
+
|
|
86
|
+
Parameters
|
|
87
|
+
----------
|
|
88
|
+
node : NodeDynamicInfo
|
|
89
|
+
The node state.
|
|
90
|
+
context : dict[str, str]
|
|
91
|
+
The request context for the invocation.
|
|
92
|
+
"""
|
|
93
|
+
return NodeObserver._op_nodeUp.invoke(self, ((node, ), context))
|
|
94
|
+
|
|
95
|
+
def nodeUpAsync(self, node: NodeDynamicInfo, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
96
|
+
"""
|
|
97
|
+
Notifies the observer that a node came up.
|
|
98
|
+
|
|
99
|
+
Parameters
|
|
100
|
+
----------
|
|
101
|
+
node : NodeDynamicInfo
|
|
102
|
+
The node state.
|
|
103
|
+
context : dict[str, str]
|
|
104
|
+
The request context for the invocation.
|
|
105
|
+
|
|
106
|
+
Returns
|
|
107
|
+
-------
|
|
108
|
+
Awaitable[None]
|
|
109
|
+
An awaitable that is completed when the invocation completes.
|
|
110
|
+
"""
|
|
111
|
+
return NodeObserver._op_nodeUp.invokeAsync(self, ((node, ), context))
|
|
112
|
+
|
|
113
|
+
def nodeDown(self, name: str, context: dict[str, str] | None = None) -> None:
|
|
114
|
+
"""
|
|
115
|
+
Notifies the observer that a node went down.
|
|
116
|
+
|
|
117
|
+
Parameters
|
|
118
|
+
----------
|
|
119
|
+
name : str
|
|
120
|
+
The node name.
|
|
121
|
+
context : dict[str, str]
|
|
122
|
+
The request context for the invocation.
|
|
123
|
+
"""
|
|
124
|
+
return NodeObserver._op_nodeDown.invoke(self, ((name, ), context))
|
|
125
|
+
|
|
126
|
+
def nodeDownAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
127
|
+
"""
|
|
128
|
+
Notifies the observer that a node went down.
|
|
129
|
+
|
|
130
|
+
Parameters
|
|
131
|
+
----------
|
|
132
|
+
name : str
|
|
133
|
+
The node name.
|
|
134
|
+
context : dict[str, str]
|
|
135
|
+
The request context for the invocation.
|
|
136
|
+
|
|
137
|
+
Returns
|
|
138
|
+
-------
|
|
139
|
+
Awaitable[None]
|
|
140
|
+
An awaitable that is completed when the invocation completes.
|
|
141
|
+
"""
|
|
142
|
+
return NodeObserver._op_nodeDown.invokeAsync(self, ((name, ), context))
|
|
143
|
+
|
|
144
|
+
def updateServer(self, node: str, updatedInfo: ServerDynamicInfo, context: dict[str, str] | None = None) -> None:
|
|
145
|
+
"""
|
|
146
|
+
Notifies the observer that the state of a server changed.
|
|
147
|
+
|
|
148
|
+
Parameters
|
|
149
|
+
----------
|
|
150
|
+
node : str
|
|
151
|
+
The node hosting the server.
|
|
152
|
+
updatedInfo : ServerDynamicInfo
|
|
153
|
+
The new server state.
|
|
154
|
+
context : dict[str, str]
|
|
155
|
+
The request context for the invocation.
|
|
156
|
+
"""
|
|
157
|
+
return NodeObserver._op_updateServer.invoke(self, ((node, updatedInfo), context))
|
|
158
|
+
|
|
159
|
+
def updateServerAsync(self, node: str, updatedInfo: ServerDynamicInfo, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
160
|
+
"""
|
|
161
|
+
Notifies the observer that the state of a server changed.
|
|
162
|
+
|
|
163
|
+
Parameters
|
|
164
|
+
----------
|
|
165
|
+
node : str
|
|
166
|
+
The node hosting the server.
|
|
167
|
+
updatedInfo : ServerDynamicInfo
|
|
168
|
+
The new server state.
|
|
169
|
+
context : dict[str, str]
|
|
170
|
+
The request context for the invocation.
|
|
171
|
+
|
|
172
|
+
Returns
|
|
173
|
+
-------
|
|
174
|
+
Awaitable[None]
|
|
175
|
+
An awaitable that is completed when the invocation completes.
|
|
176
|
+
"""
|
|
177
|
+
return NodeObserver._op_updateServer.invokeAsync(self, ((node, updatedInfo), context))
|
|
178
|
+
|
|
179
|
+
def updateAdapter(self, node: str, updatedInfo: AdapterDynamicInfo, context: dict[str, str] | None = None) -> None:
|
|
180
|
+
"""
|
|
181
|
+
Notifies the observer that the state of an object adapter changed.
|
|
182
|
+
|
|
183
|
+
Parameters
|
|
184
|
+
----------
|
|
185
|
+
node : str
|
|
186
|
+
The node hosting the adapter.
|
|
187
|
+
updatedInfo : AdapterDynamicInfo
|
|
188
|
+
The new adapter state.
|
|
189
|
+
context : dict[str, str]
|
|
190
|
+
The request context for the invocation.
|
|
191
|
+
"""
|
|
192
|
+
return NodeObserver._op_updateAdapter.invoke(self, ((node, updatedInfo), context))
|
|
193
|
+
|
|
194
|
+
def updateAdapterAsync(self, node: str, updatedInfo: AdapterDynamicInfo, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
195
|
+
"""
|
|
196
|
+
Notifies the observer that the state of an object adapter changed.
|
|
197
|
+
|
|
198
|
+
Parameters
|
|
199
|
+
----------
|
|
200
|
+
node : str
|
|
201
|
+
The node hosting the adapter.
|
|
202
|
+
updatedInfo : AdapterDynamicInfo
|
|
203
|
+
The new adapter state.
|
|
204
|
+
context : dict[str, str]
|
|
205
|
+
The request context for the invocation.
|
|
206
|
+
|
|
207
|
+
Returns
|
|
208
|
+
-------
|
|
209
|
+
Awaitable[None]
|
|
210
|
+
An awaitable that is completed when the invocation completes.
|
|
211
|
+
"""
|
|
212
|
+
return NodeObserver._op_updateAdapter.invokeAsync(self, ((node, updatedInfo), context))
|
|
213
|
+
|
|
214
|
+
@staticmethod
|
|
215
|
+
def checkedCast(
|
|
216
|
+
proxy: ObjectPrx | None,
|
|
217
|
+
facet: str | None = None,
|
|
218
|
+
context: dict[str, str] | None = None
|
|
219
|
+
) -> NodeObserverPrx | None:
|
|
220
|
+
return checkedCast(NodeObserverPrx, proxy, facet, context)
|
|
221
|
+
|
|
222
|
+
@staticmethod
|
|
223
|
+
def checkedCastAsync(
|
|
224
|
+
proxy: ObjectPrx | None,
|
|
225
|
+
facet: str | None = None,
|
|
226
|
+
context: dict[str, str] | None = None
|
|
227
|
+
) -> Awaitable[NodeObserverPrx | None ]:
|
|
228
|
+
return checkedCastAsync(NodeObserverPrx, proxy, facet, context)
|
|
229
|
+
|
|
230
|
+
@overload
|
|
231
|
+
@staticmethod
|
|
232
|
+
def uncheckedCast(proxy: ObjectPrx, facet: str | None = None) -> NodeObserverPrx:
|
|
233
|
+
...
|
|
234
|
+
|
|
235
|
+
@overload
|
|
236
|
+
@staticmethod
|
|
237
|
+
def uncheckedCast(proxy: None, facet: str | None = None) -> None:
|
|
238
|
+
...
|
|
239
|
+
|
|
240
|
+
@staticmethod
|
|
241
|
+
def uncheckedCast(proxy: ObjectPrx | None, facet: str | None = None) -> NodeObserverPrx | None:
|
|
242
|
+
return uncheckedCast(NodeObserverPrx, proxy, facet)
|
|
243
|
+
|
|
244
|
+
@staticmethod
|
|
245
|
+
def ice_staticId() -> str:
|
|
246
|
+
return "::IceGrid::NodeObserver"
|
|
247
|
+
|
|
248
|
+
IcePy.defineProxy("::IceGrid::NodeObserver", NodeObserverPrx)
|
|
249
|
+
|
|
250
|
+
class NodeObserver(Object, ABC):
|
|
251
|
+
"""
|
|
252
|
+
Monitors changes to the state of the nodes.
|
|
253
|
+
|
|
254
|
+
Notes
|
|
255
|
+
-----
|
|
256
|
+
The Slice compiler generated this skeleton class from Slice interface ``::IceGrid::NodeObserver``.
|
|
257
|
+
"""
|
|
258
|
+
|
|
259
|
+
_ice_ids: Sequence[str] = ("::Ice::Object", "::IceGrid::NodeObserver", )
|
|
260
|
+
_op_nodeInit: IcePy.Operation
|
|
261
|
+
_op_nodeUp: IcePy.Operation
|
|
262
|
+
_op_nodeDown: IcePy.Operation
|
|
263
|
+
_op_updateServer: IcePy.Operation
|
|
264
|
+
_op_updateAdapter: IcePy.Operation
|
|
265
|
+
|
|
266
|
+
@staticmethod
|
|
267
|
+
def ice_staticId() -> str:
|
|
268
|
+
return "::IceGrid::NodeObserver"
|
|
269
|
+
|
|
270
|
+
@abstractmethod
|
|
271
|
+
def nodeInit(self, nodes: list[NodeDynamicInfo], current: Current) -> None | Awaitable[None]:
|
|
272
|
+
"""
|
|
273
|
+
Provides the initial state of the nodes to the observer.
|
|
274
|
+
|
|
275
|
+
Parameters
|
|
276
|
+
----------
|
|
277
|
+
nodes : list[NodeDynamicInfo]
|
|
278
|
+
The current state of the nodes.
|
|
279
|
+
current : Ice.Current
|
|
280
|
+
The Current object for the dispatch.
|
|
281
|
+
|
|
282
|
+
Returns
|
|
283
|
+
-------
|
|
284
|
+
None | Awaitable[None]
|
|
285
|
+
None or an awaitable that completes when the dispatch completes.
|
|
286
|
+
"""
|
|
287
|
+
pass
|
|
288
|
+
|
|
289
|
+
@abstractmethod
|
|
290
|
+
def nodeUp(self, node: NodeDynamicInfo, current: Current) -> None | Awaitable[None]:
|
|
291
|
+
"""
|
|
292
|
+
Notifies the observer that a node came up.
|
|
293
|
+
|
|
294
|
+
Parameters
|
|
295
|
+
----------
|
|
296
|
+
node : NodeDynamicInfo
|
|
297
|
+
The node state.
|
|
298
|
+
current : Ice.Current
|
|
299
|
+
The Current object for the dispatch.
|
|
300
|
+
|
|
301
|
+
Returns
|
|
302
|
+
-------
|
|
303
|
+
None | Awaitable[None]
|
|
304
|
+
None or an awaitable that completes when the dispatch completes.
|
|
305
|
+
"""
|
|
306
|
+
pass
|
|
307
|
+
|
|
308
|
+
@abstractmethod
|
|
309
|
+
def nodeDown(self, name: str, current: Current) -> None | Awaitable[None]:
|
|
310
|
+
"""
|
|
311
|
+
Notifies the observer that a node went down.
|
|
312
|
+
|
|
313
|
+
Parameters
|
|
314
|
+
----------
|
|
315
|
+
name : str
|
|
316
|
+
The node name.
|
|
317
|
+
current : Ice.Current
|
|
318
|
+
The Current object for the dispatch.
|
|
319
|
+
|
|
320
|
+
Returns
|
|
321
|
+
-------
|
|
322
|
+
None | Awaitable[None]
|
|
323
|
+
None or an awaitable that completes when the dispatch completes.
|
|
324
|
+
"""
|
|
325
|
+
pass
|
|
326
|
+
|
|
327
|
+
@abstractmethod
|
|
328
|
+
def updateServer(self, node: str, updatedInfo: ServerDynamicInfo, current: Current) -> None | Awaitable[None]:
|
|
329
|
+
"""
|
|
330
|
+
Notifies the observer that the state of a server changed.
|
|
331
|
+
|
|
332
|
+
Parameters
|
|
333
|
+
----------
|
|
334
|
+
node : str
|
|
335
|
+
The node hosting the server.
|
|
336
|
+
updatedInfo : ServerDynamicInfo
|
|
337
|
+
The new server state.
|
|
338
|
+
current : Ice.Current
|
|
339
|
+
The Current object for the dispatch.
|
|
340
|
+
|
|
341
|
+
Returns
|
|
342
|
+
-------
|
|
343
|
+
None | Awaitable[None]
|
|
344
|
+
None or an awaitable that completes when the dispatch completes.
|
|
345
|
+
"""
|
|
346
|
+
pass
|
|
347
|
+
|
|
348
|
+
@abstractmethod
|
|
349
|
+
def updateAdapter(self, node: str, updatedInfo: AdapterDynamicInfo, current: Current) -> None | Awaitable[None]:
|
|
350
|
+
"""
|
|
351
|
+
Notifies the observer that the state of an object adapter changed.
|
|
352
|
+
|
|
353
|
+
Parameters
|
|
354
|
+
----------
|
|
355
|
+
node : str
|
|
356
|
+
The node hosting the adapter.
|
|
357
|
+
updatedInfo : AdapterDynamicInfo
|
|
358
|
+
The new adapter state.
|
|
359
|
+
current : Ice.Current
|
|
360
|
+
The Current object for the dispatch.
|
|
361
|
+
|
|
362
|
+
Returns
|
|
363
|
+
-------
|
|
364
|
+
None | Awaitable[None]
|
|
365
|
+
None or an awaitable that completes when the dispatch completes.
|
|
366
|
+
"""
|
|
367
|
+
pass
|
|
368
|
+
|
|
369
|
+
NodeObserver._op_nodeInit = IcePy.Operation(
|
|
370
|
+
"nodeInit",
|
|
371
|
+
"nodeInit",
|
|
372
|
+
OperationMode.Normal,
|
|
373
|
+
None,
|
|
374
|
+
(),
|
|
375
|
+
(((), _IceGrid_NodeDynamicInfoSeq_t, False, 0),),
|
|
376
|
+
(),
|
|
377
|
+
None,
|
|
378
|
+
())
|
|
379
|
+
|
|
380
|
+
NodeObserver._op_nodeUp = IcePy.Operation(
|
|
381
|
+
"nodeUp",
|
|
382
|
+
"nodeUp",
|
|
383
|
+
OperationMode.Normal,
|
|
384
|
+
None,
|
|
385
|
+
(),
|
|
386
|
+
(((), _IceGrid_NodeDynamicInfo_t, False, 0),),
|
|
387
|
+
(),
|
|
388
|
+
None,
|
|
389
|
+
())
|
|
390
|
+
|
|
391
|
+
NodeObserver._op_nodeDown = IcePy.Operation(
|
|
392
|
+
"nodeDown",
|
|
393
|
+
"nodeDown",
|
|
394
|
+
OperationMode.Normal,
|
|
395
|
+
None,
|
|
396
|
+
(),
|
|
397
|
+
(((), IcePy._t_string, False, 0),),
|
|
398
|
+
(),
|
|
399
|
+
None,
|
|
400
|
+
())
|
|
401
|
+
|
|
402
|
+
NodeObserver._op_updateServer = IcePy.Operation(
|
|
403
|
+
"updateServer",
|
|
404
|
+
"updateServer",
|
|
405
|
+
OperationMode.Normal,
|
|
406
|
+
None,
|
|
407
|
+
(),
|
|
408
|
+
(((), IcePy._t_string, False, 0), ((), _IceGrid_ServerDynamicInfo_t, False, 0)),
|
|
409
|
+
(),
|
|
410
|
+
None,
|
|
411
|
+
())
|
|
412
|
+
|
|
413
|
+
NodeObserver._op_updateAdapter = IcePy.Operation(
|
|
414
|
+
"updateAdapter",
|
|
415
|
+
"updateAdapter",
|
|
416
|
+
OperationMode.Normal,
|
|
417
|
+
None,
|
|
418
|
+
(),
|
|
419
|
+
(((), IcePy._t_string, False, 0), ((), _IceGrid_AdapterDynamicInfo_t, False, 0)),
|
|
420
|
+
(),
|
|
421
|
+
None,
|
|
422
|
+
())
|
|
423
|
+
|
|
424
|
+
__all__ = ["NodeObserver", "NodeObserverPrx", "_IceGrid_NodeObserverPrx_t"]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from Ice.UserException import UserException
|
|
9
|
+
|
|
10
|
+
from dataclasses import dataclass
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class NodeUnreachableException(UserException):
|
|
15
|
+
"""
|
|
16
|
+
The exception that is thrown when IceGrid cannot reach a node.
|
|
17
|
+
|
|
18
|
+
Attributes
|
|
19
|
+
----------
|
|
20
|
+
name : str
|
|
21
|
+
The name of the node that is not reachable.
|
|
22
|
+
reason : str
|
|
23
|
+
The reason why the node couldn't be reached.
|
|
24
|
+
|
|
25
|
+
Notes
|
|
26
|
+
-----
|
|
27
|
+
The Slice compiler generated this exception dataclass from Slice exception ``::IceGrid::NodeUnreachableException``.
|
|
28
|
+
"""
|
|
29
|
+
name: str = ""
|
|
30
|
+
reason: str = ""
|
|
31
|
+
|
|
32
|
+
_ice_id = "::IceGrid::NodeUnreachableException"
|
|
33
|
+
|
|
34
|
+
_IceGrid_NodeUnreachableException_t = IcePy.defineException(
|
|
35
|
+
"::IceGrid::NodeUnreachableException",
|
|
36
|
+
NodeUnreachableException,
|
|
37
|
+
(),
|
|
38
|
+
None,
|
|
39
|
+
(
|
|
40
|
+
("name", (), IcePy._t_string, False, 0),
|
|
41
|
+
("reason", (), IcePy._t_string, False, 0)
|
|
42
|
+
))
|
|
43
|
+
|
|
44
|
+
setattr(NodeUnreachableException, '_ice_type', _IceGrid_NodeUnreachableException_t)
|
|
45
|
+
|
|
46
|
+
__all__ = ["NodeUnreachableException", "_IceGrid_NodeUnreachableException_t"]
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from Ice.StringSeq import _Ice_StringSeq_t
|
|
9
|
+
|
|
10
|
+
from IceGrid.BoxedString_forward import _IceGrid_BoxedString_t
|
|
11
|
+
|
|
12
|
+
from IceGrid.PropertySetDescriptorDict import _IceGrid_PropertySetDescriptorDict_t
|
|
13
|
+
|
|
14
|
+
from IceGrid.ServerDescriptorSeq import _IceGrid_ServerDescriptorSeq_t
|
|
15
|
+
|
|
16
|
+
from IceGrid.ServerInstanceDescriptorSeq import _IceGrid_ServerInstanceDescriptorSeq_t
|
|
17
|
+
|
|
18
|
+
from IceGrid.StringStringDict import _IceGrid_StringStringDict_t
|
|
19
|
+
|
|
20
|
+
from dataclasses import dataclass
|
|
21
|
+
from dataclasses import field
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
if TYPE_CHECKING:
|
|
26
|
+
from IceGrid.BoxedString import BoxedString
|
|
27
|
+
from IceGrid.PropertySetDescriptor import PropertySetDescriptor
|
|
28
|
+
from IceGrid.ServerDescriptor import ServerDescriptor
|
|
29
|
+
from IceGrid.ServerInstanceDescriptor import ServerInstanceDescriptor
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@dataclass
|
|
33
|
+
class NodeUpdateDescriptor:
|
|
34
|
+
"""
|
|
35
|
+
Describes the updates to apply to a node in a deployed application.
|
|
36
|
+
|
|
37
|
+
Attributes
|
|
38
|
+
----------
|
|
39
|
+
name : str
|
|
40
|
+
The name of the node to update.
|
|
41
|
+
description : BoxedString | None
|
|
42
|
+
The updated description (or null if the description wasn't updated.)
|
|
43
|
+
variables : dict[str, str]
|
|
44
|
+
The variables to update.
|
|
45
|
+
removeVariables : list[str]
|
|
46
|
+
The variables to remove.
|
|
47
|
+
propertySets : dict[str, PropertySetDescriptor]
|
|
48
|
+
The property sets to update.
|
|
49
|
+
removePropertySets : list[str]
|
|
50
|
+
The property sets to remove.
|
|
51
|
+
serverInstances : list[ServerInstanceDescriptor]
|
|
52
|
+
The server instances to update.
|
|
53
|
+
servers : list[ServerDescriptor | None]
|
|
54
|
+
The servers which are not template instances to update.
|
|
55
|
+
removeServers : list[str]
|
|
56
|
+
The IDs of the servers to remove.
|
|
57
|
+
loadFactor : BoxedString | None
|
|
58
|
+
The updated load factor of the node (or null if the load factor was not updated).
|
|
59
|
+
|
|
60
|
+
Notes
|
|
61
|
+
-----
|
|
62
|
+
The Slice compiler generated this dataclass from Slice struct ``::IceGrid::NodeUpdateDescriptor``.
|
|
63
|
+
"""
|
|
64
|
+
name: str = ""
|
|
65
|
+
description: BoxedString | None = None
|
|
66
|
+
variables: dict[str, str] = field(default_factory=dict)
|
|
67
|
+
removeVariables: list[str] = field(default_factory=list)
|
|
68
|
+
propertySets: dict[str, PropertySetDescriptor] = field(default_factory=dict)
|
|
69
|
+
removePropertySets: list[str] = field(default_factory=list)
|
|
70
|
+
serverInstances: list[ServerInstanceDescriptor] = field(default_factory=list)
|
|
71
|
+
servers: list[ServerDescriptor | None] = field(default_factory=list)
|
|
72
|
+
removeServers: list[str] = field(default_factory=list)
|
|
73
|
+
loadFactor: BoxedString | None = None
|
|
74
|
+
|
|
75
|
+
_IceGrid_NodeUpdateDescriptor_t = IcePy.defineStruct(
|
|
76
|
+
"::IceGrid::NodeUpdateDescriptor",
|
|
77
|
+
NodeUpdateDescriptor,
|
|
78
|
+
(),
|
|
79
|
+
(
|
|
80
|
+
("name", (), IcePy._t_string),
|
|
81
|
+
("description", (), _IceGrid_BoxedString_t),
|
|
82
|
+
("variables", (), _IceGrid_StringStringDict_t),
|
|
83
|
+
("removeVariables", (), _Ice_StringSeq_t),
|
|
84
|
+
("propertySets", (), _IceGrid_PropertySetDescriptorDict_t),
|
|
85
|
+
("removePropertySets", (), _Ice_StringSeq_t),
|
|
86
|
+
("serverInstances", (), _IceGrid_ServerInstanceDescriptorSeq_t),
|
|
87
|
+
("servers", (), _IceGrid_ServerDescriptorSeq_t),
|
|
88
|
+
("removeServers", (), _Ice_StringSeq_t),
|
|
89
|
+
("loadFactor", (), _IceGrid_BoxedString_t)
|
|
90
|
+
))
|
|
91
|
+
|
|
92
|
+
__all__ = ["NodeUpdateDescriptor", "_IceGrid_NodeUpdateDescriptor_t"]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from IceGrid.NodeUpdateDescriptor import _IceGrid_NodeUpdateDescriptor_t
|
|
9
|
+
|
|
10
|
+
_IceGrid_NodeUpdateDescriptorSeq_t = IcePy.defineSequence("::IceGrid::NodeUpdateDescriptorSeq", (), _IceGrid_NodeUpdateDescriptor_t)
|
|
11
|
+
|
|
12
|
+
__all__ = ["_IceGrid_NodeUpdateDescriptorSeq_t"]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from Ice.Identity import Identity
|
|
9
|
+
from Ice.Identity import _Ice_Identity_t
|
|
10
|
+
|
|
11
|
+
from dataclasses import dataclass
|
|
12
|
+
from dataclasses import field
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@dataclass(order=True, unsafe_hash=True)
|
|
16
|
+
class ObjectDescriptor:
|
|
17
|
+
"""
|
|
18
|
+
Describes a well-known Ice object.
|
|
19
|
+
|
|
20
|
+
Attributes
|
|
21
|
+
----------
|
|
22
|
+
id : Identity
|
|
23
|
+
The identity of the object.
|
|
24
|
+
type : str
|
|
25
|
+
The object type.
|
|
26
|
+
proxyOptions : str
|
|
27
|
+
The proxy options to use when creating a proxy for this well-known object. If empty, the proxy is created
|
|
28
|
+
with the proxy options specified on the object adapter or replica group.
|
|
29
|
+
|
|
30
|
+
Notes
|
|
31
|
+
-----
|
|
32
|
+
The Slice compiler generated this dataclass from Slice struct ``::IceGrid::ObjectDescriptor``.
|
|
33
|
+
"""
|
|
34
|
+
id: Identity = field(default_factory=Identity)
|
|
35
|
+
type: str = ""
|
|
36
|
+
proxyOptions: str = ""
|
|
37
|
+
|
|
38
|
+
_IceGrid_ObjectDescriptor_t = IcePy.defineStruct(
|
|
39
|
+
"::IceGrid::ObjectDescriptor",
|
|
40
|
+
ObjectDescriptor,
|
|
41
|
+
(),
|
|
42
|
+
(
|
|
43
|
+
("id", (), _Ice_Identity_t),
|
|
44
|
+
("type", (), IcePy._t_string),
|
|
45
|
+
("proxyOptions", (), IcePy._t_string)
|
|
46
|
+
))
|
|
47
|
+
|
|
48
|
+
__all__ = ["ObjectDescriptor", "_IceGrid_ObjectDescriptor_t"]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from IceGrid.ObjectDescriptor import _IceGrid_ObjectDescriptor_t
|
|
9
|
+
|
|
10
|
+
_IceGrid_ObjectDescriptorSeq_t = IcePy.defineSequence("::IceGrid::ObjectDescriptorSeq", (), _IceGrid_ObjectDescriptor_t)
|
|
11
|
+
|
|
12
|
+
__all__ = ["_IceGrid_ObjectDescriptorSeq_t"]
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# slice2py version 3.8.0
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
import IcePy
|
|
7
|
+
|
|
8
|
+
from Ice.Identity import Identity
|
|
9
|
+
from Ice.Identity import _Ice_Identity_t
|
|
10
|
+
|
|
11
|
+
from Ice.UserException import UserException
|
|
12
|
+
|
|
13
|
+
from dataclasses import dataclass
|
|
14
|
+
from dataclasses import field
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class ObjectExistsException(UserException):
|
|
19
|
+
"""
|
|
20
|
+
The exception that is thrown when a well-known object is already registered.
|
|
21
|
+
|
|
22
|
+
Attributes
|
|
23
|
+
----------
|
|
24
|
+
id : Identity
|
|
25
|
+
The identity of the object.
|
|
26
|
+
|
|
27
|
+
Notes
|
|
28
|
+
-----
|
|
29
|
+
The Slice compiler generated this exception dataclass from Slice exception ``::IceGrid::ObjectExistsException``.
|
|
30
|
+
"""
|
|
31
|
+
id: Identity = field(default_factory=Identity)
|
|
32
|
+
|
|
33
|
+
_ice_id = "::IceGrid::ObjectExistsException"
|
|
34
|
+
|
|
35
|
+
_IceGrid_ObjectExistsException_t = IcePy.defineException(
|
|
36
|
+
"::IceGrid::ObjectExistsException",
|
|
37
|
+
ObjectExistsException,
|
|
38
|
+
(),
|
|
39
|
+
None,
|
|
40
|
+
(("id", (), _Ice_Identity_t, False, 0),))
|
|
41
|
+
|
|
42
|
+
setattr(ObjectExistsException, '_ice_type', _IceGrid_ObjectExistsException_t)
|
|
43
|
+
|
|
44
|
+
__all__ = ["ObjectExistsException", "_IceGrid_ObjectExistsException_t"]
|