zeroc-ice 3.7.11__cp314-cp314-macosx_10_15_universal2.whl → 3.8.0__cp314-cp314-macosx_10_15_universal2.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 +78 -225
- Glacier2/py.typed +0 -0
- Ice/AdapterAlreadyActiveException.py +35 -0
- Ice/AdapterNotFoundException.py +35 -0
- Ice/BTEndpointType.py +11 -0
- Ice/BTSEndpointType.py +11 -0
- Ice/Blobject.py +42 -0
- Ice/BoolSeq.py +10 -0
- Ice/Builtin.py +11 -0
- Ice/ByteSeq.py +10 -0
- Ice/Communicator.py +621 -0
- Ice/CompressBatch.py +25 -0
- Ice/Context.py +10 -0
- Ice/Current.py +48 -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 +29 -0
- Ice/FloatSeq.py +10 -0
- Ice/FormatType.py +15 -0
- Ice/Future.py +375 -0
- Ice/IcePyTypes.py +47 -0
- Ice/Identity.py +40 -0
- Ice/IdentitySeq.py +12 -0
- Ice/ImplicitContext.py +126 -0
- Ice/InitializationData.py +64 -0
- Ice/IntSeq.py +10 -0
- Ice/InvalidReplicaGroupIdException.py +34 -0
- Ice/InvocationFuture.py +158 -0
- Ice/LocalException.py +12 -0
- Ice/LocalExceptions.py +546 -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 +50 -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 +145 -0
- Ice/ObjectAdapter.py +588 -0
- Ice/ObjectNotFoundException.py +35 -0
- Ice/ObjectProxySeq.py +12 -0
- Ice/ObjectPrx.py +940 -0
- Ice/ObjectPrx_forward.py +7 -0
- Ice/ObjectSeq.py +12 -0
- Ice/OperationMode.py +47 -0
- Ice/Process.py +217 -0
- Ice/ProcessLogger.py +25 -0
- Ice/Process_forward.py +10 -0
- Ice/Properties.py +387 -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 +63 -0
- Ice/RemoteLogger.py +238 -0
- Ice/RemoteLoggerAlreadyAttachedException.py +34 -0
- Ice/RemoteLogger_forward.py +10 -0
- Ice/ReplyStatus.py +84 -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 +11 -0
- Ice/ServantLocator.py +93 -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 +11 -0
- Ice/ToStringMode.py +34 -0
- Ice/UDPEndpointType.py +11 -0
- Ice/URIEndpointType.py +11 -0
- Ice/UnknownSlicedValue.py +31 -0
- Ice/UserException.py +18 -0
- Ice/Util.py +170 -0
- Ice/Value.py +59 -0
- Ice/Value_forward.py +7 -0
- Ice/WSEndpointType.py +11 -0
- Ice/WSSEndpointType.py +11 -0
- Ice/_ArrayUtil.py +51 -0
- Ice/_LoggerI.py +32 -0
- Ice/__init__.py +356 -1997
- Ice/asyncio/EventLoopAdapter.py +31 -0
- Ice/asyncio/__init__.py +5 -0
- Ice/iAPEndpointType.py +11 -0
- Ice/iAPSEndpointType.py +11 -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 +30 -7
- 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 +66 -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 +372 -14
- 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 +72 -9
- IceMX/py.typed +0 -0
- IcePy-stubs/__init__.pyi +740 -0
- IcePy.cpython-314-darwin.so +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 +58 -7
- IceStorm/py.typed +0 -0
- slice/DataStorm/SampleEvent.ice +29 -0
- slice/Glacier2/Metrics.ice +34 -75
- slice/Glacier2/PermissionsVerifier.ice +42 -98
- slice/Glacier2/Router.ice +80 -173
- slice/Glacier2/SSLInfo.ice +23 -40
- slice/Glacier2/Session.ice +120 -261
- slice/Ice/BuiltinSequences.ice +33 -38
- slice/Ice/Context.ice +24 -0
- slice/Ice/EndpointTypes.ice +35 -33
- slice/Ice/Identity.ice +24 -63
- slice/Ice/Locator.ice +61 -226
- slice/Ice/LocatorRegistry.ice +77 -0
- slice/Ice/Metrics.ice +189 -424
- slice/Ice/OperationMode.ice +38 -0
- slice/Ice/Process.ice +16 -52
- slice/Ice/PropertiesAdmin.ice +25 -75
- slice/Ice/PropertyDict.ice +23 -0
- slice/Ice/RemoteLogger.ice +113 -213
- slice/Ice/ReplyStatus.ice +65 -0
- slice/Ice/Router.ice +42 -91
- slice/Ice/SliceChecksumDict.ice +7 -25
- slice/Ice/Version.ice +31 -39
- slice/IceBox/ServiceManager.ice +79 -0
- slice/IceGrid/Admin.ice +942 -1918
- slice/IceGrid/Descriptor.ice +476 -1051
- slice/IceGrid/Exception.ice +86 -384
- slice/IceGrid/FileParser.ice +23 -59
- slice/IceGrid/Registry.ice +117 -256
- slice/IceGrid/Session.ice +46 -110
- slice/IceGrid/UserAccountMapper.ice +22 -57
- slice/IceStorm/IceStorm.ice +173 -401
- slice/IceStorm/Metrics.ice +28 -70
- slice2py.py +5 -6
- zeroc_ice-3.8.0.dist-info/METADATA +106 -0
- zeroc_ice-3.8.0.dist-info/RECORD +343 -0
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.dist-info}/WHEEL +1 -1
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.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/IceGrid/PluginFacade.ice +0 -329
- slice/IceIAP/ConnectionInfo.ice +0 -74
- slice/IceIAP/EndpointInfo.ice +0 -68
- 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.11.dist-info/METADATA +0 -97
- zeroc_ice-3.7.11.dist-info/RECORD +0 -142
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.dist-info}/entry_points.txt +0 -0
IceGrid/Admin_forward.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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 AllocationException(UserException):
|
|
15
|
+
"""
|
|
16
|
+
The exception that is thrown when the allocation of an object failed.
|
|
17
|
+
|
|
18
|
+
Attributes
|
|
19
|
+
----------
|
|
20
|
+
reason : str
|
|
21
|
+
The reason why the object couldn't be allocated.
|
|
22
|
+
|
|
23
|
+
Notes
|
|
24
|
+
-----
|
|
25
|
+
The Slice compiler generated this exception dataclass from Slice exception ``::IceGrid::AllocationException``.
|
|
26
|
+
"""
|
|
27
|
+
reason: str = ""
|
|
28
|
+
|
|
29
|
+
_ice_id = "::IceGrid::AllocationException"
|
|
30
|
+
|
|
31
|
+
_IceGrid_AllocationException_t = IcePy.defineException(
|
|
32
|
+
"::IceGrid::AllocationException",
|
|
33
|
+
AllocationException,
|
|
34
|
+
(),
|
|
35
|
+
None,
|
|
36
|
+
(("reason", (), IcePy._t_string, False, 0),))
|
|
37
|
+
|
|
38
|
+
setattr(AllocationException, '_ice_type', _IceGrid_AllocationException_t)
|
|
39
|
+
|
|
40
|
+
__all__ = ["AllocationException", "_IceGrid_AllocationException_t"]
|
|
@@ -0,0 +1,35 @@
|
|
|
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.AllocationException import AllocationException
|
|
9
|
+
from IceGrid.AllocationException import _IceGrid_AllocationException_t
|
|
10
|
+
|
|
11
|
+
from dataclasses import dataclass
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@dataclass
|
|
15
|
+
class AllocationTimeoutException(AllocationException):
|
|
16
|
+
"""
|
|
17
|
+
The exception that is thrown when the request to allocate an object times out.
|
|
18
|
+
|
|
19
|
+
Notes
|
|
20
|
+
-----
|
|
21
|
+
The Slice compiler generated this exception dataclass from Slice exception ``::IceGrid::AllocationTimeoutException``.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
_ice_id = "::IceGrid::AllocationTimeoutException"
|
|
25
|
+
|
|
26
|
+
_IceGrid_AllocationTimeoutException_t = IcePy.defineException(
|
|
27
|
+
"::IceGrid::AllocationTimeoutException",
|
|
28
|
+
AllocationTimeoutException,
|
|
29
|
+
(),
|
|
30
|
+
_IceGrid_AllocationException_t,
|
|
31
|
+
())
|
|
32
|
+
|
|
33
|
+
setattr(AllocationTimeoutException, '_ice_type', _IceGrid_AllocationTimeoutException_t)
|
|
34
|
+
|
|
35
|
+
__all__ = ["AllocationTimeoutException", "_IceGrid_AllocationTimeoutException_t"]
|
|
@@ -0,0 +1,89 @@
|
|
|
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.DistributionDescriptor import DistributionDescriptor
|
|
9
|
+
from IceGrid.DistributionDescriptor import _IceGrid_DistributionDescriptor_t
|
|
10
|
+
|
|
11
|
+
from IceGrid.NodeDescriptorDict import _IceGrid_NodeDescriptorDict_t
|
|
12
|
+
|
|
13
|
+
from IceGrid.PropertySetDescriptorDict import _IceGrid_PropertySetDescriptorDict_t
|
|
14
|
+
|
|
15
|
+
from IceGrid.ReplicaGroupDescriptorSeq import _IceGrid_ReplicaGroupDescriptorSeq_t
|
|
16
|
+
|
|
17
|
+
from IceGrid.StringStringDict import _IceGrid_StringStringDict_t
|
|
18
|
+
|
|
19
|
+
from IceGrid.TemplateDescriptorDict import _IceGrid_TemplateDescriptorDict_t
|
|
20
|
+
|
|
21
|
+
from dataclasses import dataclass
|
|
22
|
+
from dataclasses import field
|
|
23
|
+
|
|
24
|
+
from typing import TYPE_CHECKING
|
|
25
|
+
|
|
26
|
+
if TYPE_CHECKING:
|
|
27
|
+
from IceGrid.NodeDescriptor import NodeDescriptor
|
|
28
|
+
from IceGrid.PropertySetDescriptor import PropertySetDescriptor
|
|
29
|
+
from IceGrid.ReplicaGroupDescriptor import ReplicaGroupDescriptor
|
|
30
|
+
from IceGrid.TemplateDescriptor import TemplateDescriptor
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
@dataclass
|
|
34
|
+
class ApplicationDescriptor:
|
|
35
|
+
"""
|
|
36
|
+
Describes an application.
|
|
37
|
+
|
|
38
|
+
Attributes
|
|
39
|
+
----------
|
|
40
|
+
name : str
|
|
41
|
+
The application name.
|
|
42
|
+
variables : dict[str, str]
|
|
43
|
+
The variables defined in the application descriptor.
|
|
44
|
+
replicaGroups : list[ReplicaGroupDescriptor]
|
|
45
|
+
The replica groups.
|
|
46
|
+
serverTemplates : dict[str, TemplateDescriptor]
|
|
47
|
+
The server templates.
|
|
48
|
+
serviceTemplates : dict[str, TemplateDescriptor]
|
|
49
|
+
The service templates.
|
|
50
|
+
nodes : dict[str, NodeDescriptor]
|
|
51
|
+
The node descriptors.
|
|
52
|
+
distrib : DistributionDescriptor
|
|
53
|
+
The application distribution.
|
|
54
|
+
description : str
|
|
55
|
+
The description of this application.
|
|
56
|
+
propertySets : dict[str, PropertySetDescriptor]
|
|
57
|
+
Property set descriptors.
|
|
58
|
+
|
|
59
|
+
Notes
|
|
60
|
+
-----
|
|
61
|
+
The Slice compiler generated this dataclass from Slice struct ``::IceGrid::ApplicationDescriptor``.
|
|
62
|
+
"""
|
|
63
|
+
name: str = ""
|
|
64
|
+
variables: dict[str, str] = field(default_factory=dict)
|
|
65
|
+
replicaGroups: list[ReplicaGroupDescriptor] = field(default_factory=list)
|
|
66
|
+
serverTemplates: dict[str, TemplateDescriptor] = field(default_factory=dict)
|
|
67
|
+
serviceTemplates: dict[str, TemplateDescriptor] = field(default_factory=dict)
|
|
68
|
+
nodes: dict[str, NodeDescriptor] = field(default_factory=dict)
|
|
69
|
+
distrib: DistributionDescriptor = field(default_factory=DistributionDescriptor)
|
|
70
|
+
description: str = ""
|
|
71
|
+
propertySets: dict[str, PropertySetDescriptor] = field(default_factory=dict)
|
|
72
|
+
|
|
73
|
+
_IceGrid_ApplicationDescriptor_t = IcePy.defineStruct(
|
|
74
|
+
"::IceGrid::ApplicationDescriptor",
|
|
75
|
+
ApplicationDescriptor,
|
|
76
|
+
(),
|
|
77
|
+
(
|
|
78
|
+
("name", (), IcePy._t_string),
|
|
79
|
+
("variables", (), _IceGrid_StringStringDict_t),
|
|
80
|
+
("replicaGroups", (), _IceGrid_ReplicaGroupDescriptorSeq_t),
|
|
81
|
+
("serverTemplates", (), _IceGrid_TemplateDescriptorDict_t),
|
|
82
|
+
("serviceTemplates", (), _IceGrid_TemplateDescriptorDict_t),
|
|
83
|
+
("nodes", (), _IceGrid_NodeDescriptorDict_t),
|
|
84
|
+
("distrib", (), _IceGrid_DistributionDescriptor_t),
|
|
85
|
+
("description", (), IcePy._t_string),
|
|
86
|
+
("propertySets", (), _IceGrid_PropertySetDescriptorDict_t)
|
|
87
|
+
))
|
|
88
|
+
|
|
89
|
+
__all__ = ["ApplicationDescriptor", "_IceGrid_ApplicationDescriptor_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.ApplicationDescriptor import _IceGrid_ApplicationDescriptor_t
|
|
9
|
+
|
|
10
|
+
_IceGrid_ApplicationDescriptorSeq_t = IcePy.defineSequence("::IceGrid::ApplicationDescriptorSeq", (), _IceGrid_ApplicationDescriptor_t)
|
|
11
|
+
|
|
12
|
+
__all__ = ["_IceGrid_ApplicationDescriptorSeq_t"]
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ApplicationDescriptor import ApplicationDescriptor
|
|
9
|
+
from IceGrid.ApplicationDescriptor import _IceGrid_ApplicationDescriptor_t
|
|
10
|
+
|
|
11
|
+
from dataclasses import dataclass
|
|
12
|
+
from dataclasses import field
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@dataclass
|
|
16
|
+
class ApplicationInfo:
|
|
17
|
+
"""
|
|
18
|
+
Information about an IceGrid application.
|
|
19
|
+
|
|
20
|
+
Attributes
|
|
21
|
+
----------
|
|
22
|
+
uuid : str
|
|
23
|
+
Unique application identifier.
|
|
24
|
+
createTime : int
|
|
25
|
+
The creation time.
|
|
26
|
+
createUser : str
|
|
27
|
+
The user who created the application.
|
|
28
|
+
updateTime : int
|
|
29
|
+
The last update time.
|
|
30
|
+
updateUser : str
|
|
31
|
+
The user who updated the application.
|
|
32
|
+
revision : int
|
|
33
|
+
The application revision number.
|
|
34
|
+
descriptor : ApplicationDescriptor
|
|
35
|
+
The application descriptor.
|
|
36
|
+
|
|
37
|
+
Notes
|
|
38
|
+
-----
|
|
39
|
+
The Slice compiler generated this dataclass from Slice struct ``::IceGrid::ApplicationInfo``.
|
|
40
|
+
"""
|
|
41
|
+
uuid: str = ""
|
|
42
|
+
createTime: int = 0
|
|
43
|
+
createUser: str = ""
|
|
44
|
+
updateTime: int = 0
|
|
45
|
+
updateUser: str = ""
|
|
46
|
+
revision: int = 0
|
|
47
|
+
descriptor: ApplicationDescriptor = field(default_factory=ApplicationDescriptor)
|
|
48
|
+
|
|
49
|
+
_IceGrid_ApplicationInfo_t = IcePy.defineStruct(
|
|
50
|
+
"::IceGrid::ApplicationInfo",
|
|
51
|
+
ApplicationInfo,
|
|
52
|
+
(),
|
|
53
|
+
(
|
|
54
|
+
("uuid", (), IcePy._t_string),
|
|
55
|
+
("createTime", (), IcePy._t_long),
|
|
56
|
+
("createUser", (), IcePy._t_string),
|
|
57
|
+
("updateTime", (), IcePy._t_long),
|
|
58
|
+
("updateUser", (), IcePy._t_string),
|
|
59
|
+
("revision", (), IcePy._t_int),
|
|
60
|
+
("descriptor", (), _IceGrid_ApplicationDescriptor_t)
|
|
61
|
+
))
|
|
62
|
+
|
|
63
|
+
__all__ = ["ApplicationInfo", "_IceGrid_ApplicationInfo_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.ApplicationInfo import _IceGrid_ApplicationInfo_t
|
|
9
|
+
|
|
10
|
+
_IceGrid_ApplicationInfoSeq_t = IcePy.defineSequence("::IceGrid::ApplicationInfoSeq", (), _IceGrid_ApplicationInfo_t)
|
|
11
|
+
|
|
12
|
+
__all__ = ["_IceGrid_ApplicationInfoSeq_t"]
|
|
@@ -0,0 +1,40 @@
|
|
|
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 ApplicationNotExistException(UserException):
|
|
15
|
+
"""
|
|
16
|
+
The exception that is thrown when IceGrid does not know an application with the provided name.
|
|
17
|
+
|
|
18
|
+
Attributes
|
|
19
|
+
----------
|
|
20
|
+
name : str
|
|
21
|
+
The name of the application.
|
|
22
|
+
|
|
23
|
+
Notes
|
|
24
|
+
-----
|
|
25
|
+
The Slice compiler generated this exception dataclass from Slice exception ``::IceGrid::ApplicationNotExistException``.
|
|
26
|
+
"""
|
|
27
|
+
name: str = ""
|
|
28
|
+
|
|
29
|
+
_ice_id = "::IceGrid::ApplicationNotExistException"
|
|
30
|
+
|
|
31
|
+
_IceGrid_ApplicationNotExistException_t = IcePy.defineException(
|
|
32
|
+
"::IceGrid::ApplicationNotExistException",
|
|
33
|
+
ApplicationNotExistException,
|
|
34
|
+
(),
|
|
35
|
+
None,
|
|
36
|
+
(("name", (), IcePy._t_string, False, 0),))
|
|
37
|
+
|
|
38
|
+
setattr(ApplicationNotExistException, '_ice_type', _IceGrid_ApplicationNotExistException_t)
|
|
39
|
+
|
|
40
|
+
__all__ = ["ApplicationNotExistException", "_IceGrid_ApplicationNotExistException_t"]
|
|
@@ -0,0 +1,374 @@
|
|
|
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.ApplicationInfo import _IceGrid_ApplicationInfo_t
|
|
18
|
+
|
|
19
|
+
from IceGrid.ApplicationInfoSeq import _IceGrid_ApplicationInfoSeq_t
|
|
20
|
+
|
|
21
|
+
from IceGrid.ApplicationObserver_forward import _IceGrid_ApplicationObserverPrx_t
|
|
22
|
+
|
|
23
|
+
from IceGrid.ApplicationUpdateInfo import _IceGrid_ApplicationUpdateInfo_t
|
|
24
|
+
|
|
25
|
+
from abc import ABC
|
|
26
|
+
from abc import abstractmethod
|
|
27
|
+
|
|
28
|
+
from typing import TYPE_CHECKING
|
|
29
|
+
from typing import overload
|
|
30
|
+
|
|
31
|
+
if TYPE_CHECKING:
|
|
32
|
+
from Ice.Current import Current
|
|
33
|
+
from IceGrid.ApplicationInfo import ApplicationInfo
|
|
34
|
+
from IceGrid.ApplicationUpdateInfo import ApplicationUpdateInfo
|
|
35
|
+
from collections.abc import Awaitable
|
|
36
|
+
from collections.abc import Sequence
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class ApplicationObserverPrx(ObjectPrx):
|
|
40
|
+
"""
|
|
41
|
+
Monitors applications.
|
|
42
|
+
|
|
43
|
+
Notes
|
|
44
|
+
-----
|
|
45
|
+
The Slice compiler generated this proxy class from Slice interface ``::IceGrid::ApplicationObserver``.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def applicationInit(self, serial: int, applications: Sequence[ApplicationInfo], context: dict[str, str] | None = None) -> None:
|
|
49
|
+
"""
|
|
50
|
+
Provides the initial application infos to the observer.
|
|
51
|
+
|
|
52
|
+
Parameters
|
|
53
|
+
----------
|
|
54
|
+
serial : int
|
|
55
|
+
The current serial number of the registry database. This serial number allows observers to
|
|
56
|
+
make sure that their internal state is synchronized with the registry.
|
|
57
|
+
applications : Sequence[ApplicationInfo]
|
|
58
|
+
The applications currently registered with the registry.
|
|
59
|
+
context : dict[str, str]
|
|
60
|
+
The request context for the invocation.
|
|
61
|
+
"""
|
|
62
|
+
return ApplicationObserver._op_applicationInit.invoke(self, ((serial, applications), context))
|
|
63
|
+
|
|
64
|
+
def applicationInitAsync(self, serial: int, applications: Sequence[ApplicationInfo], context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
65
|
+
"""
|
|
66
|
+
Provides the initial application infos to the observer.
|
|
67
|
+
|
|
68
|
+
Parameters
|
|
69
|
+
----------
|
|
70
|
+
serial : int
|
|
71
|
+
The current serial number of the registry database. This serial number allows observers to
|
|
72
|
+
make sure that their internal state is synchronized with the registry.
|
|
73
|
+
applications : Sequence[ApplicationInfo]
|
|
74
|
+
The applications currently registered with the registry.
|
|
75
|
+
context : dict[str, str]
|
|
76
|
+
The request context for the invocation.
|
|
77
|
+
|
|
78
|
+
Returns
|
|
79
|
+
-------
|
|
80
|
+
Awaitable[None]
|
|
81
|
+
An awaitable that is completed when the invocation completes.
|
|
82
|
+
"""
|
|
83
|
+
return ApplicationObserver._op_applicationInit.invokeAsync(self, ((serial, applications), context))
|
|
84
|
+
|
|
85
|
+
def applicationAdded(self, serial: int, desc: ApplicationInfo, context: dict[str, str] | None = None) -> None:
|
|
86
|
+
"""
|
|
87
|
+
Notifies the observer that an application was added.
|
|
88
|
+
|
|
89
|
+
Parameters
|
|
90
|
+
----------
|
|
91
|
+
serial : int
|
|
92
|
+
The new serial number of the registry database.
|
|
93
|
+
desc : ApplicationInfo
|
|
94
|
+
The descriptor of the new application.
|
|
95
|
+
context : dict[str, str]
|
|
96
|
+
The request context for the invocation.
|
|
97
|
+
"""
|
|
98
|
+
return ApplicationObserver._op_applicationAdded.invoke(self, ((serial, desc), context))
|
|
99
|
+
|
|
100
|
+
def applicationAddedAsync(self, serial: int, desc: ApplicationInfo, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
101
|
+
"""
|
|
102
|
+
Notifies the observer that an application was added.
|
|
103
|
+
|
|
104
|
+
Parameters
|
|
105
|
+
----------
|
|
106
|
+
serial : int
|
|
107
|
+
The new serial number of the registry database.
|
|
108
|
+
desc : ApplicationInfo
|
|
109
|
+
The descriptor of the new application.
|
|
110
|
+
context : dict[str, str]
|
|
111
|
+
The request context for the invocation.
|
|
112
|
+
|
|
113
|
+
Returns
|
|
114
|
+
-------
|
|
115
|
+
Awaitable[None]
|
|
116
|
+
An awaitable that is completed when the invocation completes.
|
|
117
|
+
"""
|
|
118
|
+
return ApplicationObserver._op_applicationAdded.invokeAsync(self, ((serial, desc), context))
|
|
119
|
+
|
|
120
|
+
def applicationRemoved(self, serial: int, name: str, context: dict[str, str] | None = None) -> None:
|
|
121
|
+
"""
|
|
122
|
+
Notifies the observer that an application was removed.
|
|
123
|
+
|
|
124
|
+
Parameters
|
|
125
|
+
----------
|
|
126
|
+
serial : int
|
|
127
|
+
The new serial number of the registry database.
|
|
128
|
+
name : str
|
|
129
|
+
The name of the application that was removed.
|
|
130
|
+
context : dict[str, str]
|
|
131
|
+
The request context for the invocation.
|
|
132
|
+
"""
|
|
133
|
+
return ApplicationObserver._op_applicationRemoved.invoke(self, ((serial, name), context))
|
|
134
|
+
|
|
135
|
+
def applicationRemovedAsync(self, serial: int, name: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
136
|
+
"""
|
|
137
|
+
Notifies the observer that an application was removed.
|
|
138
|
+
|
|
139
|
+
Parameters
|
|
140
|
+
----------
|
|
141
|
+
serial : int
|
|
142
|
+
The new serial number of the registry database.
|
|
143
|
+
name : str
|
|
144
|
+
The name of the application that was removed.
|
|
145
|
+
context : dict[str, str]
|
|
146
|
+
The request context for the invocation.
|
|
147
|
+
|
|
148
|
+
Returns
|
|
149
|
+
-------
|
|
150
|
+
Awaitable[None]
|
|
151
|
+
An awaitable that is completed when the invocation completes.
|
|
152
|
+
"""
|
|
153
|
+
return ApplicationObserver._op_applicationRemoved.invokeAsync(self, ((serial, name), context))
|
|
154
|
+
|
|
155
|
+
def applicationUpdated(self, serial: int, desc: ApplicationUpdateInfo, context: dict[str, str] | None = None) -> None:
|
|
156
|
+
"""
|
|
157
|
+
Notifies the observer that an application was updated.
|
|
158
|
+
|
|
159
|
+
Parameters
|
|
160
|
+
----------
|
|
161
|
+
serial : int
|
|
162
|
+
The new serial number of the registry database.
|
|
163
|
+
desc : ApplicationUpdateInfo
|
|
164
|
+
The descriptor of the update.
|
|
165
|
+
context : dict[str, str]
|
|
166
|
+
The request context for the invocation.
|
|
167
|
+
"""
|
|
168
|
+
return ApplicationObserver._op_applicationUpdated.invoke(self, ((serial, desc), context))
|
|
169
|
+
|
|
170
|
+
def applicationUpdatedAsync(self, serial: int, desc: ApplicationUpdateInfo, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
171
|
+
"""
|
|
172
|
+
Notifies the observer that an application was updated.
|
|
173
|
+
|
|
174
|
+
Parameters
|
|
175
|
+
----------
|
|
176
|
+
serial : int
|
|
177
|
+
The new serial number of the registry database.
|
|
178
|
+
desc : ApplicationUpdateInfo
|
|
179
|
+
The descriptor of the update.
|
|
180
|
+
context : dict[str, str]
|
|
181
|
+
The request context for the invocation.
|
|
182
|
+
|
|
183
|
+
Returns
|
|
184
|
+
-------
|
|
185
|
+
Awaitable[None]
|
|
186
|
+
An awaitable that is completed when the invocation completes.
|
|
187
|
+
"""
|
|
188
|
+
return ApplicationObserver._op_applicationUpdated.invokeAsync(self, ((serial, desc), context))
|
|
189
|
+
|
|
190
|
+
@staticmethod
|
|
191
|
+
def checkedCast(
|
|
192
|
+
proxy: ObjectPrx | None,
|
|
193
|
+
facet: str | None = None,
|
|
194
|
+
context: dict[str, str] | None = None
|
|
195
|
+
) -> ApplicationObserverPrx | None:
|
|
196
|
+
return checkedCast(ApplicationObserverPrx, proxy, facet, context)
|
|
197
|
+
|
|
198
|
+
@staticmethod
|
|
199
|
+
def checkedCastAsync(
|
|
200
|
+
proxy: ObjectPrx | None,
|
|
201
|
+
facet: str | None = None,
|
|
202
|
+
context: dict[str, str] | None = None
|
|
203
|
+
) -> Awaitable[ApplicationObserverPrx | None ]:
|
|
204
|
+
return checkedCastAsync(ApplicationObserverPrx, proxy, facet, context)
|
|
205
|
+
|
|
206
|
+
@overload
|
|
207
|
+
@staticmethod
|
|
208
|
+
def uncheckedCast(proxy: ObjectPrx, facet: str | None = None) -> ApplicationObserverPrx:
|
|
209
|
+
...
|
|
210
|
+
|
|
211
|
+
@overload
|
|
212
|
+
@staticmethod
|
|
213
|
+
def uncheckedCast(proxy: None, facet: str | None = None) -> None:
|
|
214
|
+
...
|
|
215
|
+
|
|
216
|
+
@staticmethod
|
|
217
|
+
def uncheckedCast(proxy: ObjectPrx | None, facet: str | None = None) -> ApplicationObserverPrx | None:
|
|
218
|
+
return uncheckedCast(ApplicationObserverPrx, proxy, facet)
|
|
219
|
+
|
|
220
|
+
@staticmethod
|
|
221
|
+
def ice_staticId() -> str:
|
|
222
|
+
return "::IceGrid::ApplicationObserver"
|
|
223
|
+
|
|
224
|
+
IcePy.defineProxy("::IceGrid::ApplicationObserver", ApplicationObserverPrx)
|
|
225
|
+
|
|
226
|
+
class ApplicationObserver(Object, ABC):
|
|
227
|
+
"""
|
|
228
|
+
Monitors applications.
|
|
229
|
+
|
|
230
|
+
Notes
|
|
231
|
+
-----
|
|
232
|
+
The Slice compiler generated this skeleton class from Slice interface ``::IceGrid::ApplicationObserver``.
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
_ice_ids: Sequence[str] = ("::Ice::Object", "::IceGrid::ApplicationObserver", )
|
|
236
|
+
_op_applicationInit: IcePy.Operation
|
|
237
|
+
_op_applicationAdded: IcePy.Operation
|
|
238
|
+
_op_applicationRemoved: IcePy.Operation
|
|
239
|
+
_op_applicationUpdated: IcePy.Operation
|
|
240
|
+
|
|
241
|
+
@staticmethod
|
|
242
|
+
def ice_staticId() -> str:
|
|
243
|
+
return "::IceGrid::ApplicationObserver"
|
|
244
|
+
|
|
245
|
+
@abstractmethod
|
|
246
|
+
def applicationInit(self, serial: int, applications: list[ApplicationInfo], current: Current) -> None | Awaitable[None]:
|
|
247
|
+
"""
|
|
248
|
+
Provides the initial application infos to the observer.
|
|
249
|
+
|
|
250
|
+
Parameters
|
|
251
|
+
----------
|
|
252
|
+
serial : int
|
|
253
|
+
The current serial number of the registry database. This serial number allows observers to
|
|
254
|
+
make sure that their internal state is synchronized with the registry.
|
|
255
|
+
applications : list[ApplicationInfo]
|
|
256
|
+
The applications currently registered with the registry.
|
|
257
|
+
current : Ice.Current
|
|
258
|
+
The Current object for the dispatch.
|
|
259
|
+
|
|
260
|
+
Returns
|
|
261
|
+
-------
|
|
262
|
+
None | Awaitable[None]
|
|
263
|
+
None or an awaitable that completes when the dispatch completes.
|
|
264
|
+
"""
|
|
265
|
+
pass
|
|
266
|
+
|
|
267
|
+
@abstractmethod
|
|
268
|
+
def applicationAdded(self, serial: int, desc: ApplicationInfo, current: Current) -> None | Awaitable[None]:
|
|
269
|
+
"""
|
|
270
|
+
Notifies the observer that an application was added.
|
|
271
|
+
|
|
272
|
+
Parameters
|
|
273
|
+
----------
|
|
274
|
+
serial : int
|
|
275
|
+
The new serial number of the registry database.
|
|
276
|
+
desc : ApplicationInfo
|
|
277
|
+
The descriptor of the new application.
|
|
278
|
+
current : Ice.Current
|
|
279
|
+
The Current object for the dispatch.
|
|
280
|
+
|
|
281
|
+
Returns
|
|
282
|
+
-------
|
|
283
|
+
None | Awaitable[None]
|
|
284
|
+
None or an awaitable that completes when the dispatch completes.
|
|
285
|
+
"""
|
|
286
|
+
pass
|
|
287
|
+
|
|
288
|
+
@abstractmethod
|
|
289
|
+
def applicationRemoved(self, serial: int, name: str, current: Current) -> None | Awaitable[None]:
|
|
290
|
+
"""
|
|
291
|
+
Notifies the observer that an application was removed.
|
|
292
|
+
|
|
293
|
+
Parameters
|
|
294
|
+
----------
|
|
295
|
+
serial : int
|
|
296
|
+
The new serial number of the registry database.
|
|
297
|
+
name : str
|
|
298
|
+
The name of the application that was removed.
|
|
299
|
+
current : Ice.Current
|
|
300
|
+
The Current object for the dispatch.
|
|
301
|
+
|
|
302
|
+
Returns
|
|
303
|
+
-------
|
|
304
|
+
None | Awaitable[None]
|
|
305
|
+
None or an awaitable that completes when the dispatch completes.
|
|
306
|
+
"""
|
|
307
|
+
pass
|
|
308
|
+
|
|
309
|
+
@abstractmethod
|
|
310
|
+
def applicationUpdated(self, serial: int, desc: ApplicationUpdateInfo, current: Current) -> None | Awaitable[None]:
|
|
311
|
+
"""
|
|
312
|
+
Notifies the observer that an application was updated.
|
|
313
|
+
|
|
314
|
+
Parameters
|
|
315
|
+
----------
|
|
316
|
+
serial : int
|
|
317
|
+
The new serial number of the registry database.
|
|
318
|
+
desc : ApplicationUpdateInfo
|
|
319
|
+
The descriptor of the update.
|
|
320
|
+
current : Ice.Current
|
|
321
|
+
The Current object for the dispatch.
|
|
322
|
+
|
|
323
|
+
Returns
|
|
324
|
+
-------
|
|
325
|
+
None | Awaitable[None]
|
|
326
|
+
None or an awaitable that completes when the dispatch completes.
|
|
327
|
+
"""
|
|
328
|
+
pass
|
|
329
|
+
|
|
330
|
+
ApplicationObserver._op_applicationInit = IcePy.Operation(
|
|
331
|
+
"applicationInit",
|
|
332
|
+
"applicationInit",
|
|
333
|
+
OperationMode.Normal,
|
|
334
|
+
None,
|
|
335
|
+
(),
|
|
336
|
+
(((), IcePy._t_int, False, 0), ((), _IceGrid_ApplicationInfoSeq_t, False, 0)),
|
|
337
|
+
(),
|
|
338
|
+
None,
|
|
339
|
+
())
|
|
340
|
+
|
|
341
|
+
ApplicationObserver._op_applicationAdded = IcePy.Operation(
|
|
342
|
+
"applicationAdded",
|
|
343
|
+
"applicationAdded",
|
|
344
|
+
OperationMode.Normal,
|
|
345
|
+
None,
|
|
346
|
+
(),
|
|
347
|
+
(((), IcePy._t_int, False, 0), ((), _IceGrid_ApplicationInfo_t, False, 0)),
|
|
348
|
+
(),
|
|
349
|
+
None,
|
|
350
|
+
())
|
|
351
|
+
|
|
352
|
+
ApplicationObserver._op_applicationRemoved = IcePy.Operation(
|
|
353
|
+
"applicationRemoved",
|
|
354
|
+
"applicationRemoved",
|
|
355
|
+
OperationMode.Normal,
|
|
356
|
+
None,
|
|
357
|
+
(),
|
|
358
|
+
(((), IcePy._t_int, False, 0), ((), IcePy._t_string, False, 0)),
|
|
359
|
+
(),
|
|
360
|
+
None,
|
|
361
|
+
())
|
|
362
|
+
|
|
363
|
+
ApplicationObserver._op_applicationUpdated = IcePy.Operation(
|
|
364
|
+
"applicationUpdated",
|
|
365
|
+
"applicationUpdated",
|
|
366
|
+
OperationMode.Normal,
|
|
367
|
+
None,
|
|
368
|
+
(),
|
|
369
|
+
(((), IcePy._t_int, False, 0), ((), _IceGrid_ApplicationUpdateInfo_t, False, 0)),
|
|
370
|
+
(),
|
|
371
|
+
None,
|
|
372
|
+
())
|
|
373
|
+
|
|
374
|
+
__all__ = ["ApplicationObserver", "ApplicationObserverPrx", "_IceGrid_ApplicationObserverPrx_t"]
|