zeroc-ice 3.8.0__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.
- Ice/BTEndpointType.py +7 -0
- Ice/BTSEndpointType.py +7 -0
- Ice/Blobject.py +1 -1
- Ice/Communicator.py +130 -118
- Ice/CompressBatch.py +12 -12
- Ice/Current.py +5 -6
- Ice/EndpointSelectionType.py +8 -8
- Ice/EventLoopAdapter.py +4 -4
- Ice/Exception.py +6 -8
- Ice/FormatType.py +8 -1
- Ice/Future.py +78 -78
- Ice/IcePyTypes.py +2 -0
- Ice/ImplicitContext.py +28 -35
- Ice/InitializationData.py +23 -22
- Ice/InvocationFuture.py +31 -34
- Ice/LocalException.py +1 -1
- Ice/LocalExceptions.py +82 -94
- Ice/LogMessageType.py +16 -15
- Ice/Logger.py +10 -10
- Ice/Object.py +22 -17
- Ice/ObjectAdapter.py +200 -167
- Ice/ObjectPrx.py +196 -202
- Ice/OperationMode.py +19 -14
- Ice/ProcessLogger.py +18 -2
- Ice/Properties.py +63 -79
- Ice/Proxy.py +73 -10
- Ice/ReplyStatus.py +42 -35
- Ice/SSLEndpointType.py +7 -0
- Ice/ServantLocator.py +30 -35
- Ice/SliceInfo.py +3 -3
- Ice/SlicedData.py +1 -1
- Ice/TCPEndpointType.py +7 -0
- Ice/ToStringMode.py +19 -19
- Ice/UDPEndpointType.py +7 -0
- Ice/URIEndpointType.py +7 -0
- Ice/UnknownSlicedValue.py +11 -3
- Ice/UserException.py +1 -1
- Ice/Util.py +27 -26
- Ice/Value.py +7 -7
- Ice/WSEndpointType.py +7 -0
- Ice/WSSEndpointType.py +7 -0
- Ice/__init__.py +2 -0
- Ice/iAPEndpointType.py +7 -0
- Ice/iAPSEndpointType.py +7 -0
- IceGrid/LoadSample.py +12 -12
- IceGrid/ServerState.py +29 -25
- IcePy-stubs/__init__.pyi +151 -152
- IcePy.cp312-win_amd64.pdb +0 -0
- IcePy.cp312-win_amd64.pyd +0 -0
- {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/METADATA +1 -1
- {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/RECORD +54 -54
- {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/WHEEL +0 -0
- {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/entry_points.txt +0 -0
- {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/top_level.txt +0 -0
Ice/Object.py
CHANGED
|
@@ -72,62 +72,67 @@ class Object:
|
|
|
72
72
|
|
|
73
73
|
def ice_isA(self, id: str, current: Current) -> bool | Awaitable[bool]:
|
|
74
74
|
"""
|
|
75
|
-
|
|
75
|
+
Tests whether this object supports a specific Slice interface.
|
|
76
76
|
|
|
77
77
|
Parameters
|
|
78
78
|
----------
|
|
79
79
|
id : str
|
|
80
|
-
The Slice
|
|
80
|
+
The type ID of the Slice interface to test against.
|
|
81
81
|
current : Current
|
|
82
|
-
The
|
|
82
|
+
The Current object of the incoming request.
|
|
83
83
|
|
|
84
84
|
Returns
|
|
85
85
|
-------
|
|
86
|
-
bool
|
|
87
|
-
True if
|
|
86
|
+
bool | Awaitable[bool]
|
|
87
|
+
``True`` if this object implements the Slice interface specified by ``typeId`` or implements a derived
|
|
88
|
+
interface, ``False`` otherwise.
|
|
88
89
|
"""
|
|
89
90
|
return id in self._ice_ids
|
|
90
91
|
|
|
91
92
|
def ice_ping(self, current: Current) -> None | Awaitable[None]:
|
|
92
93
|
"""
|
|
93
|
-
|
|
94
|
+
Tests whether this object can be reached.
|
|
94
95
|
|
|
95
96
|
Parameters
|
|
96
97
|
----------
|
|
97
98
|
current : Current
|
|
98
|
-
The
|
|
99
|
+
The Current object of the incoming request.
|
|
100
|
+
|
|
101
|
+
Returns
|
|
102
|
+
-------
|
|
103
|
+
None | Awaitable[None]
|
|
99
104
|
"""
|
|
100
105
|
pass
|
|
101
106
|
|
|
102
107
|
def ice_ids(self, current: Current) -> Sequence[str] | Awaitable[Sequence[str]]:
|
|
103
108
|
"""
|
|
104
|
-
|
|
109
|
+
Returns the Slice interfaces supported by this object as a list of Slice type IDs.
|
|
105
110
|
|
|
106
111
|
Parameters
|
|
107
112
|
----------
|
|
108
113
|
current : Current
|
|
109
|
-
The
|
|
114
|
+
The Current object of the incoming request.
|
|
110
115
|
|
|
111
116
|
Returns
|
|
112
117
|
-------
|
|
113
|
-
Sequence[str]
|
|
114
|
-
|
|
118
|
+
Sequence[str] | Awaitable[Sequence[str]]
|
|
119
|
+
The Slice type IDs of the interfaces supported by this object, in alphabetical order.
|
|
115
120
|
"""
|
|
116
121
|
return self._ice_ids
|
|
117
122
|
|
|
118
123
|
def ice_id(self, current: Current) -> str | Awaitable[str]:
|
|
119
124
|
"""
|
|
120
|
-
|
|
125
|
+
Returns the type ID of the most-derived Slice interface supported by this object.
|
|
121
126
|
|
|
122
127
|
Parameters
|
|
123
128
|
----------
|
|
124
129
|
current : Current
|
|
125
|
-
The
|
|
130
|
+
The Current object of the incoming request.
|
|
126
131
|
|
|
127
132
|
Returns
|
|
128
133
|
-------
|
|
129
|
-
str
|
|
130
|
-
The type ID.
|
|
134
|
+
str | Awaitable[str]
|
|
135
|
+
The Slice type ID of the most-derived interface.
|
|
131
136
|
"""
|
|
132
137
|
# Call ice_staticId() on self to get the value from the most-derived class.
|
|
133
138
|
return self.ice_staticId()
|
|
@@ -135,11 +140,11 @@ class Object:
|
|
|
135
140
|
@staticmethod
|
|
136
141
|
def ice_staticId() -> str:
|
|
137
142
|
"""
|
|
138
|
-
|
|
143
|
+
Returns the type ID of the associated Slice interface.
|
|
139
144
|
|
|
140
145
|
Returns
|
|
141
146
|
-------
|
|
142
147
|
str
|
|
143
|
-
The
|
|
148
|
+
The return value is always ``"::Ice::Object"``.
|
|
144
149
|
"""
|
|
145
150
|
return "::Ice::Object"
|