zeroc-ice 3.8.0__cp312-cp312-macosx_10_13_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 +79 -0
- 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 +367 -0
- 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 +33 -0
- 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 +375 -0
- 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 -0
- IceMX/py.typed +0 -0
- IcePy-stubs/__init__.pyi +740 -0
- IcePy.cpython-312-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 +61 -0
- IceStorm/py.typed +0 -0
- slice/DataStorm/SampleEvent.ice +29 -0
- slice/Glacier2/Metrics.ice +47 -0
- slice/Glacier2/PermissionsVerifier.ice +55 -0
- slice/Glacier2/Router.ice +93 -0
- slice/Glacier2/SSLInfo.ice +42 -0
- slice/Glacier2/Session.ice +133 -0
- slice/Ice/BuiltinSequences.ice +54 -0
- slice/Ice/Context.ice +24 -0
- slice/Ice/EndpointTypes.ice +50 -0
- slice/Ice/Identity.ice +36 -0
- slice/Ice/Locator.ice +74 -0
- slice/Ice/LocatorRegistry.ice +77 -0
- slice/Ice/Metrics.ice +201 -0
- slice/Ice/OperationMode.ice +38 -0
- slice/Ice/Process.ice +28 -0
- slice/Ice/PropertiesAdmin.ice +37 -0
- slice/Ice/PropertyDict.ice +23 -0
- slice/Ice/RemoteLogger.ice +126 -0
- slice/Ice/ReplyStatus.ice +65 -0
- slice/Ice/Router.ice +54 -0
- slice/Ice/SliceChecksumDict.ice +18 -0
- slice/Ice/Version.ice +43 -0
- slice/IceBox/ServiceManager.ice +79 -0
- slice/IceGrid/Admin.ice +981 -0
- slice/IceGrid/Descriptor.ice +519 -0
- slice/IceGrid/Exception.ice +98 -0
- slice/IceGrid/FileParser.ice +36 -0
- slice/IceGrid/Registry.ice +130 -0
- slice/IceGrid/Session.ice +64 -0
- slice/IceGrid/UserAccountMapper.ice +34 -0
- slice/IceStorm/IceStorm.ice +186 -0
- slice/IceStorm/Metrics.ice +41 -0
- slice2py.py +20 -0
- zeroc_ice-3.8.0.dist-info/METADATA +106 -0
- zeroc_ice-3.8.0.dist-info/RECORD +343 -0
- zeroc_ice-3.8.0.dist-info/WHEEL +5 -0
- zeroc_ice-3.8.0.dist-info/entry_points.txt +2 -0
- zeroc_ice-3.8.0.dist-info/top_level.txt +10 -0
IcePy-stubs/__init__.pyi
ADDED
|
@@ -0,0 +1,740 @@
|
|
|
1
|
+
# Copyright (c) ZeroC, Inc.
|
|
2
|
+
|
|
3
|
+
# IcePy contains (unfortunately) a mix of public and internal APIs.
|
|
4
|
+
# The public APIs, things that get re-exported through Ice, must be documented; internal APIs do not.
|
|
5
|
+
#
|
|
6
|
+
# These doc comments must be synchronized with the documentation in the corresponding IcePy C++ files.
|
|
7
|
+
# 1. Sphinx uses the doc comments from the IcePy native module directly.
|
|
8
|
+
# 2. IcePy stubs (this file) are used by pyright and IDEs for type checking and code completion.
|
|
9
|
+
#
|
|
10
|
+
# It would be nice if this file could be generated automatically from the C++ files using `stubgen`,
|
|
11
|
+
# but for now we maintain it manually since the generated stubs are incomplete for use with pyright.
|
|
12
|
+
|
|
13
|
+
from collections.abc import Awaitable, Callable
|
|
14
|
+
from typing import Any, Self, Type, TypeVar
|
|
15
|
+
|
|
16
|
+
import Ice
|
|
17
|
+
|
|
18
|
+
T = TypeVar("T", bound=Ice.ObjectPrx)
|
|
19
|
+
|
|
20
|
+
class AsyncInvocationContext:
|
|
21
|
+
def cancel(self) -> None: ...
|
|
22
|
+
|
|
23
|
+
class BatchRequest:
|
|
24
|
+
"""
|
|
25
|
+
Represents a batch request. A batch request is created by invoking an operation on a batch-oneway or
|
|
26
|
+
batch-datagram proxy.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
def enqueue(self) -> None:
|
|
30
|
+
"""
|
|
31
|
+
Queues this request.
|
|
32
|
+
"""
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
def getOperation(self) -> str:
|
|
36
|
+
"""
|
|
37
|
+
Gets the name of the operation.
|
|
38
|
+
|
|
39
|
+
Returns
|
|
40
|
+
-------
|
|
41
|
+
str
|
|
42
|
+
The operation name.
|
|
43
|
+
"""
|
|
44
|
+
...
|
|
45
|
+
|
|
46
|
+
def getProxy(self) -> Ice.ObjectPrx:
|
|
47
|
+
"""
|
|
48
|
+
Gets the proxy used to create this batch request.
|
|
49
|
+
|
|
50
|
+
Returns
|
|
51
|
+
-------
|
|
52
|
+
Ice.ObjectPrx
|
|
53
|
+
The proxy.
|
|
54
|
+
"""
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
def getSize(self) -> int:
|
|
58
|
+
"""
|
|
59
|
+
Gets the size of the request.
|
|
60
|
+
|
|
61
|
+
Returns
|
|
62
|
+
-------
|
|
63
|
+
int
|
|
64
|
+
The number of bytes consumed by the request.
|
|
65
|
+
"""
|
|
66
|
+
...
|
|
67
|
+
|
|
68
|
+
class Communicator:
|
|
69
|
+
@classmethod
|
|
70
|
+
def __init__(cls, initData: Ice.InitializationData | None) -> None: ...
|
|
71
|
+
def _getWrapper(self) -> Ice.Communicator: ...
|
|
72
|
+
def _setWrapper(self, wrapper: Ice.Communicator) -> None: ...
|
|
73
|
+
def addAdminFacet(self, servant: Ice.Object | None, facet: str) -> None: ...
|
|
74
|
+
def createAdmin(self, adminAdapter: Ice.ObjectAdapter | None, adminIdentity: Ice.Identity) -> Ice.ObjectPrx: ...
|
|
75
|
+
def createObjectAdapter(self, name: str) -> ObjectAdapter: ...
|
|
76
|
+
def createObjectAdapterWithEndpoints(self, name: str, endpoints: str) -> ObjectAdapter: ...
|
|
77
|
+
def createObjectAdapterWithRouter(self, name: str, router: Ice.RouterPrx) -> ObjectAdapter: ...
|
|
78
|
+
def destroy(self) -> None: ...
|
|
79
|
+
def destroyAsync(self, callable: Callable) -> None: ...
|
|
80
|
+
def findAdminFacet(self, facet: str) -> Ice.Object: ...
|
|
81
|
+
def findAllAdminFacets(self) -> dict: ...
|
|
82
|
+
def flushBatchRequests(self, compress: Ice.CompressBatch) -> None: ...
|
|
83
|
+
def flushBatchRequestsAsync(self, compress: Ice.CompressBatch) -> Awaitable[None]: ...
|
|
84
|
+
def getAdmin(self) -> Ice.ObjectPrx | None: ...
|
|
85
|
+
def getDefaultLocator(self) -> Ice.LocatorPrx | None: ...
|
|
86
|
+
def getDefaultObjectAdapter(self) -> Ice.ObjectAdapter | None: ...
|
|
87
|
+
def getDefaultRouter(self) -> Ice.RouterPrx | None: ...
|
|
88
|
+
def getImplicitContext(self) -> ImplicitContext | None: ...
|
|
89
|
+
def getLogger(self) -> Ice.Logger | Logger: ...
|
|
90
|
+
def getProperties(self) -> Properties: ...
|
|
91
|
+
def identityToString(self, identity: Ice.Identity) -> str: ...
|
|
92
|
+
def isShutdown(self) -> bool: ...
|
|
93
|
+
def propertyToProxy(self, property: str) -> Ice.ObjectPrx: ...
|
|
94
|
+
def proxyToProperty(self, proxy: Ice.ObjectPrx, property: str) -> dict[str, str]: ...
|
|
95
|
+
def proxyToString(self, proxy: Ice.ObjectPrx | None) -> str: ...
|
|
96
|
+
def removeAdminFacet(self, facet: str) -> Ice.Object: ...
|
|
97
|
+
def setDefaultLocator(self, locator: Ice.LocatorPrx | None) -> None: ...
|
|
98
|
+
def setDefaultObjectAdapter(self, adapter: Ice.ObjectAdapter | None) -> None: ...
|
|
99
|
+
def setDefaultRouter(self, router: Ice.RouterPrx | None) -> None: ...
|
|
100
|
+
def shutdown(self) -> None: ...
|
|
101
|
+
def shutdownCompleted(self) -> Awaitable[None]: ...
|
|
102
|
+
def stringToProxy(self, str: str) -> Ice.ObjectPrx: ...
|
|
103
|
+
def waitForShutdown(self, timeout: int) -> bool: ...
|
|
104
|
+
|
|
105
|
+
class Connection:
|
|
106
|
+
"""Represents a connection that uses the Ice protocol."""
|
|
107
|
+
|
|
108
|
+
def abort(self) -> None:
|
|
109
|
+
"""Aborts this connection."""
|
|
110
|
+
...
|
|
111
|
+
|
|
112
|
+
def close(self) -> Awaitable[None]:
|
|
113
|
+
"""
|
|
114
|
+
Starts a graceful closure of this connection once all outstanding invocations have completed.
|
|
115
|
+
|
|
116
|
+
Returns
|
|
117
|
+
-------
|
|
118
|
+
Awaitable[None]
|
|
119
|
+
A future that becomes available when the connection is closed.
|
|
120
|
+
"""
|
|
121
|
+
...
|
|
122
|
+
|
|
123
|
+
def createProxy(self, identity: Ice.Identity) -> Ice.ObjectPrx:
|
|
124
|
+
"""
|
|
125
|
+
Creates a special proxy (a 'fixed proxy') that always uses this connection.
|
|
126
|
+
|
|
127
|
+
Parameters
|
|
128
|
+
----------
|
|
129
|
+
identity : Ice.Identity
|
|
130
|
+
The identity of the target object.
|
|
131
|
+
|
|
132
|
+
Returns
|
|
133
|
+
-------
|
|
134
|
+
Ice.ObjectPrx
|
|
135
|
+
A fixed proxy with the provided identity.
|
|
136
|
+
"""
|
|
137
|
+
...
|
|
138
|
+
|
|
139
|
+
def disableInactivityCheck(self) -> None:
|
|
140
|
+
"""
|
|
141
|
+
Disables the inactivity check on this connection.
|
|
142
|
+
|
|
143
|
+
By default, Ice will close connections that remain idle for a
|
|
144
|
+
certain period. This method disables that behavior for this connection.
|
|
145
|
+
"""
|
|
146
|
+
...
|
|
147
|
+
|
|
148
|
+
def flushBatchRequests(self, compress: Ice.CompressBatch) -> None:
|
|
149
|
+
"""
|
|
150
|
+
Flushes any pending batch requests for this connection.
|
|
151
|
+
|
|
152
|
+
This corresponds to all batch requests invoked on fixed proxies
|
|
153
|
+
associated with the connection.
|
|
154
|
+
|
|
155
|
+
Parameters
|
|
156
|
+
----------
|
|
157
|
+
compress : Ice.CompressBatch
|
|
158
|
+
Specifies whether or not the queued batch requests should be
|
|
159
|
+
compressed before being sent over the wire.
|
|
160
|
+
"""
|
|
161
|
+
...
|
|
162
|
+
|
|
163
|
+
def flushBatchRequestsAsync(
|
|
164
|
+
self,
|
|
165
|
+
compress: Ice.CompressBatch,
|
|
166
|
+
) -> Awaitable[None]:
|
|
167
|
+
"""
|
|
168
|
+
Flushes any pending batch requests for this connection asynchronously.
|
|
169
|
+
|
|
170
|
+
This corresponds to all batch requests invoked on fixed proxies
|
|
171
|
+
associated with the connection.
|
|
172
|
+
|
|
173
|
+
Parameters
|
|
174
|
+
----------
|
|
175
|
+
compress : Ice.CompressBatch
|
|
176
|
+
Specifies whether or not the queued batch requests should be
|
|
177
|
+
compressed before being sent over the wire.
|
|
178
|
+
|
|
179
|
+
Returns
|
|
180
|
+
-------
|
|
181
|
+
Awaitable[None]
|
|
182
|
+
A future that becomes available when the flush completes.
|
|
183
|
+
"""
|
|
184
|
+
...
|
|
185
|
+
|
|
186
|
+
def getAdapter(self) -> Ice.ObjectAdapter | None:
|
|
187
|
+
"""
|
|
188
|
+
Gets the object adapter associated with this connection.
|
|
189
|
+
|
|
190
|
+
Returns
|
|
191
|
+
-------
|
|
192
|
+
Ice.ObjectAdapter or None
|
|
193
|
+
The object adapter associated with this connection.
|
|
194
|
+
"""
|
|
195
|
+
...
|
|
196
|
+
|
|
197
|
+
def getEndpoint(self) -> Endpoint:
|
|
198
|
+
"""
|
|
199
|
+
Gets the endpoint from which the connection was created.
|
|
200
|
+
|
|
201
|
+
Returns
|
|
202
|
+
-------
|
|
203
|
+
Ice.Endpoint
|
|
204
|
+
The endpoint from which the connection was created.
|
|
205
|
+
"""
|
|
206
|
+
...
|
|
207
|
+
|
|
208
|
+
def getInfo(self) -> Ice.ConnectionInfo:
|
|
209
|
+
"""
|
|
210
|
+
Returns the connection information.
|
|
211
|
+
|
|
212
|
+
Returns
|
|
213
|
+
-------
|
|
214
|
+
Ice.ConnectionInfo
|
|
215
|
+
The connection information.
|
|
216
|
+
"""
|
|
217
|
+
...
|
|
218
|
+
|
|
219
|
+
def setAdapter(self, adapter: Ice.ObjectAdapter | None) -> None:
|
|
220
|
+
"""
|
|
221
|
+
Associates an object adapter with this connection.
|
|
222
|
+
|
|
223
|
+
When a connection receives a request, it dispatches this request using
|
|
224
|
+
its associated object adapter. If the associated object adapter is None,
|
|
225
|
+
the connection rejects any incoming request with an ObjectNotExistException.
|
|
226
|
+
|
|
227
|
+
Parameters
|
|
228
|
+
----------
|
|
229
|
+
adapter : Ice.ObjectAdapter or None
|
|
230
|
+
The object adapter to associate with this connection.
|
|
231
|
+
"""
|
|
232
|
+
...
|
|
233
|
+
|
|
234
|
+
def setBufferSize(self, rcvSize: int, sndSize: int) -> None:
|
|
235
|
+
"""
|
|
236
|
+
Sets the size of the receive and send buffers.
|
|
237
|
+
|
|
238
|
+
Parameters
|
|
239
|
+
----------
|
|
240
|
+
rcvSize : int
|
|
241
|
+
The size of the receive buffer.
|
|
242
|
+
sndSize : int
|
|
243
|
+
The size of the send buffer.
|
|
244
|
+
"""
|
|
245
|
+
...
|
|
246
|
+
|
|
247
|
+
def setCloseCallback(self, callback: Callable[[Connection], None]) -> None:
|
|
248
|
+
"""
|
|
249
|
+
Sets a close callback on the connection.
|
|
250
|
+
|
|
251
|
+
The callback is called by the connection when it's closed. The callback
|
|
252
|
+
is called from the Ice thread pool associated with the connection.
|
|
253
|
+
|
|
254
|
+
Parameters
|
|
255
|
+
----------
|
|
256
|
+
callback : Callable
|
|
257
|
+
The close callback function.
|
|
258
|
+
"""
|
|
259
|
+
...
|
|
260
|
+
|
|
261
|
+
def throwException(self) -> None:
|
|
262
|
+
"""
|
|
263
|
+
Throws an exception that provides the reason for the closure of this connection.
|
|
264
|
+
|
|
265
|
+
For example, this function throws CloseConnectionException when the connection
|
|
266
|
+
was closed gracefully by the peer; it throws ConnectionAbortedException when
|
|
267
|
+
the connection is aborted. This function does nothing if the connection is
|
|
268
|
+
not yet closed.
|
|
269
|
+
"""
|
|
270
|
+
...
|
|
271
|
+
|
|
272
|
+
def toString(self) -> str:
|
|
273
|
+
"""
|
|
274
|
+
Returns a description of the connection as human readable text.
|
|
275
|
+
|
|
276
|
+
This function is suitable for logging or error messages and remains
|
|
277
|
+
usable after the connection is closed or aborted.
|
|
278
|
+
|
|
279
|
+
Returns
|
|
280
|
+
-------
|
|
281
|
+
str
|
|
282
|
+
The description of the connection as human readable text.
|
|
283
|
+
"""
|
|
284
|
+
...
|
|
285
|
+
|
|
286
|
+
def type(self) -> str:
|
|
287
|
+
"""
|
|
288
|
+
Returns the connection type.
|
|
289
|
+
|
|
290
|
+
This corresponds to the endpoint type, such as 'tcp', 'udp', etc.
|
|
291
|
+
|
|
292
|
+
Returns
|
|
293
|
+
-------
|
|
294
|
+
str
|
|
295
|
+
The type of the connection.
|
|
296
|
+
"""
|
|
297
|
+
...
|
|
298
|
+
|
|
299
|
+
def __eq__(self, other: object) -> bool: ...
|
|
300
|
+
def __ge__(self, other: object) -> bool: ...
|
|
301
|
+
def __gt__(self, other: object) -> bool: ...
|
|
302
|
+
def __hash__(self) -> int: ...
|
|
303
|
+
def __le__(self, other: object) -> bool: ...
|
|
304
|
+
def __lt__(self, other: object) -> bool: ...
|
|
305
|
+
def __ne__(self, other: object) -> bool: ...
|
|
306
|
+
|
|
307
|
+
class ConnectionInfo:
|
|
308
|
+
"""
|
|
309
|
+
Base class for all connection info classes.
|
|
310
|
+
|
|
311
|
+
Connection info classes provide access to the connection details.
|
|
312
|
+
They are used to get information about the connection, such as
|
|
313
|
+
whether it's incoming or outgoing, the adapter name, and connection ID.
|
|
314
|
+
"""
|
|
315
|
+
|
|
316
|
+
underlying: ConnectionInfo | None
|
|
317
|
+
"""Ice.ConnectionInfo | None: underlying connection information"""
|
|
318
|
+
|
|
319
|
+
adapterName: str
|
|
320
|
+
"""str: adapter associated with the connection"""
|
|
321
|
+
|
|
322
|
+
incoming: bool
|
|
323
|
+
"""bool: whether connection is incoming"""
|
|
324
|
+
|
|
325
|
+
class DispatchCallback:
|
|
326
|
+
def response(self, *args: tuple) -> None: ...
|
|
327
|
+
def exception(self, exception: BaseException) -> None: ...
|
|
328
|
+
|
|
329
|
+
class Endpoint:
|
|
330
|
+
"""IcePy.Endpoint"""
|
|
331
|
+
|
|
332
|
+
def getInfo(self) -> EndpointInfo:
|
|
333
|
+
"""
|
|
334
|
+
Returns the endpoint information.
|
|
335
|
+
|
|
336
|
+
Returns
|
|
337
|
+
-------
|
|
338
|
+
Ice.EndpointInfo
|
|
339
|
+
The endpoint information class.
|
|
340
|
+
"""
|
|
341
|
+
...
|
|
342
|
+
|
|
343
|
+
def toString(self) -> str:
|
|
344
|
+
"""
|
|
345
|
+
Returns a string representation of this endpoint.
|
|
346
|
+
|
|
347
|
+
Returns
|
|
348
|
+
-------
|
|
349
|
+
str
|
|
350
|
+
The string representation of this endpoint.
|
|
351
|
+
"""
|
|
352
|
+
...
|
|
353
|
+
def __eq__(self, other: object) -> bool: ...
|
|
354
|
+
def __ge__(self, other: object) -> bool: ...
|
|
355
|
+
def __gt__(self, other: object) -> bool: ...
|
|
356
|
+
def __le__(self, other: object) -> bool: ...
|
|
357
|
+
def __lt__(self, other: object) -> bool: ...
|
|
358
|
+
def __ne__(self, other: object) -> bool: ...
|
|
359
|
+
|
|
360
|
+
class EndpointInfo:
|
|
361
|
+
"""
|
|
362
|
+
Base class for all endpoint info classes.
|
|
363
|
+
|
|
364
|
+
Provides access to the endpoint details. Endpoint info classes are used to get information about the endpoints
|
|
365
|
+
that a connection or proxy uses.
|
|
366
|
+
"""
|
|
367
|
+
|
|
368
|
+
underlying: EndpointInfo | None
|
|
369
|
+
"""Ice.EndpointInfo | None: underlying endpoint information"""
|
|
370
|
+
|
|
371
|
+
compress: bool
|
|
372
|
+
"""bool: compression status"""
|
|
373
|
+
|
|
374
|
+
def datagram(self) -> bool:
|
|
375
|
+
"""
|
|
376
|
+
Returns True if this endpoint's transport is a datagram transport (namely, UDP), False otherwise.
|
|
377
|
+
|
|
378
|
+
Returns
|
|
379
|
+
-------
|
|
380
|
+
bool
|
|
381
|
+
True for a UDP endpoint, False otherwise.
|
|
382
|
+
"""
|
|
383
|
+
...
|
|
384
|
+
|
|
385
|
+
def secure(self) -> bool:
|
|
386
|
+
"""
|
|
387
|
+
Returns True if this endpoint's transport uses SSL, False otherwise.
|
|
388
|
+
|
|
389
|
+
Returns
|
|
390
|
+
-------
|
|
391
|
+
bool
|
|
392
|
+
True for SSL and SSL-based transports, False otherwise.
|
|
393
|
+
"""
|
|
394
|
+
...
|
|
395
|
+
|
|
396
|
+
def type(self) -> int:
|
|
397
|
+
"""
|
|
398
|
+
Returns the type of the endpoint.
|
|
399
|
+
|
|
400
|
+
Returns
|
|
401
|
+
-------
|
|
402
|
+
int
|
|
403
|
+
The endpoint type.
|
|
404
|
+
"""
|
|
405
|
+
...
|
|
406
|
+
|
|
407
|
+
class ExceptionInfo: ...
|
|
408
|
+
class ExecutorCall: ...
|
|
409
|
+
|
|
410
|
+
class IPConnectionInfo(ConnectionInfo):
|
|
411
|
+
"""Provides access to the connection details of an IP connection."""
|
|
412
|
+
|
|
413
|
+
localAddress: str
|
|
414
|
+
"""str: local address"""
|
|
415
|
+
|
|
416
|
+
localPort: int
|
|
417
|
+
"""int: local port"""
|
|
418
|
+
|
|
419
|
+
remoteAddress: str
|
|
420
|
+
"""str: remote address"""
|
|
421
|
+
|
|
422
|
+
remotePort: int
|
|
423
|
+
"""int: remote port"""
|
|
424
|
+
|
|
425
|
+
class IPEndpointInfo(EndpointInfo):
|
|
426
|
+
"""Provides access to the address details of an IP endpoint."""
|
|
427
|
+
|
|
428
|
+
host: str
|
|
429
|
+
"""str: host name or IP address"""
|
|
430
|
+
|
|
431
|
+
port: int
|
|
432
|
+
"""int: TCP port number"""
|
|
433
|
+
|
|
434
|
+
sourceAddress: str
|
|
435
|
+
"""str: source IP address"""
|
|
436
|
+
|
|
437
|
+
class ImplicitContext:
|
|
438
|
+
def containsKey(self, key: str) -> bool: ...
|
|
439
|
+
def get(self, key: str) -> str: ...
|
|
440
|
+
def getContext(self) -> dict[str, str]: ...
|
|
441
|
+
def put(self, key: str, value: str) -> str | None: ...
|
|
442
|
+
def remove(self, key: str) -> str | None: ...
|
|
443
|
+
def setContext(self, newContext: dict[str, str]) -> None: ...
|
|
444
|
+
def __eq__(self, other: object) -> bool: ...
|
|
445
|
+
def __ge__(self, other: object) -> bool: ...
|
|
446
|
+
def __gt__(self, other: object) -> bool: ...
|
|
447
|
+
def __le__(self, other: object) -> bool: ...
|
|
448
|
+
def __lt__(self, other: object) -> bool: ...
|
|
449
|
+
def __ne__(self, other: object) -> bool: ...
|
|
450
|
+
|
|
451
|
+
class Logger:
|
|
452
|
+
def cloneWithPrefix(self, prefix: str) -> Logger: ...
|
|
453
|
+
def error(self, message: str) -> None: ...
|
|
454
|
+
def getPrefix(self) -> str: ...
|
|
455
|
+
def print(self, message: str) -> None: ...
|
|
456
|
+
def trace(self, category: str, message: str) -> None: ...
|
|
457
|
+
def warning(self, message: str) -> None: ...
|
|
458
|
+
|
|
459
|
+
class NativePropertiesAdmin:
|
|
460
|
+
"""The default implementation for the 'Properties' admin facet."""
|
|
461
|
+
|
|
462
|
+
def addUpdateCallback(self, callback: Callable[[dict[str, str]], None]) -> None:
|
|
463
|
+
"""
|
|
464
|
+
Registers an update callback that will be invoked when a property update occurs.
|
|
465
|
+
|
|
466
|
+
Parameters
|
|
467
|
+
----------
|
|
468
|
+
callback : Callable
|
|
469
|
+
The callback function.
|
|
470
|
+
"""
|
|
471
|
+
...
|
|
472
|
+
|
|
473
|
+
def removeUpdateCallback(self, callback: Callable[[dict[str, str]], None]) -> None:
|
|
474
|
+
"""
|
|
475
|
+
Removes a previously registered update callback.
|
|
476
|
+
|
|
477
|
+
Parameters
|
|
478
|
+
----------
|
|
479
|
+
callback : Callable
|
|
480
|
+
The callback function to remove.
|
|
481
|
+
"""
|
|
482
|
+
...
|
|
483
|
+
|
|
484
|
+
class ObjectAdapter:
|
|
485
|
+
def activate(self) -> None: ...
|
|
486
|
+
def add(self, servant: Ice.Object, id: Ice.Identity) -> Ice.ObjectPrx: ...
|
|
487
|
+
def addDefaultServant(self, servant: Ice.Object, category: str) -> None: ...
|
|
488
|
+
def addFacet(self, servant: Ice.Object, id: Ice.Identity, facet: str) -> Ice.ObjectPrx: ...
|
|
489
|
+
def addFacetWithUUID(self, servant: Ice.Object, facet: str) -> Ice.ObjectPrx: ...
|
|
490
|
+
def addServantLocator(self, locator: Ice.ServantLocator, category: str) -> None: ...
|
|
491
|
+
def addWithUUID(self, servant: Ice.Object) -> Ice.ObjectPrx: ...
|
|
492
|
+
def createDirectProxy(self, identity: Ice.Identity) -> Ice.ObjectPrx: ...
|
|
493
|
+
def createIndirectProxy(self, identity: Ice.Identity) -> Ice.ObjectPrx: ...
|
|
494
|
+
def createProxy(self, identity: Ice.Identity) -> Ice.ObjectPrx: ...
|
|
495
|
+
def deactivate(self) -> None: ...
|
|
496
|
+
def destroy(self) -> None: ...
|
|
497
|
+
def find(self, identity: Ice.Identity) -> Ice.Object | None: ...
|
|
498
|
+
def findAllFacets(self, id: Ice.Identity) -> dict[str, Ice.Object]: ...
|
|
499
|
+
def findByProxy(self, proxy: Ice.ObjectPrx) -> Ice.Object | None: ...
|
|
500
|
+
def findDefaultServant(self, category: str) -> Ice.Object | None: ...
|
|
501
|
+
def findFacet(self, id: Ice.Identity, facet: str) -> Ice.Object | None: ...
|
|
502
|
+
def findServantLocator(self, category: str) -> Ice.ServantLocator | None: ...
|
|
503
|
+
def getCommunicator(self) -> Communicator: ...
|
|
504
|
+
def getEndpoints(self) -> tuple[Endpoint, ...]: ...
|
|
505
|
+
def getLocator(self) -> Ice.LocatorPrx: ...
|
|
506
|
+
def getName(self) -> str: ...
|
|
507
|
+
def getPublishedEndpoints(self) -> tuple[Endpoint, ...]: ...
|
|
508
|
+
def hold(self) -> None: ...
|
|
509
|
+
def isDeactivated(self) -> bool: ...
|
|
510
|
+
def remove(self, id: Ice.Identity) -> Ice.Object: ...
|
|
511
|
+
def removeAllFacets(self, id: Ice.Identity) -> dict[str, Ice.Object]: ...
|
|
512
|
+
def removeDefaultServant(self, category: str) -> Ice.Object: ...
|
|
513
|
+
def removeFacet(self, id: Ice.Identity, facet: str) -> Ice.Object: ...
|
|
514
|
+
def removeServantLocator(self, category: str) -> Ice.ServantLocator: ...
|
|
515
|
+
def setLocator(self, locator: Ice.LocatorPrx) -> None: ...
|
|
516
|
+
def setPublishedEndpoints(self, newEndpoints: tuple[Endpoint, ...] | list[Endpoint]) -> None: ...
|
|
517
|
+
def waitForDeactivate(self, timeout: int) -> bool: ...
|
|
518
|
+
def waitForHold(self, timeout: int) -> None: ...
|
|
519
|
+
|
|
520
|
+
class ObjectPrx:
|
|
521
|
+
def __init__(self, communicator: Ice.Communicator, endpoint: str) -> None: ...
|
|
522
|
+
def ice_adapterId(self, newAdapterId: str) -> Self: ...
|
|
523
|
+
def ice_batchDatagram(self) -> Self: ...
|
|
524
|
+
def ice_batchOneway(self) -> Self: ...
|
|
525
|
+
def ice_collocationOptimized(self, collocated: bool) -> Self: ...
|
|
526
|
+
def ice_compress(self, compress: bool) -> Self: ...
|
|
527
|
+
def ice_connectionCached(self, newCache: bool) -> Self: ...
|
|
528
|
+
def ice_connectionId(self, connectionId: str) -> Self: ...
|
|
529
|
+
def ice_context(self, new_context: dict[str, str]) -> Self: ...
|
|
530
|
+
def ice_datagram(self) -> Self: ...
|
|
531
|
+
def ice_encodingVersion(self, version: Ice.EncodingVersion) -> Self: ...
|
|
532
|
+
def ice_endpointSelection(self, newType: Ice.EndpointSelectionType) -> Self: ...
|
|
533
|
+
def ice_endpoints(self, newEndpoints: tuple[Endpoint, ...] | list[Endpoint]) -> Self: ...
|
|
534
|
+
def ice_facet(self, new_facet: str) -> Self: ...
|
|
535
|
+
def ice_fixed(self, connection: Ice.Connection) -> Self: ...
|
|
536
|
+
def ice_flushBatchRequests(self) -> None: ...
|
|
537
|
+
def ice_flushBatchRequestsAsync(self) -> Awaitable[None]: ...
|
|
538
|
+
def ice_getAdapterId(self) -> str: ...
|
|
539
|
+
def ice_getCachedConnection(self) -> Ice.Connection | None: ...
|
|
540
|
+
def ice_getCommunicator(self) -> Ice.Communicator: ...
|
|
541
|
+
def ice_getCompress(self) -> bool | None: ...
|
|
542
|
+
def ice_getConnection(self) -> Ice.Connection | None: ...
|
|
543
|
+
def ice_getConnectionAsync(self) -> Awaitable[Ice.Connection | None]: ...
|
|
544
|
+
def ice_getConnectionId(self) -> str: ...
|
|
545
|
+
def ice_getContext(self) -> dict[str, str] | None: ...
|
|
546
|
+
def ice_getEncodingVersion(self) -> Ice.EncodingVersion: ...
|
|
547
|
+
def ice_getEndpointSelection(self) -> Ice.EndpointSelectionType: ...
|
|
548
|
+
def ice_getEndpoints(self) -> tuple[Endpoint, ...]: ...
|
|
549
|
+
def ice_getFacet(self) -> str: ...
|
|
550
|
+
def ice_getIdentity(self) -> Ice.Identity: ...
|
|
551
|
+
def ice_getInvocationTimeout(self) -> int: ...
|
|
552
|
+
def ice_getLocator(self) -> Ice.LocatorPrx | None: ...
|
|
553
|
+
def ice_getLocatorCacheTimeout(self) -> int: ...
|
|
554
|
+
def ice_getRouter(self) -> Ice.RouterPrx | None: ...
|
|
555
|
+
def ice_identity(self, newIdentity: Ice.Identity) -> Self: ...
|
|
556
|
+
def ice_invocationTimeout(self, timeout: int) -> Self: ...
|
|
557
|
+
def ice_invoke(
|
|
558
|
+
self, operation: str, mode: Ice.OperationMode, inParams: bytes, ctx: dict[str, str] | None
|
|
559
|
+
) -> tuple[bool, bytes]: ...
|
|
560
|
+
def ice_invokeAsync(
|
|
561
|
+
self, operation: str, mode: Ice.OperationMode, inParams: bytes, ctx: dict[str, str] | None
|
|
562
|
+
) -> Awaitable[tuple[bool, bytes]]: ...
|
|
563
|
+
def ice_isBatchDatagram(self) -> bool: ...
|
|
564
|
+
def ice_isBatchOneway(self) -> bool: ...
|
|
565
|
+
def ice_isCollocationOptimized(self) -> bool: ...
|
|
566
|
+
def ice_isConnectionCached(self) -> bool: ...
|
|
567
|
+
def ice_isDatagram(self) -> bool: ...
|
|
568
|
+
def ice_isFixed(self) -> bool: ...
|
|
569
|
+
def ice_isOneway(self) -> bool: ...
|
|
570
|
+
def ice_isTwoway(self) -> bool: ...
|
|
571
|
+
def ice_locator(self, locator: Ice.LocatorPrx | None) -> Self: ...
|
|
572
|
+
def ice_locatorCacheTimeout(self, timeout: int) -> Self: ...
|
|
573
|
+
def ice_oneway(self) -> Self: ...
|
|
574
|
+
def ice_router(self, router: Ice.RouterPrx | None) -> Self: ...
|
|
575
|
+
def ice_toString(self) -> str: ...
|
|
576
|
+
def ice_twoway(self) -> Self: ...
|
|
577
|
+
@staticmethod
|
|
578
|
+
def newProxy(type: Type[T], proxy: Ice.ObjectPrx) -> T: ...
|
|
579
|
+
def __eq__(self, other: object) -> bool: ...
|
|
580
|
+
def __ge__(self, other: object) -> bool: ...
|
|
581
|
+
def __gt__(self, other: object) -> bool: ...
|
|
582
|
+
def __hash__(self) -> int: ...
|
|
583
|
+
def __le__(self, other: object) -> bool: ...
|
|
584
|
+
def __lt__(self, other: object) -> bool: ...
|
|
585
|
+
def __ne__(self, other: object) -> bool: ...
|
|
586
|
+
|
|
587
|
+
class OpaqueEndpointInfo(EndpointInfo):
|
|
588
|
+
"""Provides access to the details of an opaque endpoint."""
|
|
589
|
+
|
|
590
|
+
rawBytes: bytes
|
|
591
|
+
"""bytes: raw encoding"""
|
|
592
|
+
|
|
593
|
+
rawEncoding: Ice.EncodingVersion
|
|
594
|
+
"""Ice.EncodingVersion: raw encoding version"""
|
|
595
|
+
|
|
596
|
+
class Operation:
|
|
597
|
+
def __init__(
|
|
598
|
+
self,
|
|
599
|
+
name: str,
|
|
600
|
+
ice_name: str,
|
|
601
|
+
mode: Any,
|
|
602
|
+
format: Any,
|
|
603
|
+
input_params: tuple,
|
|
604
|
+
output_params: tuple,
|
|
605
|
+
return_value: tuple,
|
|
606
|
+
return_type: Any,
|
|
607
|
+
exceptions: tuple,
|
|
608
|
+
) -> None: ...
|
|
609
|
+
def deprecate(self, reason: str): ...
|
|
610
|
+
def invoke(self, proxy: ObjectPrx, args: tuple) -> Any: ...
|
|
611
|
+
def invokeAsync(self, proxy: ObjectPrx, args: tuple) -> Awaitable[Any]: ...
|
|
612
|
+
|
|
613
|
+
class Properties:
|
|
614
|
+
def clone(self) -> Properties: ...
|
|
615
|
+
def getCommandLineOptions(self) -> list[str]: ...
|
|
616
|
+
def getIceProperty(self, key: str) -> str: ...
|
|
617
|
+
def getIcePropertyAsInt(self, key: str) -> int: ...
|
|
618
|
+
def getIcePropertyAsList(self, key: str) -> list[str]: ...
|
|
619
|
+
def getPropertiesForPrefix(self, prefix: str) -> dict[str, str]: ...
|
|
620
|
+
def getProperty(self, key: str) -> str: ...
|
|
621
|
+
def getPropertyAsInt(self, key: str) -> int: ...
|
|
622
|
+
def getPropertyAsIntWithDefault(self, key: str, default: int) -> int: ...
|
|
623
|
+
def getPropertyAsList(self, key: str) -> list[str]: ...
|
|
624
|
+
def getPropertyAsListWithDefault(self, key: str, default: list[str]) -> list[str]: ...
|
|
625
|
+
def getPropertyWithDefault(self, key: str, default: str) -> str: ...
|
|
626
|
+
def load(self, file: str) -> None: ...
|
|
627
|
+
def parseCommandLineOptions(self, prefix: str, options: list[str]) -> list[str]: ...
|
|
628
|
+
def parseIceCommandLineOptions(self, options: list[str]) -> list[str]: ...
|
|
629
|
+
def setProperty(self, key: str, value: str) -> None: ...
|
|
630
|
+
|
|
631
|
+
class SSLConnectionInfo(ConnectionInfo):
|
|
632
|
+
"""Provides access to the connection details of an SSL connection."""
|
|
633
|
+
|
|
634
|
+
peerCertificate: str
|
|
635
|
+
"""str: peer certificate"""
|
|
636
|
+
|
|
637
|
+
class SSLEndpointInfo(EndpointInfo):
|
|
638
|
+
"""Provides access to an SSL endpoint information."""
|
|
639
|
+
|
|
640
|
+
...
|
|
641
|
+
|
|
642
|
+
class TCPConnectionInfo(IPConnectionInfo):
|
|
643
|
+
"""Provides access to the connection details of a TCP connection."""
|
|
644
|
+
|
|
645
|
+
rcvSize: int
|
|
646
|
+
"""int: receive buffer size"""
|
|
647
|
+
|
|
648
|
+
sndSize: int
|
|
649
|
+
"""int: send buffer size"""
|
|
650
|
+
|
|
651
|
+
class TCPEndpointInfo(IPEndpointInfo):
|
|
652
|
+
"""Provides access to a TCP endpoint information."""
|
|
653
|
+
|
|
654
|
+
...
|
|
655
|
+
|
|
656
|
+
class UDPConnectionInfo(IPConnectionInfo):
|
|
657
|
+
"""Provides access to the connection details of a UDP connection."""
|
|
658
|
+
|
|
659
|
+
mcastAddress: str
|
|
660
|
+
"""str: multicast address"""
|
|
661
|
+
|
|
662
|
+
mcastPort: int
|
|
663
|
+
"""int: multicast port"""
|
|
664
|
+
|
|
665
|
+
rcvSize: int
|
|
666
|
+
"""int: receive buffer size"""
|
|
667
|
+
|
|
668
|
+
sndSize: int
|
|
669
|
+
"""int: send buffer size"""
|
|
670
|
+
|
|
671
|
+
class UDPEndpointInfo(IPEndpointInfo):
|
|
672
|
+
"""Provides access to an UDP endpoint information."""
|
|
673
|
+
|
|
674
|
+
mcastInterface: str
|
|
675
|
+
"""str: multicast interface"""
|
|
676
|
+
|
|
677
|
+
mcastTtl: int
|
|
678
|
+
"""int: multicast time-to-live"""
|
|
679
|
+
|
|
680
|
+
class WSConnectionInfo(ConnectionInfo):
|
|
681
|
+
"""Provides access to the connection details of a WebSocket connection."""
|
|
682
|
+
|
|
683
|
+
headers: dict[str, str]
|
|
684
|
+
"""dict[str, str]: request headers"""
|
|
685
|
+
|
|
686
|
+
class WSEndpointInfo(EndpointInfo):
|
|
687
|
+
"""Provides access to a WebSocket endpoint information."""
|
|
688
|
+
|
|
689
|
+
resource: str
|
|
690
|
+
"""str: resource"""
|
|
691
|
+
|
|
692
|
+
def compileSlice(args: list[str]) -> int: ...
|
|
693
|
+
def createProperties(args: list[str] | None, defaults: Ice.Properties | None): ...
|
|
694
|
+
def stringVersion() -> str: ...
|
|
695
|
+
def intVersion() -> int: ...
|
|
696
|
+
def identityToString(identity: Ice.Identity, toStringMode: Ice.ToStringMode | None = None) -> str: ...
|
|
697
|
+
def getProcessLogger() -> Ice.Logger: ...
|
|
698
|
+
def setProcessLogger(logger: Ice.Logger) -> None: ...
|
|
699
|
+
def loadSlice(args: list[str]) -> None: ...
|
|
700
|
+
def stringToIdentity(str: str) -> Ice.Identity: ...
|
|
701
|
+
|
|
702
|
+
#
|
|
703
|
+
# Internal API for IcePy
|
|
704
|
+
#
|
|
705
|
+
def declareProxy(sliceId: str): ...
|
|
706
|
+
def defineProxy(
|
|
707
|
+
sliceId: str,
|
|
708
|
+
proxyType: Type[ObjectPrx],
|
|
709
|
+
): ...
|
|
710
|
+
def declareValue(sliceId: str): ...
|
|
711
|
+
def defineValue(
|
|
712
|
+
sliceId: str,
|
|
713
|
+
valueType: Type[Ice.Value],
|
|
714
|
+
compactId: int,
|
|
715
|
+
meta: tuple,
|
|
716
|
+
isInterface: bool,
|
|
717
|
+
baseType: Type[Ice.Value] | None,
|
|
718
|
+
members: tuple,
|
|
719
|
+
): ...
|
|
720
|
+
def defineDictionary(sliceId: str, meta: tuple, keyType: TypeInfo, valueType: TypeInfo): ...
|
|
721
|
+
def defineEnum(sliceId: str, type: Type, meta: tuple, enumerators: dict): ...
|
|
722
|
+
def defineException(
|
|
723
|
+
sliceId: str, type: Type[BaseException], meta: tuple, base: Type[BaseException] | None, members: tuple
|
|
724
|
+
): ...
|
|
725
|
+
def defineSequence(sliceId: str, meta: tuple, elementType: TypeInfo): ...
|
|
726
|
+
def defineStruct(sliceId: str, type: Type, meta: tuple, members: tuple): ...
|
|
727
|
+
|
|
728
|
+
class TypeInfo: ...
|
|
729
|
+
|
|
730
|
+
_t_string: TypeInfo
|
|
731
|
+
_t_short: TypeInfo
|
|
732
|
+
_t_bool: TypeInfo
|
|
733
|
+
_t_int: TypeInfo
|
|
734
|
+
_t_long: TypeInfo
|
|
735
|
+
_t_byte: TypeInfo
|
|
736
|
+
_t_double: TypeInfo
|
|
737
|
+
_t_float: TypeInfo
|
|
738
|
+
_t_UnknownSlicedValue: TypeInfo
|
|
739
|
+
_t_ObjectPrx: TypeInfo
|
|
740
|
+
_t_Value: TypeInfo
|