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.
Files changed (54) hide show
  1. Ice/BTEndpointType.py +7 -0
  2. Ice/BTSEndpointType.py +7 -0
  3. Ice/Blobject.py +1 -1
  4. Ice/Communicator.py +130 -118
  5. Ice/CompressBatch.py +12 -12
  6. Ice/Current.py +5 -6
  7. Ice/EndpointSelectionType.py +8 -8
  8. Ice/EventLoopAdapter.py +4 -4
  9. Ice/Exception.py +6 -8
  10. Ice/FormatType.py +8 -1
  11. Ice/Future.py +78 -78
  12. Ice/IcePyTypes.py +2 -0
  13. Ice/ImplicitContext.py +28 -35
  14. Ice/InitializationData.py +23 -22
  15. Ice/InvocationFuture.py +31 -34
  16. Ice/LocalException.py +1 -1
  17. Ice/LocalExceptions.py +82 -94
  18. Ice/LogMessageType.py +16 -15
  19. Ice/Logger.py +10 -10
  20. Ice/Object.py +22 -17
  21. Ice/ObjectAdapter.py +200 -167
  22. Ice/ObjectPrx.py +196 -202
  23. Ice/OperationMode.py +19 -14
  24. Ice/ProcessLogger.py +18 -2
  25. Ice/Properties.py +63 -79
  26. Ice/Proxy.py +73 -10
  27. Ice/ReplyStatus.py +42 -35
  28. Ice/SSLEndpointType.py +7 -0
  29. Ice/ServantLocator.py +30 -35
  30. Ice/SliceInfo.py +3 -3
  31. Ice/SlicedData.py +1 -1
  32. Ice/TCPEndpointType.py +7 -0
  33. Ice/ToStringMode.py +19 -19
  34. Ice/UDPEndpointType.py +7 -0
  35. Ice/URIEndpointType.py +7 -0
  36. Ice/UnknownSlicedValue.py +11 -3
  37. Ice/UserException.py +1 -1
  38. Ice/Util.py +27 -26
  39. Ice/Value.py +7 -7
  40. Ice/WSEndpointType.py +7 -0
  41. Ice/WSSEndpointType.py +7 -0
  42. Ice/__init__.py +2 -0
  43. Ice/iAPEndpointType.py +7 -0
  44. Ice/iAPSEndpointType.py +7 -0
  45. IceGrid/LoadSample.py +12 -12
  46. IceGrid/ServerState.py +29 -25
  47. IcePy-stubs/__init__.pyi +151 -152
  48. IcePy.cp312-win_amd64.pdb +0 -0
  49. IcePy.cp312-win_amd64.pyd +0 -0
  50. {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/METADATA +1 -1
  51. {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/RECORD +54 -54
  52. {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/WHEEL +0 -0
  53. {zeroc_ice-3.8.0.dist-info → zeroc_ice-3.8.0.post1.dist-info}/entry_points.txt +0 -0
  54. {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
- Determine whether the target object supports the interface denoted by the given Slice type ID.
75
+ Tests whether this object supports a specific Slice interface.
76
76
 
77
77
  Parameters
78
78
  ----------
79
79
  id : str
80
- The Slice type ID.
80
+ The type ID of the Slice interface to test against.
81
81
  current : Current
82
- The current context.
82
+ The Current object of the incoming request.
83
83
 
84
84
  Returns
85
85
  -------
86
- bool
87
- True if the target object supports the interface, False otherwise.
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
- A reachability test for the target object.
94
+ Tests whether this object can be reached.
94
95
 
95
96
  Parameters
96
97
  ----------
97
98
  current : Current
98
- The current context.
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
- Obtain the type IDs corresponding to the Slice interfaces that are supported by the target object.
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 current context.
114
+ The Current object of the incoming request.
110
115
 
111
116
  Returns
112
117
  -------
113
- Sequence[str]
114
- A list of type IDs.
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
- Obtain the type ID corresponding to the most-derived Slice interface supported by the target object.
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 current context.
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
- Obtain the type ID of the Slice interface.
143
+ Returns the type ID of the associated Slice interface.
139
144
 
140
145
  Returns
141
146
  -------
142
147
  str
143
- The type ID.
148
+ The return value is always ``"::Ice::Object"``.
144
149
  """
145
150
  return "::Ice::Object"