zeroc-ice 3.7.11__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.
Files changed (142) hide show
  1. Glacier2/Metrics_ice.py +82 -0
  2. Glacier2/PermissionsVerifierF_ice.py +32 -0
  3. Glacier2/PermissionsVerifier_ice.py +284 -0
  4. Glacier2/RouterF_ice.py +28 -0
  5. Glacier2/Router_ice.py +618 -0
  6. Glacier2/SSLInfo_ice.py +179 -0
  7. Glacier2/Session_ice.py +1103 -0
  8. Glacier2/__init__.py +226 -0
  9. Ice/BuiltinSequences_ice.py +65 -0
  10. Ice/CommunicatorF_ice.py +27 -0
  11. Ice/Communicator_ice.py +469 -0
  12. Ice/ConnectionF_ice.py +33 -0
  13. Ice/Connection_ice.py +680 -0
  14. Ice/Current_ice.py +175 -0
  15. Ice/EndpointF_ice.py +45 -0
  16. Ice/EndpointTypes_ice.py +54 -0
  17. Ice/Endpoint_ice.py +304 -0
  18. Ice/FacetMap_ice.py +27 -0
  19. Ice/Identity_ice.py +133 -0
  20. Ice/ImplicitContextF_ice.py +27 -0
  21. Ice/ImplicitContext_ice.py +119 -0
  22. Ice/InstrumentationF_ice.py +38 -0
  23. Ice/Instrumentation_ice.py +566 -0
  24. Ice/LocalException_ice.py +1715 -0
  25. Ice/LocatorF_ice.py +32 -0
  26. Ice/Locator_ice.py +728 -0
  27. Ice/LoggerF_ice.py +27 -0
  28. Ice/Logger_ice.py +96 -0
  29. Ice/Metrics_ice.py +864 -0
  30. Ice/ObjectAdapterF_ice.py +27 -0
  31. Ice/ObjectAdapter_ice.py +461 -0
  32. Ice/ObjectFactory_ice.py +68 -0
  33. Ice/PluginF_ice.py +30 -0
  34. Ice/Plugin_ice.py +136 -0
  35. Ice/ProcessF_ice.py +28 -0
  36. Ice/Process_ice.py +175 -0
  37. Ice/PropertiesAdmin_ice.py +247 -0
  38. Ice/PropertiesF_ice.py +31 -0
  39. Ice/Properties_ice.py +199 -0
  40. Ice/Py3/IceFuture.py +52 -0
  41. Ice/Py3/__init__.py +3 -0
  42. Ice/RemoteLogger_ice.py +617 -0
  43. Ice/RouterF_ice.py +28 -0
  44. Ice/Router_ice.py +350 -0
  45. Ice/ServantLocatorF_ice.py +27 -0
  46. Ice/ServantLocator_ice.py +110 -0
  47. Ice/SliceChecksumDict_ice.py +29 -0
  48. Ice/ValueFactory_ice.py +125 -0
  49. Ice/Version_ice.py +217 -0
  50. Ice/__init__.py +2008 -0
  51. IceBox/IceBox_ice.py +644 -0
  52. IceBox/__init__.py +10 -0
  53. IceGrid/Admin_ice.py +6662 -0
  54. IceGrid/Descriptor_ice.py +1795 -0
  55. IceGrid/Exception_ice.py +592 -0
  56. IceGrid/FileParser_ice.py +171 -0
  57. IceGrid/PluginFacade_ice.py +288 -0
  58. IceGrid/Registry_ice.py +985 -0
  59. IceGrid/Session_ice.py +406 -0
  60. IceGrid/UserAccountMapper_ice.py +166 -0
  61. IceGrid/__init__.py +17 -0
  62. IceMX/__init__.py +12 -0
  63. IcePatch2/FileInfo_ice.py +287 -0
  64. IcePatch2/FileServer_ice.py +555 -0
  65. IcePatch2/__init__.py +11 -0
  66. IcePy.cpython-314-darwin.so +0 -0
  67. IceStorm/IceStorm_ice.py +1265 -0
  68. IceStorm/Metrics_ice.py +106 -0
  69. IceStorm/__init__.py +10 -0
  70. slice/Glacier2/Metrics.ice +88 -0
  71. slice/Glacier2/PermissionsVerifier.ice +111 -0
  72. slice/Glacier2/PermissionsVerifierF.ice +30 -0
  73. slice/Glacier2/Router.ice +186 -0
  74. slice/Glacier2/RouterF.ice +29 -0
  75. slice/Glacier2/SSLInfo.ice +59 -0
  76. slice/Glacier2/Session.ice +274 -0
  77. slice/Ice/BuiltinSequences.ice +59 -0
  78. slice/Ice/Communicator.ice +676 -0
  79. slice/Ice/CommunicatorF.ice +31 -0
  80. slice/Ice/Connection.ice +516 -0
  81. slice/Ice/ConnectionF.ice +33 -0
  82. slice/Ice/Current.ice +170 -0
  83. slice/Ice/Endpoint.ice +291 -0
  84. slice/Ice/EndpointF.ice +43 -0
  85. slice/Ice/EndpointTypes.ice +48 -0
  86. slice/Ice/FacetMap.ice +36 -0
  87. slice/Ice/Identity.ice +75 -0
  88. slice/Ice/ImplicitContext.ice +119 -0
  89. slice/Ice/ImplicitContextF.ice +30 -0
  90. slice/Ice/Instrumentation.ice +509 -0
  91. slice/Ice/InstrumentationF.ice +38 -0
  92. slice/Ice/LocalException.ice +1040 -0
  93. slice/Ice/Locator.ice +239 -0
  94. slice/Ice/LocatorF.ice +32 -0
  95. slice/Ice/Logger.ice +99 -0
  96. slice/Ice/LoggerF.ice +31 -0
  97. slice/Ice/Metrics.ice +436 -0
  98. slice/Ice/ObjectAdapter.ice +710 -0
  99. slice/Ice/ObjectAdapterF.ice +31 -0
  100. slice/Ice/ObjectFactory.ice +71 -0
  101. slice/Ice/Plugin.ice +131 -0
  102. slice/Ice/PluginF.ice +36 -0
  103. slice/Ice/Process.ice +64 -0
  104. slice/Ice/ProcessF.ice +31 -0
  105. slice/Ice/Properties.ice +244 -0
  106. slice/Ice/PropertiesAdmin.ice +87 -0
  107. slice/Ice/PropertiesF.ice +32 -0
  108. slice/Ice/RemoteLogger.ice +226 -0
  109. slice/Ice/Router.ice +103 -0
  110. slice/Ice/RouterF.ice +31 -0
  111. slice/Ice/ServantLocator.ice +136 -0
  112. slice/Ice/ServantLocatorF.ice +31 -0
  113. slice/Ice/SliceChecksumDict.ice +36 -0
  114. slice/Ice/ValueFactory.ice +133 -0
  115. slice/Ice/Version.ice +51 -0
  116. slice/IceBT/ConnectionInfo.ice +59 -0
  117. slice/IceBT/EndpointInfo.ice +57 -0
  118. slice/IceBT/Types.ice +45 -0
  119. slice/IceBox/IceBox.ice +216 -0
  120. slice/IceGrid/Admin.ice +1957 -0
  121. slice/IceGrid/Descriptor.ice +1094 -0
  122. slice/IceGrid/Exception.ice +396 -0
  123. slice/IceGrid/FileParser.ice +72 -0
  124. slice/IceGrid/PluginFacade.ice +329 -0
  125. slice/IceGrid/Registry.ice +269 -0
  126. slice/IceGrid/Session.ice +128 -0
  127. slice/IceGrid/UserAccountMapper.ice +69 -0
  128. slice/IceIAP/ConnectionInfo.ice +74 -0
  129. slice/IceIAP/EndpointInfo.ice +68 -0
  130. slice/IcePatch2/FileInfo.ice +85 -0
  131. slice/IcePatch2/FileServer.ice +191 -0
  132. slice/IceSSL/ConnectionInfo.ice +54 -0
  133. slice/IceSSL/ConnectionInfoF.ice +31 -0
  134. slice/IceSSL/EndpointInfo.ice +45 -0
  135. slice/IceStorm/IceStorm.ice +414 -0
  136. slice/IceStorm/Metrics.ice +83 -0
  137. slice2py.py +21 -0
  138. zeroc_ice-3.7.11.dist-info/METADATA +97 -0
  139. zeroc_ice-3.7.11.dist-info/RECORD +142 -0
  140. zeroc_ice-3.7.11.dist-info/WHEEL +5 -0
  141. zeroc_ice-3.7.11.dist-info/entry_points.txt +2 -0
  142. zeroc_ice-3.7.11.dist-info/top_level.txt +10 -0
Ice/Locator_ice.py ADDED
@@ -0,0 +1,728 @@
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 `Locator.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.Identity_ice
20
+ import Ice.Process_ice
21
+
22
+ # Included module Ice
23
+ _M_Ice = Ice.openModule('Ice')
24
+
25
+ # Start of module Ice
26
+ __name__ = 'Ice'
27
+
28
+ if 'AdapterNotFoundException' not in _M_Ice.__dict__:
29
+ _M_Ice.AdapterNotFoundException = Ice.createTempClass()
30
+ class AdapterNotFoundException(Ice.UserException):
31
+ """
32
+ This exception is raised if an adapter cannot be found.
33
+ """
34
+ def __init__(self):
35
+ pass
36
+
37
+ def __str__(self):
38
+ return IcePy.stringifyException(self)
39
+
40
+ __repr__ = __str__
41
+
42
+ _ice_id = '::Ice::AdapterNotFoundException'
43
+
44
+ _M_Ice._t_AdapterNotFoundException = IcePy.defineException('::Ice::AdapterNotFoundException', AdapterNotFoundException, (), False, None, ())
45
+ AdapterNotFoundException._ice_type = _M_Ice._t_AdapterNotFoundException
46
+
47
+ _M_Ice.AdapterNotFoundException = AdapterNotFoundException
48
+ del AdapterNotFoundException
49
+
50
+ if 'InvalidReplicaGroupIdException' not in _M_Ice.__dict__:
51
+ _M_Ice.InvalidReplicaGroupIdException = Ice.createTempClass()
52
+ class InvalidReplicaGroupIdException(Ice.UserException):
53
+ """
54
+ This exception is raised if the replica group provided by the
55
+ server is invalid.
56
+ """
57
+ def __init__(self):
58
+ pass
59
+
60
+ def __str__(self):
61
+ return IcePy.stringifyException(self)
62
+
63
+ __repr__ = __str__
64
+
65
+ _ice_id = '::Ice::InvalidReplicaGroupIdException'
66
+
67
+ _M_Ice._t_InvalidReplicaGroupIdException = IcePy.defineException('::Ice::InvalidReplicaGroupIdException', InvalidReplicaGroupIdException, (), False, None, ())
68
+ InvalidReplicaGroupIdException._ice_type = _M_Ice._t_InvalidReplicaGroupIdException
69
+
70
+ _M_Ice.InvalidReplicaGroupIdException = InvalidReplicaGroupIdException
71
+ del InvalidReplicaGroupIdException
72
+
73
+ if 'AdapterAlreadyActiveException' not in _M_Ice.__dict__:
74
+ _M_Ice.AdapterAlreadyActiveException = Ice.createTempClass()
75
+ class AdapterAlreadyActiveException(Ice.UserException):
76
+ """
77
+ This exception is raised if a server tries to set endpoints for
78
+ an adapter that is already active.
79
+ """
80
+ def __init__(self):
81
+ pass
82
+
83
+ def __str__(self):
84
+ return IcePy.stringifyException(self)
85
+
86
+ __repr__ = __str__
87
+
88
+ _ice_id = '::Ice::AdapterAlreadyActiveException'
89
+
90
+ _M_Ice._t_AdapterAlreadyActiveException = IcePy.defineException('::Ice::AdapterAlreadyActiveException', AdapterAlreadyActiveException, (), False, None, ())
91
+ AdapterAlreadyActiveException._ice_type = _M_Ice._t_AdapterAlreadyActiveException
92
+
93
+ _M_Ice.AdapterAlreadyActiveException = AdapterAlreadyActiveException
94
+ del AdapterAlreadyActiveException
95
+
96
+ if 'ObjectNotFoundException' not in _M_Ice.__dict__:
97
+ _M_Ice.ObjectNotFoundException = Ice.createTempClass()
98
+ class ObjectNotFoundException(Ice.UserException):
99
+ """
100
+ This exception is raised if an object cannot be found.
101
+ """
102
+ def __init__(self):
103
+ pass
104
+
105
+ def __str__(self):
106
+ return IcePy.stringifyException(self)
107
+
108
+ __repr__ = __str__
109
+
110
+ _ice_id = '::Ice::ObjectNotFoundException'
111
+
112
+ _M_Ice._t_ObjectNotFoundException = IcePy.defineException('::Ice::ObjectNotFoundException', ObjectNotFoundException, (), False, None, ())
113
+ ObjectNotFoundException._ice_type = _M_Ice._t_ObjectNotFoundException
114
+
115
+ _M_Ice.ObjectNotFoundException = ObjectNotFoundException
116
+ del ObjectNotFoundException
117
+
118
+ if 'ServerNotFoundException' not in _M_Ice.__dict__:
119
+ _M_Ice.ServerNotFoundException = Ice.createTempClass()
120
+ class ServerNotFoundException(Ice.UserException):
121
+ """
122
+ This exception is raised if a server cannot be found.
123
+ """
124
+ def __init__(self):
125
+ pass
126
+
127
+ def __str__(self):
128
+ return IcePy.stringifyException(self)
129
+
130
+ __repr__ = __str__
131
+
132
+ _ice_id = '::Ice::ServerNotFoundException'
133
+
134
+ _M_Ice._t_ServerNotFoundException = IcePy.defineException('::Ice::ServerNotFoundException', ServerNotFoundException, (), False, None, ())
135
+ ServerNotFoundException._ice_type = _M_Ice._t_ServerNotFoundException
136
+
137
+ _M_Ice.ServerNotFoundException = ServerNotFoundException
138
+ del ServerNotFoundException
139
+
140
+ if 'LocatorRegistry' not in _M_Ice.__dict__:
141
+ _M_Ice._t_LocatorRegistryDisp = IcePy.declareClass('::Ice::LocatorRegistry')
142
+ _M_Ice._t_LocatorRegistryPrx = IcePy.declareProxy('::Ice::LocatorRegistry')
143
+
144
+ _M_Ice._t_Locator = IcePy.defineValue('::Ice::Locator', Ice.Value, -1, (), False, True, None, ())
145
+
146
+ if 'LocatorPrx' not in _M_Ice.__dict__:
147
+ _M_Ice.LocatorPrx = Ice.createTempClass()
148
+ class LocatorPrx(Ice.ObjectPrx):
149
+
150
+ """
151
+ Find an object by identity and return a proxy that contains
152
+ the adapter ID or endpoints which can be used to access the
153
+ object.
154
+ Arguments:
155
+ id -- The identity.
156
+ context -- The request context for the invocation.
157
+ Returns: The proxy, or null if the object is not active.
158
+ Throws:
159
+ ObjectNotFoundException -- Raised if the object cannot be found.
160
+ """
161
+ def findObjectById(self, id, context=None):
162
+ return _M_Ice.Locator._op_findObjectById.invoke(self, ((id, ), context))
163
+
164
+ """
165
+ Find an object by identity and return a proxy that contains
166
+ the adapter ID or endpoints which can be used to access the
167
+ object.
168
+ Arguments:
169
+ id -- The identity.
170
+ context -- The request context for the invocation.
171
+ Returns: A future object for the invocation.
172
+ """
173
+ def findObjectByIdAsync(self, id, context=None):
174
+ return _M_Ice.Locator._op_findObjectById.invokeAsync(self, ((id, ), context))
175
+
176
+ """
177
+ Find an object by identity and return a proxy that contains
178
+ the adapter ID or endpoints which can be used to access the
179
+ object.
180
+ Arguments:
181
+ id -- The identity.
182
+ _response -- The asynchronous response callback.
183
+ _ex -- The asynchronous exception callback.
184
+ _sent -- The asynchronous sent callback.
185
+ context -- The request context for the invocation.
186
+ Returns: An asynchronous result object for the invocation.
187
+ """
188
+ def begin_findObjectById(self, id, _response=None, _ex=None, _sent=None, context=None):
189
+ return _M_Ice.Locator._op_findObjectById.begin(self, ((id, ), _response, _ex, _sent, context))
190
+
191
+ """
192
+ Find an object by identity and return a proxy that contains
193
+ the adapter ID or endpoints which can be used to access the
194
+ object.
195
+ Arguments:
196
+ id -- The identity.
197
+ Returns: The proxy, or null if the object is not active.
198
+ Throws:
199
+ ObjectNotFoundException -- Raised if the object cannot be found.
200
+ """
201
+ def end_findObjectById(self, _r):
202
+ return _M_Ice.Locator._op_findObjectById.end(self, _r)
203
+
204
+ """
205
+ Find an adapter by id and return a proxy that contains
206
+ its endpoints.
207
+ Arguments:
208
+ id -- The adapter id.
209
+ context -- The request context for the invocation.
210
+ Returns: The adapter proxy, or null if the adapter is not active.
211
+ Throws:
212
+ AdapterNotFoundException -- Raised if the adapter cannot be found.
213
+ """
214
+ def findAdapterById(self, id, context=None):
215
+ return _M_Ice.Locator._op_findAdapterById.invoke(self, ((id, ), context))
216
+
217
+ """
218
+ Find an adapter by id and return a proxy that contains
219
+ its endpoints.
220
+ Arguments:
221
+ id -- The adapter id.
222
+ context -- The request context for the invocation.
223
+ Returns: A future object for the invocation.
224
+ """
225
+ def findAdapterByIdAsync(self, id, context=None):
226
+ return _M_Ice.Locator._op_findAdapterById.invokeAsync(self, ((id, ), context))
227
+
228
+ """
229
+ Find an adapter by id and return a proxy that contains
230
+ its endpoints.
231
+ Arguments:
232
+ id -- The adapter id.
233
+ _response -- The asynchronous response callback.
234
+ _ex -- The asynchronous exception callback.
235
+ _sent -- The asynchronous sent callback.
236
+ context -- The request context for the invocation.
237
+ Returns: An asynchronous result object for the invocation.
238
+ """
239
+ def begin_findAdapterById(self, id, _response=None, _ex=None, _sent=None, context=None):
240
+ return _M_Ice.Locator._op_findAdapterById.begin(self, ((id, ), _response, _ex, _sent, context))
241
+
242
+ """
243
+ Find an adapter by id and return a proxy that contains
244
+ its endpoints.
245
+ Arguments:
246
+ id -- The adapter id.
247
+ Returns: The adapter proxy, or null if the adapter is not active.
248
+ Throws:
249
+ AdapterNotFoundException -- Raised if the adapter cannot be found.
250
+ """
251
+ def end_findAdapterById(self, _r):
252
+ return _M_Ice.Locator._op_findAdapterById.end(self, _r)
253
+
254
+ """
255
+ Get the locator registry.
256
+ Arguments:
257
+ context -- The request context for the invocation.
258
+ Returns: The locator registry.
259
+ """
260
+ def getRegistry(self, context=None):
261
+ return _M_Ice.Locator._op_getRegistry.invoke(self, ((), context))
262
+
263
+ """
264
+ Get the locator registry.
265
+ Arguments:
266
+ context -- The request context for the invocation.
267
+ Returns: A future object for the invocation.
268
+ """
269
+ def getRegistryAsync(self, context=None):
270
+ return _M_Ice.Locator._op_getRegistry.invokeAsync(self, ((), context))
271
+
272
+ """
273
+ Get the locator registry.
274
+ Arguments:
275
+ _response -- The asynchronous response callback.
276
+ _ex -- The asynchronous exception callback.
277
+ _sent -- The asynchronous sent callback.
278
+ context -- The request context for the invocation.
279
+ Returns: An asynchronous result object for the invocation.
280
+ """
281
+ def begin_getRegistry(self, _response=None, _ex=None, _sent=None, context=None):
282
+ return _M_Ice.Locator._op_getRegistry.begin(self, ((), _response, _ex, _sent, context))
283
+
284
+ """
285
+ Get the locator registry.
286
+ Arguments:
287
+ Returns: The locator registry.
288
+ """
289
+ def end_getRegistry(self, _r):
290
+ return _M_Ice.Locator._op_getRegistry.end(self, _r)
291
+
292
+ @staticmethod
293
+ def checkedCast(proxy, facetOrContext=None, context=None):
294
+ return _M_Ice.LocatorPrx.ice_checkedCast(proxy, '::Ice::Locator', facetOrContext, context)
295
+
296
+ @staticmethod
297
+ def uncheckedCast(proxy, facet=None):
298
+ return _M_Ice.LocatorPrx.ice_uncheckedCast(proxy, facet)
299
+
300
+ @staticmethod
301
+ def ice_staticId():
302
+ return '::Ice::Locator'
303
+ _M_Ice._t_LocatorPrx = IcePy.defineProxy('::Ice::Locator', LocatorPrx)
304
+
305
+ _M_Ice.LocatorPrx = LocatorPrx
306
+ del LocatorPrx
307
+
308
+ _M_Ice.Locator = Ice.createTempClass()
309
+ class Locator(Ice.Object):
310
+
311
+ def ice_ids(self, current=None):
312
+ return ('::Ice::Locator', '::Ice::Object')
313
+
314
+ def ice_id(self, current=None):
315
+ return '::Ice::Locator'
316
+
317
+ @staticmethod
318
+ def ice_staticId():
319
+ return '::Ice::Locator'
320
+
321
+ def findObjectById(self, id, current=None):
322
+ """
323
+ Find an object by identity and return a proxy that contains
324
+ the adapter ID or endpoints which can be used to access the
325
+ object.
326
+ Arguments:
327
+ id -- The identity.
328
+ current -- The Current object for the invocation.
329
+ Returns: A future object for the invocation.
330
+ Throws:
331
+ ObjectNotFoundException -- Raised if the object cannot be found.
332
+ """
333
+ raise NotImplementedError("servant method 'findObjectById' not implemented")
334
+
335
+ def findAdapterById(self, id, current=None):
336
+ """
337
+ Find an adapter by id and return a proxy that contains
338
+ its endpoints.
339
+ Arguments:
340
+ id -- The adapter id.
341
+ current -- The Current object for the invocation.
342
+ Returns: A future object for the invocation.
343
+ Throws:
344
+ AdapterNotFoundException -- Raised if the adapter cannot be found.
345
+ """
346
+ raise NotImplementedError("servant method 'findAdapterById' not implemented")
347
+
348
+ def getRegistry(self, current=None):
349
+ """
350
+ Get the locator registry.
351
+ Arguments:
352
+ current -- The Current object for the invocation.
353
+ Returns: A future object for the invocation.
354
+ """
355
+ raise NotImplementedError("servant method 'getRegistry' not implemented")
356
+
357
+ def __str__(self):
358
+ return IcePy.stringify(self, _M_Ice._t_LocatorDisp)
359
+
360
+ __repr__ = __str__
361
+
362
+ _M_Ice._t_LocatorDisp = IcePy.defineClass('::Ice::Locator', Locator, (), None, ())
363
+ Locator._ice_type = _M_Ice._t_LocatorDisp
364
+
365
+ Locator._op_findObjectById = IcePy.Operation('findObjectById', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, None, (), (((), _M_Ice._t_Identity, False, 0),), (), ((), IcePy._t_ObjectPrx, False, 0), (_M_Ice._t_ObjectNotFoundException,))
366
+ Locator._op_findAdapterById = IcePy.Operation('findAdapterById', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, None, (), (((), IcePy._t_string, False, 0),), (), ((), IcePy._t_ObjectPrx, False, 0), (_M_Ice._t_AdapterNotFoundException,))
367
+ Locator._op_getRegistry = IcePy.Operation('getRegistry', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_Ice._t_LocatorRegistryPrx, False, 0), ())
368
+
369
+ _M_Ice.Locator = Locator
370
+ del Locator
371
+
372
+ _M_Ice._t_LocatorRegistry = IcePy.defineValue('::Ice::LocatorRegistry', Ice.Value, -1, (), False, True, None, ())
373
+
374
+ if 'LocatorRegistryPrx' not in _M_Ice.__dict__:
375
+ _M_Ice.LocatorRegistryPrx = Ice.createTempClass()
376
+ class LocatorRegistryPrx(Ice.ObjectPrx):
377
+
378
+ """
379
+ Set the adapter endpoints with the locator registry.
380
+ Arguments:
381
+ id -- The adapter id.
382
+ proxy -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
383
+ context -- The request context for the invocation.
384
+ Throws:
385
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
386
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
387
+ """
388
+ def setAdapterDirectProxy(self, id, proxy, context=None):
389
+ return _M_Ice.LocatorRegistry._op_setAdapterDirectProxy.invoke(self, ((id, proxy), context))
390
+
391
+ """
392
+ Set the adapter endpoints with the locator registry.
393
+ Arguments:
394
+ id -- The adapter id.
395
+ proxy -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
396
+ context -- The request context for the invocation.
397
+ Returns: A future object for the invocation.
398
+ """
399
+ def setAdapterDirectProxyAsync(self, id, proxy, context=None):
400
+ return _M_Ice.LocatorRegistry._op_setAdapterDirectProxy.invokeAsync(self, ((id, proxy), context))
401
+
402
+ """
403
+ Set the adapter endpoints with the locator registry.
404
+ Arguments:
405
+ id -- The adapter id.
406
+ proxy -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
407
+ _response -- The asynchronous response callback.
408
+ _ex -- The asynchronous exception callback.
409
+ _sent -- The asynchronous sent callback.
410
+ context -- The request context for the invocation.
411
+ Returns: An asynchronous result object for the invocation.
412
+ """
413
+ def begin_setAdapterDirectProxy(self, id, proxy, _response=None, _ex=None, _sent=None, context=None):
414
+ return _M_Ice.LocatorRegistry._op_setAdapterDirectProxy.begin(self, ((id, proxy), _response, _ex, _sent, context))
415
+
416
+ """
417
+ Set the adapter endpoints with the locator registry.
418
+ Arguments:
419
+ id -- The adapter id.
420
+ proxy -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
421
+ Throws:
422
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
423
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
424
+ """
425
+ def end_setAdapterDirectProxy(self, _r):
426
+ return _M_Ice.LocatorRegistry._op_setAdapterDirectProxy.end(self, _r)
427
+
428
+ """
429
+ Set the adapter endpoints with the locator registry.
430
+ Arguments:
431
+ adapterId -- The adapter id.
432
+ replicaGroupId -- The replica group id.
433
+ p -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
434
+ context -- The request context for the invocation.
435
+ Throws:
436
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
437
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
438
+ InvalidReplicaGroupIdException -- Raised if the given replica group doesn't match the one registered with the locator registry for this object adapter.
439
+ """
440
+ def setReplicatedAdapterDirectProxy(self, adapterId, replicaGroupId, p, context=None):
441
+ return _M_Ice.LocatorRegistry._op_setReplicatedAdapterDirectProxy.invoke(self, ((adapterId, replicaGroupId, p), context))
442
+
443
+ """
444
+ Set the adapter endpoints with the locator registry.
445
+ Arguments:
446
+ adapterId -- The adapter id.
447
+ replicaGroupId -- The replica group id.
448
+ p -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
449
+ context -- The request context for the invocation.
450
+ Returns: A future object for the invocation.
451
+ """
452
+ def setReplicatedAdapterDirectProxyAsync(self, adapterId, replicaGroupId, p, context=None):
453
+ return _M_Ice.LocatorRegistry._op_setReplicatedAdapterDirectProxy.invokeAsync(self, ((adapterId, replicaGroupId, p), context))
454
+
455
+ """
456
+ Set the adapter endpoints with the locator registry.
457
+ Arguments:
458
+ adapterId -- The adapter id.
459
+ replicaGroupId -- The replica group id.
460
+ p -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
461
+ _response -- The asynchronous response callback.
462
+ _ex -- The asynchronous exception callback.
463
+ _sent -- The asynchronous sent callback.
464
+ context -- The request context for the invocation.
465
+ Returns: An asynchronous result object for the invocation.
466
+ """
467
+ def begin_setReplicatedAdapterDirectProxy(self, adapterId, replicaGroupId, p, _response=None, _ex=None, _sent=None, context=None):
468
+ return _M_Ice.LocatorRegistry._op_setReplicatedAdapterDirectProxy.begin(self, ((adapterId, replicaGroupId, p), _response, _ex, _sent, context))
469
+
470
+ """
471
+ Set the adapter endpoints with the locator registry.
472
+ Arguments:
473
+ adapterId -- The adapter id.
474
+ replicaGroupId -- The replica group id.
475
+ p -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
476
+ Throws:
477
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
478
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
479
+ InvalidReplicaGroupIdException -- Raised if the given replica group doesn't match the one registered with the locator registry for this object adapter.
480
+ """
481
+ def end_setReplicatedAdapterDirectProxy(self, _r):
482
+ return _M_Ice.LocatorRegistry._op_setReplicatedAdapterDirectProxy.end(self, _r)
483
+
484
+ """
485
+ Set the process proxy for a server.
486
+ Arguments:
487
+ id -- The server id.
488
+ proxy -- The process proxy.
489
+ context -- The request context for the invocation.
490
+ Throws:
491
+ ServerNotFoundException -- Raised if the server cannot be found.
492
+ """
493
+ def setServerProcessProxy(self, id, proxy, context=None):
494
+ return _M_Ice.LocatorRegistry._op_setServerProcessProxy.invoke(self, ((id, proxy), context))
495
+
496
+ """
497
+ Set the process proxy for a server.
498
+ Arguments:
499
+ id -- The server id.
500
+ proxy -- The process proxy.
501
+ context -- The request context for the invocation.
502
+ Returns: A future object for the invocation.
503
+ """
504
+ def setServerProcessProxyAsync(self, id, proxy, context=None):
505
+ return _M_Ice.LocatorRegistry._op_setServerProcessProxy.invokeAsync(self, ((id, proxy), context))
506
+
507
+ """
508
+ Set the process proxy for a server.
509
+ Arguments:
510
+ id -- The server id.
511
+ proxy -- The process proxy.
512
+ _response -- The asynchronous response callback.
513
+ _ex -- The asynchronous exception callback.
514
+ _sent -- The asynchronous sent callback.
515
+ context -- The request context for the invocation.
516
+ Returns: An asynchronous result object for the invocation.
517
+ """
518
+ def begin_setServerProcessProxy(self, id, proxy, _response=None, _ex=None, _sent=None, context=None):
519
+ return _M_Ice.LocatorRegistry._op_setServerProcessProxy.begin(self, ((id, proxy), _response, _ex, _sent, context))
520
+
521
+ """
522
+ Set the process proxy for a server.
523
+ Arguments:
524
+ id -- The server id.
525
+ proxy -- The process proxy.
526
+ Throws:
527
+ ServerNotFoundException -- Raised if the server cannot be found.
528
+ """
529
+ def end_setServerProcessProxy(self, _r):
530
+ return _M_Ice.LocatorRegistry._op_setServerProcessProxy.end(self, _r)
531
+
532
+ @staticmethod
533
+ def checkedCast(proxy, facetOrContext=None, context=None):
534
+ return _M_Ice.LocatorRegistryPrx.ice_checkedCast(proxy, '::Ice::LocatorRegistry', facetOrContext, context)
535
+
536
+ @staticmethod
537
+ def uncheckedCast(proxy, facet=None):
538
+ return _M_Ice.LocatorRegistryPrx.ice_uncheckedCast(proxy, facet)
539
+
540
+ @staticmethod
541
+ def ice_staticId():
542
+ return '::Ice::LocatorRegistry'
543
+ _M_Ice._t_LocatorRegistryPrx = IcePy.defineProxy('::Ice::LocatorRegistry', LocatorRegistryPrx)
544
+
545
+ _M_Ice.LocatorRegistryPrx = LocatorRegistryPrx
546
+ del LocatorRegistryPrx
547
+
548
+ _M_Ice.LocatorRegistry = Ice.createTempClass()
549
+ class LocatorRegistry(Ice.Object):
550
+
551
+ def ice_ids(self, current=None):
552
+ return ('::Ice::LocatorRegistry', '::Ice::Object')
553
+
554
+ def ice_id(self, current=None):
555
+ return '::Ice::LocatorRegistry'
556
+
557
+ @staticmethod
558
+ def ice_staticId():
559
+ return '::Ice::LocatorRegistry'
560
+
561
+ def setAdapterDirectProxy(self, id, proxy, current=None):
562
+ """
563
+ Set the adapter endpoints with the locator registry.
564
+ Arguments:
565
+ id -- The adapter id.
566
+ proxy -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
567
+ current -- The Current object for the invocation.
568
+ Returns: A future object for the invocation.
569
+ Throws:
570
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
571
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
572
+ """
573
+ raise NotImplementedError("servant method 'setAdapterDirectProxy' not implemented")
574
+
575
+ def setReplicatedAdapterDirectProxy(self, adapterId, replicaGroupId, p, current=None):
576
+ """
577
+ Set the adapter endpoints with the locator registry.
578
+ Arguments:
579
+ adapterId -- The adapter id.
580
+ replicaGroupId -- The replica group id.
581
+ p -- The adapter proxy (a dummy direct proxy created by the adapter). The direct proxy contains the adapter endpoints.
582
+ current -- The Current object for the invocation.
583
+ Returns: A future object for the invocation.
584
+ Throws:
585
+ AdapterAlreadyActiveException -- Raised if an adapter with the same id is already active.
586
+ AdapterNotFoundException -- Raised if the adapter cannot be found, or if the locator only allows registered adapters to set their active proxy and the adapter is not registered with the locator.
587
+ InvalidReplicaGroupIdException -- Raised if the given replica group doesn't match the one registered with the locator registry for this object adapter.
588
+ """
589
+ raise NotImplementedError("servant method 'setReplicatedAdapterDirectProxy' not implemented")
590
+
591
+ def setServerProcessProxy(self, id, proxy, current=None):
592
+ """
593
+ Set the process proxy for a server.
594
+ Arguments:
595
+ id -- The server id.
596
+ proxy -- The process proxy.
597
+ current -- The Current object for the invocation.
598
+ Returns: A future object for the invocation.
599
+ Throws:
600
+ ServerNotFoundException -- Raised if the server cannot be found.
601
+ """
602
+ raise NotImplementedError("servant method 'setServerProcessProxy' not implemented")
603
+
604
+ def __str__(self):
605
+ return IcePy.stringify(self, _M_Ice._t_LocatorRegistryDisp)
606
+
607
+ __repr__ = __str__
608
+
609
+ _M_Ice._t_LocatorRegistryDisp = IcePy.defineClass('::Ice::LocatorRegistry', LocatorRegistry, (), None, ())
610
+ LocatorRegistry._ice_type = _M_Ice._t_LocatorRegistryDisp
611
+
612
+ LocatorRegistry._op_setAdapterDirectProxy = IcePy.Operation('setAdapterDirectProxy', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_ObjectPrx, False, 0)), (), None, (_M_Ice._t_AdapterNotFoundException, _M_Ice._t_AdapterAlreadyActiveException))
613
+ LocatorRegistry._op_setReplicatedAdapterDirectProxy = IcePy.Operation('setReplicatedAdapterDirectProxy', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_ObjectPrx, False, 0)), (), None, (_M_Ice._t_AdapterNotFoundException, _M_Ice._t_AdapterAlreadyActiveException, _M_Ice._t_InvalidReplicaGroupIdException))
614
+ LocatorRegistry._op_setServerProcessProxy = IcePy.Operation('setServerProcessProxy', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, None, (), (((), IcePy._t_string, False, 0), ((), _M_Ice._t_ProcessPrx, False, 0)), (), None, (_M_Ice._t_ServerNotFoundException,))
615
+
616
+ _M_Ice.LocatorRegistry = LocatorRegistry
617
+ del LocatorRegistry
618
+
619
+ _M_Ice._t_LocatorFinder = IcePy.defineValue('::Ice::LocatorFinder', Ice.Value, -1, (), False, True, None, ())
620
+
621
+ if 'LocatorFinderPrx' not in _M_Ice.__dict__:
622
+ _M_Ice.LocatorFinderPrx = Ice.createTempClass()
623
+ class LocatorFinderPrx(Ice.ObjectPrx):
624
+
625
+ """
626
+ Get the locator proxy implemented by the process hosting this
627
+ finder object. The proxy might point to several replicas.
628
+ Arguments:
629
+ context -- The request context for the invocation.
630
+ Returns: The locator proxy.
631
+ """
632
+ def getLocator(self, context=None):
633
+ return _M_Ice.LocatorFinder._op_getLocator.invoke(self, ((), context))
634
+
635
+ """
636
+ Get the locator proxy implemented by the process hosting this
637
+ finder object. The proxy might point to several replicas.
638
+ Arguments:
639
+ context -- The request context for the invocation.
640
+ Returns: A future object for the invocation.
641
+ """
642
+ def getLocatorAsync(self, context=None):
643
+ return _M_Ice.LocatorFinder._op_getLocator.invokeAsync(self, ((), context))
644
+
645
+ """
646
+ Get the locator proxy implemented by the process hosting this
647
+ finder object. The proxy might point to several replicas.
648
+ Arguments:
649
+ _response -- The asynchronous response callback.
650
+ _ex -- The asynchronous exception callback.
651
+ _sent -- The asynchronous sent callback.
652
+ context -- The request context for the invocation.
653
+ Returns: An asynchronous result object for the invocation.
654
+ """
655
+ def begin_getLocator(self, _response=None, _ex=None, _sent=None, context=None):
656
+ return _M_Ice.LocatorFinder._op_getLocator.begin(self, ((), _response, _ex, _sent, context))
657
+
658
+ """
659
+ Get the locator proxy implemented by the process hosting this
660
+ finder object. The proxy might point to several replicas.
661
+ Arguments:
662
+ Returns: The locator proxy.
663
+ """
664
+ def end_getLocator(self, _r):
665
+ return _M_Ice.LocatorFinder._op_getLocator.end(self, _r)
666
+
667
+ @staticmethod
668
+ def checkedCast(proxy, facetOrContext=None, context=None):
669
+ return _M_Ice.LocatorFinderPrx.ice_checkedCast(proxy, '::Ice::LocatorFinder', facetOrContext, context)
670
+
671
+ @staticmethod
672
+ def uncheckedCast(proxy, facet=None):
673
+ return _M_Ice.LocatorFinderPrx.ice_uncheckedCast(proxy, facet)
674
+
675
+ @staticmethod
676
+ def ice_staticId():
677
+ return '::Ice::LocatorFinder'
678
+ _M_Ice._t_LocatorFinderPrx = IcePy.defineProxy('::Ice::LocatorFinder', LocatorFinderPrx)
679
+
680
+ _M_Ice.LocatorFinderPrx = LocatorFinderPrx
681
+ del LocatorFinderPrx
682
+
683
+ _M_Ice.LocatorFinder = Ice.createTempClass()
684
+ class LocatorFinder(Ice.Object):
685
+
686
+ def ice_ids(self, current=None):
687
+ return ('::Ice::LocatorFinder', '::Ice::Object')
688
+
689
+ def ice_id(self, current=None):
690
+ return '::Ice::LocatorFinder'
691
+
692
+ @staticmethod
693
+ def ice_staticId():
694
+ return '::Ice::LocatorFinder'
695
+
696
+ def getLocator(self, current=None):
697
+ """
698
+ Get the locator proxy implemented by the process hosting this
699
+ finder object. The proxy might point to several replicas.
700
+ Arguments:
701
+ current -- The Current object for the invocation.
702
+ Returns: A future object for the invocation.
703
+ """
704
+ raise NotImplementedError("servant method 'getLocator' not implemented")
705
+
706
+ def __str__(self):
707
+ return IcePy.stringify(self, _M_Ice._t_LocatorFinderDisp)
708
+
709
+ __repr__ = __str__
710
+
711
+ _M_Ice._t_LocatorFinderDisp = IcePy.defineClass('::Ice::LocatorFinder', LocatorFinder, (), None, ())
712
+ LocatorFinder._ice_type = _M_Ice._t_LocatorFinderDisp
713
+
714
+ LocatorFinder._op_getLocator = IcePy.Operation('getLocator', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_Ice._t_LocatorPrx, False, 0), ())
715
+
716
+ _M_Ice.LocatorFinder = LocatorFinder
717
+ del LocatorFinder
718
+
719
+ # End of module Ice
720
+
721
+ Ice.sliceChecksums["::Ice::AdapterAlreadyActiveException"] = "bf5f24acc569fea5251d9f8532a83ab8"
722
+ Ice.sliceChecksums["::Ice::AdapterNotFoundException"] = "55f1a93f62d3937d94533ad2894ad9c"
723
+ Ice.sliceChecksums["::Ice::InvalidReplicaGroupIdException"] = "7876104b5711f2b49ae078686a03f"
724
+ Ice.sliceChecksums["::Ice::Locator"] = "5efd321bc74cc794fed432e3f5186d9"
725
+ Ice.sliceChecksums["::Ice::LocatorFinder"] = "19b7a40de7be4cae27f4f8d867bd682"
726
+ Ice.sliceChecksums["::Ice::LocatorRegistry"] = "e9f8ca2c8ce174f9214961e8596b7ed"
727
+ Ice.sliceChecksums["::Ice::ObjectNotFoundException"] = "23fe4ef042d6496b97c4e2313f6c4675"
728
+ Ice.sliceChecksums["::Ice::ServerNotFoundException"] = "bafa988368a55c1471e3c7be16baa74"