zeroc-ice 3.7.11__cp314-cp314-macosx_10_15_universal2.whl → 3.8.0__cp314-cp314-macosx_10_15_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- Glacier2/CannotCreateSessionException.py +40 -0
- Glacier2/IdentitySet.py +293 -0
- Glacier2/IdentitySet_forward.py +10 -0
- Glacier2/PermissionDeniedException.py +40 -0
- Glacier2/PermissionsVerifier.py +189 -0
- Glacier2/PermissionsVerifier_forward.py +10 -0
- Glacier2/Router.py +661 -0
- Glacier2/Router_forward.py +10 -0
- Glacier2/SSLInfo.py +62 -0
- Glacier2/SSLPermissionsVerifier.py +186 -0
- Glacier2/SSLPermissionsVerifier_forward.py +10 -0
- Glacier2/SSLSessionManager.py +192 -0
- Glacier2/SSLSessionManager_forward.py +10 -0
- Glacier2/Session.py +161 -0
- Glacier2/SessionControl.py +407 -0
- Glacier2/SessionControl_forward.py +10 -0
- Glacier2/SessionManager.py +189 -0
- Glacier2/SessionManager_forward.py +10 -0
- Glacier2/SessionNotExistException.py +39 -0
- Glacier2/Session_forward.py +10 -0
- Glacier2/StringSet.py +289 -0
- Glacier2/StringSet_forward.py +10 -0
- Glacier2/__init__.py +78 -225
- Glacier2/py.typed +0 -0
- Ice/AdapterAlreadyActiveException.py +35 -0
- Ice/AdapterNotFoundException.py +35 -0
- Ice/BTEndpointType.py +11 -0
- Ice/BTSEndpointType.py +11 -0
- Ice/Blobject.py +42 -0
- Ice/BoolSeq.py +10 -0
- Ice/Builtin.py +11 -0
- Ice/ByteSeq.py +10 -0
- Ice/Communicator.py +621 -0
- Ice/CompressBatch.py +25 -0
- Ice/Context.py +10 -0
- Ice/Current.py +48 -0
- Ice/Dispatch.py +122 -0
- Ice/DoubleSeq.py +10 -0
- Ice/EncodingVersion.py +41 -0
- Ice/EndpointSelectionType.py +22 -0
- Ice/EventLoopAdapter.py +52 -0
- Ice/Exception.py +29 -0
- Ice/FloatSeq.py +10 -0
- Ice/FormatType.py +15 -0
- Ice/Future.py +375 -0
- Ice/IcePyTypes.py +47 -0
- Ice/Identity.py +40 -0
- Ice/IdentitySeq.py +12 -0
- Ice/ImplicitContext.py +126 -0
- Ice/InitializationData.py +64 -0
- Ice/IntSeq.py +10 -0
- Ice/InvalidReplicaGroupIdException.py +34 -0
- Ice/InvocationFuture.py +158 -0
- Ice/LocalException.py +12 -0
- Ice/LocalExceptions.py +546 -0
- Ice/Locator.py +332 -0
- Ice/LocatorFinder.py +163 -0
- Ice/LocatorFinder_forward.py +10 -0
- Ice/LocatorRegistry.py +387 -0
- Ice/LocatorRegistry_forward.py +10 -0
- Ice/Locator_forward.py +10 -0
- Ice/LogMessage.py +51 -0
- Ice/LogMessageSeq.py +12 -0
- Ice/LogMessageType.py +50 -0
- Ice/LogMessageTypeSeq.py +12 -0
- Ice/Logger.py +100 -0
- Ice/LoggerAdmin.py +380 -0
- Ice/LoggerAdmin_forward.py +10 -0
- Ice/LongSeq.py +10 -0
- Ice/Object.py +145 -0
- Ice/ObjectAdapter.py +588 -0
- Ice/ObjectNotFoundException.py +35 -0
- Ice/ObjectProxySeq.py +12 -0
- Ice/ObjectPrx.py +940 -0
- Ice/ObjectPrx_forward.py +7 -0
- Ice/ObjectSeq.py +12 -0
- Ice/OperationMode.py +47 -0
- Ice/Process.py +217 -0
- Ice/ProcessLogger.py +25 -0
- Ice/Process_forward.py +10 -0
- Ice/Properties.py +387 -0
- Ice/PropertiesAdmin.py +302 -0
- Ice/PropertiesAdmin_forward.py +10 -0
- Ice/PropertyDict.py +10 -0
- Ice/ProtocolVersion.py +39 -0
- Ice/Proxy.py +63 -0
- Ice/RemoteLogger.py +238 -0
- Ice/RemoteLoggerAlreadyAttachedException.py +34 -0
- Ice/RemoteLogger_forward.py +10 -0
- Ice/ReplyStatus.py +84 -0
- Ice/Router.py +322 -0
- Ice/RouterFinder.py +163 -0
- Ice/RouterFinder_forward.py +10 -0
- Ice/Router_forward.py +10 -0
- Ice/SSLEndpointType.py +11 -0
- Ice/ServantLocator.py +93 -0
- Ice/ServerNotFoundException.py +34 -0
- Ice/ShortSeq.py +10 -0
- Ice/SliceChecksumDict.py +10 -0
- Ice/SliceInfo.py +22 -0
- Ice/SlicedData.py +14 -0
- Ice/StringSeq.py +10 -0
- Ice/TCPEndpointType.py +11 -0
- Ice/ToStringMode.py +34 -0
- Ice/UDPEndpointType.py +11 -0
- Ice/URIEndpointType.py +11 -0
- Ice/UnknownSlicedValue.py +31 -0
- Ice/UserException.py +18 -0
- Ice/Util.py +170 -0
- Ice/Value.py +59 -0
- Ice/Value_forward.py +7 -0
- Ice/WSEndpointType.py +11 -0
- Ice/WSSEndpointType.py +11 -0
- Ice/_ArrayUtil.py +51 -0
- Ice/_LoggerI.py +32 -0
- Ice/__init__.py +356 -1997
- Ice/asyncio/EventLoopAdapter.py +31 -0
- Ice/asyncio/__init__.py +5 -0
- Ice/iAPEndpointType.py +11 -0
- Ice/iAPSEndpointType.py +11 -0
- Ice/py.typed +0 -0
- IceBox/AlreadyStartedException.py +34 -0
- IceBox/AlreadyStoppedException.py +34 -0
- IceBox/NoSuchServiceException.py +34 -0
- IceBox/ServiceManager.py +447 -0
- IceBox/ServiceManager_forward.py +10 -0
- IceBox/ServiceObserver.py +229 -0
- IceBox/ServiceObserver_forward.py +10 -0
- IceBox/__init__.py +30 -7
- IceBox/py.typed +0 -0
- IceGrid/AccessDeniedException.py +40 -0
- IceGrid/AdapterDescriptor.py +77 -0
- IceGrid/AdapterDescriptorSeq.py +12 -0
- IceGrid/AdapterDynamicInfo.py +46 -0
- IceGrid/AdapterDynamicInfoSeq.py +12 -0
- IceGrid/AdapterInfo.py +50 -0
- IceGrid/AdapterInfoSeq.py +12 -0
- IceGrid/AdapterNotExistException.py +40 -0
- IceGrid/AdapterObserver.py +338 -0
- IceGrid/AdapterObserver_forward.py +10 -0
- IceGrid/AdaptiveLoadBalancingPolicy.py +48 -0
- IceGrid/AdaptiveLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Admin.py +3662 -0
- IceGrid/AdminSession.py +1406 -0
- IceGrid/AdminSession_forward.py +10 -0
- IceGrid/Admin_forward.py +10 -0
- IceGrid/AllocationException.py +40 -0
- IceGrid/AllocationTimeoutException.py +35 -0
- IceGrid/ApplicationDescriptor.py +89 -0
- IceGrid/ApplicationDescriptorSeq.py +12 -0
- IceGrid/ApplicationInfo.py +63 -0
- IceGrid/ApplicationInfoSeq.py +12 -0
- IceGrid/ApplicationNotExistException.py +40 -0
- IceGrid/ApplicationObserver.py +374 -0
- IceGrid/ApplicationObserver_forward.py +10 -0
- IceGrid/ApplicationUpdateDescriptor.py +118 -0
- IceGrid/ApplicationUpdateInfo.py +51 -0
- IceGrid/BadSignalException.py +40 -0
- IceGrid/BoxedDistributionDescriptor.py +49 -0
- IceGrid/BoxedDistributionDescriptor_forward.py +10 -0
- IceGrid/BoxedString.py +45 -0
- IceGrid/BoxedString_forward.py +10 -0
- IceGrid/CommunicatorDescriptor.py +79 -0
- IceGrid/CommunicatorDescriptor_forward.py +10 -0
- IceGrid/DbEnvDescriptor.py +55 -0
- IceGrid/DbEnvDescriptorSeq.py +12 -0
- IceGrid/DeploymentException.py +40 -0
- IceGrid/DistributionDescriptor.py +42 -0
- IceGrid/FileIterator.py +246 -0
- IceGrid/FileIterator_forward.py +10 -0
- IceGrid/FileNotAvailableException.py +49 -0
- IceGrid/FileParser.py +182 -0
- IceGrid/FileParser_forward.py +10 -0
- IceGrid/IceBoxDescriptor.py +55 -0
- IceGrid/IceBoxDescriptor_forward.py +10 -0
- IceGrid/LoadBalancingPolicy.py +45 -0
- IceGrid/LoadBalancingPolicy_forward.py +10 -0
- IceGrid/LoadInfo.py +43 -0
- IceGrid/LoadSample.py +45 -0
- IceGrid/Locator.py +232 -0
- IceGrid/Locator_forward.py +10 -0
- IceGrid/NodeDescriptor.py +71 -0
- IceGrid/NodeDescriptorDict.py +12 -0
- IceGrid/NodeDynamicInfo.py +57 -0
- IceGrid/NodeDynamicInfoSeq.py +12 -0
- IceGrid/NodeInfo.py +64 -0
- IceGrid/NodeNotExistException.py +40 -0
- IceGrid/NodeObserver.py +424 -0
- IceGrid/NodeObserver_forward.py +10 -0
- IceGrid/NodeUnreachableException.py +46 -0
- IceGrid/NodeUpdateDescriptor.py +92 -0
- IceGrid/NodeUpdateDescriptorSeq.py +12 -0
- IceGrid/ObjectDescriptor.py +48 -0
- IceGrid/ObjectDescriptorSeq.py +12 -0
- IceGrid/ObjectExistsException.py +44 -0
- IceGrid/ObjectInfo.py +46 -0
- IceGrid/ObjectInfoSeq.py +12 -0
- IceGrid/ObjectNotRegisteredException.py +44 -0
- IceGrid/ObjectObserver.py +347 -0
- IceGrid/ObjectObserver_forward.py +10 -0
- IceGrid/ObserverAlreadyRegisteredException.py +49 -0
- IceGrid/OrderedLoadBalancingPolicy.py +41 -0
- IceGrid/OrderedLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ParseException.py +40 -0
- IceGrid/PermissionDeniedException.py +40 -0
- IceGrid/PropertyDescriptor.py +39 -0
- IceGrid/PropertyDescriptorSeq.py +12 -0
- IceGrid/PropertySetDescriptor.py +49 -0
- IceGrid/PropertySetDescriptorDict.py +12 -0
- IceGrid/Query.py +451 -0
- IceGrid/Query_forward.py +10 -0
- IceGrid/RandomLoadBalancingPolicy.py +41 -0
- IceGrid/RandomLoadBalancingPolicy_forward.py +10 -0
- IceGrid/Registry.py +477 -0
- IceGrid/RegistryInfo.py +39 -0
- IceGrid/RegistryInfoSeq.py +12 -0
- IceGrid/RegistryNotExistException.py +40 -0
- IceGrid/RegistryObserver.py +282 -0
- IceGrid/RegistryObserver_forward.py +10 -0
- IceGrid/RegistryUnreachableException.py +46 -0
- IceGrid/Registry_forward.py +10 -0
- IceGrid/ReplicaGroupDescriptor.py +66 -0
- IceGrid/ReplicaGroupDescriptorSeq.py +12 -0
- IceGrid/RoundRobinLoadBalancingPolicy.py +41 -0
- IceGrid/RoundRobinLoadBalancingPolicy_forward.py +10 -0
- IceGrid/ServerDescriptor.py +107 -0
- IceGrid/ServerDescriptorSeq.py +12 -0
- IceGrid/ServerDescriptor_forward.py +10 -0
- IceGrid/ServerDynamicInfo.py +50 -0
- IceGrid/ServerDynamicInfoSeq.py +12 -0
- IceGrid/ServerInfo.py +62 -0
- IceGrid/ServerInstanceDescriptor.py +58 -0
- IceGrid/ServerInstanceDescriptorSeq.py +12 -0
- IceGrid/ServerNotExistException.py +40 -0
- IceGrid/ServerStartException.py +46 -0
- IceGrid/ServerState.py +66 -0
- IceGrid/ServerStopException.py +46 -0
- IceGrid/ServiceDescriptor.py +53 -0
- IceGrid/ServiceDescriptorSeq.py +12 -0
- IceGrid/ServiceDescriptor_forward.py +10 -0
- IceGrid/ServiceInstanceDescriptor.py +60 -0
- IceGrid/ServiceInstanceDescriptorSeq.py +12 -0
- IceGrid/Session.py +498 -0
- IceGrid/Session_forward.py +10 -0
- IceGrid/StringObjectProxyDict.py +12 -0
- IceGrid/StringStringDict.py +10 -0
- IceGrid/TemplateDescriptor.py +55 -0
- IceGrid/TemplateDescriptorDict.py +12 -0
- IceGrid/UserAccountMapper.py +178 -0
- IceGrid/UserAccountMapper_forward.py +10 -0
- IceGrid/UserAccountNotFoundException.py +34 -0
- IceGrid/__init__.py +372 -14
- IceGrid/py.typed +0 -0
- IceMX/ChildInvocationMetrics.py +56 -0
- IceMX/ChildInvocationMetrics_forward.py +10 -0
- IceMX/CollocatedMetrics.py +42 -0
- IceMX/CollocatedMetrics_forward.py +10 -0
- IceMX/ConnectionMetrics.py +53 -0
- IceMX/ConnectionMetrics_forward.py +10 -0
- IceMX/DispatchMetrics.py +57 -0
- IceMX/DispatchMetrics_forward.py +10 -0
- IceMX/InvocationMetrics.py +66 -0
- IceMX/InvocationMetrics_forward.py +10 -0
- IceMX/Metrics.py +66 -0
- IceMX/MetricsAdmin.py +586 -0
- IceMX/MetricsAdmin_forward.py +10 -0
- IceMX/MetricsFailures.py +42 -0
- IceMX/MetricsFailuresSeq.py +12 -0
- IceMX/MetricsMap.py +12 -0
- IceMX/MetricsView.py +12 -0
- IceMX/Metrics_forward.py +10 -0
- IceMX/RemoteMetrics.py +42 -0
- IceMX/RemoteMetrics_forward.py +10 -0
- IceMX/SessionMetrics.py +73 -0
- IceMX/SessionMetrics_forward.py +10 -0
- IceMX/StringIntDict.py +10 -0
- IceMX/SubscriberMetrics.py +57 -0
- IceMX/SubscriberMetrics_forward.py +10 -0
- IceMX/ThreadMetrics.py +59 -0
- IceMX/ThreadMetrics_forward.py +10 -0
- IceMX/TopicMetrics.py +53 -0
- IceMX/TopicMetrics_forward.py +10 -0
- IceMX/UnknownMetricsView.py +34 -0
- IceMX/__init__.py +72 -9
- IceMX/py.typed +0 -0
- IcePy-stubs/__init__.pyi +740 -0
- IcePy.cpython-314-darwin.so +0 -0
- IceStorm/AlreadySubscribed.py +34 -0
- IceStorm/BadQoS.py +40 -0
- IceStorm/Finder.py +163 -0
- IceStorm/Finder_forward.py +10 -0
- IceStorm/LinkExists.py +40 -0
- IceStorm/LinkInfo.py +50 -0
- IceStorm/LinkInfoSeq.py +12 -0
- IceStorm/NoSuchLink.py +40 -0
- IceStorm/NoSuchTopic.py +40 -0
- IceStorm/QoS.py +10 -0
- IceStorm/Topic.py +825 -0
- IceStorm/TopicDict.py +12 -0
- IceStorm/TopicExists.py +40 -0
- IceStorm/TopicManager.py +394 -0
- IceStorm/TopicManager_forward.py +10 -0
- IceStorm/Topic_forward.py +10 -0
- IceStorm/__init__.py +58 -7
- IceStorm/py.typed +0 -0
- slice/DataStorm/SampleEvent.ice +29 -0
- slice/Glacier2/Metrics.ice +34 -75
- slice/Glacier2/PermissionsVerifier.ice +42 -98
- slice/Glacier2/Router.ice +80 -173
- slice/Glacier2/SSLInfo.ice +23 -40
- slice/Glacier2/Session.ice +120 -261
- slice/Ice/BuiltinSequences.ice +33 -38
- slice/Ice/Context.ice +24 -0
- slice/Ice/EndpointTypes.ice +35 -33
- slice/Ice/Identity.ice +24 -63
- slice/Ice/Locator.ice +61 -226
- slice/Ice/LocatorRegistry.ice +77 -0
- slice/Ice/Metrics.ice +189 -424
- slice/Ice/OperationMode.ice +38 -0
- slice/Ice/Process.ice +16 -52
- slice/Ice/PropertiesAdmin.ice +25 -75
- slice/Ice/PropertyDict.ice +23 -0
- slice/Ice/RemoteLogger.ice +113 -213
- slice/Ice/ReplyStatus.ice +65 -0
- slice/Ice/Router.ice +42 -91
- slice/Ice/SliceChecksumDict.ice +7 -25
- slice/Ice/Version.ice +31 -39
- slice/IceBox/ServiceManager.ice +79 -0
- slice/IceGrid/Admin.ice +942 -1918
- slice/IceGrid/Descriptor.ice +476 -1051
- slice/IceGrid/Exception.ice +86 -384
- slice/IceGrid/FileParser.ice +23 -59
- slice/IceGrid/Registry.ice +117 -256
- slice/IceGrid/Session.ice +46 -110
- slice/IceGrid/UserAccountMapper.ice +22 -57
- slice/IceStorm/IceStorm.ice +173 -401
- slice/IceStorm/Metrics.ice +28 -70
- slice2py.py +5 -6
- zeroc_ice-3.8.0.dist-info/METADATA +106 -0
- zeroc_ice-3.8.0.dist-info/RECORD +343 -0
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.dist-info}/WHEEL +1 -1
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.dist-info}/top_level.txt +1 -1
- Glacier2/Metrics_ice.py +0 -82
- Glacier2/PermissionsVerifierF_ice.py +0 -32
- Glacier2/PermissionsVerifier_ice.py +0 -284
- Glacier2/RouterF_ice.py +0 -28
- Glacier2/Router_ice.py +0 -618
- Glacier2/SSLInfo_ice.py +0 -179
- Glacier2/Session_ice.py +0 -1103
- Ice/BuiltinSequences_ice.py +0 -65
- Ice/CommunicatorF_ice.py +0 -27
- Ice/Communicator_ice.py +0 -469
- Ice/ConnectionF_ice.py +0 -33
- Ice/Connection_ice.py +0 -680
- Ice/Current_ice.py +0 -175
- Ice/EndpointF_ice.py +0 -45
- Ice/EndpointTypes_ice.py +0 -54
- Ice/Endpoint_ice.py +0 -304
- Ice/FacetMap_ice.py +0 -27
- Ice/Identity_ice.py +0 -133
- Ice/ImplicitContextF_ice.py +0 -27
- Ice/ImplicitContext_ice.py +0 -119
- Ice/InstrumentationF_ice.py +0 -38
- Ice/Instrumentation_ice.py +0 -566
- Ice/LocalException_ice.py +0 -1715
- Ice/LocatorF_ice.py +0 -32
- Ice/Locator_ice.py +0 -728
- Ice/LoggerF_ice.py +0 -27
- Ice/Logger_ice.py +0 -96
- Ice/Metrics_ice.py +0 -864
- Ice/ObjectAdapterF_ice.py +0 -27
- Ice/ObjectAdapter_ice.py +0 -461
- Ice/ObjectFactory_ice.py +0 -68
- Ice/PluginF_ice.py +0 -30
- Ice/Plugin_ice.py +0 -136
- Ice/ProcessF_ice.py +0 -28
- Ice/Process_ice.py +0 -175
- Ice/PropertiesAdmin_ice.py +0 -247
- Ice/PropertiesF_ice.py +0 -31
- Ice/Properties_ice.py +0 -199
- Ice/Py3/IceFuture.py +0 -52
- Ice/Py3/__init__.py +0 -3
- Ice/RemoteLogger_ice.py +0 -617
- Ice/RouterF_ice.py +0 -28
- Ice/Router_ice.py +0 -350
- Ice/ServantLocatorF_ice.py +0 -27
- Ice/ServantLocator_ice.py +0 -110
- Ice/SliceChecksumDict_ice.py +0 -29
- Ice/ValueFactory_ice.py +0 -125
- Ice/Version_ice.py +0 -217
- IceBox/IceBox_ice.py +0 -644
- IceGrid/Admin_ice.py +0 -6662
- IceGrid/Descriptor_ice.py +0 -1795
- IceGrid/Exception_ice.py +0 -592
- IceGrid/FileParser_ice.py +0 -171
- IceGrid/PluginFacade_ice.py +0 -288
- IceGrid/Registry_ice.py +0 -985
- IceGrid/Session_ice.py +0 -406
- IceGrid/UserAccountMapper_ice.py +0 -166
- IcePatch2/FileInfo_ice.py +0 -287
- IcePatch2/FileServer_ice.py +0 -555
- IcePatch2/__init__.py +0 -11
- IceStorm/IceStorm_ice.py +0 -1265
- IceStorm/Metrics_ice.py +0 -106
- slice/Glacier2/PermissionsVerifierF.ice +0 -30
- slice/Glacier2/RouterF.ice +0 -29
- slice/Ice/Communicator.ice +0 -676
- slice/Ice/CommunicatorF.ice +0 -31
- slice/Ice/Connection.ice +0 -516
- slice/Ice/ConnectionF.ice +0 -33
- slice/Ice/Current.ice +0 -170
- slice/Ice/Endpoint.ice +0 -291
- slice/Ice/EndpointF.ice +0 -43
- slice/Ice/FacetMap.ice +0 -36
- slice/Ice/ImplicitContext.ice +0 -119
- slice/Ice/ImplicitContextF.ice +0 -30
- slice/Ice/Instrumentation.ice +0 -509
- slice/Ice/InstrumentationF.ice +0 -38
- slice/Ice/LocalException.ice +0 -1040
- slice/Ice/LocatorF.ice +0 -32
- slice/Ice/Logger.ice +0 -99
- slice/Ice/LoggerF.ice +0 -31
- slice/Ice/ObjectAdapter.ice +0 -710
- slice/Ice/ObjectAdapterF.ice +0 -31
- slice/Ice/ObjectFactory.ice +0 -71
- slice/Ice/Plugin.ice +0 -131
- slice/Ice/PluginF.ice +0 -36
- slice/Ice/ProcessF.ice +0 -31
- slice/Ice/Properties.ice +0 -244
- slice/Ice/PropertiesF.ice +0 -32
- slice/Ice/RouterF.ice +0 -31
- slice/Ice/ServantLocator.ice +0 -136
- slice/Ice/ServantLocatorF.ice +0 -31
- slice/Ice/ValueFactory.ice +0 -133
- slice/IceBT/ConnectionInfo.ice +0 -59
- slice/IceBT/EndpointInfo.ice +0 -57
- slice/IceBT/Types.ice +0 -45
- slice/IceBox/IceBox.ice +0 -216
- slice/IceGrid/PluginFacade.ice +0 -329
- slice/IceIAP/ConnectionInfo.ice +0 -74
- slice/IceIAP/EndpointInfo.ice +0 -68
- slice/IcePatch2/FileInfo.ice +0 -85
- slice/IcePatch2/FileServer.ice +0 -191
- slice/IceSSL/ConnectionInfo.ice +0 -54
- slice/IceSSL/ConnectionInfoF.ice +0 -31
- slice/IceSSL/EndpointInfo.ice +0 -45
- zeroc_ice-3.7.11.dist-info/METADATA +0 -97
- zeroc_ice-3.7.11.dist-info/RECORD +0 -142
- {zeroc_ice-3.7.11.dist-info → zeroc_ice-3.8.0.dist-info}/entry_points.txt +0 -0
Ice/Instrumentation_ice.py
DELETED
|
@@ -1,566 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# Copyright (c) ZeroC, Inc. All rights reserved.
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# Ice version 3.7.11
|
|
7
|
-
#
|
|
8
|
-
# <auto-generated>
|
|
9
|
-
#
|
|
10
|
-
# Generated from file `Instrumentation.ice'
|
|
11
|
-
#
|
|
12
|
-
# Warning: do not edit this file.
|
|
13
|
-
#
|
|
14
|
-
# </auto-generated>
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
from sys import version_info as _version_info_
|
|
18
|
-
import Ice, IcePy
|
|
19
|
-
import Ice.EndpointF_ice
|
|
20
|
-
import Ice.ConnectionF_ice
|
|
21
|
-
import Ice.Current_ice
|
|
22
|
-
|
|
23
|
-
# Included module Ice
|
|
24
|
-
_M_Ice = Ice.openModule('Ice')
|
|
25
|
-
|
|
26
|
-
# Start of module Ice
|
|
27
|
-
__name__ = 'Ice'
|
|
28
|
-
|
|
29
|
-
# Start of module Ice.Instrumentation
|
|
30
|
-
_M_Ice.Instrumentation = Ice.openModule('Ice.Instrumentation')
|
|
31
|
-
__name__ = 'Ice.Instrumentation'
|
|
32
|
-
_M_Ice.Instrumentation.__doc__ = """
|
|
33
|
-
The Instrumentation local interfaces enable observing a number of
|
|
34
|
-
Ice core internal components (threads, connections, etc).
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
if 'Observer' not in _M_Ice.Instrumentation.__dict__:
|
|
38
|
-
_M_Ice.Instrumentation.Observer = Ice.createTempClass()
|
|
39
|
-
class Observer(object):
|
|
40
|
-
"""
|
|
41
|
-
The object observer interface used by instrumented objects to
|
|
42
|
-
notify the observer of their existence.
|
|
43
|
-
"""
|
|
44
|
-
def __init__(self):
|
|
45
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.Observer:
|
|
46
|
-
raise RuntimeError('Ice.Instrumentation.Observer is an abstract class')
|
|
47
|
-
|
|
48
|
-
def attach(self):
|
|
49
|
-
"""
|
|
50
|
-
This method is called when the instrumented object is created
|
|
51
|
-
or when the observer is attached to an existing object.
|
|
52
|
-
"""
|
|
53
|
-
raise NotImplementedError("method 'attach' not implemented")
|
|
54
|
-
|
|
55
|
-
def detach(self):
|
|
56
|
-
"""
|
|
57
|
-
This method is called when the instrumented object is destroyed
|
|
58
|
-
and as a result the observer detached from the object.
|
|
59
|
-
"""
|
|
60
|
-
raise NotImplementedError("method 'detach' not implemented")
|
|
61
|
-
|
|
62
|
-
def failed(self, exceptionName):
|
|
63
|
-
"""
|
|
64
|
-
Notification of a failure.
|
|
65
|
-
Arguments:
|
|
66
|
-
exceptionName -- The name of the exception.
|
|
67
|
-
"""
|
|
68
|
-
raise NotImplementedError("method 'failed' not implemented")
|
|
69
|
-
|
|
70
|
-
def __str__(self):
|
|
71
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_Observer)
|
|
72
|
-
|
|
73
|
-
__repr__ = __str__
|
|
74
|
-
|
|
75
|
-
_M_Ice.Instrumentation._t_Observer = IcePy.defineValue('::Ice::Instrumentation::Observer', Observer, -1, (), False, True, None, ())
|
|
76
|
-
Observer._ice_type = _M_Ice.Instrumentation._t_Observer
|
|
77
|
-
|
|
78
|
-
_M_Ice.Instrumentation.Observer = Observer
|
|
79
|
-
del Observer
|
|
80
|
-
|
|
81
|
-
if 'ThreadState' not in _M_Ice.Instrumentation.__dict__:
|
|
82
|
-
_M_Ice.Instrumentation.ThreadState = Ice.createTempClass()
|
|
83
|
-
class ThreadState(Ice.EnumBase):
|
|
84
|
-
"""
|
|
85
|
-
The thread state enumeration keeps track of the different possible
|
|
86
|
-
states of Ice threads.
|
|
87
|
-
Enumerators:
|
|
88
|
-
ThreadStateIdle -- The thread is idle.
|
|
89
|
-
ThreadStateInUseForIO -- The thread is in use performing reads or writes for Ice
|
|
90
|
-
connections. This state is only for threads from an Ice thread
|
|
91
|
-
pool.
|
|
92
|
-
ThreadStateInUseForUser -- The thread is calling user code (servant implementation, AMI
|
|
93
|
-
callbacks). This state is only for threads from an Ice thread
|
|
94
|
-
pool.
|
|
95
|
-
ThreadStateInUseForOther -- The thread is performing other internal activities (DNS
|
|
96
|
-
lookups, timer callbacks, etc).
|
|
97
|
-
"""
|
|
98
|
-
|
|
99
|
-
def __init__(self, _n, _v):
|
|
100
|
-
Ice.EnumBase.__init__(self, _n, _v)
|
|
101
|
-
|
|
102
|
-
def valueOf(self, _n):
|
|
103
|
-
if _n in self._enumerators:
|
|
104
|
-
return self._enumerators[_n]
|
|
105
|
-
return None
|
|
106
|
-
valueOf = classmethod(valueOf)
|
|
107
|
-
|
|
108
|
-
ThreadState.ThreadStateIdle = ThreadState("ThreadStateIdle", 0)
|
|
109
|
-
ThreadState.ThreadStateInUseForIO = ThreadState("ThreadStateInUseForIO", 1)
|
|
110
|
-
ThreadState.ThreadStateInUseForUser = ThreadState("ThreadStateInUseForUser", 2)
|
|
111
|
-
ThreadState.ThreadStateInUseForOther = ThreadState("ThreadStateInUseForOther", 3)
|
|
112
|
-
ThreadState._enumerators = { 0:ThreadState.ThreadStateIdle, 1:ThreadState.ThreadStateInUseForIO, 2:ThreadState.ThreadStateInUseForUser, 3:ThreadState.ThreadStateInUseForOther }
|
|
113
|
-
|
|
114
|
-
_M_Ice.Instrumentation._t_ThreadState = IcePy.defineEnum('::Ice::Instrumentation::ThreadState', ThreadState, (), ThreadState._enumerators)
|
|
115
|
-
|
|
116
|
-
_M_Ice.Instrumentation.ThreadState = ThreadState
|
|
117
|
-
del ThreadState
|
|
118
|
-
|
|
119
|
-
if 'ThreadObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
120
|
-
_M_Ice.Instrumentation.ThreadObserver = Ice.createTempClass()
|
|
121
|
-
class ThreadObserver(_M_Ice.Instrumentation.Observer):
|
|
122
|
-
"""
|
|
123
|
-
The thread observer interface to instrument Ice threads. This can
|
|
124
|
-
be threads from the Ice thread pool or utility threads used by the
|
|
125
|
-
Ice core.
|
|
126
|
-
"""
|
|
127
|
-
def __init__(self):
|
|
128
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.ThreadObserver:
|
|
129
|
-
raise RuntimeError('Ice.Instrumentation.ThreadObserver is an abstract class')
|
|
130
|
-
|
|
131
|
-
def stateChanged(self, oldState, newState):
|
|
132
|
-
"""
|
|
133
|
-
Notification of thread state change.
|
|
134
|
-
Arguments:
|
|
135
|
-
oldState -- The previous thread state.
|
|
136
|
-
newState -- The new thread state.
|
|
137
|
-
"""
|
|
138
|
-
raise NotImplementedError("method 'stateChanged' not implemented")
|
|
139
|
-
|
|
140
|
-
def __str__(self):
|
|
141
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_ThreadObserver)
|
|
142
|
-
|
|
143
|
-
__repr__ = __str__
|
|
144
|
-
|
|
145
|
-
_M_Ice.Instrumentation._t_ThreadObserver = IcePy.defineValue('::Ice::Instrumentation::ThreadObserver', ThreadObserver, -1, (), False, True, None, ())
|
|
146
|
-
ThreadObserver._ice_type = _M_Ice.Instrumentation._t_ThreadObserver
|
|
147
|
-
|
|
148
|
-
_M_Ice.Instrumentation.ThreadObserver = ThreadObserver
|
|
149
|
-
del ThreadObserver
|
|
150
|
-
|
|
151
|
-
if 'ConnectionState' not in _M_Ice.Instrumentation.__dict__:
|
|
152
|
-
_M_Ice.Instrumentation.ConnectionState = Ice.createTempClass()
|
|
153
|
-
class ConnectionState(Ice.EnumBase):
|
|
154
|
-
"""
|
|
155
|
-
The state of an Ice connection.
|
|
156
|
-
Enumerators:
|
|
157
|
-
ConnectionStateValidating -- The connection is being validated.
|
|
158
|
-
ConnectionStateHolding -- The connection is holding the reception of new messages.
|
|
159
|
-
ConnectionStateActive -- The connection is active and can send and receive messages.
|
|
160
|
-
ConnectionStateClosing -- The connection is being gracefully shutdown and waits for the
|
|
161
|
-
peer to close its end of the connection.
|
|
162
|
-
ConnectionStateClosed -- The connection is closed and waits for potential dispatch to be
|
|
163
|
-
finished before being destroyed and detached from the observer.
|
|
164
|
-
"""
|
|
165
|
-
|
|
166
|
-
def __init__(self, _n, _v):
|
|
167
|
-
Ice.EnumBase.__init__(self, _n, _v)
|
|
168
|
-
|
|
169
|
-
def valueOf(self, _n):
|
|
170
|
-
if _n in self._enumerators:
|
|
171
|
-
return self._enumerators[_n]
|
|
172
|
-
return None
|
|
173
|
-
valueOf = classmethod(valueOf)
|
|
174
|
-
|
|
175
|
-
ConnectionState.ConnectionStateValidating = ConnectionState("ConnectionStateValidating", 0)
|
|
176
|
-
ConnectionState.ConnectionStateHolding = ConnectionState("ConnectionStateHolding", 1)
|
|
177
|
-
ConnectionState.ConnectionStateActive = ConnectionState("ConnectionStateActive", 2)
|
|
178
|
-
ConnectionState.ConnectionStateClosing = ConnectionState("ConnectionStateClosing", 3)
|
|
179
|
-
ConnectionState.ConnectionStateClosed = ConnectionState("ConnectionStateClosed", 4)
|
|
180
|
-
ConnectionState._enumerators = { 0:ConnectionState.ConnectionStateValidating, 1:ConnectionState.ConnectionStateHolding, 2:ConnectionState.ConnectionStateActive, 3:ConnectionState.ConnectionStateClosing, 4:ConnectionState.ConnectionStateClosed }
|
|
181
|
-
|
|
182
|
-
_M_Ice.Instrumentation._t_ConnectionState = IcePy.defineEnum('::Ice::Instrumentation::ConnectionState', ConnectionState, (), ConnectionState._enumerators)
|
|
183
|
-
|
|
184
|
-
_M_Ice.Instrumentation.ConnectionState = ConnectionState
|
|
185
|
-
del ConnectionState
|
|
186
|
-
|
|
187
|
-
if 'ConnectionObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
188
|
-
_M_Ice.Instrumentation.ConnectionObserver = Ice.createTempClass()
|
|
189
|
-
class ConnectionObserver(_M_Ice.Instrumentation.Observer):
|
|
190
|
-
"""
|
|
191
|
-
The connection observer interface to instrument Ice connections.
|
|
192
|
-
"""
|
|
193
|
-
def __init__(self):
|
|
194
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.ConnectionObserver:
|
|
195
|
-
raise RuntimeError('Ice.Instrumentation.ConnectionObserver is an abstract class')
|
|
196
|
-
|
|
197
|
-
def sentBytes(self, num):
|
|
198
|
-
"""
|
|
199
|
-
Notification of sent bytes over the connection.
|
|
200
|
-
Arguments:
|
|
201
|
-
num -- The number of bytes sent.
|
|
202
|
-
"""
|
|
203
|
-
raise NotImplementedError("method 'sentBytes' not implemented")
|
|
204
|
-
|
|
205
|
-
def receivedBytes(self, num):
|
|
206
|
-
"""
|
|
207
|
-
Notification of received bytes over the connection.
|
|
208
|
-
Arguments:
|
|
209
|
-
num -- The number of bytes received.
|
|
210
|
-
"""
|
|
211
|
-
raise NotImplementedError("method 'receivedBytes' not implemented")
|
|
212
|
-
|
|
213
|
-
def __str__(self):
|
|
214
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_ConnectionObserver)
|
|
215
|
-
|
|
216
|
-
__repr__ = __str__
|
|
217
|
-
|
|
218
|
-
_M_Ice.Instrumentation._t_ConnectionObserver = IcePy.defineValue('::Ice::Instrumentation::ConnectionObserver', ConnectionObserver, -1, (), False, True, None, ())
|
|
219
|
-
ConnectionObserver._ice_type = _M_Ice.Instrumentation._t_ConnectionObserver
|
|
220
|
-
|
|
221
|
-
_M_Ice.Instrumentation.ConnectionObserver = ConnectionObserver
|
|
222
|
-
del ConnectionObserver
|
|
223
|
-
|
|
224
|
-
if 'DispatchObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
225
|
-
_M_Ice.Instrumentation.DispatchObserver = Ice.createTempClass()
|
|
226
|
-
class DispatchObserver(_M_Ice.Instrumentation.Observer):
|
|
227
|
-
"""
|
|
228
|
-
The dispatch observer to instrument servant dispatch.
|
|
229
|
-
"""
|
|
230
|
-
def __init__(self):
|
|
231
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.DispatchObserver:
|
|
232
|
-
raise RuntimeError('Ice.Instrumentation.DispatchObserver is an abstract class')
|
|
233
|
-
|
|
234
|
-
def userException(self):
|
|
235
|
-
"""
|
|
236
|
-
Notification of a user exception.
|
|
237
|
-
"""
|
|
238
|
-
raise NotImplementedError("method 'userException' not implemented")
|
|
239
|
-
|
|
240
|
-
def reply(self, size):
|
|
241
|
-
"""
|
|
242
|
-
Reply notification.
|
|
243
|
-
Arguments:
|
|
244
|
-
size -- The size of the reply.
|
|
245
|
-
"""
|
|
246
|
-
raise NotImplementedError("method 'reply' not implemented")
|
|
247
|
-
|
|
248
|
-
def __str__(self):
|
|
249
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_DispatchObserver)
|
|
250
|
-
|
|
251
|
-
__repr__ = __str__
|
|
252
|
-
|
|
253
|
-
_M_Ice.Instrumentation._t_DispatchObserver = IcePy.defineValue('::Ice::Instrumentation::DispatchObserver', DispatchObserver, -1, (), False, True, None, ())
|
|
254
|
-
DispatchObserver._ice_type = _M_Ice.Instrumentation._t_DispatchObserver
|
|
255
|
-
|
|
256
|
-
_M_Ice.Instrumentation.DispatchObserver = DispatchObserver
|
|
257
|
-
del DispatchObserver
|
|
258
|
-
|
|
259
|
-
if 'ChildInvocationObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
260
|
-
_M_Ice.Instrumentation.ChildInvocationObserver = Ice.createTempClass()
|
|
261
|
-
class ChildInvocationObserver(_M_Ice.Instrumentation.Observer):
|
|
262
|
-
"""
|
|
263
|
-
The child invocation observer to instrument remote or collocated
|
|
264
|
-
invocations.
|
|
265
|
-
"""
|
|
266
|
-
def __init__(self):
|
|
267
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.ChildInvocationObserver:
|
|
268
|
-
raise RuntimeError('Ice.Instrumentation.ChildInvocationObserver is an abstract class')
|
|
269
|
-
|
|
270
|
-
def reply(self, size):
|
|
271
|
-
"""
|
|
272
|
-
Reply notification.
|
|
273
|
-
Arguments:
|
|
274
|
-
size -- The size of the reply.
|
|
275
|
-
"""
|
|
276
|
-
raise NotImplementedError("method 'reply' not implemented")
|
|
277
|
-
|
|
278
|
-
def __str__(self):
|
|
279
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_ChildInvocationObserver)
|
|
280
|
-
|
|
281
|
-
__repr__ = __str__
|
|
282
|
-
|
|
283
|
-
_M_Ice.Instrumentation._t_ChildInvocationObserver = IcePy.defineValue('::Ice::Instrumentation::ChildInvocationObserver', ChildInvocationObserver, -1, (), False, True, None, ())
|
|
284
|
-
ChildInvocationObserver._ice_type = _M_Ice.Instrumentation._t_ChildInvocationObserver
|
|
285
|
-
|
|
286
|
-
_M_Ice.Instrumentation.ChildInvocationObserver = ChildInvocationObserver
|
|
287
|
-
del ChildInvocationObserver
|
|
288
|
-
|
|
289
|
-
if 'RemoteObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
290
|
-
_M_Ice.Instrumentation.RemoteObserver = Ice.createTempClass()
|
|
291
|
-
class RemoteObserver(_M_Ice.Instrumentation.ChildInvocationObserver):
|
|
292
|
-
"""
|
|
293
|
-
The remote observer to instrument invocations that are sent over
|
|
294
|
-
the wire.
|
|
295
|
-
"""
|
|
296
|
-
def __init__(self):
|
|
297
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.RemoteObserver:
|
|
298
|
-
raise RuntimeError('Ice.Instrumentation.RemoteObserver is an abstract class')
|
|
299
|
-
|
|
300
|
-
def __str__(self):
|
|
301
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_RemoteObserver)
|
|
302
|
-
|
|
303
|
-
__repr__ = __str__
|
|
304
|
-
|
|
305
|
-
_M_Ice.Instrumentation._t_RemoteObserver = IcePy.defineValue('::Ice::Instrumentation::RemoteObserver', RemoteObserver, -1, (), False, True, None, ())
|
|
306
|
-
RemoteObserver._ice_type = _M_Ice.Instrumentation._t_RemoteObserver
|
|
307
|
-
|
|
308
|
-
_M_Ice.Instrumentation.RemoteObserver = RemoteObserver
|
|
309
|
-
del RemoteObserver
|
|
310
|
-
|
|
311
|
-
if 'CollocatedObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
312
|
-
_M_Ice.Instrumentation.CollocatedObserver = Ice.createTempClass()
|
|
313
|
-
class CollocatedObserver(_M_Ice.Instrumentation.ChildInvocationObserver):
|
|
314
|
-
"""
|
|
315
|
-
The collocated observer to instrument invocations that are
|
|
316
|
-
collocated.
|
|
317
|
-
"""
|
|
318
|
-
def __init__(self):
|
|
319
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.CollocatedObserver:
|
|
320
|
-
raise RuntimeError('Ice.Instrumentation.CollocatedObserver is an abstract class')
|
|
321
|
-
|
|
322
|
-
def __str__(self):
|
|
323
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_CollocatedObserver)
|
|
324
|
-
|
|
325
|
-
__repr__ = __str__
|
|
326
|
-
|
|
327
|
-
_M_Ice.Instrumentation._t_CollocatedObserver = IcePy.defineValue('::Ice::Instrumentation::CollocatedObserver', CollocatedObserver, -1, (), False, True, None, ())
|
|
328
|
-
CollocatedObserver._ice_type = _M_Ice.Instrumentation._t_CollocatedObserver
|
|
329
|
-
|
|
330
|
-
_M_Ice.Instrumentation.CollocatedObserver = CollocatedObserver
|
|
331
|
-
del CollocatedObserver
|
|
332
|
-
|
|
333
|
-
if 'InvocationObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
334
|
-
_M_Ice.Instrumentation.InvocationObserver = Ice.createTempClass()
|
|
335
|
-
class InvocationObserver(_M_Ice.Instrumentation.Observer):
|
|
336
|
-
"""
|
|
337
|
-
The invocation observer to instrument invocations on proxies. A
|
|
338
|
-
proxy invocation can either result in a collocated or remote
|
|
339
|
-
invocation. If it results in a remote invocation, a sub-observer is
|
|
340
|
-
requested for the remote invocation.
|
|
341
|
-
"""
|
|
342
|
-
def __init__(self):
|
|
343
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.InvocationObserver:
|
|
344
|
-
raise RuntimeError('Ice.Instrumentation.InvocationObserver is an abstract class')
|
|
345
|
-
|
|
346
|
-
def retried(self):
|
|
347
|
-
"""
|
|
348
|
-
Notification of the invocation being retried.
|
|
349
|
-
"""
|
|
350
|
-
raise NotImplementedError("method 'retried' not implemented")
|
|
351
|
-
|
|
352
|
-
def userException(self):
|
|
353
|
-
"""
|
|
354
|
-
Notification of a user exception.
|
|
355
|
-
"""
|
|
356
|
-
raise NotImplementedError("method 'userException' not implemented")
|
|
357
|
-
|
|
358
|
-
def getRemoteObserver(self, con, endpt, requestId, size):
|
|
359
|
-
"""
|
|
360
|
-
Get a remote observer for this invocation.
|
|
361
|
-
Arguments:
|
|
362
|
-
con -- The connection information.
|
|
363
|
-
endpt -- The connection endpoint.
|
|
364
|
-
requestId -- The ID of the invocation.
|
|
365
|
-
size -- The size of the invocation.
|
|
366
|
-
Returns: The observer to instrument the remote invocation.
|
|
367
|
-
"""
|
|
368
|
-
raise NotImplementedError("method 'getRemoteObserver' not implemented")
|
|
369
|
-
|
|
370
|
-
def getCollocatedObserver(self, adapter, requestId, size):
|
|
371
|
-
"""
|
|
372
|
-
Get a collocated observer for this invocation.
|
|
373
|
-
Arguments:
|
|
374
|
-
adapter -- The object adapter hosting the collocated Ice object.
|
|
375
|
-
requestId -- The ID of the invocation.
|
|
376
|
-
size -- The size of the invocation.
|
|
377
|
-
Returns: The observer to instrument the collocated invocation.
|
|
378
|
-
"""
|
|
379
|
-
raise NotImplementedError("method 'getCollocatedObserver' not implemented")
|
|
380
|
-
|
|
381
|
-
def __str__(self):
|
|
382
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_InvocationObserver)
|
|
383
|
-
|
|
384
|
-
__repr__ = __str__
|
|
385
|
-
|
|
386
|
-
_M_Ice.Instrumentation._t_InvocationObserver = IcePy.defineValue('::Ice::Instrumentation::InvocationObserver', InvocationObserver, -1, (), False, True, None, ())
|
|
387
|
-
InvocationObserver._ice_type = _M_Ice.Instrumentation._t_InvocationObserver
|
|
388
|
-
|
|
389
|
-
_M_Ice.Instrumentation.InvocationObserver = InvocationObserver
|
|
390
|
-
del InvocationObserver
|
|
391
|
-
|
|
392
|
-
if 'ObserverUpdater' not in _M_Ice.Instrumentation.__dict__:
|
|
393
|
-
_M_Ice.Instrumentation.ObserverUpdater = Ice.createTempClass()
|
|
394
|
-
class ObserverUpdater(object):
|
|
395
|
-
"""
|
|
396
|
-
The observer updater interface. This interface is implemented by
|
|
397
|
-
the Ice run-time and an instance of this interface is provided by
|
|
398
|
-
the Ice communicator on initialization to the
|
|
399
|
-
CommunicatorObserver object set with the communicator
|
|
400
|
-
initialization data. The Ice communicator calls
|
|
401
|
-
CommunicatorObserver#setObserverUpdater to provide the observer
|
|
402
|
-
updater.
|
|
403
|
-
This interface can be used by add-ins implementing the
|
|
404
|
-
CommunicatorObserver interface to update the observers of
|
|
405
|
-
connections and threads.
|
|
406
|
-
"""
|
|
407
|
-
def __init__(self):
|
|
408
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.ObserverUpdater:
|
|
409
|
-
raise RuntimeError('Ice.Instrumentation.ObserverUpdater is an abstract class')
|
|
410
|
-
|
|
411
|
-
def updateConnectionObservers(self):
|
|
412
|
-
"""
|
|
413
|
-
Update connection observers associated with each of the Ice
|
|
414
|
-
connection from the communicator and its object adapters.
|
|
415
|
-
When called, this method goes through all the connections and
|
|
416
|
-
for each connection CommunicatorObserver#getConnectionObserver
|
|
417
|
-
is called. The implementation of getConnectionObserver has the
|
|
418
|
-
possibility to return an updated observer if necessary.
|
|
419
|
-
"""
|
|
420
|
-
raise NotImplementedError("method 'updateConnectionObservers' not implemented")
|
|
421
|
-
|
|
422
|
-
def updateThreadObservers(self):
|
|
423
|
-
"""
|
|
424
|
-
Update thread observers associated with each of the Ice thread
|
|
425
|
-
from the communicator and its object adapters.
|
|
426
|
-
When called, this method goes through all the threads and for
|
|
427
|
-
each thread CommunicatorObserver#getThreadObserver is
|
|
428
|
-
called. The implementation of getThreadObserver has the
|
|
429
|
-
possibility to return an updated observer if necessary.
|
|
430
|
-
"""
|
|
431
|
-
raise NotImplementedError("method 'updateThreadObservers' not implemented")
|
|
432
|
-
|
|
433
|
-
def __str__(self):
|
|
434
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_ObserverUpdater)
|
|
435
|
-
|
|
436
|
-
__repr__ = __str__
|
|
437
|
-
|
|
438
|
-
_M_Ice.Instrumentation._t_ObserverUpdater = IcePy.defineValue('::Ice::Instrumentation::ObserverUpdater', ObserverUpdater, -1, (), False, True, None, ())
|
|
439
|
-
ObserverUpdater._ice_type = _M_Ice.Instrumentation._t_ObserverUpdater
|
|
440
|
-
|
|
441
|
-
_M_Ice.Instrumentation.ObserverUpdater = ObserverUpdater
|
|
442
|
-
del ObserverUpdater
|
|
443
|
-
|
|
444
|
-
if 'CommunicatorObserver' not in _M_Ice.Instrumentation.__dict__:
|
|
445
|
-
_M_Ice.Instrumentation.CommunicatorObserver = Ice.createTempClass()
|
|
446
|
-
class CommunicatorObserver(object):
|
|
447
|
-
"""
|
|
448
|
-
The communicator observer interface used by the Ice run-time to
|
|
449
|
-
obtain and update observers for its observable objects. This
|
|
450
|
-
interface should be implemented by add-ins that wish to observe Ice
|
|
451
|
-
objects in order to collect statistics. An instance of this
|
|
452
|
-
interface can be provided to the Ice run-time through the Ice
|
|
453
|
-
communicator initialization data.
|
|
454
|
-
"""
|
|
455
|
-
def __init__(self):
|
|
456
|
-
if Ice.getType(self) == _M_Ice.Instrumentation.CommunicatorObserver:
|
|
457
|
-
raise RuntimeError('Ice.Instrumentation.CommunicatorObserver is an abstract class')
|
|
458
|
-
|
|
459
|
-
def getConnectionEstablishmentObserver(self, endpt, connector):
|
|
460
|
-
"""
|
|
461
|
-
This method should return an observer for the given endpoint
|
|
462
|
-
information and connector. The Ice run-time calls this method
|
|
463
|
-
for each connection establishment attempt.
|
|
464
|
-
Arguments:
|
|
465
|
-
endpt -- The endpoint.
|
|
466
|
-
connector -- The description of the connector. For IP transports, this is typically the IP address to connect to.
|
|
467
|
-
Returns: The observer to instrument the connection establishment.
|
|
468
|
-
"""
|
|
469
|
-
raise NotImplementedError("method 'getConnectionEstablishmentObserver' not implemented")
|
|
470
|
-
|
|
471
|
-
def getEndpointLookupObserver(self, endpt):
|
|
472
|
-
"""
|
|
473
|
-
This method should return an observer for the given endpoint
|
|
474
|
-
information. The Ice run-time calls this method to resolve an
|
|
475
|
-
endpoint and obtain the list of connectors.
|
|
476
|
-
For IP endpoints, this typically involves doing a DNS lookup to
|
|
477
|
-
obtain the IP addresses associated with the DNS name.
|
|
478
|
-
Arguments:
|
|
479
|
-
endpt -- The endpoint.
|
|
480
|
-
Returns: The observer to instrument the endpoint lookup.
|
|
481
|
-
"""
|
|
482
|
-
raise NotImplementedError("method 'getEndpointLookupObserver' not implemented")
|
|
483
|
-
|
|
484
|
-
def getConnectionObserver(self, c, e, s, o):
|
|
485
|
-
"""
|
|
486
|
-
This method should return a connection observer for the given
|
|
487
|
-
connection. The Ice run-time calls this method for each new
|
|
488
|
-
connection and for all the Ice communicator connections when
|
|
489
|
-
ObserverUpdater#updateConnectionObservers is called.
|
|
490
|
-
Arguments:
|
|
491
|
-
c -- The connection information.
|
|
492
|
-
e -- The connection endpoint.
|
|
493
|
-
s -- The state of the connection.
|
|
494
|
-
o -- The old connection observer if one is already set or a null reference otherwise.
|
|
495
|
-
Returns: The connection observer to instrument the connection.
|
|
496
|
-
"""
|
|
497
|
-
raise NotImplementedError("method 'getConnectionObserver' not implemented")
|
|
498
|
-
|
|
499
|
-
def getThreadObserver(self, parent, id, s, o):
|
|
500
|
-
"""
|
|
501
|
-
This method should return a thread observer for the given
|
|
502
|
-
thread. The Ice run-time calls this method for each new thread
|
|
503
|
-
and for all the Ice communicator threads when
|
|
504
|
-
ObserverUpdater#updateThreadObservers is called.
|
|
505
|
-
Arguments:
|
|
506
|
-
parent -- The parent of the thread.
|
|
507
|
-
id -- The ID of the thread to observe.
|
|
508
|
-
s -- The state of the thread.
|
|
509
|
-
o -- The old thread observer if one is already set or a null reference otherwise.
|
|
510
|
-
Returns: The thread observer to instrument the thread.
|
|
511
|
-
"""
|
|
512
|
-
raise NotImplementedError("method 'getThreadObserver' not implemented")
|
|
513
|
-
|
|
514
|
-
def getInvocationObserver(self, prx, operation, ctx):
|
|
515
|
-
"""
|
|
516
|
-
This method should return an invocation observer for the given
|
|
517
|
-
invocation. The Ice run-time calls this method for each new
|
|
518
|
-
invocation on a proxy.
|
|
519
|
-
Arguments:
|
|
520
|
-
prx -- The proxy used for the invocation.
|
|
521
|
-
operation -- The name of the invocation.
|
|
522
|
-
ctx -- The context specified by the user.
|
|
523
|
-
Returns: The invocation observer to instrument the invocation.
|
|
524
|
-
"""
|
|
525
|
-
raise NotImplementedError("method 'getInvocationObserver' not implemented")
|
|
526
|
-
|
|
527
|
-
def getDispatchObserver(self, c, size):
|
|
528
|
-
"""
|
|
529
|
-
This method should return a dispatch observer for the given
|
|
530
|
-
dispatch. The Ice run-time calls this method each time it
|
|
531
|
-
receives an incoming invocation to be dispatched for an Ice
|
|
532
|
-
object.
|
|
533
|
-
Arguments:
|
|
534
|
-
c -- The current object as provided to the Ice servant dispatching the invocation.
|
|
535
|
-
size -- The size of the dispatch.
|
|
536
|
-
Returns: The dispatch observer to instrument the dispatch.
|
|
537
|
-
"""
|
|
538
|
-
raise NotImplementedError("method 'getDispatchObserver' not implemented")
|
|
539
|
-
|
|
540
|
-
def setObserverUpdater(self, updater):
|
|
541
|
-
"""
|
|
542
|
-
The Ice run-time calls this method when the communicator is
|
|
543
|
-
initialized. The add-in implementing this interface can use
|
|
544
|
-
this object to get the Ice run-time to re-obtain observers for
|
|
545
|
-
observed objects.
|
|
546
|
-
Arguments:
|
|
547
|
-
updater -- The observer updater object.
|
|
548
|
-
"""
|
|
549
|
-
raise NotImplementedError("method 'setObserverUpdater' not implemented")
|
|
550
|
-
|
|
551
|
-
def __str__(self):
|
|
552
|
-
return IcePy.stringify(self, _M_Ice.Instrumentation._t_CommunicatorObserver)
|
|
553
|
-
|
|
554
|
-
__repr__ = __str__
|
|
555
|
-
|
|
556
|
-
_M_Ice.Instrumentation._t_CommunicatorObserver = IcePy.defineValue('::Ice::Instrumentation::CommunicatorObserver', CommunicatorObserver, -1, (), False, True, None, ())
|
|
557
|
-
CommunicatorObserver._ice_type = _M_Ice.Instrumentation._t_CommunicatorObserver
|
|
558
|
-
|
|
559
|
-
_M_Ice.Instrumentation.CommunicatorObserver = CommunicatorObserver
|
|
560
|
-
del CommunicatorObserver
|
|
561
|
-
|
|
562
|
-
# End of module Ice.Instrumentation
|
|
563
|
-
|
|
564
|
-
__name__ = 'Ice'
|
|
565
|
-
|
|
566
|
-
# End of module Ice
|