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/Admin.py
ADDED
|
@@ -0,0 +1,3662 @@
|
|
|
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 _Ice_Identity_t
|
|
9
|
+
|
|
10
|
+
from Ice.Object import Object
|
|
11
|
+
|
|
12
|
+
from Ice.ObjectPrx import ObjectPrx
|
|
13
|
+
from Ice.ObjectPrx import checkedCast
|
|
14
|
+
from Ice.ObjectPrx import checkedCastAsync
|
|
15
|
+
from Ice.ObjectPrx import uncheckedCast
|
|
16
|
+
|
|
17
|
+
from Ice.ObjectPrx_forward import _Ice_ObjectPrx_t
|
|
18
|
+
|
|
19
|
+
from Ice.OperationMode import OperationMode
|
|
20
|
+
|
|
21
|
+
from Ice.StringSeq import _Ice_StringSeq_t
|
|
22
|
+
|
|
23
|
+
from IceGrid.AccessDeniedException import _IceGrid_AccessDeniedException_t
|
|
24
|
+
|
|
25
|
+
from IceGrid.AdapterInfoSeq import _IceGrid_AdapterInfoSeq_t
|
|
26
|
+
|
|
27
|
+
from IceGrid.AdapterNotExistException import _IceGrid_AdapterNotExistException_t
|
|
28
|
+
|
|
29
|
+
from IceGrid.Admin_forward import _IceGrid_AdminPrx_t
|
|
30
|
+
|
|
31
|
+
from IceGrid.ApplicationDescriptor import _IceGrid_ApplicationDescriptor_t
|
|
32
|
+
|
|
33
|
+
from IceGrid.ApplicationInfo import _IceGrid_ApplicationInfo_t
|
|
34
|
+
|
|
35
|
+
from IceGrid.ApplicationNotExistException import _IceGrid_ApplicationNotExistException_t
|
|
36
|
+
|
|
37
|
+
from IceGrid.ApplicationUpdateDescriptor import _IceGrid_ApplicationUpdateDescriptor_t
|
|
38
|
+
|
|
39
|
+
from IceGrid.BadSignalException import _IceGrid_BadSignalException_t
|
|
40
|
+
|
|
41
|
+
from IceGrid.DeploymentException import _IceGrid_DeploymentException_t
|
|
42
|
+
|
|
43
|
+
from IceGrid.LoadInfo import _IceGrid_LoadInfo_t
|
|
44
|
+
|
|
45
|
+
from IceGrid.NodeInfo import _IceGrid_NodeInfo_t
|
|
46
|
+
|
|
47
|
+
from IceGrid.NodeNotExistException import _IceGrid_NodeNotExistException_t
|
|
48
|
+
|
|
49
|
+
from IceGrid.NodeUnreachableException import _IceGrid_NodeUnreachableException_t
|
|
50
|
+
|
|
51
|
+
from IceGrid.ObjectExistsException import _IceGrid_ObjectExistsException_t
|
|
52
|
+
|
|
53
|
+
from IceGrid.ObjectInfo import _IceGrid_ObjectInfo_t
|
|
54
|
+
|
|
55
|
+
from IceGrid.ObjectInfoSeq import _IceGrid_ObjectInfoSeq_t
|
|
56
|
+
|
|
57
|
+
from IceGrid.ObjectNotRegisteredException import _IceGrid_ObjectNotRegisteredException_t
|
|
58
|
+
|
|
59
|
+
from IceGrid.RegistryInfo import _IceGrid_RegistryInfo_t
|
|
60
|
+
|
|
61
|
+
from IceGrid.RegistryNotExistException import _IceGrid_RegistryNotExistException_t
|
|
62
|
+
|
|
63
|
+
from IceGrid.RegistryUnreachableException import _IceGrid_RegistryUnreachableException_t
|
|
64
|
+
|
|
65
|
+
from IceGrid.ServerInfo import _IceGrid_ServerInfo_t
|
|
66
|
+
|
|
67
|
+
from IceGrid.ServerInstanceDescriptor import _IceGrid_ServerInstanceDescriptor_t
|
|
68
|
+
|
|
69
|
+
from IceGrid.ServerNotExistException import _IceGrid_ServerNotExistException_t
|
|
70
|
+
|
|
71
|
+
from IceGrid.ServerStartException import _IceGrid_ServerStartException_t
|
|
72
|
+
|
|
73
|
+
from IceGrid.ServerState import _IceGrid_ServerState_t
|
|
74
|
+
|
|
75
|
+
from IceGrid.ServerStopException import _IceGrid_ServerStopException_t
|
|
76
|
+
|
|
77
|
+
from abc import ABC
|
|
78
|
+
from abc import abstractmethod
|
|
79
|
+
|
|
80
|
+
from typing import TYPE_CHECKING
|
|
81
|
+
from typing import overload
|
|
82
|
+
|
|
83
|
+
if TYPE_CHECKING:
|
|
84
|
+
from Ice.Current import Current
|
|
85
|
+
from Ice.Identity import Identity
|
|
86
|
+
from IceGrid.AdapterInfo import AdapterInfo
|
|
87
|
+
from IceGrid.ApplicationDescriptor import ApplicationDescriptor
|
|
88
|
+
from IceGrid.ApplicationInfo import ApplicationInfo
|
|
89
|
+
from IceGrid.ApplicationUpdateDescriptor import ApplicationUpdateDescriptor
|
|
90
|
+
from IceGrid.LoadInfo import LoadInfo
|
|
91
|
+
from IceGrid.NodeInfo import NodeInfo
|
|
92
|
+
from IceGrid.ObjectInfo import ObjectInfo
|
|
93
|
+
from IceGrid.RegistryInfo import RegistryInfo
|
|
94
|
+
from IceGrid.ServerInfo import ServerInfo
|
|
95
|
+
from IceGrid.ServerInstanceDescriptor import ServerInstanceDescriptor
|
|
96
|
+
from IceGrid.ServerState import ServerState
|
|
97
|
+
from collections.abc import Awaitable
|
|
98
|
+
from collections.abc import Sequence
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
class AdminPrx(ObjectPrx):
|
|
102
|
+
"""
|
|
103
|
+
Provides administrative access to an IceGrid deployment.
|
|
104
|
+
|
|
105
|
+
Notes
|
|
106
|
+
-----
|
|
107
|
+
The Slice compiler generated this proxy class from Slice interface ``::IceGrid::Admin``.
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
def addApplication(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> None:
|
|
111
|
+
"""
|
|
112
|
+
Adds an application to IceGrid.
|
|
113
|
+
|
|
114
|
+
Parameters
|
|
115
|
+
----------
|
|
116
|
+
descriptor : ApplicationDescriptor
|
|
117
|
+
The application descriptor.
|
|
118
|
+
context : dict[str, str]
|
|
119
|
+
The request context for the invocation.
|
|
120
|
+
|
|
121
|
+
Raises
|
|
122
|
+
------
|
|
123
|
+
AccessDeniedException
|
|
124
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
125
|
+
session is holding the lock.
|
|
126
|
+
DeploymentException
|
|
127
|
+
Thrown when the application deployment failed.
|
|
128
|
+
"""
|
|
129
|
+
return Admin._op_addApplication.invoke(self, ((descriptor, ), context))
|
|
130
|
+
|
|
131
|
+
def addApplicationAsync(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
132
|
+
"""
|
|
133
|
+
Adds an application to IceGrid.
|
|
134
|
+
|
|
135
|
+
Parameters
|
|
136
|
+
----------
|
|
137
|
+
descriptor : ApplicationDescriptor
|
|
138
|
+
The application descriptor.
|
|
139
|
+
context : dict[str, str]
|
|
140
|
+
The request context for the invocation.
|
|
141
|
+
|
|
142
|
+
Returns
|
|
143
|
+
-------
|
|
144
|
+
Awaitable[None]
|
|
145
|
+
An awaitable that is completed when the invocation completes.
|
|
146
|
+
"""
|
|
147
|
+
return Admin._op_addApplication.invokeAsync(self, ((descriptor, ), context))
|
|
148
|
+
|
|
149
|
+
def syncApplication(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> None:
|
|
150
|
+
"""
|
|
151
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor.
|
|
152
|
+
|
|
153
|
+
Parameters
|
|
154
|
+
----------
|
|
155
|
+
descriptor : ApplicationDescriptor
|
|
156
|
+
The new application descriptor.
|
|
157
|
+
context : dict[str, str]
|
|
158
|
+
The request context for the invocation.
|
|
159
|
+
|
|
160
|
+
Raises
|
|
161
|
+
------
|
|
162
|
+
AccessDeniedException
|
|
163
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
164
|
+
session is holding the lock.
|
|
165
|
+
ApplicationNotExistException
|
|
166
|
+
Thrown when the application doesn't exist.
|
|
167
|
+
DeploymentException
|
|
168
|
+
Thrown when the application deployment failed.
|
|
169
|
+
"""
|
|
170
|
+
return Admin._op_syncApplication.invoke(self, ((descriptor, ), context))
|
|
171
|
+
|
|
172
|
+
def syncApplicationAsync(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
173
|
+
"""
|
|
174
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor.
|
|
175
|
+
|
|
176
|
+
Parameters
|
|
177
|
+
----------
|
|
178
|
+
descriptor : ApplicationDescriptor
|
|
179
|
+
The new application descriptor.
|
|
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 Admin._op_syncApplication.invokeAsync(self, ((descriptor, ), context))
|
|
189
|
+
|
|
190
|
+
def updateApplication(self, descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) -> None:
|
|
191
|
+
"""
|
|
192
|
+
Updates a deployed application.
|
|
193
|
+
|
|
194
|
+
Parameters
|
|
195
|
+
----------
|
|
196
|
+
descriptor : ApplicationUpdateDescriptor
|
|
197
|
+
The update descriptor.
|
|
198
|
+
context : dict[str, str]
|
|
199
|
+
The request context for the invocation.
|
|
200
|
+
|
|
201
|
+
Raises
|
|
202
|
+
------
|
|
203
|
+
AccessDeniedException
|
|
204
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
205
|
+
session is holding the lock.
|
|
206
|
+
ApplicationNotExistException
|
|
207
|
+
Thrown when the application doesn't exist.
|
|
208
|
+
DeploymentException
|
|
209
|
+
Thrown when the application deployment failed.
|
|
210
|
+
"""
|
|
211
|
+
return Admin._op_updateApplication.invoke(self, ((descriptor, ), context))
|
|
212
|
+
|
|
213
|
+
def updateApplicationAsync(self, descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
214
|
+
"""
|
|
215
|
+
Updates a deployed application.
|
|
216
|
+
|
|
217
|
+
Parameters
|
|
218
|
+
----------
|
|
219
|
+
descriptor : ApplicationUpdateDescriptor
|
|
220
|
+
The update descriptor.
|
|
221
|
+
context : dict[str, str]
|
|
222
|
+
The request context for the invocation.
|
|
223
|
+
|
|
224
|
+
Returns
|
|
225
|
+
-------
|
|
226
|
+
Awaitable[None]
|
|
227
|
+
An awaitable that is completed when the invocation completes.
|
|
228
|
+
"""
|
|
229
|
+
return Admin._op_updateApplication.invokeAsync(self, ((descriptor, ), context))
|
|
230
|
+
|
|
231
|
+
def syncApplicationWithoutRestart(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> None:
|
|
232
|
+
"""
|
|
233
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor
|
|
234
|
+
only if no server restarts are necessary for the update of the application. If some servers need to be
|
|
235
|
+
restarted, the synchronization is rejected with a DeploymentException.
|
|
236
|
+
|
|
237
|
+
Parameters
|
|
238
|
+
----------
|
|
239
|
+
descriptor : ApplicationDescriptor
|
|
240
|
+
The application descriptor.
|
|
241
|
+
context : dict[str, str]
|
|
242
|
+
The request context for the invocation.
|
|
243
|
+
|
|
244
|
+
Raises
|
|
245
|
+
------
|
|
246
|
+
AccessDeniedException
|
|
247
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
248
|
+
session is holding the lock.
|
|
249
|
+
ApplicationNotExistException
|
|
250
|
+
Thrown when the application doesn't exist.
|
|
251
|
+
DeploymentException
|
|
252
|
+
Thrown when the application deployment failed.
|
|
253
|
+
"""
|
|
254
|
+
return Admin._op_syncApplicationWithoutRestart.invoke(self, ((descriptor, ), context))
|
|
255
|
+
|
|
256
|
+
def syncApplicationWithoutRestartAsync(self, descriptor: ApplicationDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
257
|
+
"""
|
|
258
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor
|
|
259
|
+
only if no server restarts are necessary for the update of the application. If some servers need to be
|
|
260
|
+
restarted, the synchronization is rejected with a DeploymentException.
|
|
261
|
+
|
|
262
|
+
Parameters
|
|
263
|
+
----------
|
|
264
|
+
descriptor : ApplicationDescriptor
|
|
265
|
+
The application descriptor.
|
|
266
|
+
context : dict[str, str]
|
|
267
|
+
The request context for the invocation.
|
|
268
|
+
|
|
269
|
+
Returns
|
|
270
|
+
-------
|
|
271
|
+
Awaitable[None]
|
|
272
|
+
An awaitable that is completed when the invocation completes.
|
|
273
|
+
"""
|
|
274
|
+
return Admin._op_syncApplicationWithoutRestart.invokeAsync(self, ((descriptor, ), context))
|
|
275
|
+
|
|
276
|
+
def updateApplicationWithoutRestart(self, descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) -> None:
|
|
277
|
+
"""
|
|
278
|
+
Updates a deployed application. This operation succeeds only when no server restarts are necessary for the
|
|
279
|
+
update of the application. If some servers need to be restarted, the synchronization is rejected with a
|
|
280
|
+
DeploymentException.
|
|
281
|
+
|
|
282
|
+
Parameters
|
|
283
|
+
----------
|
|
284
|
+
descriptor : ApplicationUpdateDescriptor
|
|
285
|
+
The update descriptor.
|
|
286
|
+
context : dict[str, str]
|
|
287
|
+
The request context for the invocation.
|
|
288
|
+
|
|
289
|
+
Raises
|
|
290
|
+
------
|
|
291
|
+
AccessDeniedException
|
|
292
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
293
|
+
session is holding the lock.
|
|
294
|
+
ApplicationNotExistException
|
|
295
|
+
Thrown when the application doesn't exist.
|
|
296
|
+
DeploymentException
|
|
297
|
+
Thrown when the application deployment failed.
|
|
298
|
+
"""
|
|
299
|
+
return Admin._op_updateApplicationWithoutRestart.invoke(self, ((descriptor, ), context))
|
|
300
|
+
|
|
301
|
+
def updateApplicationWithoutRestartAsync(self, descriptor: ApplicationUpdateDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
302
|
+
"""
|
|
303
|
+
Updates a deployed application. This operation succeeds only when no server restarts are necessary for the
|
|
304
|
+
update of the application. If some servers need to be restarted, the synchronization is rejected with a
|
|
305
|
+
DeploymentException.
|
|
306
|
+
|
|
307
|
+
Parameters
|
|
308
|
+
----------
|
|
309
|
+
descriptor : ApplicationUpdateDescriptor
|
|
310
|
+
The update descriptor.
|
|
311
|
+
context : dict[str, str]
|
|
312
|
+
The request context for the invocation.
|
|
313
|
+
|
|
314
|
+
Returns
|
|
315
|
+
-------
|
|
316
|
+
Awaitable[None]
|
|
317
|
+
An awaitable that is completed when the invocation completes.
|
|
318
|
+
"""
|
|
319
|
+
return Admin._op_updateApplicationWithoutRestart.invokeAsync(self, ((descriptor, ), context))
|
|
320
|
+
|
|
321
|
+
def removeApplication(self, name: str, context: dict[str, str] | None = None) -> None:
|
|
322
|
+
"""
|
|
323
|
+
Removes an application from IceGrid.
|
|
324
|
+
|
|
325
|
+
Parameters
|
|
326
|
+
----------
|
|
327
|
+
name : str
|
|
328
|
+
The application name.
|
|
329
|
+
context : dict[str, str]
|
|
330
|
+
The request context for the invocation.
|
|
331
|
+
|
|
332
|
+
Raises
|
|
333
|
+
------
|
|
334
|
+
AccessDeniedException
|
|
335
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
336
|
+
session is holding the lock.
|
|
337
|
+
ApplicationNotExistException
|
|
338
|
+
Thrown when the application doesn't exist.
|
|
339
|
+
DeploymentException
|
|
340
|
+
Thrown when the application deployment failed.
|
|
341
|
+
"""
|
|
342
|
+
return Admin._op_removeApplication.invoke(self, ((name, ), context))
|
|
343
|
+
|
|
344
|
+
def removeApplicationAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
345
|
+
"""
|
|
346
|
+
Removes an application from IceGrid.
|
|
347
|
+
|
|
348
|
+
Parameters
|
|
349
|
+
----------
|
|
350
|
+
name : str
|
|
351
|
+
The application name.
|
|
352
|
+
context : dict[str, str]
|
|
353
|
+
The request context for the invocation.
|
|
354
|
+
|
|
355
|
+
Returns
|
|
356
|
+
-------
|
|
357
|
+
Awaitable[None]
|
|
358
|
+
An awaitable that is completed when the invocation completes.
|
|
359
|
+
"""
|
|
360
|
+
return Admin._op_removeApplication.invokeAsync(self, ((name, ), context))
|
|
361
|
+
|
|
362
|
+
def instantiateServer(self, application: str, node: str, desc: ServerInstanceDescriptor, context: dict[str, str] | None = None) -> None:
|
|
363
|
+
"""
|
|
364
|
+
Instantiates a server template.
|
|
365
|
+
|
|
366
|
+
Parameters
|
|
367
|
+
----------
|
|
368
|
+
application : str
|
|
369
|
+
The application name.
|
|
370
|
+
node : str
|
|
371
|
+
The name of the node where the server will be deployed.
|
|
372
|
+
desc : ServerInstanceDescriptor
|
|
373
|
+
The descriptor of the server instance to deploy.
|
|
374
|
+
context : dict[str, str]
|
|
375
|
+
The request context for the invocation.
|
|
376
|
+
|
|
377
|
+
Raises
|
|
378
|
+
------
|
|
379
|
+
AccessDeniedException
|
|
380
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
381
|
+
session is holding the lock.
|
|
382
|
+
ApplicationNotExistException
|
|
383
|
+
Thrown when the application doesn't exist.
|
|
384
|
+
DeploymentException
|
|
385
|
+
Thrown when the application deployment failed.
|
|
386
|
+
"""
|
|
387
|
+
return Admin._op_instantiateServer.invoke(self, ((application, node, desc), context))
|
|
388
|
+
|
|
389
|
+
def instantiateServerAsync(self, application: str, node: str, desc: ServerInstanceDescriptor, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
390
|
+
"""
|
|
391
|
+
Instantiates a server template.
|
|
392
|
+
|
|
393
|
+
Parameters
|
|
394
|
+
----------
|
|
395
|
+
application : str
|
|
396
|
+
The application name.
|
|
397
|
+
node : str
|
|
398
|
+
The name of the node where the server will be deployed.
|
|
399
|
+
desc : ServerInstanceDescriptor
|
|
400
|
+
The descriptor of the server instance to deploy.
|
|
401
|
+
context : dict[str, str]
|
|
402
|
+
The request context for the invocation.
|
|
403
|
+
|
|
404
|
+
Returns
|
|
405
|
+
-------
|
|
406
|
+
Awaitable[None]
|
|
407
|
+
An awaitable that is completed when the invocation completes.
|
|
408
|
+
"""
|
|
409
|
+
return Admin._op_instantiateServer.invokeAsync(self, ((application, node, desc), context))
|
|
410
|
+
|
|
411
|
+
def getApplicationInfo(self, name: str, context: dict[str, str] | None = None) -> ApplicationInfo:
|
|
412
|
+
"""
|
|
413
|
+
Gets an application descriptor.
|
|
414
|
+
|
|
415
|
+
Parameters
|
|
416
|
+
----------
|
|
417
|
+
name : str
|
|
418
|
+
The application name.
|
|
419
|
+
context : dict[str, str]
|
|
420
|
+
The request context for the invocation.
|
|
421
|
+
|
|
422
|
+
Returns
|
|
423
|
+
-------
|
|
424
|
+
ApplicationInfo
|
|
425
|
+
The application descriptor.
|
|
426
|
+
|
|
427
|
+
Raises
|
|
428
|
+
------
|
|
429
|
+
ApplicationNotExistException
|
|
430
|
+
Thrown when the application doesn't exist.
|
|
431
|
+
"""
|
|
432
|
+
return Admin._op_getApplicationInfo.invoke(self, ((name, ), context))
|
|
433
|
+
|
|
434
|
+
def getApplicationInfoAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[ApplicationInfo]:
|
|
435
|
+
"""
|
|
436
|
+
Gets an application descriptor.
|
|
437
|
+
|
|
438
|
+
Parameters
|
|
439
|
+
----------
|
|
440
|
+
name : str
|
|
441
|
+
The application name.
|
|
442
|
+
context : dict[str, str]
|
|
443
|
+
The request context for the invocation.
|
|
444
|
+
|
|
445
|
+
Returns
|
|
446
|
+
-------
|
|
447
|
+
Awaitable[ApplicationInfo]
|
|
448
|
+
The application descriptor.
|
|
449
|
+
"""
|
|
450
|
+
return Admin._op_getApplicationInfo.invokeAsync(self, ((name, ), context))
|
|
451
|
+
|
|
452
|
+
def getDefaultApplicationDescriptor(self, context: dict[str, str] | None = None) -> ApplicationDescriptor:
|
|
453
|
+
"""
|
|
454
|
+
Gets the default application descriptor.
|
|
455
|
+
|
|
456
|
+
Parameters
|
|
457
|
+
----------
|
|
458
|
+
context : dict[str, str]
|
|
459
|
+
The request context for the invocation.
|
|
460
|
+
|
|
461
|
+
Returns
|
|
462
|
+
-------
|
|
463
|
+
ApplicationDescriptor
|
|
464
|
+
The default application descriptor.
|
|
465
|
+
|
|
466
|
+
Raises
|
|
467
|
+
------
|
|
468
|
+
DeploymentException
|
|
469
|
+
Thrown when the default application descriptor is invalid or unreachable.
|
|
470
|
+
"""
|
|
471
|
+
return Admin._op_getDefaultApplicationDescriptor.invoke(self, ((), context))
|
|
472
|
+
|
|
473
|
+
def getDefaultApplicationDescriptorAsync(self, context: dict[str, str] | None = None) -> Awaitable[ApplicationDescriptor]:
|
|
474
|
+
"""
|
|
475
|
+
Gets the default application descriptor.
|
|
476
|
+
|
|
477
|
+
Parameters
|
|
478
|
+
----------
|
|
479
|
+
context : dict[str, str]
|
|
480
|
+
The request context for the invocation.
|
|
481
|
+
|
|
482
|
+
Returns
|
|
483
|
+
-------
|
|
484
|
+
Awaitable[ApplicationDescriptor]
|
|
485
|
+
The default application descriptor.
|
|
486
|
+
"""
|
|
487
|
+
return Admin._op_getDefaultApplicationDescriptor.invokeAsync(self, ((), context))
|
|
488
|
+
|
|
489
|
+
def getAllApplicationNames(self, context: dict[str, str] | None = None) -> list[str]:
|
|
490
|
+
"""
|
|
491
|
+
Gets all the IceGrid applications currently registered.
|
|
492
|
+
|
|
493
|
+
Parameters
|
|
494
|
+
----------
|
|
495
|
+
context : dict[str, str]
|
|
496
|
+
The request context for the invocation.
|
|
497
|
+
|
|
498
|
+
Returns
|
|
499
|
+
-------
|
|
500
|
+
list[str]
|
|
501
|
+
The application names.
|
|
502
|
+
"""
|
|
503
|
+
return Admin._op_getAllApplicationNames.invoke(self, ((), context))
|
|
504
|
+
|
|
505
|
+
def getAllApplicationNamesAsync(self, context: dict[str, str] | None = None) -> Awaitable[list[str]]:
|
|
506
|
+
"""
|
|
507
|
+
Gets all the IceGrid applications currently registered.
|
|
508
|
+
|
|
509
|
+
Parameters
|
|
510
|
+
----------
|
|
511
|
+
context : dict[str, str]
|
|
512
|
+
The request context for the invocation.
|
|
513
|
+
|
|
514
|
+
Returns
|
|
515
|
+
-------
|
|
516
|
+
Awaitable[list[str]]
|
|
517
|
+
The application names.
|
|
518
|
+
"""
|
|
519
|
+
return Admin._op_getAllApplicationNames.invokeAsync(self, ((), context))
|
|
520
|
+
|
|
521
|
+
def getServerInfo(self, id: str, context: dict[str, str] | None = None) -> ServerInfo:
|
|
522
|
+
"""
|
|
523
|
+
Gets information about a server.
|
|
524
|
+
|
|
525
|
+
Parameters
|
|
526
|
+
----------
|
|
527
|
+
id : str
|
|
528
|
+
The server ID.
|
|
529
|
+
context : dict[str, str]
|
|
530
|
+
The request context for the invocation.
|
|
531
|
+
|
|
532
|
+
Returns
|
|
533
|
+
-------
|
|
534
|
+
ServerInfo
|
|
535
|
+
The server information.
|
|
536
|
+
|
|
537
|
+
Raises
|
|
538
|
+
------
|
|
539
|
+
ServerNotExistException
|
|
540
|
+
Thrown when the server doesn't exist.
|
|
541
|
+
"""
|
|
542
|
+
return Admin._op_getServerInfo.invoke(self, ((id, ), context))
|
|
543
|
+
|
|
544
|
+
def getServerInfoAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[ServerInfo]:
|
|
545
|
+
"""
|
|
546
|
+
Gets information about a server.
|
|
547
|
+
|
|
548
|
+
Parameters
|
|
549
|
+
----------
|
|
550
|
+
id : str
|
|
551
|
+
The server ID.
|
|
552
|
+
context : dict[str, str]
|
|
553
|
+
The request context for the invocation.
|
|
554
|
+
|
|
555
|
+
Returns
|
|
556
|
+
-------
|
|
557
|
+
Awaitable[ServerInfo]
|
|
558
|
+
The server information.
|
|
559
|
+
"""
|
|
560
|
+
return Admin._op_getServerInfo.invokeAsync(self, ((id, ), context))
|
|
561
|
+
|
|
562
|
+
def getServerState(self, id: str, context: dict[str, str] | None = None) -> ServerState:
|
|
563
|
+
"""
|
|
564
|
+
Gets the state of a server.
|
|
565
|
+
|
|
566
|
+
Parameters
|
|
567
|
+
----------
|
|
568
|
+
id : str
|
|
569
|
+
The server ID.
|
|
570
|
+
context : dict[str, str]
|
|
571
|
+
The request context for the invocation.
|
|
572
|
+
|
|
573
|
+
Returns
|
|
574
|
+
-------
|
|
575
|
+
ServerState
|
|
576
|
+
The server state.
|
|
577
|
+
|
|
578
|
+
Raises
|
|
579
|
+
------
|
|
580
|
+
DeploymentException
|
|
581
|
+
Thrown when the deployment of the server failed.
|
|
582
|
+
NodeUnreachableException
|
|
583
|
+
Thrown when the node is unreachable.
|
|
584
|
+
ServerNotExistException
|
|
585
|
+
Thrown when the server doesn't exist.
|
|
586
|
+
"""
|
|
587
|
+
return Admin._op_getServerState.invoke(self, ((id, ), context))
|
|
588
|
+
|
|
589
|
+
def getServerStateAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[ServerState]:
|
|
590
|
+
"""
|
|
591
|
+
Gets the state of a server.
|
|
592
|
+
|
|
593
|
+
Parameters
|
|
594
|
+
----------
|
|
595
|
+
id : str
|
|
596
|
+
The server ID.
|
|
597
|
+
context : dict[str, str]
|
|
598
|
+
The request context for the invocation.
|
|
599
|
+
|
|
600
|
+
Returns
|
|
601
|
+
-------
|
|
602
|
+
Awaitable[ServerState]
|
|
603
|
+
The server state.
|
|
604
|
+
"""
|
|
605
|
+
return Admin._op_getServerState.invokeAsync(self, ((id, ), context))
|
|
606
|
+
|
|
607
|
+
def getServerPid(self, id: str, context: dict[str, str] | None = None) -> int:
|
|
608
|
+
"""
|
|
609
|
+
Gets the system process ID of a server. The process ID is operating system dependent.
|
|
610
|
+
|
|
611
|
+
Parameters
|
|
612
|
+
----------
|
|
613
|
+
id : str
|
|
614
|
+
The server ID.
|
|
615
|
+
context : dict[str, str]
|
|
616
|
+
The request context for the invocation.
|
|
617
|
+
|
|
618
|
+
Returns
|
|
619
|
+
-------
|
|
620
|
+
int
|
|
621
|
+
The process ID.
|
|
622
|
+
|
|
623
|
+
Raises
|
|
624
|
+
------
|
|
625
|
+
DeploymentException
|
|
626
|
+
Thrown when the deployment of the server failed.
|
|
627
|
+
NodeUnreachableException
|
|
628
|
+
Thrown when the node is unreachable.
|
|
629
|
+
ServerNotExistException
|
|
630
|
+
Thrown when the server doesn't exist.
|
|
631
|
+
"""
|
|
632
|
+
return Admin._op_getServerPid.invoke(self, ((id, ), context))
|
|
633
|
+
|
|
634
|
+
def getServerPidAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[int]:
|
|
635
|
+
"""
|
|
636
|
+
Gets the system process ID of a server. The process ID is operating system dependent.
|
|
637
|
+
|
|
638
|
+
Parameters
|
|
639
|
+
----------
|
|
640
|
+
id : str
|
|
641
|
+
The server ID.
|
|
642
|
+
context : dict[str, str]
|
|
643
|
+
The request context for the invocation.
|
|
644
|
+
|
|
645
|
+
Returns
|
|
646
|
+
-------
|
|
647
|
+
Awaitable[int]
|
|
648
|
+
The process ID.
|
|
649
|
+
"""
|
|
650
|
+
return Admin._op_getServerPid.invokeAsync(self, ((id, ), context))
|
|
651
|
+
|
|
652
|
+
def getServerAdminCategory(self, context: dict[str, str] | None = None) -> str:
|
|
653
|
+
"""
|
|
654
|
+
Gets the category for server admin objects. You can manufacture a server admin proxy from the admin proxy by
|
|
655
|
+
changing its identity: use the server ID as name and the returned category as category.
|
|
656
|
+
|
|
657
|
+
Parameters
|
|
658
|
+
----------
|
|
659
|
+
context : dict[str, str]
|
|
660
|
+
The request context for the invocation.
|
|
661
|
+
|
|
662
|
+
Returns
|
|
663
|
+
-------
|
|
664
|
+
str
|
|
665
|
+
The category for server admin objects.
|
|
666
|
+
"""
|
|
667
|
+
return Admin._op_getServerAdminCategory.invoke(self, ((), context))
|
|
668
|
+
|
|
669
|
+
def getServerAdminCategoryAsync(self, context: dict[str, str] | None = None) -> Awaitable[str]:
|
|
670
|
+
"""
|
|
671
|
+
Gets the category for server admin objects. You can manufacture a server admin proxy from the admin proxy by
|
|
672
|
+
changing its identity: use the server ID as name and the returned category as category.
|
|
673
|
+
|
|
674
|
+
Parameters
|
|
675
|
+
----------
|
|
676
|
+
context : dict[str, str]
|
|
677
|
+
The request context for the invocation.
|
|
678
|
+
|
|
679
|
+
Returns
|
|
680
|
+
-------
|
|
681
|
+
Awaitable[str]
|
|
682
|
+
The category for server admin objects.
|
|
683
|
+
"""
|
|
684
|
+
return Admin._op_getServerAdminCategory.invokeAsync(self, ((), context))
|
|
685
|
+
|
|
686
|
+
def getServerAdmin(self, id: str, context: dict[str, str] | None = None) -> ObjectPrx | None:
|
|
687
|
+
"""
|
|
688
|
+
Gets a proxy to the admin object of a server.
|
|
689
|
+
|
|
690
|
+
Parameters
|
|
691
|
+
----------
|
|
692
|
+
id : str
|
|
693
|
+
The server ID.
|
|
694
|
+
context : dict[str, str]
|
|
695
|
+
The request context for the invocation.
|
|
696
|
+
|
|
697
|
+
Returns
|
|
698
|
+
-------
|
|
699
|
+
ObjectPrx | None
|
|
700
|
+
A proxy to the admin object of the server. This proxy is never null.
|
|
701
|
+
|
|
702
|
+
Raises
|
|
703
|
+
------
|
|
704
|
+
DeploymentException
|
|
705
|
+
Thrown when the deployment of the server failed.
|
|
706
|
+
NodeUnreachableException
|
|
707
|
+
Thrown when the node is unreachable.
|
|
708
|
+
ServerNotExistException
|
|
709
|
+
Thrown when the server doesn't exist.
|
|
710
|
+
"""
|
|
711
|
+
return Admin._op_getServerAdmin.invoke(self, ((id, ), context))
|
|
712
|
+
|
|
713
|
+
def getServerAdminAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[ObjectPrx | None]:
|
|
714
|
+
"""
|
|
715
|
+
Gets a proxy to the admin object of a server.
|
|
716
|
+
|
|
717
|
+
Parameters
|
|
718
|
+
----------
|
|
719
|
+
id : str
|
|
720
|
+
The server ID.
|
|
721
|
+
context : dict[str, str]
|
|
722
|
+
The request context for the invocation.
|
|
723
|
+
|
|
724
|
+
Returns
|
|
725
|
+
-------
|
|
726
|
+
Awaitable[ObjectPrx | None]
|
|
727
|
+
A proxy to the admin object of the server. This proxy is never null.
|
|
728
|
+
"""
|
|
729
|
+
return Admin._op_getServerAdmin.invokeAsync(self, ((id, ), context))
|
|
730
|
+
|
|
731
|
+
def enableServer(self, id: str, enabled: bool, context: dict[str, str] | None = None) -> None:
|
|
732
|
+
"""
|
|
733
|
+
Enables or disables a server. A disabled server can't be started on demand or administratively. The enable
|
|
734
|
+
state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by
|
|
735
|
+
default.
|
|
736
|
+
|
|
737
|
+
Parameters
|
|
738
|
+
----------
|
|
739
|
+
id : str
|
|
740
|
+
The server ID.
|
|
741
|
+
enabled : bool
|
|
742
|
+
``true`` to enable the server, ``false`` to disable it.
|
|
743
|
+
context : dict[str, str]
|
|
744
|
+
The request context for the invocation.
|
|
745
|
+
|
|
746
|
+
Raises
|
|
747
|
+
------
|
|
748
|
+
DeploymentException
|
|
749
|
+
Thrown when the deployment of the server failed.
|
|
750
|
+
NodeUnreachableException
|
|
751
|
+
Thrown when the node is unreachable.
|
|
752
|
+
ServerNotExistException
|
|
753
|
+
Thrown when the server doesn't exist.
|
|
754
|
+
"""
|
|
755
|
+
return Admin._op_enableServer.invoke(self, ((id, enabled), context))
|
|
756
|
+
|
|
757
|
+
def enableServerAsync(self, id: str, enabled: bool, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
758
|
+
"""
|
|
759
|
+
Enables or disables a server. A disabled server can't be started on demand or administratively. The enable
|
|
760
|
+
state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by
|
|
761
|
+
default.
|
|
762
|
+
|
|
763
|
+
Parameters
|
|
764
|
+
----------
|
|
765
|
+
id : str
|
|
766
|
+
The server ID.
|
|
767
|
+
enabled : bool
|
|
768
|
+
``true`` to enable the server, ``false`` to disable it.
|
|
769
|
+
context : dict[str, str]
|
|
770
|
+
The request context for the invocation.
|
|
771
|
+
|
|
772
|
+
Returns
|
|
773
|
+
-------
|
|
774
|
+
Awaitable[None]
|
|
775
|
+
An awaitable that is completed when the invocation completes.
|
|
776
|
+
"""
|
|
777
|
+
return Admin._op_enableServer.invokeAsync(self, ((id, enabled), context))
|
|
778
|
+
|
|
779
|
+
def isServerEnabled(self, id: str, context: dict[str, str] | None = None) -> bool:
|
|
780
|
+
"""
|
|
781
|
+
Checks if the server is enabled or disabled.
|
|
782
|
+
|
|
783
|
+
Parameters
|
|
784
|
+
----------
|
|
785
|
+
id : str
|
|
786
|
+
The server ID.
|
|
787
|
+
context : dict[str, str]
|
|
788
|
+
The request context for the invocation.
|
|
789
|
+
|
|
790
|
+
Returns
|
|
791
|
+
-------
|
|
792
|
+
bool
|
|
793
|
+
``true`` if the server is enabled, ``false`` otherwise.
|
|
794
|
+
|
|
795
|
+
Raises
|
|
796
|
+
------
|
|
797
|
+
DeploymentException
|
|
798
|
+
Thrown when the deployment of the server failed.
|
|
799
|
+
NodeUnreachableException
|
|
800
|
+
Thrown when the node is unreachable.
|
|
801
|
+
ServerNotExistException
|
|
802
|
+
Thrown when the server doesn't exist.
|
|
803
|
+
"""
|
|
804
|
+
return Admin._op_isServerEnabled.invoke(self, ((id, ), context))
|
|
805
|
+
|
|
806
|
+
def isServerEnabledAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[bool]:
|
|
807
|
+
"""
|
|
808
|
+
Checks if the server is enabled or disabled.
|
|
809
|
+
|
|
810
|
+
Parameters
|
|
811
|
+
----------
|
|
812
|
+
id : str
|
|
813
|
+
The server ID.
|
|
814
|
+
context : dict[str, str]
|
|
815
|
+
The request context for the invocation.
|
|
816
|
+
|
|
817
|
+
Returns
|
|
818
|
+
-------
|
|
819
|
+
Awaitable[bool]
|
|
820
|
+
``true`` if the server is enabled, ``false`` otherwise.
|
|
821
|
+
"""
|
|
822
|
+
return Admin._op_isServerEnabled.invokeAsync(self, ((id, ), context))
|
|
823
|
+
|
|
824
|
+
def startServer(self, id: str, context: dict[str, str] | None = None) -> None:
|
|
825
|
+
"""
|
|
826
|
+
Starts a server and waits for its activation.
|
|
827
|
+
|
|
828
|
+
Parameters
|
|
829
|
+
----------
|
|
830
|
+
id : str
|
|
831
|
+
The server id.
|
|
832
|
+
context : dict[str, str]
|
|
833
|
+
The request context for the invocation.
|
|
834
|
+
|
|
835
|
+
Raises
|
|
836
|
+
------
|
|
837
|
+
DeploymentException
|
|
838
|
+
Thrown when the deployment of the server failed.
|
|
839
|
+
NodeUnreachableException
|
|
840
|
+
Thrown when the node is unreachable.
|
|
841
|
+
ServerNotExistException
|
|
842
|
+
Thrown when the server doesn't exist.
|
|
843
|
+
ServerStartException
|
|
844
|
+
Thrown when the server startup failed.
|
|
845
|
+
"""
|
|
846
|
+
return Admin._op_startServer.invoke(self, ((id, ), context))
|
|
847
|
+
|
|
848
|
+
def startServerAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
849
|
+
"""
|
|
850
|
+
Starts a server and waits for its activation.
|
|
851
|
+
|
|
852
|
+
Parameters
|
|
853
|
+
----------
|
|
854
|
+
id : str
|
|
855
|
+
The server id.
|
|
856
|
+
context : dict[str, str]
|
|
857
|
+
The request context for the invocation.
|
|
858
|
+
|
|
859
|
+
Returns
|
|
860
|
+
-------
|
|
861
|
+
Awaitable[None]
|
|
862
|
+
An awaitable that is completed when the invocation completes.
|
|
863
|
+
"""
|
|
864
|
+
return Admin._op_startServer.invokeAsync(self, ((id, ), context))
|
|
865
|
+
|
|
866
|
+
def stopServer(self, id: str, context: dict[str, str] | None = None) -> None:
|
|
867
|
+
"""
|
|
868
|
+
Stops a server.
|
|
869
|
+
|
|
870
|
+
Parameters
|
|
871
|
+
----------
|
|
872
|
+
id : str
|
|
873
|
+
The server ID.
|
|
874
|
+
context : dict[str, str]
|
|
875
|
+
The request context for the invocation.
|
|
876
|
+
|
|
877
|
+
Raises
|
|
878
|
+
------
|
|
879
|
+
DeploymentException
|
|
880
|
+
Thrown when the deployment of the server failed.
|
|
881
|
+
NodeUnreachableException
|
|
882
|
+
Thrown when the node is unreachable.
|
|
883
|
+
ServerNotExistException
|
|
884
|
+
Thrown when the server doesn't exist.
|
|
885
|
+
ServerStopException
|
|
886
|
+
Thrown when the server stop failed.
|
|
887
|
+
"""
|
|
888
|
+
return Admin._op_stopServer.invoke(self, ((id, ), context))
|
|
889
|
+
|
|
890
|
+
def stopServerAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
891
|
+
"""
|
|
892
|
+
Stops a server.
|
|
893
|
+
|
|
894
|
+
Parameters
|
|
895
|
+
----------
|
|
896
|
+
id : str
|
|
897
|
+
The server ID.
|
|
898
|
+
context : dict[str, str]
|
|
899
|
+
The request context for the invocation.
|
|
900
|
+
|
|
901
|
+
Returns
|
|
902
|
+
-------
|
|
903
|
+
Awaitable[None]
|
|
904
|
+
An awaitable that is completed when the invocation completes.
|
|
905
|
+
"""
|
|
906
|
+
return Admin._op_stopServer.invokeAsync(self, ((id, ), context))
|
|
907
|
+
|
|
908
|
+
def sendSignal(self, id: str, signal: str, context: dict[str, str] | None = None) -> None:
|
|
909
|
+
"""
|
|
910
|
+
Sends a signal to a server.
|
|
911
|
+
|
|
912
|
+
Parameters
|
|
913
|
+
----------
|
|
914
|
+
id : str
|
|
915
|
+
The server ID.
|
|
916
|
+
signal : str
|
|
917
|
+
The signal, for example SIGTERM or 15.
|
|
918
|
+
context : dict[str, str]
|
|
919
|
+
The request context for the invocation.
|
|
920
|
+
|
|
921
|
+
Raises
|
|
922
|
+
------
|
|
923
|
+
BadSignalException
|
|
924
|
+
Thrown when the signal is not recognized by the target server.
|
|
925
|
+
DeploymentException
|
|
926
|
+
Thrown when the deployment of the server failed.
|
|
927
|
+
NodeUnreachableException
|
|
928
|
+
Thrown when the node is unreachable.
|
|
929
|
+
ServerNotExistException
|
|
930
|
+
Thrown when the server doesn't exist.
|
|
931
|
+
"""
|
|
932
|
+
return Admin._op_sendSignal.invoke(self, ((id, signal), context))
|
|
933
|
+
|
|
934
|
+
def sendSignalAsync(self, id: str, signal: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
935
|
+
"""
|
|
936
|
+
Sends a signal to a server.
|
|
937
|
+
|
|
938
|
+
Parameters
|
|
939
|
+
----------
|
|
940
|
+
id : str
|
|
941
|
+
The server ID.
|
|
942
|
+
signal : str
|
|
943
|
+
The signal, for example SIGTERM or 15.
|
|
944
|
+
context : dict[str, str]
|
|
945
|
+
The request context for the invocation.
|
|
946
|
+
|
|
947
|
+
Returns
|
|
948
|
+
-------
|
|
949
|
+
Awaitable[None]
|
|
950
|
+
An awaitable that is completed when the invocation completes.
|
|
951
|
+
"""
|
|
952
|
+
return Admin._op_sendSignal.invokeAsync(self, ((id, signal), context))
|
|
953
|
+
|
|
954
|
+
def getAllServerIds(self, context: dict[str, str] | None = None) -> list[str]:
|
|
955
|
+
"""
|
|
956
|
+
Gets the IDs of all the servers registered with IceGrid.
|
|
957
|
+
|
|
958
|
+
Parameters
|
|
959
|
+
----------
|
|
960
|
+
context : dict[str, str]
|
|
961
|
+
The request context for the invocation.
|
|
962
|
+
|
|
963
|
+
Returns
|
|
964
|
+
-------
|
|
965
|
+
list[str]
|
|
966
|
+
The server IDs.
|
|
967
|
+
"""
|
|
968
|
+
return Admin._op_getAllServerIds.invoke(self, ((), context))
|
|
969
|
+
|
|
970
|
+
def getAllServerIdsAsync(self, context: dict[str, str] | None = None) -> Awaitable[list[str]]:
|
|
971
|
+
"""
|
|
972
|
+
Gets the IDs of all the servers registered with IceGrid.
|
|
973
|
+
|
|
974
|
+
Parameters
|
|
975
|
+
----------
|
|
976
|
+
context : dict[str, str]
|
|
977
|
+
The request context for the invocation.
|
|
978
|
+
|
|
979
|
+
Returns
|
|
980
|
+
-------
|
|
981
|
+
Awaitable[list[str]]
|
|
982
|
+
The server IDs.
|
|
983
|
+
"""
|
|
984
|
+
return Admin._op_getAllServerIds.invokeAsync(self, ((), context))
|
|
985
|
+
|
|
986
|
+
def getAdapterInfo(self, id: str, context: dict[str, str] | None = None) -> list[AdapterInfo]:
|
|
987
|
+
"""
|
|
988
|
+
Gets adapter information for the replica group or adapter with the given ID.
|
|
989
|
+
|
|
990
|
+
Parameters
|
|
991
|
+
----------
|
|
992
|
+
id : str
|
|
993
|
+
The adapter or replica group ID.
|
|
994
|
+
context : dict[str, str]
|
|
995
|
+
The request context for the invocation.
|
|
996
|
+
|
|
997
|
+
Returns
|
|
998
|
+
-------
|
|
999
|
+
list[AdapterInfo]
|
|
1000
|
+
A sequence of AdapterInfo. If ``id`` refers to an adapter, this sequence contains a single element.
|
|
1001
|
+
If ``id`` refers to a replica group, this sequence contains adapter information for each member of the
|
|
1002
|
+
replica group.
|
|
1003
|
+
|
|
1004
|
+
Raises
|
|
1005
|
+
------
|
|
1006
|
+
AdapterNotExistException
|
|
1007
|
+
Thrown when the adapter or replica group doesn't exist.
|
|
1008
|
+
"""
|
|
1009
|
+
return Admin._op_getAdapterInfo.invoke(self, ((id, ), context))
|
|
1010
|
+
|
|
1011
|
+
def getAdapterInfoAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[list[AdapterInfo]]:
|
|
1012
|
+
"""
|
|
1013
|
+
Gets adapter information for the replica group or adapter with the given ID.
|
|
1014
|
+
|
|
1015
|
+
Parameters
|
|
1016
|
+
----------
|
|
1017
|
+
id : str
|
|
1018
|
+
The adapter or replica group ID.
|
|
1019
|
+
context : dict[str, str]
|
|
1020
|
+
The request context for the invocation.
|
|
1021
|
+
|
|
1022
|
+
Returns
|
|
1023
|
+
-------
|
|
1024
|
+
Awaitable[list[AdapterInfo]]
|
|
1025
|
+
A sequence of AdapterInfo. If ``id`` refers to an adapter, this sequence contains a single element.
|
|
1026
|
+
If ``id`` refers to a replica group, this sequence contains adapter information for each member of the
|
|
1027
|
+
replica group.
|
|
1028
|
+
"""
|
|
1029
|
+
return Admin._op_getAdapterInfo.invokeAsync(self, ((id, ), context))
|
|
1030
|
+
|
|
1031
|
+
def removeAdapter(self, id: str, context: dict[str, str] | None = None) -> None:
|
|
1032
|
+
"""
|
|
1033
|
+
Removes the adapter with the given ID.
|
|
1034
|
+
|
|
1035
|
+
Parameters
|
|
1036
|
+
----------
|
|
1037
|
+
id : str
|
|
1038
|
+
The adapter ID.
|
|
1039
|
+
context : dict[str, str]
|
|
1040
|
+
The request context for the invocation.
|
|
1041
|
+
|
|
1042
|
+
Raises
|
|
1043
|
+
------
|
|
1044
|
+
AdapterNotExistException
|
|
1045
|
+
Thrown when the adapter doesn't exist.
|
|
1046
|
+
DeploymentException
|
|
1047
|
+
Thrown when the application deployment failed.
|
|
1048
|
+
"""
|
|
1049
|
+
return Admin._op_removeAdapter.invoke(self, ((id, ), context))
|
|
1050
|
+
|
|
1051
|
+
def removeAdapterAsync(self, id: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1052
|
+
"""
|
|
1053
|
+
Removes the adapter with the given ID.
|
|
1054
|
+
|
|
1055
|
+
Parameters
|
|
1056
|
+
----------
|
|
1057
|
+
id : str
|
|
1058
|
+
The adapter ID.
|
|
1059
|
+
context : dict[str, str]
|
|
1060
|
+
The request context for the invocation.
|
|
1061
|
+
|
|
1062
|
+
Returns
|
|
1063
|
+
-------
|
|
1064
|
+
Awaitable[None]
|
|
1065
|
+
An awaitable that is completed when the invocation completes.
|
|
1066
|
+
"""
|
|
1067
|
+
return Admin._op_removeAdapter.invokeAsync(self, ((id, ), context))
|
|
1068
|
+
|
|
1069
|
+
def getAllAdapterIds(self, context: dict[str, str] | None = None) -> list[str]:
|
|
1070
|
+
"""
|
|
1071
|
+
Gets the IDs of all adapters registered with IceGrid.
|
|
1072
|
+
|
|
1073
|
+
Parameters
|
|
1074
|
+
----------
|
|
1075
|
+
context : dict[str, str]
|
|
1076
|
+
The request context for the invocation.
|
|
1077
|
+
|
|
1078
|
+
Returns
|
|
1079
|
+
-------
|
|
1080
|
+
list[str]
|
|
1081
|
+
The adapter IDs.
|
|
1082
|
+
"""
|
|
1083
|
+
return Admin._op_getAllAdapterIds.invoke(self, ((), context))
|
|
1084
|
+
|
|
1085
|
+
def getAllAdapterIdsAsync(self, context: dict[str, str] | None = None) -> Awaitable[list[str]]:
|
|
1086
|
+
"""
|
|
1087
|
+
Gets the IDs of all adapters registered with IceGrid.
|
|
1088
|
+
|
|
1089
|
+
Parameters
|
|
1090
|
+
----------
|
|
1091
|
+
context : dict[str, str]
|
|
1092
|
+
The request context for the invocation.
|
|
1093
|
+
|
|
1094
|
+
Returns
|
|
1095
|
+
-------
|
|
1096
|
+
Awaitable[list[str]]
|
|
1097
|
+
The adapter IDs.
|
|
1098
|
+
"""
|
|
1099
|
+
return Admin._op_getAllAdapterIds.invokeAsync(self, ((), context))
|
|
1100
|
+
|
|
1101
|
+
def addObject(self, obj: ObjectPrx | None, context: dict[str, str] | None = None) -> None:
|
|
1102
|
+
"""
|
|
1103
|
+
Adds an object to the object registry. IceGrid gets the object type by calling ``ice_id`` on ``obj``. The
|
|
1104
|
+
object must be reachable.
|
|
1105
|
+
|
|
1106
|
+
Parameters
|
|
1107
|
+
----------
|
|
1108
|
+
obj : ObjectPrx | None
|
|
1109
|
+
A proxy to the object. This proxy is never null.
|
|
1110
|
+
context : dict[str, str]
|
|
1111
|
+
The request context for the invocation.
|
|
1112
|
+
|
|
1113
|
+
Raises
|
|
1114
|
+
------
|
|
1115
|
+
DeploymentException
|
|
1116
|
+
Thrown when the object can't be added.
|
|
1117
|
+
ObjectExistsException
|
|
1118
|
+
Thrown when the object is already registered.
|
|
1119
|
+
"""
|
|
1120
|
+
return Admin._op_addObject.invoke(self, ((obj, ), context))
|
|
1121
|
+
|
|
1122
|
+
def addObjectAsync(self, obj: ObjectPrx | None, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1123
|
+
"""
|
|
1124
|
+
Adds an object to the object registry. IceGrid gets the object type by calling ``ice_id`` on ``obj``. The
|
|
1125
|
+
object must be reachable.
|
|
1126
|
+
|
|
1127
|
+
Parameters
|
|
1128
|
+
----------
|
|
1129
|
+
obj : ObjectPrx | None
|
|
1130
|
+
A proxy to the object. This proxy is never null.
|
|
1131
|
+
context : dict[str, str]
|
|
1132
|
+
The request context for the invocation.
|
|
1133
|
+
|
|
1134
|
+
Returns
|
|
1135
|
+
-------
|
|
1136
|
+
Awaitable[None]
|
|
1137
|
+
An awaitable that is completed when the invocation completes.
|
|
1138
|
+
"""
|
|
1139
|
+
return Admin._op_addObject.invokeAsync(self, ((obj, ), context))
|
|
1140
|
+
|
|
1141
|
+
def updateObject(self, obj: ObjectPrx | None, context: dict[str, str] | None = None) -> None:
|
|
1142
|
+
"""
|
|
1143
|
+
Updates an object in the object registry. Only objects added with this interface can be updated with this
|
|
1144
|
+
operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
|
|
1145
|
+
|
|
1146
|
+
Parameters
|
|
1147
|
+
----------
|
|
1148
|
+
obj : ObjectPrx | None
|
|
1149
|
+
A proxy to the object. This proxy is never null.
|
|
1150
|
+
context : dict[str, str]
|
|
1151
|
+
The request context for the invocation.
|
|
1152
|
+
|
|
1153
|
+
Raises
|
|
1154
|
+
------
|
|
1155
|
+
DeploymentException
|
|
1156
|
+
Thrown when the object can't be updated.
|
|
1157
|
+
ObjectNotRegisteredException
|
|
1158
|
+
Thrown when the object isn't registered with the registry.
|
|
1159
|
+
"""
|
|
1160
|
+
return Admin._op_updateObject.invoke(self, ((obj, ), context))
|
|
1161
|
+
|
|
1162
|
+
def updateObjectAsync(self, obj: ObjectPrx | None, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1163
|
+
"""
|
|
1164
|
+
Updates an object in the object registry. Only objects added with this interface can be updated with this
|
|
1165
|
+
operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
|
|
1166
|
+
|
|
1167
|
+
Parameters
|
|
1168
|
+
----------
|
|
1169
|
+
obj : ObjectPrx | None
|
|
1170
|
+
A proxy to the object. This proxy is never null.
|
|
1171
|
+
context : dict[str, str]
|
|
1172
|
+
The request context for the invocation.
|
|
1173
|
+
|
|
1174
|
+
Returns
|
|
1175
|
+
-------
|
|
1176
|
+
Awaitable[None]
|
|
1177
|
+
An awaitable that is completed when the invocation completes.
|
|
1178
|
+
"""
|
|
1179
|
+
return Admin._op_updateObject.invokeAsync(self, ((obj, ), context))
|
|
1180
|
+
|
|
1181
|
+
def addObjectWithType(self, obj: ObjectPrx | None, type: str, context: dict[str, str] | None = None) -> None:
|
|
1182
|
+
"""
|
|
1183
|
+
Adds an object to the object registry and explicitly specifies its type.
|
|
1184
|
+
|
|
1185
|
+
Parameters
|
|
1186
|
+
----------
|
|
1187
|
+
obj : ObjectPrx | None
|
|
1188
|
+
The object to be added to the registry. The proxy is never null.
|
|
1189
|
+
type : str
|
|
1190
|
+
The type name.
|
|
1191
|
+
context : dict[str, str]
|
|
1192
|
+
The request context for the invocation.
|
|
1193
|
+
|
|
1194
|
+
Raises
|
|
1195
|
+
------
|
|
1196
|
+
DeploymentException
|
|
1197
|
+
Thrown when the application deployment failed.
|
|
1198
|
+
ObjectExistsException
|
|
1199
|
+
Thrown when the object is already registered.
|
|
1200
|
+
"""
|
|
1201
|
+
return Admin._op_addObjectWithType.invoke(self, ((obj, type), context))
|
|
1202
|
+
|
|
1203
|
+
def addObjectWithTypeAsync(self, obj: ObjectPrx | None, type: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1204
|
+
"""
|
|
1205
|
+
Adds an object to the object registry and explicitly specifies its type.
|
|
1206
|
+
|
|
1207
|
+
Parameters
|
|
1208
|
+
----------
|
|
1209
|
+
obj : ObjectPrx | None
|
|
1210
|
+
The object to be added to the registry. The proxy is never null.
|
|
1211
|
+
type : str
|
|
1212
|
+
The type name.
|
|
1213
|
+
context : dict[str, str]
|
|
1214
|
+
The request context for the invocation.
|
|
1215
|
+
|
|
1216
|
+
Returns
|
|
1217
|
+
-------
|
|
1218
|
+
Awaitable[None]
|
|
1219
|
+
An awaitable that is completed when the invocation completes.
|
|
1220
|
+
"""
|
|
1221
|
+
return Admin._op_addObjectWithType.invokeAsync(self, ((obj, type), context))
|
|
1222
|
+
|
|
1223
|
+
def removeObject(self, id: Identity, context: dict[str, str] | None = None) -> None:
|
|
1224
|
+
"""
|
|
1225
|
+
Removes an object from the object registry. Only objects added with this interface can be removed with this
|
|
1226
|
+
operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
|
|
1227
|
+
|
|
1228
|
+
Parameters
|
|
1229
|
+
----------
|
|
1230
|
+
id : Identity
|
|
1231
|
+
The identity of the object to remove.
|
|
1232
|
+
context : dict[str, str]
|
|
1233
|
+
The request context for the invocation.
|
|
1234
|
+
|
|
1235
|
+
Raises
|
|
1236
|
+
------
|
|
1237
|
+
DeploymentException
|
|
1238
|
+
Thrown when the object can't be removed.
|
|
1239
|
+
ObjectNotRegisteredException
|
|
1240
|
+
Thrown when the object isn't registered with the registry.
|
|
1241
|
+
"""
|
|
1242
|
+
return Admin._op_removeObject.invoke(self, ((id, ), context))
|
|
1243
|
+
|
|
1244
|
+
def removeObjectAsync(self, id: Identity, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1245
|
+
"""
|
|
1246
|
+
Removes an object from the object registry. Only objects added with this interface can be removed with this
|
|
1247
|
+
operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
|
|
1248
|
+
|
|
1249
|
+
Parameters
|
|
1250
|
+
----------
|
|
1251
|
+
id : Identity
|
|
1252
|
+
The identity of the object to remove.
|
|
1253
|
+
context : dict[str, str]
|
|
1254
|
+
The request context for the invocation.
|
|
1255
|
+
|
|
1256
|
+
Returns
|
|
1257
|
+
-------
|
|
1258
|
+
Awaitable[None]
|
|
1259
|
+
An awaitable that is completed when the invocation completes.
|
|
1260
|
+
"""
|
|
1261
|
+
return Admin._op_removeObject.invokeAsync(self, ((id, ), context))
|
|
1262
|
+
|
|
1263
|
+
def getObjectInfo(self, id: Identity, context: dict[str, str] | None = None) -> ObjectInfo:
|
|
1264
|
+
"""
|
|
1265
|
+
Gets the object info for the object.
|
|
1266
|
+
|
|
1267
|
+
Parameters
|
|
1268
|
+
----------
|
|
1269
|
+
id : Identity
|
|
1270
|
+
The identity of the object.
|
|
1271
|
+
context : dict[str, str]
|
|
1272
|
+
The request context for the invocation.
|
|
1273
|
+
|
|
1274
|
+
Returns
|
|
1275
|
+
-------
|
|
1276
|
+
ObjectInfo
|
|
1277
|
+
The object info.
|
|
1278
|
+
|
|
1279
|
+
Raises
|
|
1280
|
+
------
|
|
1281
|
+
ObjectNotRegisteredException
|
|
1282
|
+
Thrown when the object isn't registered with the registry.
|
|
1283
|
+
"""
|
|
1284
|
+
return Admin._op_getObjectInfo.invoke(self, ((id, ), context))
|
|
1285
|
+
|
|
1286
|
+
def getObjectInfoAsync(self, id: Identity, context: dict[str, str] | None = None) -> Awaitable[ObjectInfo]:
|
|
1287
|
+
"""
|
|
1288
|
+
Gets the object info for the object.
|
|
1289
|
+
|
|
1290
|
+
Parameters
|
|
1291
|
+
----------
|
|
1292
|
+
id : Identity
|
|
1293
|
+
The identity of the object.
|
|
1294
|
+
context : dict[str, str]
|
|
1295
|
+
The request context for the invocation.
|
|
1296
|
+
|
|
1297
|
+
Returns
|
|
1298
|
+
-------
|
|
1299
|
+
Awaitable[ObjectInfo]
|
|
1300
|
+
The object info.
|
|
1301
|
+
"""
|
|
1302
|
+
return Admin._op_getObjectInfo.invokeAsync(self, ((id, ), context))
|
|
1303
|
+
|
|
1304
|
+
def getObjectInfosByType(self, type: str, context: dict[str, str] | None = None) -> list[ObjectInfo]:
|
|
1305
|
+
"""
|
|
1306
|
+
Gets the object info of all the registered objects with a given type.
|
|
1307
|
+
|
|
1308
|
+
Parameters
|
|
1309
|
+
----------
|
|
1310
|
+
type : str
|
|
1311
|
+
The type name.
|
|
1312
|
+
context : dict[str, str]
|
|
1313
|
+
The request context for the invocation.
|
|
1314
|
+
|
|
1315
|
+
Returns
|
|
1316
|
+
-------
|
|
1317
|
+
list[ObjectInfo]
|
|
1318
|
+
The object infos.
|
|
1319
|
+
"""
|
|
1320
|
+
return Admin._op_getObjectInfosByType.invoke(self, ((type, ), context))
|
|
1321
|
+
|
|
1322
|
+
def getObjectInfosByTypeAsync(self, type: str, context: dict[str, str] | None = None) -> Awaitable[list[ObjectInfo]]:
|
|
1323
|
+
"""
|
|
1324
|
+
Gets the object info of all the registered objects with a given type.
|
|
1325
|
+
|
|
1326
|
+
Parameters
|
|
1327
|
+
----------
|
|
1328
|
+
type : str
|
|
1329
|
+
The type name.
|
|
1330
|
+
context : dict[str, str]
|
|
1331
|
+
The request context for the invocation.
|
|
1332
|
+
|
|
1333
|
+
Returns
|
|
1334
|
+
-------
|
|
1335
|
+
Awaitable[list[ObjectInfo]]
|
|
1336
|
+
The object infos.
|
|
1337
|
+
"""
|
|
1338
|
+
return Admin._op_getObjectInfosByType.invokeAsync(self, ((type, ), context))
|
|
1339
|
+
|
|
1340
|
+
def getAllObjectInfos(self, expr: str, context: dict[str, str] | None = None) -> list[ObjectInfo]:
|
|
1341
|
+
"""
|
|
1342
|
+
Gets the object info of all the registered objects whose stringified identities match the given expression.
|
|
1343
|
+
|
|
1344
|
+
Parameters
|
|
1345
|
+
----------
|
|
1346
|
+
expr : str
|
|
1347
|
+
The expression to match against the stringified identities of registered objects. The expression
|
|
1348
|
+
may contain a trailing wildcard (``*``) character.
|
|
1349
|
+
context : dict[str, str]
|
|
1350
|
+
The request context for the invocation.
|
|
1351
|
+
|
|
1352
|
+
Returns
|
|
1353
|
+
-------
|
|
1354
|
+
list[ObjectInfo]
|
|
1355
|
+
All the object infos with a stringified identity matching the given expression.
|
|
1356
|
+
"""
|
|
1357
|
+
return Admin._op_getAllObjectInfos.invoke(self, ((expr, ), context))
|
|
1358
|
+
|
|
1359
|
+
def getAllObjectInfosAsync(self, expr: str, context: dict[str, str] | None = None) -> Awaitable[list[ObjectInfo]]:
|
|
1360
|
+
"""
|
|
1361
|
+
Gets the object info of all the registered objects whose stringified identities match the given expression.
|
|
1362
|
+
|
|
1363
|
+
Parameters
|
|
1364
|
+
----------
|
|
1365
|
+
expr : str
|
|
1366
|
+
The expression to match against the stringified identities of registered objects. The expression
|
|
1367
|
+
may contain a trailing wildcard (``*``) character.
|
|
1368
|
+
context : dict[str, str]
|
|
1369
|
+
The request context for the invocation.
|
|
1370
|
+
|
|
1371
|
+
Returns
|
|
1372
|
+
-------
|
|
1373
|
+
Awaitable[list[ObjectInfo]]
|
|
1374
|
+
All the object infos with a stringified identity matching the given expression.
|
|
1375
|
+
"""
|
|
1376
|
+
return Admin._op_getAllObjectInfos.invokeAsync(self, ((expr, ), context))
|
|
1377
|
+
|
|
1378
|
+
def pingNode(self, name: str, context: dict[str, str] | None = None) -> bool:
|
|
1379
|
+
"""
|
|
1380
|
+
Pings an IceGrid node to see if it is active.
|
|
1381
|
+
|
|
1382
|
+
Parameters
|
|
1383
|
+
----------
|
|
1384
|
+
name : str
|
|
1385
|
+
The node name.
|
|
1386
|
+
context : dict[str, str]
|
|
1387
|
+
The request context for the invocation.
|
|
1388
|
+
|
|
1389
|
+
Returns
|
|
1390
|
+
-------
|
|
1391
|
+
bool
|
|
1392
|
+
``true`` if the node ping succeeded, ``false`` otherwise.
|
|
1393
|
+
|
|
1394
|
+
Raises
|
|
1395
|
+
------
|
|
1396
|
+
NodeNotExistException
|
|
1397
|
+
Thrown when the node doesn't exist.
|
|
1398
|
+
"""
|
|
1399
|
+
return Admin._op_pingNode.invoke(self, ((name, ), context))
|
|
1400
|
+
|
|
1401
|
+
def pingNodeAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[bool]:
|
|
1402
|
+
"""
|
|
1403
|
+
Pings an IceGrid node to see if it is active.
|
|
1404
|
+
|
|
1405
|
+
Parameters
|
|
1406
|
+
----------
|
|
1407
|
+
name : str
|
|
1408
|
+
The node name.
|
|
1409
|
+
context : dict[str, str]
|
|
1410
|
+
The request context for the invocation.
|
|
1411
|
+
|
|
1412
|
+
Returns
|
|
1413
|
+
-------
|
|
1414
|
+
Awaitable[bool]
|
|
1415
|
+
``true`` if the node ping succeeded, ``false`` otherwise.
|
|
1416
|
+
"""
|
|
1417
|
+
return Admin._op_pingNode.invokeAsync(self, ((name, ), context))
|
|
1418
|
+
|
|
1419
|
+
def getNodeLoad(self, name: str, context: dict[str, str] | None = None) -> LoadInfo:
|
|
1420
|
+
"""
|
|
1421
|
+
Gets the load averages of a node.
|
|
1422
|
+
|
|
1423
|
+
Parameters
|
|
1424
|
+
----------
|
|
1425
|
+
name : str
|
|
1426
|
+
The node name.
|
|
1427
|
+
context : dict[str, str]
|
|
1428
|
+
The request context for the invocation.
|
|
1429
|
+
|
|
1430
|
+
Returns
|
|
1431
|
+
-------
|
|
1432
|
+
LoadInfo
|
|
1433
|
+
The node load information.
|
|
1434
|
+
|
|
1435
|
+
Raises
|
|
1436
|
+
------
|
|
1437
|
+
NodeNotExistException
|
|
1438
|
+
Thrown when the node doesn't exist.
|
|
1439
|
+
NodeUnreachableException
|
|
1440
|
+
Thrown when the node is unreachable.
|
|
1441
|
+
"""
|
|
1442
|
+
return Admin._op_getNodeLoad.invoke(self, ((name, ), context))
|
|
1443
|
+
|
|
1444
|
+
def getNodeLoadAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[LoadInfo]:
|
|
1445
|
+
"""
|
|
1446
|
+
Gets the load averages of a node.
|
|
1447
|
+
|
|
1448
|
+
Parameters
|
|
1449
|
+
----------
|
|
1450
|
+
name : str
|
|
1451
|
+
The node name.
|
|
1452
|
+
context : dict[str, str]
|
|
1453
|
+
The request context for the invocation.
|
|
1454
|
+
|
|
1455
|
+
Returns
|
|
1456
|
+
-------
|
|
1457
|
+
Awaitable[LoadInfo]
|
|
1458
|
+
The node load information.
|
|
1459
|
+
"""
|
|
1460
|
+
return Admin._op_getNodeLoad.invokeAsync(self, ((name, ), context))
|
|
1461
|
+
|
|
1462
|
+
def getNodeInfo(self, name: str, context: dict[str, str] | None = None) -> NodeInfo:
|
|
1463
|
+
"""
|
|
1464
|
+
Gets the node information of a node.
|
|
1465
|
+
|
|
1466
|
+
Parameters
|
|
1467
|
+
----------
|
|
1468
|
+
name : str
|
|
1469
|
+
The node name.
|
|
1470
|
+
context : dict[str, str]
|
|
1471
|
+
The request context for the invocation.
|
|
1472
|
+
|
|
1473
|
+
Returns
|
|
1474
|
+
-------
|
|
1475
|
+
NodeInfo
|
|
1476
|
+
The node information.
|
|
1477
|
+
|
|
1478
|
+
Raises
|
|
1479
|
+
------
|
|
1480
|
+
NodeNotExistException
|
|
1481
|
+
Thrown when the node doesn't exist.
|
|
1482
|
+
NodeUnreachableException
|
|
1483
|
+
Thrown when the node is unreachable.
|
|
1484
|
+
"""
|
|
1485
|
+
return Admin._op_getNodeInfo.invoke(self, ((name, ), context))
|
|
1486
|
+
|
|
1487
|
+
def getNodeInfoAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[NodeInfo]:
|
|
1488
|
+
"""
|
|
1489
|
+
Gets the node information of a node.
|
|
1490
|
+
|
|
1491
|
+
Parameters
|
|
1492
|
+
----------
|
|
1493
|
+
name : str
|
|
1494
|
+
The node name.
|
|
1495
|
+
context : dict[str, str]
|
|
1496
|
+
The request context for the invocation.
|
|
1497
|
+
|
|
1498
|
+
Returns
|
|
1499
|
+
-------
|
|
1500
|
+
Awaitable[NodeInfo]
|
|
1501
|
+
The node information.
|
|
1502
|
+
"""
|
|
1503
|
+
return Admin._op_getNodeInfo.invokeAsync(self, ((name, ), context))
|
|
1504
|
+
|
|
1505
|
+
def getNodeAdmin(self, name: str, context: dict[str, str] | None = None) -> ObjectPrx | None:
|
|
1506
|
+
"""
|
|
1507
|
+
Gets a proxy to the admin object of an IceGrid node.
|
|
1508
|
+
|
|
1509
|
+
Parameters
|
|
1510
|
+
----------
|
|
1511
|
+
name : str
|
|
1512
|
+
The IceGrid node name.
|
|
1513
|
+
context : dict[str, str]
|
|
1514
|
+
The request context for the invocation.
|
|
1515
|
+
|
|
1516
|
+
Returns
|
|
1517
|
+
-------
|
|
1518
|
+
ObjectPrx | None
|
|
1519
|
+
A proxy to the IceGrid node's admin object. This proxy is never null.
|
|
1520
|
+
|
|
1521
|
+
Raises
|
|
1522
|
+
------
|
|
1523
|
+
NodeNotExistException
|
|
1524
|
+
Thrown when the node doesn't exist.
|
|
1525
|
+
NodeUnreachableException
|
|
1526
|
+
Thrown when the node is unreachable.
|
|
1527
|
+
"""
|
|
1528
|
+
return Admin._op_getNodeAdmin.invoke(self, ((name, ), context))
|
|
1529
|
+
|
|
1530
|
+
def getNodeAdminAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[ObjectPrx | None]:
|
|
1531
|
+
"""
|
|
1532
|
+
Gets a proxy to the admin object of an IceGrid node.
|
|
1533
|
+
|
|
1534
|
+
Parameters
|
|
1535
|
+
----------
|
|
1536
|
+
name : str
|
|
1537
|
+
The IceGrid node name.
|
|
1538
|
+
context : dict[str, str]
|
|
1539
|
+
The request context for the invocation.
|
|
1540
|
+
|
|
1541
|
+
Returns
|
|
1542
|
+
-------
|
|
1543
|
+
Awaitable[ObjectPrx | None]
|
|
1544
|
+
A proxy to the IceGrid node's admin object. This proxy is never null.
|
|
1545
|
+
"""
|
|
1546
|
+
return Admin._op_getNodeAdmin.invokeAsync(self, ((name, ), context))
|
|
1547
|
+
|
|
1548
|
+
def getNodeProcessorSocketCount(self, name: str, context: dict[str, str] | None = None) -> int:
|
|
1549
|
+
"""
|
|
1550
|
+
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
|
|
1551
|
+
Note that this operation returns 1 on operating systems where this can't be automatically determined and
|
|
1552
|
+
where the ``IceGrid.Node.ProcessorSocketCount`` property for the node is not set.
|
|
1553
|
+
|
|
1554
|
+
Parameters
|
|
1555
|
+
----------
|
|
1556
|
+
name : str
|
|
1557
|
+
The node name.
|
|
1558
|
+
context : dict[str, str]
|
|
1559
|
+
The request context for the invocation.
|
|
1560
|
+
|
|
1561
|
+
Returns
|
|
1562
|
+
-------
|
|
1563
|
+
int
|
|
1564
|
+
The number of processor sockets or 1 if the number of sockets can't be determined.
|
|
1565
|
+
|
|
1566
|
+
Raises
|
|
1567
|
+
------
|
|
1568
|
+
NodeNotExistException
|
|
1569
|
+
Thrown when the node doesn't exist.
|
|
1570
|
+
NodeUnreachableException
|
|
1571
|
+
Thrown when the node is unreachable.
|
|
1572
|
+
"""
|
|
1573
|
+
return Admin._op_getNodeProcessorSocketCount.invoke(self, ((name, ), context))
|
|
1574
|
+
|
|
1575
|
+
def getNodeProcessorSocketCountAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[int]:
|
|
1576
|
+
"""
|
|
1577
|
+
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
|
|
1578
|
+
Note that this operation returns 1 on operating systems where this can't be automatically determined and
|
|
1579
|
+
where the ``IceGrid.Node.ProcessorSocketCount`` property for the node is not set.
|
|
1580
|
+
|
|
1581
|
+
Parameters
|
|
1582
|
+
----------
|
|
1583
|
+
name : str
|
|
1584
|
+
The node name.
|
|
1585
|
+
context : dict[str, str]
|
|
1586
|
+
The request context for the invocation.
|
|
1587
|
+
|
|
1588
|
+
Returns
|
|
1589
|
+
-------
|
|
1590
|
+
Awaitable[int]
|
|
1591
|
+
The number of processor sockets or 1 if the number of sockets can't be determined.
|
|
1592
|
+
"""
|
|
1593
|
+
return Admin._op_getNodeProcessorSocketCount.invokeAsync(self, ((name, ), context))
|
|
1594
|
+
|
|
1595
|
+
def shutdownNode(self, name: str, context: dict[str, str] | None = None) -> None:
|
|
1596
|
+
"""
|
|
1597
|
+
Shuts down an IceGrid node.
|
|
1598
|
+
|
|
1599
|
+
Parameters
|
|
1600
|
+
----------
|
|
1601
|
+
name : str
|
|
1602
|
+
The node name.
|
|
1603
|
+
context : dict[str, str]
|
|
1604
|
+
The request context for the invocation.
|
|
1605
|
+
|
|
1606
|
+
Raises
|
|
1607
|
+
------
|
|
1608
|
+
NodeNotExistException
|
|
1609
|
+
Thrown when the node doesn't exist.
|
|
1610
|
+
NodeUnreachableException
|
|
1611
|
+
Thrown when the node is unreachable.
|
|
1612
|
+
"""
|
|
1613
|
+
return Admin._op_shutdownNode.invoke(self, ((name, ), context))
|
|
1614
|
+
|
|
1615
|
+
def shutdownNodeAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1616
|
+
"""
|
|
1617
|
+
Shuts down an IceGrid node.
|
|
1618
|
+
|
|
1619
|
+
Parameters
|
|
1620
|
+
----------
|
|
1621
|
+
name : str
|
|
1622
|
+
The node name.
|
|
1623
|
+
context : dict[str, str]
|
|
1624
|
+
The request context for the invocation.
|
|
1625
|
+
|
|
1626
|
+
Returns
|
|
1627
|
+
-------
|
|
1628
|
+
Awaitable[None]
|
|
1629
|
+
An awaitable that is completed when the invocation completes.
|
|
1630
|
+
"""
|
|
1631
|
+
return Admin._op_shutdownNode.invokeAsync(self, ((name, ), context))
|
|
1632
|
+
|
|
1633
|
+
def getNodeHostname(self, name: str, context: dict[str, str] | None = None) -> str:
|
|
1634
|
+
"""
|
|
1635
|
+
Get the hostname of a node.
|
|
1636
|
+
|
|
1637
|
+
Parameters
|
|
1638
|
+
----------
|
|
1639
|
+
name : str
|
|
1640
|
+
The node name.
|
|
1641
|
+
context : dict[str, str]
|
|
1642
|
+
The request context for the invocation.
|
|
1643
|
+
|
|
1644
|
+
Returns
|
|
1645
|
+
-------
|
|
1646
|
+
str
|
|
1647
|
+
The node hostname.
|
|
1648
|
+
|
|
1649
|
+
Raises
|
|
1650
|
+
------
|
|
1651
|
+
NodeNotExistException
|
|
1652
|
+
Thrown when the node doesn't exist.
|
|
1653
|
+
NodeUnreachableException
|
|
1654
|
+
Thrown when the node is unreachable.
|
|
1655
|
+
"""
|
|
1656
|
+
return Admin._op_getNodeHostname.invoke(self, ((name, ), context))
|
|
1657
|
+
|
|
1658
|
+
def getNodeHostnameAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[str]:
|
|
1659
|
+
"""
|
|
1660
|
+
Get the hostname of a node.
|
|
1661
|
+
|
|
1662
|
+
Parameters
|
|
1663
|
+
----------
|
|
1664
|
+
name : str
|
|
1665
|
+
The node name.
|
|
1666
|
+
context : dict[str, str]
|
|
1667
|
+
The request context for the invocation.
|
|
1668
|
+
|
|
1669
|
+
Returns
|
|
1670
|
+
-------
|
|
1671
|
+
Awaitable[str]
|
|
1672
|
+
The node hostname.
|
|
1673
|
+
"""
|
|
1674
|
+
return Admin._op_getNodeHostname.invokeAsync(self, ((name, ), context))
|
|
1675
|
+
|
|
1676
|
+
def getAllNodeNames(self, context: dict[str, str] | None = None) -> list[str]:
|
|
1677
|
+
"""
|
|
1678
|
+
Gets the names of all IceGrid nodes currently registered.
|
|
1679
|
+
|
|
1680
|
+
Parameters
|
|
1681
|
+
----------
|
|
1682
|
+
context : dict[str, str]
|
|
1683
|
+
The request context for the invocation.
|
|
1684
|
+
|
|
1685
|
+
Returns
|
|
1686
|
+
-------
|
|
1687
|
+
list[str]
|
|
1688
|
+
The node names.
|
|
1689
|
+
"""
|
|
1690
|
+
return Admin._op_getAllNodeNames.invoke(self, ((), context))
|
|
1691
|
+
|
|
1692
|
+
def getAllNodeNamesAsync(self, context: dict[str, str] | None = None) -> Awaitable[list[str]]:
|
|
1693
|
+
"""
|
|
1694
|
+
Gets the names of all IceGrid nodes currently registered.
|
|
1695
|
+
|
|
1696
|
+
Parameters
|
|
1697
|
+
----------
|
|
1698
|
+
context : dict[str, str]
|
|
1699
|
+
The request context for the invocation.
|
|
1700
|
+
|
|
1701
|
+
Returns
|
|
1702
|
+
-------
|
|
1703
|
+
Awaitable[list[str]]
|
|
1704
|
+
The node names.
|
|
1705
|
+
"""
|
|
1706
|
+
return Admin._op_getAllNodeNames.invokeAsync(self, ((), context))
|
|
1707
|
+
|
|
1708
|
+
def pingRegistry(self, name: str, context: dict[str, str] | None = None) -> bool:
|
|
1709
|
+
"""
|
|
1710
|
+
Pings an IceGrid registry to see if it is active.
|
|
1711
|
+
|
|
1712
|
+
Parameters
|
|
1713
|
+
----------
|
|
1714
|
+
name : str
|
|
1715
|
+
The registry name.
|
|
1716
|
+
context : dict[str, str]
|
|
1717
|
+
The request context for the invocation.
|
|
1718
|
+
|
|
1719
|
+
Returns
|
|
1720
|
+
-------
|
|
1721
|
+
bool
|
|
1722
|
+
``true`` if the registry ping succeeded, ``false`` otherwise.
|
|
1723
|
+
|
|
1724
|
+
Raises
|
|
1725
|
+
------
|
|
1726
|
+
RegistryNotExistException
|
|
1727
|
+
Thrown when the registry doesn't exist.
|
|
1728
|
+
"""
|
|
1729
|
+
return Admin._op_pingRegistry.invoke(self, ((name, ), context))
|
|
1730
|
+
|
|
1731
|
+
def pingRegistryAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[bool]:
|
|
1732
|
+
"""
|
|
1733
|
+
Pings an IceGrid registry to see if it is active.
|
|
1734
|
+
|
|
1735
|
+
Parameters
|
|
1736
|
+
----------
|
|
1737
|
+
name : str
|
|
1738
|
+
The registry name.
|
|
1739
|
+
context : dict[str, str]
|
|
1740
|
+
The request context for the invocation.
|
|
1741
|
+
|
|
1742
|
+
Returns
|
|
1743
|
+
-------
|
|
1744
|
+
Awaitable[bool]
|
|
1745
|
+
``true`` if the registry ping succeeded, ``false`` otherwise.
|
|
1746
|
+
"""
|
|
1747
|
+
return Admin._op_pingRegistry.invokeAsync(self, ((name, ), context))
|
|
1748
|
+
|
|
1749
|
+
def getRegistryInfo(self, name: str, context: dict[str, str] | None = None) -> RegistryInfo:
|
|
1750
|
+
"""
|
|
1751
|
+
Gets the registry information of an IceGrid registry.
|
|
1752
|
+
|
|
1753
|
+
Parameters
|
|
1754
|
+
----------
|
|
1755
|
+
name : str
|
|
1756
|
+
The registry name.
|
|
1757
|
+
context : dict[str, str]
|
|
1758
|
+
The request context for the invocation.
|
|
1759
|
+
|
|
1760
|
+
Returns
|
|
1761
|
+
-------
|
|
1762
|
+
RegistryInfo
|
|
1763
|
+
The registry information.
|
|
1764
|
+
|
|
1765
|
+
Raises
|
|
1766
|
+
------
|
|
1767
|
+
RegistryNotExistException
|
|
1768
|
+
Thrown when the registry doesn't exist.
|
|
1769
|
+
RegistryUnreachableException
|
|
1770
|
+
Thrown when the registry is unreachable.
|
|
1771
|
+
"""
|
|
1772
|
+
return Admin._op_getRegistryInfo.invoke(self, ((name, ), context))
|
|
1773
|
+
|
|
1774
|
+
def getRegistryInfoAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[RegistryInfo]:
|
|
1775
|
+
"""
|
|
1776
|
+
Gets the registry information of an IceGrid registry.
|
|
1777
|
+
|
|
1778
|
+
Parameters
|
|
1779
|
+
----------
|
|
1780
|
+
name : str
|
|
1781
|
+
The registry name.
|
|
1782
|
+
context : dict[str, str]
|
|
1783
|
+
The request context for the invocation.
|
|
1784
|
+
|
|
1785
|
+
Returns
|
|
1786
|
+
-------
|
|
1787
|
+
Awaitable[RegistryInfo]
|
|
1788
|
+
The registry information.
|
|
1789
|
+
"""
|
|
1790
|
+
return Admin._op_getRegistryInfo.invokeAsync(self, ((name, ), context))
|
|
1791
|
+
|
|
1792
|
+
def getRegistryAdmin(self, name: str, context: dict[str, str] | None = None) -> ObjectPrx | None:
|
|
1793
|
+
"""
|
|
1794
|
+
Gets a proxy to the admin object of an IceGrid registry.
|
|
1795
|
+
|
|
1796
|
+
Parameters
|
|
1797
|
+
----------
|
|
1798
|
+
name : str
|
|
1799
|
+
The registry name.
|
|
1800
|
+
context : dict[str, str]
|
|
1801
|
+
The request context for the invocation.
|
|
1802
|
+
|
|
1803
|
+
Returns
|
|
1804
|
+
-------
|
|
1805
|
+
ObjectPrx | None
|
|
1806
|
+
A proxy to the admin object of an IceGrid registry. This proxy is never null.
|
|
1807
|
+
|
|
1808
|
+
Raises
|
|
1809
|
+
------
|
|
1810
|
+
RegistryNotExistException
|
|
1811
|
+
Thrown when the registry doesn't exist.
|
|
1812
|
+
"""
|
|
1813
|
+
return Admin._op_getRegistryAdmin.invoke(self, ((name, ), context))
|
|
1814
|
+
|
|
1815
|
+
def getRegistryAdminAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[ObjectPrx | None]:
|
|
1816
|
+
"""
|
|
1817
|
+
Gets a proxy to the admin object of an IceGrid registry.
|
|
1818
|
+
|
|
1819
|
+
Parameters
|
|
1820
|
+
----------
|
|
1821
|
+
name : str
|
|
1822
|
+
The registry name.
|
|
1823
|
+
context : dict[str, str]
|
|
1824
|
+
The request context for the invocation.
|
|
1825
|
+
|
|
1826
|
+
Returns
|
|
1827
|
+
-------
|
|
1828
|
+
Awaitable[ObjectPrx | None]
|
|
1829
|
+
A proxy to the admin object of an IceGrid registry. This proxy is never null.
|
|
1830
|
+
"""
|
|
1831
|
+
return Admin._op_getRegistryAdmin.invokeAsync(self, ((name, ), context))
|
|
1832
|
+
|
|
1833
|
+
def shutdownRegistry(self, name: str, context: dict[str, str] | None = None) -> None:
|
|
1834
|
+
"""
|
|
1835
|
+
Shuts down an IceGrid registry.
|
|
1836
|
+
|
|
1837
|
+
Parameters
|
|
1838
|
+
----------
|
|
1839
|
+
name : str
|
|
1840
|
+
The registry name.
|
|
1841
|
+
context : dict[str, str]
|
|
1842
|
+
The request context for the invocation.
|
|
1843
|
+
|
|
1844
|
+
Raises
|
|
1845
|
+
------
|
|
1846
|
+
RegistryNotExistException
|
|
1847
|
+
Thrown when the registry doesn't exist.
|
|
1848
|
+
RegistryUnreachableException
|
|
1849
|
+
Thrown when the registry is unreachable.
|
|
1850
|
+
"""
|
|
1851
|
+
return Admin._op_shutdownRegistry.invoke(self, ((name, ), context))
|
|
1852
|
+
|
|
1853
|
+
def shutdownRegistryAsync(self, name: str, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1854
|
+
"""
|
|
1855
|
+
Shuts down an IceGrid registry.
|
|
1856
|
+
|
|
1857
|
+
Parameters
|
|
1858
|
+
----------
|
|
1859
|
+
name : str
|
|
1860
|
+
The registry name.
|
|
1861
|
+
context : dict[str, str]
|
|
1862
|
+
The request context for the invocation.
|
|
1863
|
+
|
|
1864
|
+
Returns
|
|
1865
|
+
-------
|
|
1866
|
+
Awaitable[None]
|
|
1867
|
+
An awaitable that is completed when the invocation completes.
|
|
1868
|
+
"""
|
|
1869
|
+
return Admin._op_shutdownRegistry.invokeAsync(self, ((name, ), context))
|
|
1870
|
+
|
|
1871
|
+
def getAllRegistryNames(self, context: dict[str, str] | None = None) -> list[str]:
|
|
1872
|
+
"""
|
|
1873
|
+
Gets the names of all the IceGrid registries currently registered.
|
|
1874
|
+
|
|
1875
|
+
Parameters
|
|
1876
|
+
----------
|
|
1877
|
+
context : dict[str, str]
|
|
1878
|
+
The request context for the invocation.
|
|
1879
|
+
|
|
1880
|
+
Returns
|
|
1881
|
+
-------
|
|
1882
|
+
list[str]
|
|
1883
|
+
The registry names.
|
|
1884
|
+
"""
|
|
1885
|
+
return Admin._op_getAllRegistryNames.invoke(self, ((), context))
|
|
1886
|
+
|
|
1887
|
+
def getAllRegistryNamesAsync(self, context: dict[str, str] | None = None) -> Awaitable[list[str]]:
|
|
1888
|
+
"""
|
|
1889
|
+
Gets the names of all the IceGrid registries currently registered.
|
|
1890
|
+
|
|
1891
|
+
Parameters
|
|
1892
|
+
----------
|
|
1893
|
+
context : dict[str, str]
|
|
1894
|
+
The request context for the invocation.
|
|
1895
|
+
|
|
1896
|
+
Returns
|
|
1897
|
+
-------
|
|
1898
|
+
Awaitable[list[str]]
|
|
1899
|
+
The registry names.
|
|
1900
|
+
"""
|
|
1901
|
+
return Admin._op_getAllRegistryNames.invokeAsync(self, ((), context))
|
|
1902
|
+
|
|
1903
|
+
def shutdown(self, context: dict[str, str] | None = None) -> None:
|
|
1904
|
+
"""
|
|
1905
|
+
Shuts down the IceGrid registry.
|
|
1906
|
+
|
|
1907
|
+
Parameters
|
|
1908
|
+
----------
|
|
1909
|
+
context : dict[str, str]
|
|
1910
|
+
The request context for the invocation.
|
|
1911
|
+
"""
|
|
1912
|
+
return Admin._op_shutdown.invoke(self, ((), context))
|
|
1913
|
+
|
|
1914
|
+
def shutdownAsync(self, context: dict[str, str] | None = None) -> Awaitable[None]:
|
|
1915
|
+
"""
|
|
1916
|
+
Shuts down the IceGrid registry.
|
|
1917
|
+
|
|
1918
|
+
Parameters
|
|
1919
|
+
----------
|
|
1920
|
+
context : dict[str, str]
|
|
1921
|
+
The request context for the invocation.
|
|
1922
|
+
|
|
1923
|
+
Returns
|
|
1924
|
+
-------
|
|
1925
|
+
Awaitable[None]
|
|
1926
|
+
An awaitable that is completed when the invocation completes.
|
|
1927
|
+
"""
|
|
1928
|
+
return Admin._op_shutdown.invokeAsync(self, ((), context))
|
|
1929
|
+
|
|
1930
|
+
@staticmethod
|
|
1931
|
+
def checkedCast(
|
|
1932
|
+
proxy: ObjectPrx | None,
|
|
1933
|
+
facet: str | None = None,
|
|
1934
|
+
context: dict[str, str] | None = None
|
|
1935
|
+
) -> AdminPrx | None:
|
|
1936
|
+
return checkedCast(AdminPrx, proxy, facet, context)
|
|
1937
|
+
|
|
1938
|
+
@staticmethod
|
|
1939
|
+
def checkedCastAsync(
|
|
1940
|
+
proxy: ObjectPrx | None,
|
|
1941
|
+
facet: str | None = None,
|
|
1942
|
+
context: dict[str, str] | None = None
|
|
1943
|
+
) -> Awaitable[AdminPrx | None ]:
|
|
1944
|
+
return checkedCastAsync(AdminPrx, proxy, facet, context)
|
|
1945
|
+
|
|
1946
|
+
@overload
|
|
1947
|
+
@staticmethod
|
|
1948
|
+
def uncheckedCast(proxy: ObjectPrx, facet: str | None = None) -> AdminPrx:
|
|
1949
|
+
...
|
|
1950
|
+
|
|
1951
|
+
@overload
|
|
1952
|
+
@staticmethod
|
|
1953
|
+
def uncheckedCast(proxy: None, facet: str | None = None) -> None:
|
|
1954
|
+
...
|
|
1955
|
+
|
|
1956
|
+
@staticmethod
|
|
1957
|
+
def uncheckedCast(proxy: ObjectPrx | None, facet: str | None = None) -> AdminPrx | None:
|
|
1958
|
+
return uncheckedCast(AdminPrx, proxy, facet)
|
|
1959
|
+
|
|
1960
|
+
@staticmethod
|
|
1961
|
+
def ice_staticId() -> str:
|
|
1962
|
+
return "::IceGrid::Admin"
|
|
1963
|
+
|
|
1964
|
+
IcePy.defineProxy("::IceGrid::Admin", AdminPrx)
|
|
1965
|
+
|
|
1966
|
+
class Admin(Object, ABC):
|
|
1967
|
+
"""
|
|
1968
|
+
Provides administrative access to an IceGrid deployment.
|
|
1969
|
+
|
|
1970
|
+
Notes
|
|
1971
|
+
-----
|
|
1972
|
+
The Slice compiler generated this skeleton class from Slice interface ``::IceGrid::Admin``.
|
|
1973
|
+
"""
|
|
1974
|
+
|
|
1975
|
+
_ice_ids: Sequence[str] = ("::Ice::Object", "::IceGrid::Admin", )
|
|
1976
|
+
_op_addApplication: IcePy.Operation
|
|
1977
|
+
_op_syncApplication: IcePy.Operation
|
|
1978
|
+
_op_updateApplication: IcePy.Operation
|
|
1979
|
+
_op_syncApplicationWithoutRestart: IcePy.Operation
|
|
1980
|
+
_op_updateApplicationWithoutRestart: IcePy.Operation
|
|
1981
|
+
_op_removeApplication: IcePy.Operation
|
|
1982
|
+
_op_instantiateServer: IcePy.Operation
|
|
1983
|
+
_op_getApplicationInfo: IcePy.Operation
|
|
1984
|
+
_op_getDefaultApplicationDescriptor: IcePy.Operation
|
|
1985
|
+
_op_getAllApplicationNames: IcePy.Operation
|
|
1986
|
+
_op_getServerInfo: IcePy.Operation
|
|
1987
|
+
_op_getServerState: IcePy.Operation
|
|
1988
|
+
_op_getServerPid: IcePy.Operation
|
|
1989
|
+
_op_getServerAdminCategory: IcePy.Operation
|
|
1990
|
+
_op_getServerAdmin: IcePy.Operation
|
|
1991
|
+
_op_enableServer: IcePy.Operation
|
|
1992
|
+
_op_isServerEnabled: IcePy.Operation
|
|
1993
|
+
_op_startServer: IcePy.Operation
|
|
1994
|
+
_op_stopServer: IcePy.Operation
|
|
1995
|
+
_op_sendSignal: IcePy.Operation
|
|
1996
|
+
_op_getAllServerIds: IcePy.Operation
|
|
1997
|
+
_op_getAdapterInfo: IcePy.Operation
|
|
1998
|
+
_op_removeAdapter: IcePy.Operation
|
|
1999
|
+
_op_getAllAdapterIds: IcePy.Operation
|
|
2000
|
+
_op_addObject: IcePy.Operation
|
|
2001
|
+
_op_updateObject: IcePy.Operation
|
|
2002
|
+
_op_addObjectWithType: IcePy.Operation
|
|
2003
|
+
_op_removeObject: IcePy.Operation
|
|
2004
|
+
_op_getObjectInfo: IcePy.Operation
|
|
2005
|
+
_op_getObjectInfosByType: IcePy.Operation
|
|
2006
|
+
_op_getAllObjectInfos: IcePy.Operation
|
|
2007
|
+
_op_pingNode: IcePy.Operation
|
|
2008
|
+
_op_getNodeLoad: IcePy.Operation
|
|
2009
|
+
_op_getNodeInfo: IcePy.Operation
|
|
2010
|
+
_op_getNodeAdmin: IcePy.Operation
|
|
2011
|
+
_op_getNodeProcessorSocketCount: IcePy.Operation
|
|
2012
|
+
_op_shutdownNode: IcePy.Operation
|
|
2013
|
+
_op_getNodeHostname: IcePy.Operation
|
|
2014
|
+
_op_getAllNodeNames: IcePy.Operation
|
|
2015
|
+
_op_pingRegistry: IcePy.Operation
|
|
2016
|
+
_op_getRegistryInfo: IcePy.Operation
|
|
2017
|
+
_op_getRegistryAdmin: IcePy.Operation
|
|
2018
|
+
_op_shutdownRegistry: IcePy.Operation
|
|
2019
|
+
_op_getAllRegistryNames: IcePy.Operation
|
|
2020
|
+
_op_shutdown: IcePy.Operation
|
|
2021
|
+
|
|
2022
|
+
@staticmethod
|
|
2023
|
+
def ice_staticId() -> str:
|
|
2024
|
+
return "::IceGrid::Admin"
|
|
2025
|
+
|
|
2026
|
+
@abstractmethod
|
|
2027
|
+
def addApplication(self, descriptor: ApplicationDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2028
|
+
"""
|
|
2029
|
+
Adds an application to IceGrid.
|
|
2030
|
+
|
|
2031
|
+
Parameters
|
|
2032
|
+
----------
|
|
2033
|
+
descriptor : ApplicationDescriptor
|
|
2034
|
+
The application descriptor.
|
|
2035
|
+
current : Ice.Current
|
|
2036
|
+
The Current object for the dispatch.
|
|
2037
|
+
|
|
2038
|
+
Returns
|
|
2039
|
+
-------
|
|
2040
|
+
None | Awaitable[None]
|
|
2041
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2042
|
+
|
|
2043
|
+
Raises
|
|
2044
|
+
------
|
|
2045
|
+
AccessDeniedException
|
|
2046
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2047
|
+
session is holding the lock.
|
|
2048
|
+
DeploymentException
|
|
2049
|
+
Thrown when the application deployment failed.
|
|
2050
|
+
"""
|
|
2051
|
+
pass
|
|
2052
|
+
|
|
2053
|
+
@abstractmethod
|
|
2054
|
+
def syncApplication(self, descriptor: ApplicationDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2055
|
+
"""
|
|
2056
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor.
|
|
2057
|
+
|
|
2058
|
+
Parameters
|
|
2059
|
+
----------
|
|
2060
|
+
descriptor : ApplicationDescriptor
|
|
2061
|
+
The new application descriptor.
|
|
2062
|
+
current : Ice.Current
|
|
2063
|
+
The Current object for the dispatch.
|
|
2064
|
+
|
|
2065
|
+
Returns
|
|
2066
|
+
-------
|
|
2067
|
+
None | Awaitable[None]
|
|
2068
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2069
|
+
|
|
2070
|
+
Raises
|
|
2071
|
+
------
|
|
2072
|
+
AccessDeniedException
|
|
2073
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2074
|
+
session is holding the lock.
|
|
2075
|
+
ApplicationNotExistException
|
|
2076
|
+
Thrown when the application doesn't exist.
|
|
2077
|
+
DeploymentException
|
|
2078
|
+
Thrown when the application deployment failed.
|
|
2079
|
+
"""
|
|
2080
|
+
pass
|
|
2081
|
+
|
|
2082
|
+
@abstractmethod
|
|
2083
|
+
def updateApplication(self, descriptor: ApplicationUpdateDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2084
|
+
"""
|
|
2085
|
+
Updates a deployed application.
|
|
2086
|
+
|
|
2087
|
+
Parameters
|
|
2088
|
+
----------
|
|
2089
|
+
descriptor : ApplicationUpdateDescriptor
|
|
2090
|
+
The update descriptor.
|
|
2091
|
+
current : Ice.Current
|
|
2092
|
+
The Current object for the dispatch.
|
|
2093
|
+
|
|
2094
|
+
Returns
|
|
2095
|
+
-------
|
|
2096
|
+
None | Awaitable[None]
|
|
2097
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2098
|
+
|
|
2099
|
+
Raises
|
|
2100
|
+
------
|
|
2101
|
+
AccessDeniedException
|
|
2102
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2103
|
+
session is holding the lock.
|
|
2104
|
+
ApplicationNotExistException
|
|
2105
|
+
Thrown when the application doesn't exist.
|
|
2106
|
+
DeploymentException
|
|
2107
|
+
Thrown when the application deployment failed.
|
|
2108
|
+
"""
|
|
2109
|
+
pass
|
|
2110
|
+
|
|
2111
|
+
@abstractmethod
|
|
2112
|
+
def syncApplicationWithoutRestart(self, descriptor: ApplicationDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2113
|
+
"""
|
|
2114
|
+
Synchronizes a deployed application. This operation replaces the current descriptor with a new descriptor
|
|
2115
|
+
only if no server restarts are necessary for the update of the application. If some servers need to be
|
|
2116
|
+
restarted, the synchronization is rejected with a DeploymentException.
|
|
2117
|
+
|
|
2118
|
+
Parameters
|
|
2119
|
+
----------
|
|
2120
|
+
descriptor : ApplicationDescriptor
|
|
2121
|
+
The application descriptor.
|
|
2122
|
+
current : Ice.Current
|
|
2123
|
+
The Current object for the dispatch.
|
|
2124
|
+
|
|
2125
|
+
Returns
|
|
2126
|
+
-------
|
|
2127
|
+
None | Awaitable[None]
|
|
2128
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2129
|
+
|
|
2130
|
+
Raises
|
|
2131
|
+
------
|
|
2132
|
+
AccessDeniedException
|
|
2133
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2134
|
+
session is holding the lock.
|
|
2135
|
+
ApplicationNotExistException
|
|
2136
|
+
Thrown when the application doesn't exist.
|
|
2137
|
+
DeploymentException
|
|
2138
|
+
Thrown when the application deployment failed.
|
|
2139
|
+
"""
|
|
2140
|
+
pass
|
|
2141
|
+
|
|
2142
|
+
@abstractmethod
|
|
2143
|
+
def updateApplicationWithoutRestart(self, descriptor: ApplicationUpdateDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2144
|
+
"""
|
|
2145
|
+
Updates a deployed application. This operation succeeds only when no server restarts are necessary for the
|
|
2146
|
+
update of the application. If some servers need to be restarted, the synchronization is rejected with a
|
|
2147
|
+
DeploymentException.
|
|
2148
|
+
|
|
2149
|
+
Parameters
|
|
2150
|
+
----------
|
|
2151
|
+
descriptor : ApplicationUpdateDescriptor
|
|
2152
|
+
The update descriptor.
|
|
2153
|
+
current : Ice.Current
|
|
2154
|
+
The Current object for the dispatch.
|
|
2155
|
+
|
|
2156
|
+
Returns
|
|
2157
|
+
-------
|
|
2158
|
+
None | Awaitable[None]
|
|
2159
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2160
|
+
|
|
2161
|
+
Raises
|
|
2162
|
+
------
|
|
2163
|
+
AccessDeniedException
|
|
2164
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2165
|
+
session is holding the lock.
|
|
2166
|
+
ApplicationNotExistException
|
|
2167
|
+
Thrown when the application doesn't exist.
|
|
2168
|
+
DeploymentException
|
|
2169
|
+
Thrown when the application deployment failed.
|
|
2170
|
+
"""
|
|
2171
|
+
pass
|
|
2172
|
+
|
|
2173
|
+
@abstractmethod
|
|
2174
|
+
def removeApplication(self, name: str, current: Current) -> None | Awaitable[None]:
|
|
2175
|
+
"""
|
|
2176
|
+
Removes an application from IceGrid.
|
|
2177
|
+
|
|
2178
|
+
Parameters
|
|
2179
|
+
----------
|
|
2180
|
+
name : str
|
|
2181
|
+
The application name.
|
|
2182
|
+
current : Ice.Current
|
|
2183
|
+
The Current object for the dispatch.
|
|
2184
|
+
|
|
2185
|
+
Returns
|
|
2186
|
+
-------
|
|
2187
|
+
None | Awaitable[None]
|
|
2188
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2189
|
+
|
|
2190
|
+
Raises
|
|
2191
|
+
------
|
|
2192
|
+
AccessDeniedException
|
|
2193
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2194
|
+
session is holding the lock.
|
|
2195
|
+
ApplicationNotExistException
|
|
2196
|
+
Thrown when the application doesn't exist.
|
|
2197
|
+
DeploymentException
|
|
2198
|
+
Thrown when the application deployment failed.
|
|
2199
|
+
"""
|
|
2200
|
+
pass
|
|
2201
|
+
|
|
2202
|
+
@abstractmethod
|
|
2203
|
+
def instantiateServer(self, application: str, node: str, desc: ServerInstanceDescriptor, current: Current) -> None | Awaitable[None]:
|
|
2204
|
+
"""
|
|
2205
|
+
Instantiates a server template.
|
|
2206
|
+
|
|
2207
|
+
Parameters
|
|
2208
|
+
----------
|
|
2209
|
+
application : str
|
|
2210
|
+
The application name.
|
|
2211
|
+
node : str
|
|
2212
|
+
The name of the node where the server will be deployed.
|
|
2213
|
+
desc : ServerInstanceDescriptor
|
|
2214
|
+
The descriptor of the server instance to deploy.
|
|
2215
|
+
current : Ice.Current
|
|
2216
|
+
The Current object for the dispatch.
|
|
2217
|
+
|
|
2218
|
+
Returns
|
|
2219
|
+
-------
|
|
2220
|
+
None | Awaitable[None]
|
|
2221
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2222
|
+
|
|
2223
|
+
Raises
|
|
2224
|
+
------
|
|
2225
|
+
AccessDeniedException
|
|
2226
|
+
Thrown when the session doesn't hold the exclusive lock or when another
|
|
2227
|
+
session is holding the lock.
|
|
2228
|
+
ApplicationNotExistException
|
|
2229
|
+
Thrown when the application doesn't exist.
|
|
2230
|
+
DeploymentException
|
|
2231
|
+
Thrown when the application deployment failed.
|
|
2232
|
+
"""
|
|
2233
|
+
pass
|
|
2234
|
+
|
|
2235
|
+
@abstractmethod
|
|
2236
|
+
def getApplicationInfo(self, name: str, current: Current) -> ApplicationInfo | Awaitable[ApplicationInfo]:
|
|
2237
|
+
"""
|
|
2238
|
+
Gets an application descriptor.
|
|
2239
|
+
|
|
2240
|
+
Parameters
|
|
2241
|
+
----------
|
|
2242
|
+
name : str
|
|
2243
|
+
The application name.
|
|
2244
|
+
current : Ice.Current
|
|
2245
|
+
The Current object for the dispatch.
|
|
2246
|
+
|
|
2247
|
+
Returns
|
|
2248
|
+
-------
|
|
2249
|
+
ApplicationInfo | Awaitable[ApplicationInfo]
|
|
2250
|
+
The application descriptor.
|
|
2251
|
+
|
|
2252
|
+
Raises
|
|
2253
|
+
------
|
|
2254
|
+
ApplicationNotExistException
|
|
2255
|
+
Thrown when the application doesn't exist.
|
|
2256
|
+
"""
|
|
2257
|
+
pass
|
|
2258
|
+
|
|
2259
|
+
@abstractmethod
|
|
2260
|
+
def getDefaultApplicationDescriptor(self, current: Current) -> ApplicationDescriptor | Awaitable[ApplicationDescriptor]:
|
|
2261
|
+
"""
|
|
2262
|
+
Gets the default application descriptor.
|
|
2263
|
+
|
|
2264
|
+
Parameters
|
|
2265
|
+
----------
|
|
2266
|
+
current : Ice.Current
|
|
2267
|
+
The Current object for the dispatch.
|
|
2268
|
+
|
|
2269
|
+
Returns
|
|
2270
|
+
-------
|
|
2271
|
+
ApplicationDescriptor | Awaitable[ApplicationDescriptor]
|
|
2272
|
+
The default application descriptor.
|
|
2273
|
+
|
|
2274
|
+
Raises
|
|
2275
|
+
------
|
|
2276
|
+
DeploymentException
|
|
2277
|
+
Thrown when the default application descriptor is invalid or unreachable.
|
|
2278
|
+
"""
|
|
2279
|
+
pass
|
|
2280
|
+
|
|
2281
|
+
@abstractmethod
|
|
2282
|
+
def getAllApplicationNames(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
2283
|
+
"""
|
|
2284
|
+
Gets all the IceGrid applications currently registered.
|
|
2285
|
+
|
|
2286
|
+
Parameters
|
|
2287
|
+
----------
|
|
2288
|
+
current : Ice.Current
|
|
2289
|
+
The Current object for the dispatch.
|
|
2290
|
+
|
|
2291
|
+
Returns
|
|
2292
|
+
-------
|
|
2293
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
2294
|
+
The application names.
|
|
2295
|
+
"""
|
|
2296
|
+
pass
|
|
2297
|
+
|
|
2298
|
+
@abstractmethod
|
|
2299
|
+
def getServerInfo(self, id: str, current: Current) -> ServerInfo | Awaitable[ServerInfo]:
|
|
2300
|
+
"""
|
|
2301
|
+
Gets information about a server.
|
|
2302
|
+
|
|
2303
|
+
Parameters
|
|
2304
|
+
----------
|
|
2305
|
+
id : str
|
|
2306
|
+
The server ID.
|
|
2307
|
+
current : Ice.Current
|
|
2308
|
+
The Current object for the dispatch.
|
|
2309
|
+
|
|
2310
|
+
Returns
|
|
2311
|
+
-------
|
|
2312
|
+
ServerInfo | Awaitable[ServerInfo]
|
|
2313
|
+
The server information.
|
|
2314
|
+
|
|
2315
|
+
Raises
|
|
2316
|
+
------
|
|
2317
|
+
ServerNotExistException
|
|
2318
|
+
Thrown when the server doesn't exist.
|
|
2319
|
+
"""
|
|
2320
|
+
pass
|
|
2321
|
+
|
|
2322
|
+
@abstractmethod
|
|
2323
|
+
def getServerState(self, id: str, current: Current) -> ServerState | Awaitable[ServerState]:
|
|
2324
|
+
"""
|
|
2325
|
+
Gets the state of a server.
|
|
2326
|
+
|
|
2327
|
+
Parameters
|
|
2328
|
+
----------
|
|
2329
|
+
id : str
|
|
2330
|
+
The server ID.
|
|
2331
|
+
current : Ice.Current
|
|
2332
|
+
The Current object for the dispatch.
|
|
2333
|
+
|
|
2334
|
+
Returns
|
|
2335
|
+
-------
|
|
2336
|
+
ServerState | Awaitable[ServerState]
|
|
2337
|
+
The server state.
|
|
2338
|
+
|
|
2339
|
+
Raises
|
|
2340
|
+
------
|
|
2341
|
+
DeploymentException
|
|
2342
|
+
Thrown when the deployment of the server failed.
|
|
2343
|
+
NodeUnreachableException
|
|
2344
|
+
Thrown when the node is unreachable.
|
|
2345
|
+
ServerNotExistException
|
|
2346
|
+
Thrown when the server doesn't exist.
|
|
2347
|
+
"""
|
|
2348
|
+
pass
|
|
2349
|
+
|
|
2350
|
+
@abstractmethod
|
|
2351
|
+
def getServerPid(self, id: str, current: Current) -> int | Awaitable[int]:
|
|
2352
|
+
"""
|
|
2353
|
+
Gets the system process ID of a server. The process ID is operating system dependent.
|
|
2354
|
+
|
|
2355
|
+
Parameters
|
|
2356
|
+
----------
|
|
2357
|
+
id : str
|
|
2358
|
+
The server ID.
|
|
2359
|
+
current : Ice.Current
|
|
2360
|
+
The Current object for the dispatch.
|
|
2361
|
+
|
|
2362
|
+
Returns
|
|
2363
|
+
-------
|
|
2364
|
+
int | Awaitable[int]
|
|
2365
|
+
The process ID.
|
|
2366
|
+
|
|
2367
|
+
Raises
|
|
2368
|
+
------
|
|
2369
|
+
DeploymentException
|
|
2370
|
+
Thrown when the deployment of the server failed.
|
|
2371
|
+
NodeUnreachableException
|
|
2372
|
+
Thrown when the node is unreachable.
|
|
2373
|
+
ServerNotExistException
|
|
2374
|
+
Thrown when the server doesn't exist.
|
|
2375
|
+
"""
|
|
2376
|
+
pass
|
|
2377
|
+
|
|
2378
|
+
@abstractmethod
|
|
2379
|
+
def getServerAdminCategory(self, current: Current) -> str | Awaitable[str]:
|
|
2380
|
+
"""
|
|
2381
|
+
Gets the category for server admin objects. You can manufacture a server admin proxy from the admin proxy by
|
|
2382
|
+
changing its identity: use the server ID as name and the returned category as category.
|
|
2383
|
+
|
|
2384
|
+
Parameters
|
|
2385
|
+
----------
|
|
2386
|
+
current : Ice.Current
|
|
2387
|
+
The Current object for the dispatch.
|
|
2388
|
+
|
|
2389
|
+
Returns
|
|
2390
|
+
-------
|
|
2391
|
+
str | Awaitable[str]
|
|
2392
|
+
The category for server admin objects.
|
|
2393
|
+
"""
|
|
2394
|
+
pass
|
|
2395
|
+
|
|
2396
|
+
@abstractmethod
|
|
2397
|
+
def getServerAdmin(self, id: str, current: Current) -> ObjectPrx | None | Awaitable[ObjectPrx | None]:
|
|
2398
|
+
"""
|
|
2399
|
+
Gets a proxy to the admin object of a server.
|
|
2400
|
+
|
|
2401
|
+
Parameters
|
|
2402
|
+
----------
|
|
2403
|
+
id : str
|
|
2404
|
+
The server ID.
|
|
2405
|
+
current : Ice.Current
|
|
2406
|
+
The Current object for the dispatch.
|
|
2407
|
+
|
|
2408
|
+
Returns
|
|
2409
|
+
-------
|
|
2410
|
+
ObjectPrx | None | Awaitable[ObjectPrx | None]
|
|
2411
|
+
A proxy to the admin object of the server. This proxy is never null.
|
|
2412
|
+
|
|
2413
|
+
Raises
|
|
2414
|
+
------
|
|
2415
|
+
DeploymentException
|
|
2416
|
+
Thrown when the deployment of the server failed.
|
|
2417
|
+
NodeUnreachableException
|
|
2418
|
+
Thrown when the node is unreachable.
|
|
2419
|
+
ServerNotExistException
|
|
2420
|
+
Thrown when the server doesn't exist.
|
|
2421
|
+
"""
|
|
2422
|
+
pass
|
|
2423
|
+
|
|
2424
|
+
@abstractmethod
|
|
2425
|
+
def enableServer(self, id: str, enabled: bool, current: Current) -> None | Awaitable[None]:
|
|
2426
|
+
"""
|
|
2427
|
+
Enables or disables a server. A disabled server can't be started on demand or administratively. The enable
|
|
2428
|
+
state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by
|
|
2429
|
+
default.
|
|
2430
|
+
|
|
2431
|
+
Parameters
|
|
2432
|
+
----------
|
|
2433
|
+
id : str
|
|
2434
|
+
The server ID.
|
|
2435
|
+
enabled : bool
|
|
2436
|
+
``true`` to enable the server, ``false`` to disable it.
|
|
2437
|
+
current : Ice.Current
|
|
2438
|
+
The Current object for the dispatch.
|
|
2439
|
+
|
|
2440
|
+
Returns
|
|
2441
|
+
-------
|
|
2442
|
+
None | Awaitable[None]
|
|
2443
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2444
|
+
|
|
2445
|
+
Raises
|
|
2446
|
+
------
|
|
2447
|
+
DeploymentException
|
|
2448
|
+
Thrown when the deployment of the server failed.
|
|
2449
|
+
NodeUnreachableException
|
|
2450
|
+
Thrown when the node is unreachable.
|
|
2451
|
+
ServerNotExistException
|
|
2452
|
+
Thrown when the server doesn't exist.
|
|
2453
|
+
"""
|
|
2454
|
+
pass
|
|
2455
|
+
|
|
2456
|
+
@abstractmethod
|
|
2457
|
+
def isServerEnabled(self, id: str, current: Current) -> bool | Awaitable[bool]:
|
|
2458
|
+
"""
|
|
2459
|
+
Checks if the server is enabled or disabled.
|
|
2460
|
+
|
|
2461
|
+
Parameters
|
|
2462
|
+
----------
|
|
2463
|
+
id : str
|
|
2464
|
+
The server ID.
|
|
2465
|
+
current : Ice.Current
|
|
2466
|
+
The Current object for the dispatch.
|
|
2467
|
+
|
|
2468
|
+
Returns
|
|
2469
|
+
-------
|
|
2470
|
+
bool | Awaitable[bool]
|
|
2471
|
+
``true`` if the server is enabled, ``false`` otherwise.
|
|
2472
|
+
|
|
2473
|
+
Raises
|
|
2474
|
+
------
|
|
2475
|
+
DeploymentException
|
|
2476
|
+
Thrown when the deployment of the server failed.
|
|
2477
|
+
NodeUnreachableException
|
|
2478
|
+
Thrown when the node is unreachable.
|
|
2479
|
+
ServerNotExistException
|
|
2480
|
+
Thrown when the server doesn't exist.
|
|
2481
|
+
"""
|
|
2482
|
+
pass
|
|
2483
|
+
|
|
2484
|
+
@abstractmethod
|
|
2485
|
+
def startServer(self, id: str, current: Current) -> None | Awaitable[None]:
|
|
2486
|
+
"""
|
|
2487
|
+
Starts a server and waits for its activation.
|
|
2488
|
+
|
|
2489
|
+
Parameters
|
|
2490
|
+
----------
|
|
2491
|
+
id : str
|
|
2492
|
+
The server id.
|
|
2493
|
+
current : Ice.Current
|
|
2494
|
+
The Current object for the dispatch.
|
|
2495
|
+
|
|
2496
|
+
Returns
|
|
2497
|
+
-------
|
|
2498
|
+
None | Awaitable[None]
|
|
2499
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2500
|
+
|
|
2501
|
+
Raises
|
|
2502
|
+
------
|
|
2503
|
+
DeploymentException
|
|
2504
|
+
Thrown when the deployment of the server failed.
|
|
2505
|
+
NodeUnreachableException
|
|
2506
|
+
Thrown when the node is unreachable.
|
|
2507
|
+
ServerNotExistException
|
|
2508
|
+
Thrown when the server doesn't exist.
|
|
2509
|
+
ServerStartException
|
|
2510
|
+
Thrown when the server startup failed.
|
|
2511
|
+
"""
|
|
2512
|
+
pass
|
|
2513
|
+
|
|
2514
|
+
@abstractmethod
|
|
2515
|
+
def stopServer(self, id: str, current: Current) -> None | Awaitable[None]:
|
|
2516
|
+
"""
|
|
2517
|
+
Stops a server.
|
|
2518
|
+
|
|
2519
|
+
Parameters
|
|
2520
|
+
----------
|
|
2521
|
+
id : str
|
|
2522
|
+
The server ID.
|
|
2523
|
+
current : Ice.Current
|
|
2524
|
+
The Current object for the dispatch.
|
|
2525
|
+
|
|
2526
|
+
Returns
|
|
2527
|
+
-------
|
|
2528
|
+
None | Awaitable[None]
|
|
2529
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2530
|
+
|
|
2531
|
+
Raises
|
|
2532
|
+
------
|
|
2533
|
+
DeploymentException
|
|
2534
|
+
Thrown when the deployment of the server failed.
|
|
2535
|
+
NodeUnreachableException
|
|
2536
|
+
Thrown when the node is unreachable.
|
|
2537
|
+
ServerNotExistException
|
|
2538
|
+
Thrown when the server doesn't exist.
|
|
2539
|
+
ServerStopException
|
|
2540
|
+
Thrown when the server stop failed.
|
|
2541
|
+
"""
|
|
2542
|
+
pass
|
|
2543
|
+
|
|
2544
|
+
@abstractmethod
|
|
2545
|
+
def sendSignal(self, id: str, signal: str, current: Current) -> None | Awaitable[None]:
|
|
2546
|
+
"""
|
|
2547
|
+
Sends a signal to a server.
|
|
2548
|
+
|
|
2549
|
+
Parameters
|
|
2550
|
+
----------
|
|
2551
|
+
id : str
|
|
2552
|
+
The server ID.
|
|
2553
|
+
signal : str
|
|
2554
|
+
The signal, for example SIGTERM or 15.
|
|
2555
|
+
current : Ice.Current
|
|
2556
|
+
The Current object for the dispatch.
|
|
2557
|
+
|
|
2558
|
+
Returns
|
|
2559
|
+
-------
|
|
2560
|
+
None | Awaitable[None]
|
|
2561
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2562
|
+
|
|
2563
|
+
Raises
|
|
2564
|
+
------
|
|
2565
|
+
BadSignalException
|
|
2566
|
+
Thrown when the signal is not recognized by the target server.
|
|
2567
|
+
DeploymentException
|
|
2568
|
+
Thrown when the deployment of the server failed.
|
|
2569
|
+
NodeUnreachableException
|
|
2570
|
+
Thrown when the node is unreachable.
|
|
2571
|
+
ServerNotExistException
|
|
2572
|
+
Thrown when the server doesn't exist.
|
|
2573
|
+
"""
|
|
2574
|
+
pass
|
|
2575
|
+
|
|
2576
|
+
@abstractmethod
|
|
2577
|
+
def getAllServerIds(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
2578
|
+
"""
|
|
2579
|
+
Gets the IDs of all the servers registered with IceGrid.
|
|
2580
|
+
|
|
2581
|
+
Parameters
|
|
2582
|
+
----------
|
|
2583
|
+
current : Ice.Current
|
|
2584
|
+
The Current object for the dispatch.
|
|
2585
|
+
|
|
2586
|
+
Returns
|
|
2587
|
+
-------
|
|
2588
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
2589
|
+
The server IDs.
|
|
2590
|
+
"""
|
|
2591
|
+
pass
|
|
2592
|
+
|
|
2593
|
+
@abstractmethod
|
|
2594
|
+
def getAdapterInfo(self, id: str, current: Current) -> Sequence[AdapterInfo] | Awaitable[Sequence[AdapterInfo]]:
|
|
2595
|
+
"""
|
|
2596
|
+
Gets adapter information for the replica group or adapter with the given ID.
|
|
2597
|
+
|
|
2598
|
+
Parameters
|
|
2599
|
+
----------
|
|
2600
|
+
id : str
|
|
2601
|
+
The adapter or replica group ID.
|
|
2602
|
+
current : Ice.Current
|
|
2603
|
+
The Current object for the dispatch.
|
|
2604
|
+
|
|
2605
|
+
Returns
|
|
2606
|
+
-------
|
|
2607
|
+
Sequence[AdapterInfo] | Awaitable[Sequence[AdapterInfo]]
|
|
2608
|
+
A sequence of AdapterInfo. If ``id`` refers to an adapter, this sequence contains a single element.
|
|
2609
|
+
If ``id`` refers to a replica group, this sequence contains adapter information for each member of the
|
|
2610
|
+
replica group.
|
|
2611
|
+
|
|
2612
|
+
Raises
|
|
2613
|
+
------
|
|
2614
|
+
AdapterNotExistException
|
|
2615
|
+
Thrown when the adapter or replica group doesn't exist.
|
|
2616
|
+
"""
|
|
2617
|
+
pass
|
|
2618
|
+
|
|
2619
|
+
@abstractmethod
|
|
2620
|
+
def removeAdapter(self, id: str, current: Current) -> None | Awaitable[None]:
|
|
2621
|
+
"""
|
|
2622
|
+
Removes the adapter with the given ID.
|
|
2623
|
+
|
|
2624
|
+
Parameters
|
|
2625
|
+
----------
|
|
2626
|
+
id : str
|
|
2627
|
+
The adapter ID.
|
|
2628
|
+
current : Ice.Current
|
|
2629
|
+
The Current object for the dispatch.
|
|
2630
|
+
|
|
2631
|
+
Returns
|
|
2632
|
+
-------
|
|
2633
|
+
None | Awaitable[None]
|
|
2634
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2635
|
+
|
|
2636
|
+
Raises
|
|
2637
|
+
------
|
|
2638
|
+
AdapterNotExistException
|
|
2639
|
+
Thrown when the adapter doesn't exist.
|
|
2640
|
+
DeploymentException
|
|
2641
|
+
Thrown when the application deployment failed.
|
|
2642
|
+
"""
|
|
2643
|
+
pass
|
|
2644
|
+
|
|
2645
|
+
@abstractmethod
|
|
2646
|
+
def getAllAdapterIds(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
2647
|
+
"""
|
|
2648
|
+
Gets the IDs of all adapters registered with IceGrid.
|
|
2649
|
+
|
|
2650
|
+
Parameters
|
|
2651
|
+
----------
|
|
2652
|
+
current : Ice.Current
|
|
2653
|
+
The Current object for the dispatch.
|
|
2654
|
+
|
|
2655
|
+
Returns
|
|
2656
|
+
-------
|
|
2657
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
2658
|
+
The adapter IDs.
|
|
2659
|
+
"""
|
|
2660
|
+
pass
|
|
2661
|
+
|
|
2662
|
+
@abstractmethod
|
|
2663
|
+
def addObject(self, obj: ObjectPrx | None, current: Current) -> None | Awaitable[None]:
|
|
2664
|
+
"""
|
|
2665
|
+
Adds an object to the object registry. IceGrid gets the object type by calling ``ice_id`` on ``obj``. The
|
|
2666
|
+
object must be reachable.
|
|
2667
|
+
|
|
2668
|
+
Parameters
|
|
2669
|
+
----------
|
|
2670
|
+
obj : ObjectPrx | None
|
|
2671
|
+
A proxy to the object. This proxy is never null.
|
|
2672
|
+
current : Ice.Current
|
|
2673
|
+
The Current object for the dispatch.
|
|
2674
|
+
|
|
2675
|
+
Returns
|
|
2676
|
+
-------
|
|
2677
|
+
None | Awaitable[None]
|
|
2678
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2679
|
+
|
|
2680
|
+
Raises
|
|
2681
|
+
------
|
|
2682
|
+
DeploymentException
|
|
2683
|
+
Thrown when the object can't be added.
|
|
2684
|
+
ObjectExistsException
|
|
2685
|
+
Thrown when the object is already registered.
|
|
2686
|
+
"""
|
|
2687
|
+
pass
|
|
2688
|
+
|
|
2689
|
+
@abstractmethod
|
|
2690
|
+
def updateObject(self, obj: ObjectPrx | None, current: Current) -> None | Awaitable[None]:
|
|
2691
|
+
"""
|
|
2692
|
+
Updates an object in the object registry. Only objects added with this interface can be updated with this
|
|
2693
|
+
operation. Objects added with deployment descriptors should be updated with the deployment mechanism.
|
|
2694
|
+
|
|
2695
|
+
Parameters
|
|
2696
|
+
----------
|
|
2697
|
+
obj : ObjectPrx | None
|
|
2698
|
+
A proxy to the object. This proxy is never null.
|
|
2699
|
+
current : Ice.Current
|
|
2700
|
+
The Current object for the dispatch.
|
|
2701
|
+
|
|
2702
|
+
Returns
|
|
2703
|
+
-------
|
|
2704
|
+
None | Awaitable[None]
|
|
2705
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2706
|
+
|
|
2707
|
+
Raises
|
|
2708
|
+
------
|
|
2709
|
+
DeploymentException
|
|
2710
|
+
Thrown when the object can't be updated.
|
|
2711
|
+
ObjectNotRegisteredException
|
|
2712
|
+
Thrown when the object isn't registered with the registry.
|
|
2713
|
+
"""
|
|
2714
|
+
pass
|
|
2715
|
+
|
|
2716
|
+
@abstractmethod
|
|
2717
|
+
def addObjectWithType(self, obj: ObjectPrx | None, type: str, current: Current) -> None | Awaitable[None]:
|
|
2718
|
+
"""
|
|
2719
|
+
Adds an object to the object registry and explicitly specifies its type.
|
|
2720
|
+
|
|
2721
|
+
Parameters
|
|
2722
|
+
----------
|
|
2723
|
+
obj : ObjectPrx | None
|
|
2724
|
+
The object to be added to the registry. The proxy is never null.
|
|
2725
|
+
type : str
|
|
2726
|
+
The type name.
|
|
2727
|
+
current : Ice.Current
|
|
2728
|
+
The Current object for the dispatch.
|
|
2729
|
+
|
|
2730
|
+
Returns
|
|
2731
|
+
-------
|
|
2732
|
+
None | Awaitable[None]
|
|
2733
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2734
|
+
|
|
2735
|
+
Raises
|
|
2736
|
+
------
|
|
2737
|
+
DeploymentException
|
|
2738
|
+
Thrown when the application deployment failed.
|
|
2739
|
+
ObjectExistsException
|
|
2740
|
+
Thrown when the object is already registered.
|
|
2741
|
+
"""
|
|
2742
|
+
pass
|
|
2743
|
+
|
|
2744
|
+
@abstractmethod
|
|
2745
|
+
def removeObject(self, id: Identity, current: Current) -> None | Awaitable[None]:
|
|
2746
|
+
"""
|
|
2747
|
+
Removes an object from the object registry. Only objects added with this interface can be removed with this
|
|
2748
|
+
operation. Objects added with deployment descriptors should be removed with the deployment mechanism.
|
|
2749
|
+
|
|
2750
|
+
Parameters
|
|
2751
|
+
----------
|
|
2752
|
+
id : Identity
|
|
2753
|
+
The identity of the object to remove.
|
|
2754
|
+
current : Ice.Current
|
|
2755
|
+
The Current object for the dispatch.
|
|
2756
|
+
|
|
2757
|
+
Returns
|
|
2758
|
+
-------
|
|
2759
|
+
None | Awaitable[None]
|
|
2760
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2761
|
+
|
|
2762
|
+
Raises
|
|
2763
|
+
------
|
|
2764
|
+
DeploymentException
|
|
2765
|
+
Thrown when the object can't be removed.
|
|
2766
|
+
ObjectNotRegisteredException
|
|
2767
|
+
Thrown when the object isn't registered with the registry.
|
|
2768
|
+
"""
|
|
2769
|
+
pass
|
|
2770
|
+
|
|
2771
|
+
@abstractmethod
|
|
2772
|
+
def getObjectInfo(self, id: Identity, current: Current) -> ObjectInfo | Awaitable[ObjectInfo]:
|
|
2773
|
+
"""
|
|
2774
|
+
Gets the object info for the object.
|
|
2775
|
+
|
|
2776
|
+
Parameters
|
|
2777
|
+
----------
|
|
2778
|
+
id : Identity
|
|
2779
|
+
The identity of the object.
|
|
2780
|
+
current : Ice.Current
|
|
2781
|
+
The Current object for the dispatch.
|
|
2782
|
+
|
|
2783
|
+
Returns
|
|
2784
|
+
-------
|
|
2785
|
+
ObjectInfo | Awaitable[ObjectInfo]
|
|
2786
|
+
The object info.
|
|
2787
|
+
|
|
2788
|
+
Raises
|
|
2789
|
+
------
|
|
2790
|
+
ObjectNotRegisteredException
|
|
2791
|
+
Thrown when the object isn't registered with the registry.
|
|
2792
|
+
"""
|
|
2793
|
+
pass
|
|
2794
|
+
|
|
2795
|
+
@abstractmethod
|
|
2796
|
+
def getObjectInfosByType(self, type: str, current: Current) -> Sequence[ObjectInfo] | Awaitable[Sequence[ObjectInfo]]:
|
|
2797
|
+
"""
|
|
2798
|
+
Gets the object info of all the registered objects with a given type.
|
|
2799
|
+
|
|
2800
|
+
Parameters
|
|
2801
|
+
----------
|
|
2802
|
+
type : str
|
|
2803
|
+
The type name.
|
|
2804
|
+
current : Ice.Current
|
|
2805
|
+
The Current object for the dispatch.
|
|
2806
|
+
|
|
2807
|
+
Returns
|
|
2808
|
+
-------
|
|
2809
|
+
Sequence[ObjectInfo] | Awaitable[Sequence[ObjectInfo]]
|
|
2810
|
+
The object infos.
|
|
2811
|
+
"""
|
|
2812
|
+
pass
|
|
2813
|
+
|
|
2814
|
+
@abstractmethod
|
|
2815
|
+
def getAllObjectInfos(self, expr: str, current: Current) -> Sequence[ObjectInfo] | Awaitable[Sequence[ObjectInfo]]:
|
|
2816
|
+
"""
|
|
2817
|
+
Gets the object info of all the registered objects whose stringified identities match the given expression.
|
|
2818
|
+
|
|
2819
|
+
Parameters
|
|
2820
|
+
----------
|
|
2821
|
+
expr : str
|
|
2822
|
+
The expression to match against the stringified identities of registered objects. The expression
|
|
2823
|
+
may contain a trailing wildcard (``*``) character.
|
|
2824
|
+
current : Ice.Current
|
|
2825
|
+
The Current object for the dispatch.
|
|
2826
|
+
|
|
2827
|
+
Returns
|
|
2828
|
+
-------
|
|
2829
|
+
Sequence[ObjectInfo] | Awaitable[Sequence[ObjectInfo]]
|
|
2830
|
+
All the object infos with a stringified identity matching the given expression.
|
|
2831
|
+
"""
|
|
2832
|
+
pass
|
|
2833
|
+
|
|
2834
|
+
@abstractmethod
|
|
2835
|
+
def pingNode(self, name: str, current: Current) -> bool | Awaitable[bool]:
|
|
2836
|
+
"""
|
|
2837
|
+
Pings an IceGrid node to see if it is active.
|
|
2838
|
+
|
|
2839
|
+
Parameters
|
|
2840
|
+
----------
|
|
2841
|
+
name : str
|
|
2842
|
+
The node name.
|
|
2843
|
+
current : Ice.Current
|
|
2844
|
+
The Current object for the dispatch.
|
|
2845
|
+
|
|
2846
|
+
Returns
|
|
2847
|
+
-------
|
|
2848
|
+
bool | Awaitable[bool]
|
|
2849
|
+
``true`` if the node ping succeeded, ``false`` otherwise.
|
|
2850
|
+
|
|
2851
|
+
Raises
|
|
2852
|
+
------
|
|
2853
|
+
NodeNotExistException
|
|
2854
|
+
Thrown when the node doesn't exist.
|
|
2855
|
+
"""
|
|
2856
|
+
pass
|
|
2857
|
+
|
|
2858
|
+
@abstractmethod
|
|
2859
|
+
def getNodeLoad(self, name: str, current: Current) -> LoadInfo | Awaitable[LoadInfo]:
|
|
2860
|
+
"""
|
|
2861
|
+
Gets the load averages of a node.
|
|
2862
|
+
|
|
2863
|
+
Parameters
|
|
2864
|
+
----------
|
|
2865
|
+
name : str
|
|
2866
|
+
The node name.
|
|
2867
|
+
current : Ice.Current
|
|
2868
|
+
The Current object for the dispatch.
|
|
2869
|
+
|
|
2870
|
+
Returns
|
|
2871
|
+
-------
|
|
2872
|
+
LoadInfo | Awaitable[LoadInfo]
|
|
2873
|
+
The node load information.
|
|
2874
|
+
|
|
2875
|
+
Raises
|
|
2876
|
+
------
|
|
2877
|
+
NodeNotExistException
|
|
2878
|
+
Thrown when the node doesn't exist.
|
|
2879
|
+
NodeUnreachableException
|
|
2880
|
+
Thrown when the node is unreachable.
|
|
2881
|
+
"""
|
|
2882
|
+
pass
|
|
2883
|
+
|
|
2884
|
+
@abstractmethod
|
|
2885
|
+
def getNodeInfo(self, name: str, current: Current) -> NodeInfo | Awaitable[NodeInfo]:
|
|
2886
|
+
"""
|
|
2887
|
+
Gets the node information of a node.
|
|
2888
|
+
|
|
2889
|
+
Parameters
|
|
2890
|
+
----------
|
|
2891
|
+
name : str
|
|
2892
|
+
The node name.
|
|
2893
|
+
current : Ice.Current
|
|
2894
|
+
The Current object for the dispatch.
|
|
2895
|
+
|
|
2896
|
+
Returns
|
|
2897
|
+
-------
|
|
2898
|
+
NodeInfo | Awaitable[NodeInfo]
|
|
2899
|
+
The node information.
|
|
2900
|
+
|
|
2901
|
+
Raises
|
|
2902
|
+
------
|
|
2903
|
+
NodeNotExistException
|
|
2904
|
+
Thrown when the node doesn't exist.
|
|
2905
|
+
NodeUnreachableException
|
|
2906
|
+
Thrown when the node is unreachable.
|
|
2907
|
+
"""
|
|
2908
|
+
pass
|
|
2909
|
+
|
|
2910
|
+
@abstractmethod
|
|
2911
|
+
def getNodeAdmin(self, name: str, current: Current) -> ObjectPrx | None | Awaitable[ObjectPrx | None]:
|
|
2912
|
+
"""
|
|
2913
|
+
Gets a proxy to the admin object of an IceGrid node.
|
|
2914
|
+
|
|
2915
|
+
Parameters
|
|
2916
|
+
----------
|
|
2917
|
+
name : str
|
|
2918
|
+
The IceGrid node name.
|
|
2919
|
+
current : Ice.Current
|
|
2920
|
+
The Current object for the dispatch.
|
|
2921
|
+
|
|
2922
|
+
Returns
|
|
2923
|
+
-------
|
|
2924
|
+
ObjectPrx | None | Awaitable[ObjectPrx | None]
|
|
2925
|
+
A proxy to the IceGrid node's admin object. This proxy is never null.
|
|
2926
|
+
|
|
2927
|
+
Raises
|
|
2928
|
+
------
|
|
2929
|
+
NodeNotExistException
|
|
2930
|
+
Thrown when the node doesn't exist.
|
|
2931
|
+
NodeUnreachableException
|
|
2932
|
+
Thrown when the node is unreachable.
|
|
2933
|
+
"""
|
|
2934
|
+
pass
|
|
2935
|
+
|
|
2936
|
+
@abstractmethod
|
|
2937
|
+
def getNodeProcessorSocketCount(self, name: str, current: Current) -> int | Awaitable[int]:
|
|
2938
|
+
"""
|
|
2939
|
+
Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.
|
|
2940
|
+
Note that this operation returns 1 on operating systems where this can't be automatically determined and
|
|
2941
|
+
where the ``IceGrid.Node.ProcessorSocketCount`` property for the node is not set.
|
|
2942
|
+
|
|
2943
|
+
Parameters
|
|
2944
|
+
----------
|
|
2945
|
+
name : str
|
|
2946
|
+
The node name.
|
|
2947
|
+
current : Ice.Current
|
|
2948
|
+
The Current object for the dispatch.
|
|
2949
|
+
|
|
2950
|
+
Returns
|
|
2951
|
+
-------
|
|
2952
|
+
int | Awaitable[int]
|
|
2953
|
+
The number of processor sockets or 1 if the number of sockets can't be determined.
|
|
2954
|
+
|
|
2955
|
+
Raises
|
|
2956
|
+
------
|
|
2957
|
+
NodeNotExistException
|
|
2958
|
+
Thrown when the node doesn't exist.
|
|
2959
|
+
NodeUnreachableException
|
|
2960
|
+
Thrown when the node is unreachable.
|
|
2961
|
+
"""
|
|
2962
|
+
pass
|
|
2963
|
+
|
|
2964
|
+
@abstractmethod
|
|
2965
|
+
def shutdownNode(self, name: str, current: Current) -> None | Awaitable[None]:
|
|
2966
|
+
"""
|
|
2967
|
+
Shuts down an IceGrid node.
|
|
2968
|
+
|
|
2969
|
+
Parameters
|
|
2970
|
+
----------
|
|
2971
|
+
name : str
|
|
2972
|
+
The node name.
|
|
2973
|
+
current : Ice.Current
|
|
2974
|
+
The Current object for the dispatch.
|
|
2975
|
+
|
|
2976
|
+
Returns
|
|
2977
|
+
-------
|
|
2978
|
+
None | Awaitable[None]
|
|
2979
|
+
None or an awaitable that completes when the dispatch completes.
|
|
2980
|
+
|
|
2981
|
+
Raises
|
|
2982
|
+
------
|
|
2983
|
+
NodeNotExistException
|
|
2984
|
+
Thrown when the node doesn't exist.
|
|
2985
|
+
NodeUnreachableException
|
|
2986
|
+
Thrown when the node is unreachable.
|
|
2987
|
+
"""
|
|
2988
|
+
pass
|
|
2989
|
+
|
|
2990
|
+
@abstractmethod
|
|
2991
|
+
def getNodeHostname(self, name: str, current: Current) -> str | Awaitable[str]:
|
|
2992
|
+
"""
|
|
2993
|
+
Get the hostname of a node.
|
|
2994
|
+
|
|
2995
|
+
Parameters
|
|
2996
|
+
----------
|
|
2997
|
+
name : str
|
|
2998
|
+
The node name.
|
|
2999
|
+
current : Ice.Current
|
|
3000
|
+
The Current object for the dispatch.
|
|
3001
|
+
|
|
3002
|
+
Returns
|
|
3003
|
+
-------
|
|
3004
|
+
str | Awaitable[str]
|
|
3005
|
+
The node hostname.
|
|
3006
|
+
|
|
3007
|
+
Raises
|
|
3008
|
+
------
|
|
3009
|
+
NodeNotExistException
|
|
3010
|
+
Thrown when the node doesn't exist.
|
|
3011
|
+
NodeUnreachableException
|
|
3012
|
+
Thrown when the node is unreachable.
|
|
3013
|
+
"""
|
|
3014
|
+
pass
|
|
3015
|
+
|
|
3016
|
+
@abstractmethod
|
|
3017
|
+
def getAllNodeNames(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
3018
|
+
"""
|
|
3019
|
+
Gets the names of all IceGrid nodes currently registered.
|
|
3020
|
+
|
|
3021
|
+
Parameters
|
|
3022
|
+
----------
|
|
3023
|
+
current : Ice.Current
|
|
3024
|
+
The Current object for the dispatch.
|
|
3025
|
+
|
|
3026
|
+
Returns
|
|
3027
|
+
-------
|
|
3028
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
3029
|
+
The node names.
|
|
3030
|
+
"""
|
|
3031
|
+
pass
|
|
3032
|
+
|
|
3033
|
+
@abstractmethod
|
|
3034
|
+
def pingRegistry(self, name: str, current: Current) -> bool | Awaitable[bool]:
|
|
3035
|
+
"""
|
|
3036
|
+
Pings an IceGrid registry to see if it is active.
|
|
3037
|
+
|
|
3038
|
+
Parameters
|
|
3039
|
+
----------
|
|
3040
|
+
name : str
|
|
3041
|
+
The registry name.
|
|
3042
|
+
current : Ice.Current
|
|
3043
|
+
The Current object for the dispatch.
|
|
3044
|
+
|
|
3045
|
+
Returns
|
|
3046
|
+
-------
|
|
3047
|
+
bool | Awaitable[bool]
|
|
3048
|
+
``true`` if the registry ping succeeded, ``false`` otherwise.
|
|
3049
|
+
|
|
3050
|
+
Raises
|
|
3051
|
+
------
|
|
3052
|
+
RegistryNotExistException
|
|
3053
|
+
Thrown when the registry doesn't exist.
|
|
3054
|
+
"""
|
|
3055
|
+
pass
|
|
3056
|
+
|
|
3057
|
+
@abstractmethod
|
|
3058
|
+
def getRegistryInfo(self, name: str, current: Current) -> RegistryInfo | Awaitable[RegistryInfo]:
|
|
3059
|
+
"""
|
|
3060
|
+
Gets the registry information of an IceGrid registry.
|
|
3061
|
+
|
|
3062
|
+
Parameters
|
|
3063
|
+
----------
|
|
3064
|
+
name : str
|
|
3065
|
+
The registry name.
|
|
3066
|
+
current : Ice.Current
|
|
3067
|
+
The Current object for the dispatch.
|
|
3068
|
+
|
|
3069
|
+
Returns
|
|
3070
|
+
-------
|
|
3071
|
+
RegistryInfo | Awaitable[RegistryInfo]
|
|
3072
|
+
The registry information.
|
|
3073
|
+
|
|
3074
|
+
Raises
|
|
3075
|
+
------
|
|
3076
|
+
RegistryNotExistException
|
|
3077
|
+
Thrown when the registry doesn't exist.
|
|
3078
|
+
RegistryUnreachableException
|
|
3079
|
+
Thrown when the registry is unreachable.
|
|
3080
|
+
"""
|
|
3081
|
+
pass
|
|
3082
|
+
|
|
3083
|
+
@abstractmethod
|
|
3084
|
+
def getRegistryAdmin(self, name: str, current: Current) -> ObjectPrx | None | Awaitable[ObjectPrx | None]:
|
|
3085
|
+
"""
|
|
3086
|
+
Gets a proxy to the admin object of an IceGrid registry.
|
|
3087
|
+
|
|
3088
|
+
Parameters
|
|
3089
|
+
----------
|
|
3090
|
+
name : str
|
|
3091
|
+
The registry name.
|
|
3092
|
+
current : Ice.Current
|
|
3093
|
+
The Current object for the dispatch.
|
|
3094
|
+
|
|
3095
|
+
Returns
|
|
3096
|
+
-------
|
|
3097
|
+
ObjectPrx | None | Awaitable[ObjectPrx | None]
|
|
3098
|
+
A proxy to the admin object of an IceGrid registry. This proxy is never null.
|
|
3099
|
+
|
|
3100
|
+
Raises
|
|
3101
|
+
------
|
|
3102
|
+
RegistryNotExistException
|
|
3103
|
+
Thrown when the registry doesn't exist.
|
|
3104
|
+
"""
|
|
3105
|
+
pass
|
|
3106
|
+
|
|
3107
|
+
@abstractmethod
|
|
3108
|
+
def shutdownRegistry(self, name: str, current: Current) -> None | Awaitable[None]:
|
|
3109
|
+
"""
|
|
3110
|
+
Shuts down an IceGrid registry.
|
|
3111
|
+
|
|
3112
|
+
Parameters
|
|
3113
|
+
----------
|
|
3114
|
+
name : str
|
|
3115
|
+
The registry name.
|
|
3116
|
+
current : Ice.Current
|
|
3117
|
+
The Current object for the dispatch.
|
|
3118
|
+
|
|
3119
|
+
Returns
|
|
3120
|
+
-------
|
|
3121
|
+
None | Awaitable[None]
|
|
3122
|
+
None or an awaitable that completes when the dispatch completes.
|
|
3123
|
+
|
|
3124
|
+
Raises
|
|
3125
|
+
------
|
|
3126
|
+
RegistryNotExistException
|
|
3127
|
+
Thrown when the registry doesn't exist.
|
|
3128
|
+
RegistryUnreachableException
|
|
3129
|
+
Thrown when the registry is unreachable.
|
|
3130
|
+
"""
|
|
3131
|
+
pass
|
|
3132
|
+
|
|
3133
|
+
@abstractmethod
|
|
3134
|
+
def getAllRegistryNames(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
3135
|
+
"""
|
|
3136
|
+
Gets the names of all the IceGrid registries currently registered.
|
|
3137
|
+
|
|
3138
|
+
Parameters
|
|
3139
|
+
----------
|
|
3140
|
+
current : Ice.Current
|
|
3141
|
+
The Current object for the dispatch.
|
|
3142
|
+
|
|
3143
|
+
Returns
|
|
3144
|
+
-------
|
|
3145
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
3146
|
+
The registry names.
|
|
3147
|
+
"""
|
|
3148
|
+
pass
|
|
3149
|
+
|
|
3150
|
+
@abstractmethod
|
|
3151
|
+
def shutdown(self, current: Current) -> None | Awaitable[None]:
|
|
3152
|
+
"""
|
|
3153
|
+
Shuts down the IceGrid registry.
|
|
3154
|
+
|
|
3155
|
+
Parameters
|
|
3156
|
+
----------
|
|
3157
|
+
current : Ice.Current
|
|
3158
|
+
The Current object for the dispatch.
|
|
3159
|
+
|
|
3160
|
+
Returns
|
|
3161
|
+
-------
|
|
3162
|
+
None | Awaitable[None]
|
|
3163
|
+
None or an awaitable that completes when the dispatch completes.
|
|
3164
|
+
"""
|
|
3165
|
+
pass
|
|
3166
|
+
|
|
3167
|
+
Admin._op_addApplication = IcePy.Operation(
|
|
3168
|
+
"addApplication",
|
|
3169
|
+
"addApplication",
|
|
3170
|
+
OperationMode.Normal,
|
|
3171
|
+
None,
|
|
3172
|
+
(),
|
|
3173
|
+
(((), _IceGrid_ApplicationDescriptor_t, False, 0),),
|
|
3174
|
+
(),
|
|
3175
|
+
None,
|
|
3176
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t))
|
|
3177
|
+
|
|
3178
|
+
Admin._op_syncApplication = IcePy.Operation(
|
|
3179
|
+
"syncApplication",
|
|
3180
|
+
"syncApplication",
|
|
3181
|
+
OperationMode.Normal,
|
|
3182
|
+
None,
|
|
3183
|
+
(),
|
|
3184
|
+
(((), _IceGrid_ApplicationDescriptor_t, False, 0),),
|
|
3185
|
+
(),
|
|
3186
|
+
None,
|
|
3187
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t, _IceGrid_ApplicationNotExistException_t))
|
|
3188
|
+
|
|
3189
|
+
Admin._op_updateApplication = IcePy.Operation(
|
|
3190
|
+
"updateApplication",
|
|
3191
|
+
"updateApplication",
|
|
3192
|
+
OperationMode.Normal,
|
|
3193
|
+
None,
|
|
3194
|
+
(),
|
|
3195
|
+
(((), _IceGrid_ApplicationUpdateDescriptor_t, False, 0),),
|
|
3196
|
+
(),
|
|
3197
|
+
None,
|
|
3198
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t, _IceGrid_ApplicationNotExistException_t))
|
|
3199
|
+
|
|
3200
|
+
Admin._op_syncApplicationWithoutRestart = IcePy.Operation(
|
|
3201
|
+
"syncApplicationWithoutRestart",
|
|
3202
|
+
"syncApplicationWithoutRestart",
|
|
3203
|
+
OperationMode.Normal,
|
|
3204
|
+
None,
|
|
3205
|
+
(),
|
|
3206
|
+
(((), _IceGrid_ApplicationDescriptor_t, False, 0),),
|
|
3207
|
+
(),
|
|
3208
|
+
None,
|
|
3209
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t, _IceGrid_ApplicationNotExistException_t))
|
|
3210
|
+
|
|
3211
|
+
Admin._op_updateApplicationWithoutRestart = IcePy.Operation(
|
|
3212
|
+
"updateApplicationWithoutRestart",
|
|
3213
|
+
"updateApplicationWithoutRestart",
|
|
3214
|
+
OperationMode.Normal,
|
|
3215
|
+
None,
|
|
3216
|
+
(),
|
|
3217
|
+
(((), _IceGrid_ApplicationUpdateDescriptor_t, False, 0),),
|
|
3218
|
+
(),
|
|
3219
|
+
None,
|
|
3220
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t, _IceGrid_ApplicationNotExistException_t))
|
|
3221
|
+
|
|
3222
|
+
Admin._op_removeApplication = IcePy.Operation(
|
|
3223
|
+
"removeApplication",
|
|
3224
|
+
"removeApplication",
|
|
3225
|
+
OperationMode.Normal,
|
|
3226
|
+
None,
|
|
3227
|
+
(),
|
|
3228
|
+
(((), IcePy._t_string, False, 0),),
|
|
3229
|
+
(),
|
|
3230
|
+
None,
|
|
3231
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_DeploymentException_t, _IceGrid_ApplicationNotExistException_t))
|
|
3232
|
+
|
|
3233
|
+
Admin._op_instantiateServer = IcePy.Operation(
|
|
3234
|
+
"instantiateServer",
|
|
3235
|
+
"instantiateServer",
|
|
3236
|
+
OperationMode.Normal,
|
|
3237
|
+
None,
|
|
3238
|
+
(),
|
|
3239
|
+
(((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), _IceGrid_ServerInstanceDescriptor_t, False, 0)),
|
|
3240
|
+
(),
|
|
3241
|
+
None,
|
|
3242
|
+
(_IceGrid_AccessDeniedException_t, _IceGrid_ApplicationNotExistException_t, _IceGrid_DeploymentException_t))
|
|
3243
|
+
|
|
3244
|
+
Admin._op_getApplicationInfo = IcePy.Operation(
|
|
3245
|
+
"getApplicationInfo",
|
|
3246
|
+
"getApplicationInfo",
|
|
3247
|
+
OperationMode.Idempotent,
|
|
3248
|
+
None,
|
|
3249
|
+
(),
|
|
3250
|
+
(((), IcePy._t_string, False, 0),),
|
|
3251
|
+
(),
|
|
3252
|
+
((), _IceGrid_ApplicationInfo_t, False, 0),
|
|
3253
|
+
(_IceGrid_ApplicationNotExistException_t,))
|
|
3254
|
+
|
|
3255
|
+
Admin._op_getDefaultApplicationDescriptor = IcePy.Operation(
|
|
3256
|
+
"getDefaultApplicationDescriptor",
|
|
3257
|
+
"getDefaultApplicationDescriptor",
|
|
3258
|
+
OperationMode.Idempotent,
|
|
3259
|
+
None,
|
|
3260
|
+
(),
|
|
3261
|
+
(),
|
|
3262
|
+
(),
|
|
3263
|
+
((), _IceGrid_ApplicationDescriptor_t, False, 0),
|
|
3264
|
+
(_IceGrid_DeploymentException_t,))
|
|
3265
|
+
|
|
3266
|
+
Admin._op_getAllApplicationNames = IcePy.Operation(
|
|
3267
|
+
"getAllApplicationNames",
|
|
3268
|
+
"getAllApplicationNames",
|
|
3269
|
+
OperationMode.Idempotent,
|
|
3270
|
+
None,
|
|
3271
|
+
(),
|
|
3272
|
+
(),
|
|
3273
|
+
(),
|
|
3274
|
+
((), _Ice_StringSeq_t, False, 0),
|
|
3275
|
+
())
|
|
3276
|
+
|
|
3277
|
+
Admin._op_getServerInfo = IcePy.Operation(
|
|
3278
|
+
"getServerInfo",
|
|
3279
|
+
"getServerInfo",
|
|
3280
|
+
OperationMode.Idempotent,
|
|
3281
|
+
None,
|
|
3282
|
+
(),
|
|
3283
|
+
(((), IcePy._t_string, False, 0),),
|
|
3284
|
+
(),
|
|
3285
|
+
((), _IceGrid_ServerInfo_t, False, 0),
|
|
3286
|
+
(_IceGrid_ServerNotExistException_t,))
|
|
3287
|
+
|
|
3288
|
+
Admin._op_getServerState = IcePy.Operation(
|
|
3289
|
+
"getServerState",
|
|
3290
|
+
"getServerState",
|
|
3291
|
+
OperationMode.Idempotent,
|
|
3292
|
+
None,
|
|
3293
|
+
(),
|
|
3294
|
+
(((), IcePy._t_string, False, 0),),
|
|
3295
|
+
(),
|
|
3296
|
+
((), _IceGrid_ServerState_t, False, 0),
|
|
3297
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3298
|
+
|
|
3299
|
+
Admin._op_getServerPid = IcePy.Operation(
|
|
3300
|
+
"getServerPid",
|
|
3301
|
+
"getServerPid",
|
|
3302
|
+
OperationMode.Idempotent,
|
|
3303
|
+
None,
|
|
3304
|
+
(),
|
|
3305
|
+
(((), IcePy._t_string, False, 0),),
|
|
3306
|
+
(),
|
|
3307
|
+
((), IcePy._t_int, False, 0),
|
|
3308
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3309
|
+
|
|
3310
|
+
Admin._op_getServerAdminCategory = IcePy.Operation(
|
|
3311
|
+
"getServerAdminCategory",
|
|
3312
|
+
"getServerAdminCategory",
|
|
3313
|
+
OperationMode.Idempotent,
|
|
3314
|
+
None,
|
|
3315
|
+
(),
|
|
3316
|
+
(),
|
|
3317
|
+
(),
|
|
3318
|
+
((), IcePy._t_string, False, 0),
|
|
3319
|
+
())
|
|
3320
|
+
|
|
3321
|
+
Admin._op_getServerAdmin = IcePy.Operation(
|
|
3322
|
+
"getServerAdmin",
|
|
3323
|
+
"getServerAdmin",
|
|
3324
|
+
OperationMode.Idempotent,
|
|
3325
|
+
None,
|
|
3326
|
+
(),
|
|
3327
|
+
(((), IcePy._t_string, False, 0),),
|
|
3328
|
+
(),
|
|
3329
|
+
((), _Ice_ObjectPrx_t, False, 0),
|
|
3330
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3331
|
+
|
|
3332
|
+
Admin._op_enableServer = IcePy.Operation(
|
|
3333
|
+
"enableServer",
|
|
3334
|
+
"enableServer",
|
|
3335
|
+
OperationMode.Idempotent,
|
|
3336
|
+
None,
|
|
3337
|
+
(),
|
|
3338
|
+
(((), IcePy._t_string, False, 0), ((), IcePy._t_bool, False, 0)),
|
|
3339
|
+
(),
|
|
3340
|
+
None,
|
|
3341
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3342
|
+
|
|
3343
|
+
Admin._op_isServerEnabled = IcePy.Operation(
|
|
3344
|
+
"isServerEnabled",
|
|
3345
|
+
"isServerEnabled",
|
|
3346
|
+
OperationMode.Idempotent,
|
|
3347
|
+
None,
|
|
3348
|
+
(),
|
|
3349
|
+
(((), IcePy._t_string, False, 0),),
|
|
3350
|
+
(),
|
|
3351
|
+
((), IcePy._t_bool, False, 0),
|
|
3352
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3353
|
+
|
|
3354
|
+
Admin._op_startServer = IcePy.Operation(
|
|
3355
|
+
"startServer",
|
|
3356
|
+
"startServer",
|
|
3357
|
+
OperationMode.Normal,
|
|
3358
|
+
None,
|
|
3359
|
+
(),
|
|
3360
|
+
(((), IcePy._t_string, False, 0),),
|
|
3361
|
+
(),
|
|
3362
|
+
None,
|
|
3363
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_ServerStartException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3364
|
+
|
|
3365
|
+
Admin._op_stopServer = IcePy.Operation(
|
|
3366
|
+
"stopServer",
|
|
3367
|
+
"stopServer",
|
|
3368
|
+
OperationMode.Normal,
|
|
3369
|
+
None,
|
|
3370
|
+
(),
|
|
3371
|
+
(((), IcePy._t_string, False, 0),),
|
|
3372
|
+
(),
|
|
3373
|
+
None,
|
|
3374
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_ServerStopException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t))
|
|
3375
|
+
|
|
3376
|
+
Admin._op_sendSignal = IcePy.Operation(
|
|
3377
|
+
"sendSignal",
|
|
3378
|
+
"sendSignal",
|
|
3379
|
+
OperationMode.Normal,
|
|
3380
|
+
None,
|
|
3381
|
+
(),
|
|
3382
|
+
(((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)),
|
|
3383
|
+
(),
|
|
3384
|
+
None,
|
|
3385
|
+
(_IceGrid_ServerNotExistException_t, _IceGrid_NodeUnreachableException_t, _IceGrid_DeploymentException_t, _IceGrid_BadSignalException_t))
|
|
3386
|
+
|
|
3387
|
+
Admin._op_getAllServerIds = IcePy.Operation(
|
|
3388
|
+
"getAllServerIds",
|
|
3389
|
+
"getAllServerIds",
|
|
3390
|
+
OperationMode.Idempotent,
|
|
3391
|
+
None,
|
|
3392
|
+
(),
|
|
3393
|
+
(),
|
|
3394
|
+
(),
|
|
3395
|
+
((), _Ice_StringSeq_t, False, 0),
|
|
3396
|
+
())
|
|
3397
|
+
|
|
3398
|
+
Admin._op_getAdapterInfo = IcePy.Operation(
|
|
3399
|
+
"getAdapterInfo",
|
|
3400
|
+
"getAdapterInfo",
|
|
3401
|
+
OperationMode.Idempotent,
|
|
3402
|
+
None,
|
|
3403
|
+
(),
|
|
3404
|
+
(((), IcePy._t_string, False, 0),),
|
|
3405
|
+
(),
|
|
3406
|
+
((), _IceGrid_AdapterInfoSeq_t, False, 0),
|
|
3407
|
+
(_IceGrid_AdapterNotExistException_t,))
|
|
3408
|
+
|
|
3409
|
+
Admin._op_removeAdapter = IcePy.Operation(
|
|
3410
|
+
"removeAdapter",
|
|
3411
|
+
"removeAdapter",
|
|
3412
|
+
OperationMode.Normal,
|
|
3413
|
+
None,
|
|
3414
|
+
(),
|
|
3415
|
+
(((), IcePy._t_string, False, 0),),
|
|
3416
|
+
(),
|
|
3417
|
+
None,
|
|
3418
|
+
(_IceGrid_AdapterNotExistException_t, _IceGrid_DeploymentException_t))
|
|
3419
|
+
|
|
3420
|
+
Admin._op_getAllAdapterIds = IcePy.Operation(
|
|
3421
|
+
"getAllAdapterIds",
|
|
3422
|
+
"getAllAdapterIds",
|
|
3423
|
+
OperationMode.Idempotent,
|
|
3424
|
+
None,
|
|
3425
|
+
(),
|
|
3426
|
+
(),
|
|
3427
|
+
(),
|
|
3428
|
+
((), _Ice_StringSeq_t, False, 0),
|
|
3429
|
+
())
|
|
3430
|
+
|
|
3431
|
+
Admin._op_addObject = IcePy.Operation(
|
|
3432
|
+
"addObject",
|
|
3433
|
+
"addObject",
|
|
3434
|
+
OperationMode.Normal,
|
|
3435
|
+
None,
|
|
3436
|
+
(),
|
|
3437
|
+
(((), _Ice_ObjectPrx_t, False, 0),),
|
|
3438
|
+
(),
|
|
3439
|
+
None,
|
|
3440
|
+
(_IceGrid_ObjectExistsException_t, _IceGrid_DeploymentException_t))
|
|
3441
|
+
|
|
3442
|
+
Admin._op_updateObject = IcePy.Operation(
|
|
3443
|
+
"updateObject",
|
|
3444
|
+
"updateObject",
|
|
3445
|
+
OperationMode.Normal,
|
|
3446
|
+
None,
|
|
3447
|
+
(),
|
|
3448
|
+
(((), _Ice_ObjectPrx_t, False, 0),),
|
|
3449
|
+
(),
|
|
3450
|
+
None,
|
|
3451
|
+
(_IceGrid_ObjectNotRegisteredException_t, _IceGrid_DeploymentException_t))
|
|
3452
|
+
|
|
3453
|
+
Admin._op_addObjectWithType = IcePy.Operation(
|
|
3454
|
+
"addObjectWithType",
|
|
3455
|
+
"addObjectWithType",
|
|
3456
|
+
OperationMode.Normal,
|
|
3457
|
+
None,
|
|
3458
|
+
(),
|
|
3459
|
+
(((), _Ice_ObjectPrx_t, False, 0), ((), IcePy._t_string, False, 0)),
|
|
3460
|
+
(),
|
|
3461
|
+
None,
|
|
3462
|
+
(_IceGrid_ObjectExistsException_t, _IceGrid_DeploymentException_t))
|
|
3463
|
+
|
|
3464
|
+
Admin._op_removeObject = IcePy.Operation(
|
|
3465
|
+
"removeObject",
|
|
3466
|
+
"removeObject",
|
|
3467
|
+
OperationMode.Normal,
|
|
3468
|
+
None,
|
|
3469
|
+
(),
|
|
3470
|
+
(((), _Ice_Identity_t, False, 0),),
|
|
3471
|
+
(),
|
|
3472
|
+
None,
|
|
3473
|
+
(_IceGrid_ObjectNotRegisteredException_t, _IceGrid_DeploymentException_t))
|
|
3474
|
+
|
|
3475
|
+
Admin._op_getObjectInfo = IcePy.Operation(
|
|
3476
|
+
"getObjectInfo",
|
|
3477
|
+
"getObjectInfo",
|
|
3478
|
+
OperationMode.Idempotent,
|
|
3479
|
+
None,
|
|
3480
|
+
(),
|
|
3481
|
+
(((), _Ice_Identity_t, False, 0),),
|
|
3482
|
+
(),
|
|
3483
|
+
((), _IceGrid_ObjectInfo_t, False, 0),
|
|
3484
|
+
(_IceGrid_ObjectNotRegisteredException_t,))
|
|
3485
|
+
|
|
3486
|
+
Admin._op_getObjectInfosByType = IcePy.Operation(
|
|
3487
|
+
"getObjectInfosByType",
|
|
3488
|
+
"getObjectInfosByType",
|
|
3489
|
+
OperationMode.Idempotent,
|
|
3490
|
+
None,
|
|
3491
|
+
(),
|
|
3492
|
+
(((), IcePy._t_string, False, 0),),
|
|
3493
|
+
(),
|
|
3494
|
+
((), _IceGrid_ObjectInfoSeq_t, False, 0),
|
|
3495
|
+
())
|
|
3496
|
+
|
|
3497
|
+
Admin._op_getAllObjectInfos = IcePy.Operation(
|
|
3498
|
+
"getAllObjectInfos",
|
|
3499
|
+
"getAllObjectInfos",
|
|
3500
|
+
OperationMode.Idempotent,
|
|
3501
|
+
None,
|
|
3502
|
+
(),
|
|
3503
|
+
(((), IcePy._t_string, False, 0),),
|
|
3504
|
+
(),
|
|
3505
|
+
((), _IceGrid_ObjectInfoSeq_t, False, 0),
|
|
3506
|
+
())
|
|
3507
|
+
|
|
3508
|
+
Admin._op_pingNode = IcePy.Operation(
|
|
3509
|
+
"pingNode",
|
|
3510
|
+
"pingNode",
|
|
3511
|
+
OperationMode.Idempotent,
|
|
3512
|
+
None,
|
|
3513
|
+
(),
|
|
3514
|
+
(((), IcePy._t_string, False, 0),),
|
|
3515
|
+
(),
|
|
3516
|
+
((), IcePy._t_bool, False, 0),
|
|
3517
|
+
(_IceGrid_NodeNotExistException_t,))
|
|
3518
|
+
|
|
3519
|
+
Admin._op_getNodeLoad = IcePy.Operation(
|
|
3520
|
+
"getNodeLoad",
|
|
3521
|
+
"getNodeLoad",
|
|
3522
|
+
OperationMode.Idempotent,
|
|
3523
|
+
None,
|
|
3524
|
+
(),
|
|
3525
|
+
(((), IcePy._t_string, False, 0),),
|
|
3526
|
+
(),
|
|
3527
|
+
((), _IceGrid_LoadInfo_t, False, 0),
|
|
3528
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3529
|
+
|
|
3530
|
+
Admin._op_getNodeInfo = IcePy.Operation(
|
|
3531
|
+
"getNodeInfo",
|
|
3532
|
+
"getNodeInfo",
|
|
3533
|
+
OperationMode.Idempotent,
|
|
3534
|
+
None,
|
|
3535
|
+
(),
|
|
3536
|
+
(((), IcePy._t_string, False, 0),),
|
|
3537
|
+
(),
|
|
3538
|
+
((), _IceGrid_NodeInfo_t, False, 0),
|
|
3539
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3540
|
+
|
|
3541
|
+
Admin._op_getNodeAdmin = IcePy.Operation(
|
|
3542
|
+
"getNodeAdmin",
|
|
3543
|
+
"getNodeAdmin",
|
|
3544
|
+
OperationMode.Idempotent,
|
|
3545
|
+
None,
|
|
3546
|
+
(),
|
|
3547
|
+
(((), IcePy._t_string, False, 0),),
|
|
3548
|
+
(),
|
|
3549
|
+
((), _Ice_ObjectPrx_t, False, 0),
|
|
3550
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3551
|
+
|
|
3552
|
+
Admin._op_getNodeProcessorSocketCount = IcePy.Operation(
|
|
3553
|
+
"getNodeProcessorSocketCount",
|
|
3554
|
+
"getNodeProcessorSocketCount",
|
|
3555
|
+
OperationMode.Idempotent,
|
|
3556
|
+
None,
|
|
3557
|
+
(),
|
|
3558
|
+
(((), IcePy._t_string, False, 0),),
|
|
3559
|
+
(),
|
|
3560
|
+
((), IcePy._t_int, False, 0),
|
|
3561
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3562
|
+
|
|
3563
|
+
Admin._op_shutdownNode = IcePy.Operation(
|
|
3564
|
+
"shutdownNode",
|
|
3565
|
+
"shutdownNode",
|
|
3566
|
+
OperationMode.Normal,
|
|
3567
|
+
None,
|
|
3568
|
+
(),
|
|
3569
|
+
(((), IcePy._t_string, False, 0),),
|
|
3570
|
+
(),
|
|
3571
|
+
None,
|
|
3572
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3573
|
+
|
|
3574
|
+
Admin._op_getNodeHostname = IcePy.Operation(
|
|
3575
|
+
"getNodeHostname",
|
|
3576
|
+
"getNodeHostname",
|
|
3577
|
+
OperationMode.Idempotent,
|
|
3578
|
+
None,
|
|
3579
|
+
(),
|
|
3580
|
+
(((), IcePy._t_string, False, 0),),
|
|
3581
|
+
(),
|
|
3582
|
+
((), IcePy._t_string, False, 0),
|
|
3583
|
+
(_IceGrid_NodeNotExistException_t, _IceGrid_NodeUnreachableException_t))
|
|
3584
|
+
|
|
3585
|
+
Admin._op_getAllNodeNames = IcePy.Operation(
|
|
3586
|
+
"getAllNodeNames",
|
|
3587
|
+
"getAllNodeNames",
|
|
3588
|
+
OperationMode.Idempotent,
|
|
3589
|
+
None,
|
|
3590
|
+
(),
|
|
3591
|
+
(),
|
|
3592
|
+
(),
|
|
3593
|
+
((), _Ice_StringSeq_t, False, 0),
|
|
3594
|
+
())
|
|
3595
|
+
|
|
3596
|
+
Admin._op_pingRegistry = IcePy.Operation(
|
|
3597
|
+
"pingRegistry",
|
|
3598
|
+
"pingRegistry",
|
|
3599
|
+
OperationMode.Idempotent,
|
|
3600
|
+
None,
|
|
3601
|
+
(),
|
|
3602
|
+
(((), IcePy._t_string, False, 0),),
|
|
3603
|
+
(),
|
|
3604
|
+
((), IcePy._t_bool, False, 0),
|
|
3605
|
+
(_IceGrid_RegistryNotExistException_t,))
|
|
3606
|
+
|
|
3607
|
+
Admin._op_getRegistryInfo = IcePy.Operation(
|
|
3608
|
+
"getRegistryInfo",
|
|
3609
|
+
"getRegistryInfo",
|
|
3610
|
+
OperationMode.Idempotent,
|
|
3611
|
+
None,
|
|
3612
|
+
(),
|
|
3613
|
+
(((), IcePy._t_string, False, 0),),
|
|
3614
|
+
(),
|
|
3615
|
+
((), _IceGrid_RegistryInfo_t, False, 0),
|
|
3616
|
+
(_IceGrid_RegistryNotExistException_t, _IceGrid_RegistryUnreachableException_t))
|
|
3617
|
+
|
|
3618
|
+
Admin._op_getRegistryAdmin = IcePy.Operation(
|
|
3619
|
+
"getRegistryAdmin",
|
|
3620
|
+
"getRegistryAdmin",
|
|
3621
|
+
OperationMode.Idempotent,
|
|
3622
|
+
None,
|
|
3623
|
+
(),
|
|
3624
|
+
(((), IcePy._t_string, False, 0),),
|
|
3625
|
+
(),
|
|
3626
|
+
((), _Ice_ObjectPrx_t, False, 0),
|
|
3627
|
+
(_IceGrid_RegistryNotExistException_t,))
|
|
3628
|
+
|
|
3629
|
+
Admin._op_shutdownRegistry = IcePy.Operation(
|
|
3630
|
+
"shutdownRegistry",
|
|
3631
|
+
"shutdownRegistry",
|
|
3632
|
+
OperationMode.Idempotent,
|
|
3633
|
+
None,
|
|
3634
|
+
(),
|
|
3635
|
+
(((), IcePy._t_string, False, 0),),
|
|
3636
|
+
(),
|
|
3637
|
+
None,
|
|
3638
|
+
(_IceGrid_RegistryNotExistException_t, _IceGrid_RegistryUnreachableException_t))
|
|
3639
|
+
|
|
3640
|
+
Admin._op_getAllRegistryNames = IcePy.Operation(
|
|
3641
|
+
"getAllRegistryNames",
|
|
3642
|
+
"getAllRegistryNames",
|
|
3643
|
+
OperationMode.Idempotent,
|
|
3644
|
+
None,
|
|
3645
|
+
(),
|
|
3646
|
+
(),
|
|
3647
|
+
(),
|
|
3648
|
+
((), _Ice_StringSeq_t, False, 0),
|
|
3649
|
+
())
|
|
3650
|
+
|
|
3651
|
+
Admin._op_shutdown = IcePy.Operation(
|
|
3652
|
+
"shutdown",
|
|
3653
|
+
"shutdown",
|
|
3654
|
+
OperationMode.Normal,
|
|
3655
|
+
None,
|
|
3656
|
+
(),
|
|
3657
|
+
(),
|
|
3658
|
+
(),
|
|
3659
|
+
None,
|
|
3660
|
+
())
|
|
3661
|
+
|
|
3662
|
+
__all__ = ["Admin", "AdminPrx", "_IceGrid_AdminPrx_t"]
|