zeroc-ice 3.7.11__cp313-cp313-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.
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-313-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
IceGrid/Session_ice.py ADDED
@@ -0,0 +1,406 @@
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 `Session.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 Glacier2.Session_ice
20
+ import IceGrid.Exception_ice
21
+
22
+ # Included module Ice
23
+ _M_Ice = Ice.openModule('Ice')
24
+
25
+ # Included module Glacier2
26
+ _M_Glacier2 = Ice.openModule('Glacier2')
27
+
28
+ # Included module IceGrid
29
+ _M_IceGrid = Ice.openModule('IceGrid')
30
+
31
+ # Start of module IceGrid
32
+ __name__ = 'IceGrid'
33
+
34
+ _M_IceGrid._t_Session = IcePy.defineValue('::IceGrid::Session', Ice.Value, -1, (), False, True, None, ())
35
+
36
+ if 'SessionPrx' not in _M_IceGrid.__dict__:
37
+ _M_IceGrid.SessionPrx = Ice.createTempClass()
38
+ class SessionPrx(_M_Glacier2.SessionPrx):
39
+
40
+ """
41
+ Keep the session alive. Clients should call this operation
42
+ regularly to prevent the server from reaping the session.
43
+ Arguments:
44
+ context -- The request context for the invocation.
45
+ """
46
+ def keepAlive(self, context=None):
47
+ return _M_IceGrid.Session._op_keepAlive.invoke(self, ((), context))
48
+
49
+ """
50
+ Keep the session alive. Clients should call this operation
51
+ regularly to prevent the server from reaping the session.
52
+ Arguments:
53
+ context -- The request context for the invocation.
54
+ Returns: A future object for the invocation.
55
+ """
56
+ def keepAliveAsync(self, context=None):
57
+ return _M_IceGrid.Session._op_keepAlive.invokeAsync(self, ((), context))
58
+
59
+ """
60
+ Keep the session alive. Clients should call this operation
61
+ regularly to prevent the server from reaping the session.
62
+ Arguments:
63
+ _response -- The asynchronous response callback.
64
+ _ex -- The asynchronous exception callback.
65
+ _sent -- The asynchronous sent callback.
66
+ context -- The request context for the invocation.
67
+ Returns: An asynchronous result object for the invocation.
68
+ """
69
+ def begin_keepAlive(self, _response=None, _ex=None, _sent=None, context=None):
70
+ return _M_IceGrid.Session._op_keepAlive.begin(self, ((), _response, _ex, _sent, context))
71
+
72
+ """
73
+ Keep the session alive. Clients should call this operation
74
+ regularly to prevent the server from reaping the session.
75
+ Arguments:
76
+ """
77
+ def end_keepAlive(self, _r):
78
+ return _M_IceGrid.Session._op_keepAlive.end(self, _r)
79
+
80
+ """
81
+ Allocate an object. Depending on the allocation timeout, this
82
+ operation might hang until the object is available or until the
83
+ timeout is reached.
84
+ Arguments:
85
+ id -- The identity of the object to allocate.
86
+ context -- The request context for the invocation.
87
+ Returns: The proxy of the allocated object.
88
+ Throws:
89
+ AllocationException -- Raised if the object can't be allocated.
90
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
91
+ """
92
+ def allocateObjectById(self, id, context=None):
93
+ return _M_IceGrid.Session._op_allocateObjectById.invoke(self, ((id, ), context))
94
+
95
+ """
96
+ Allocate an object. Depending on the allocation timeout, this
97
+ operation might hang until the object is available or until the
98
+ timeout is reached.
99
+ Arguments:
100
+ id -- The identity of the object to allocate.
101
+ context -- The request context for the invocation.
102
+ Returns: A future object for the invocation.
103
+ """
104
+ def allocateObjectByIdAsync(self, id, context=None):
105
+ return _M_IceGrid.Session._op_allocateObjectById.invokeAsync(self, ((id, ), context))
106
+
107
+ """
108
+ Allocate an object. Depending on the allocation timeout, this
109
+ operation might hang until the object is available or until the
110
+ timeout is reached.
111
+ Arguments:
112
+ id -- The identity of the object to allocate.
113
+ _response -- The asynchronous response callback.
114
+ _ex -- The asynchronous exception callback.
115
+ _sent -- The asynchronous sent callback.
116
+ context -- The request context for the invocation.
117
+ Returns: An asynchronous result object for the invocation.
118
+ """
119
+ def begin_allocateObjectById(self, id, _response=None, _ex=None, _sent=None, context=None):
120
+ return _M_IceGrid.Session._op_allocateObjectById.begin(self, ((id, ), _response, _ex, _sent, context))
121
+
122
+ """
123
+ Allocate an object. Depending on the allocation timeout, this
124
+ operation might hang until the object is available or until the
125
+ timeout is reached.
126
+ Arguments:
127
+ id -- The identity of the object to allocate.
128
+ Returns: The proxy of the allocated object.
129
+ Throws:
130
+ AllocationException -- Raised if the object can't be allocated.
131
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
132
+ """
133
+ def end_allocateObjectById(self, _r):
134
+ return _M_IceGrid.Session._op_allocateObjectById.end(self, _r)
135
+
136
+ """
137
+ Allocate an object with the given type. Depending on the
138
+ allocation timeout, this operation can block until an object
139
+ becomes available or until the timeout is reached.
140
+ Arguments:
141
+ type -- The type of the object.
142
+ context -- The request context for the invocation.
143
+ Returns: The proxy of the allocated object.
144
+ Throws:
145
+ AllocationException -- Raised if the object could not be allocated.
146
+ """
147
+ def allocateObjectByType(self, type, context=None):
148
+ return _M_IceGrid.Session._op_allocateObjectByType.invoke(self, ((type, ), context))
149
+
150
+ """
151
+ Allocate an object with the given type. Depending on the
152
+ allocation timeout, this operation can block until an object
153
+ becomes available or until the timeout is reached.
154
+ Arguments:
155
+ type -- The type of the object.
156
+ context -- The request context for the invocation.
157
+ Returns: A future object for the invocation.
158
+ """
159
+ def allocateObjectByTypeAsync(self, type, context=None):
160
+ return _M_IceGrid.Session._op_allocateObjectByType.invokeAsync(self, ((type, ), context))
161
+
162
+ """
163
+ Allocate an object with the given type. Depending on the
164
+ allocation timeout, this operation can block until an object
165
+ becomes available or until the timeout is reached.
166
+ Arguments:
167
+ type -- The type of the object.
168
+ _response -- The asynchronous response callback.
169
+ _ex -- The asynchronous exception callback.
170
+ _sent -- The asynchronous sent callback.
171
+ context -- The request context for the invocation.
172
+ Returns: An asynchronous result object for the invocation.
173
+ """
174
+ def begin_allocateObjectByType(self, type, _response=None, _ex=None, _sent=None, context=None):
175
+ return _M_IceGrid.Session._op_allocateObjectByType.begin(self, ((type, ), _response, _ex, _sent, context))
176
+
177
+ """
178
+ Allocate an object with the given type. Depending on the
179
+ allocation timeout, this operation can block until an object
180
+ becomes available or until the timeout is reached.
181
+ Arguments:
182
+ type -- The type of the object.
183
+ Returns: The proxy of the allocated object.
184
+ Throws:
185
+ AllocationException -- Raised if the object could not be allocated.
186
+ """
187
+ def end_allocateObjectByType(self, _r):
188
+ return _M_IceGrid.Session._op_allocateObjectByType.end(self, _r)
189
+
190
+ """
191
+ Release an object that was allocated using allocateObjectById or
192
+ allocateObjectByType.
193
+ Arguments:
194
+ id -- The identity of the object to release.
195
+ context -- The request context for the invocation.
196
+ Throws:
197
+ AllocationException -- Raised if the given object can't be released. This might happen if the object isn't allocatable or isn't allocated by the session.
198
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
199
+ """
200
+ def releaseObject(self, id, context=None):
201
+ return _M_IceGrid.Session._op_releaseObject.invoke(self, ((id, ), context))
202
+
203
+ """
204
+ Release an object that was allocated using allocateObjectById or
205
+ allocateObjectByType.
206
+ Arguments:
207
+ id -- The identity of the object to release.
208
+ context -- The request context for the invocation.
209
+ Returns: A future object for the invocation.
210
+ """
211
+ def releaseObjectAsync(self, id, context=None):
212
+ return _M_IceGrid.Session._op_releaseObject.invokeAsync(self, ((id, ), context))
213
+
214
+ """
215
+ Release an object that was allocated using allocateObjectById or
216
+ allocateObjectByType.
217
+ Arguments:
218
+ id -- The identity of the object to release.
219
+ _response -- The asynchronous response callback.
220
+ _ex -- The asynchronous exception callback.
221
+ _sent -- The asynchronous sent callback.
222
+ context -- The request context for the invocation.
223
+ Returns: An asynchronous result object for the invocation.
224
+ """
225
+ def begin_releaseObject(self, id, _response=None, _ex=None, _sent=None, context=None):
226
+ return _M_IceGrid.Session._op_releaseObject.begin(self, ((id, ), _response, _ex, _sent, context))
227
+
228
+ """
229
+ Release an object that was allocated using allocateObjectById or
230
+ allocateObjectByType.
231
+ Arguments:
232
+ id -- The identity of the object to release.
233
+ Throws:
234
+ AllocationException -- Raised if the given object can't be released. This might happen if the object isn't allocatable or isn't allocated by the session.
235
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
236
+ """
237
+ def end_releaseObject(self, _r):
238
+ return _M_IceGrid.Session._op_releaseObject.end(self, _r)
239
+
240
+ """
241
+ Set the allocation timeout. If no objects are available for an
242
+ allocation request, a call to allocateObjectById or
243
+ allocateObjectByType will block for the duration of this
244
+ timeout.
245
+ Arguments:
246
+ timeout -- The timeout in milliseconds.
247
+ context -- The request context for the invocation.
248
+ """
249
+ def setAllocationTimeout(self, timeout, context=None):
250
+ return _M_IceGrid.Session._op_setAllocationTimeout.invoke(self, ((timeout, ), context))
251
+
252
+ """
253
+ Set the allocation timeout. If no objects are available for an
254
+ allocation request, a call to allocateObjectById or
255
+ allocateObjectByType will block for the duration of this
256
+ timeout.
257
+ Arguments:
258
+ timeout -- The timeout in milliseconds.
259
+ context -- The request context for the invocation.
260
+ Returns: A future object for the invocation.
261
+ """
262
+ def setAllocationTimeoutAsync(self, timeout, context=None):
263
+ return _M_IceGrid.Session._op_setAllocationTimeout.invokeAsync(self, ((timeout, ), context))
264
+
265
+ """
266
+ Set the allocation timeout. If no objects are available for an
267
+ allocation request, a call to allocateObjectById or
268
+ allocateObjectByType will block for the duration of this
269
+ timeout.
270
+ Arguments:
271
+ timeout -- The timeout in milliseconds.
272
+ _response -- The asynchronous response callback.
273
+ _ex -- The asynchronous exception callback.
274
+ _sent -- The asynchronous sent callback.
275
+ context -- The request context for the invocation.
276
+ Returns: An asynchronous result object for the invocation.
277
+ """
278
+ def begin_setAllocationTimeout(self, timeout, _response=None, _ex=None, _sent=None, context=None):
279
+ return _M_IceGrid.Session._op_setAllocationTimeout.begin(self, ((timeout, ), _response, _ex, _sent, context))
280
+
281
+ """
282
+ Set the allocation timeout. If no objects are available for an
283
+ allocation request, a call to allocateObjectById or
284
+ allocateObjectByType will block for the duration of this
285
+ timeout.
286
+ Arguments:
287
+ timeout -- The timeout in milliseconds.
288
+ """
289
+ def end_setAllocationTimeout(self, _r):
290
+ return _M_IceGrid.Session._op_setAllocationTimeout.end(self, _r)
291
+
292
+ @staticmethod
293
+ def checkedCast(proxy, facetOrContext=None, context=None):
294
+ return _M_IceGrid.SessionPrx.ice_checkedCast(proxy, '::IceGrid::Session', facetOrContext, context)
295
+
296
+ @staticmethod
297
+ def uncheckedCast(proxy, facet=None):
298
+ return _M_IceGrid.SessionPrx.ice_uncheckedCast(proxy, facet)
299
+
300
+ @staticmethod
301
+ def ice_staticId():
302
+ return '::IceGrid::Session'
303
+ _M_IceGrid._t_SessionPrx = IcePy.defineProxy('::IceGrid::Session', SessionPrx)
304
+
305
+ _M_IceGrid.SessionPrx = SessionPrx
306
+ del SessionPrx
307
+
308
+ _M_IceGrid.Session = Ice.createTempClass()
309
+ class Session(_M_Glacier2.Session):
310
+
311
+ def ice_ids(self, current=None):
312
+ return ('::Glacier2::Session', '::Ice::Object', '::IceGrid::Session')
313
+
314
+ def ice_id(self, current=None):
315
+ return '::IceGrid::Session'
316
+
317
+ @staticmethod
318
+ def ice_staticId():
319
+ return '::IceGrid::Session'
320
+
321
+ def keepAlive(self, current=None):
322
+ """
323
+ Keep the session alive. Clients should call this operation
324
+ regularly to prevent the server from reaping the session.
325
+ Arguments:
326
+ current -- The Current object for the invocation.
327
+ Returns: A future object for the invocation.
328
+ """
329
+ raise NotImplementedError("servant method 'keepAlive' not implemented")
330
+
331
+ def allocateObjectById(self, id, current=None):
332
+ """
333
+ Allocate an object. Depending on the allocation timeout, this
334
+ operation might hang until the object is available or until the
335
+ timeout is reached.
336
+ Arguments:
337
+ id -- The identity of the object to allocate.
338
+ current -- The Current object for the invocation.
339
+ Returns: A future object for the invocation.
340
+ Throws:
341
+ AllocationException -- Raised if the object can't be allocated.
342
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
343
+ """
344
+ raise NotImplementedError("servant method 'allocateObjectById' not implemented")
345
+
346
+ def allocateObjectByType(self, type, current=None):
347
+ """
348
+ Allocate an object with the given type. Depending on the
349
+ allocation timeout, this operation can block until an object
350
+ becomes available or until the timeout is reached.
351
+ Arguments:
352
+ type -- The type of the object.
353
+ current -- The Current object for the invocation.
354
+ Returns: A future object for the invocation.
355
+ Throws:
356
+ AllocationException -- Raised if the object could not be allocated.
357
+ """
358
+ raise NotImplementedError("servant method 'allocateObjectByType' not implemented")
359
+
360
+ def releaseObject(self, id, current=None):
361
+ """
362
+ Release an object that was allocated using allocateObjectById or
363
+ allocateObjectByType.
364
+ Arguments:
365
+ id -- The identity of the object to release.
366
+ current -- The Current object for the invocation.
367
+ Returns: A future object for the invocation.
368
+ Throws:
369
+ AllocationException -- Raised if the given object can't be released. This might happen if the object isn't allocatable or isn't allocated by the session.
370
+ ObjectNotRegisteredException -- Raised if the object with the given identity is not registered with the registry.
371
+ """
372
+ raise NotImplementedError("servant method 'releaseObject' not implemented")
373
+
374
+ def setAllocationTimeout(self, timeout, current=None):
375
+ """
376
+ Set the allocation timeout. If no objects are available for an
377
+ allocation request, a call to allocateObjectById or
378
+ allocateObjectByType will block for the duration of this
379
+ timeout.
380
+ Arguments:
381
+ timeout -- The timeout in milliseconds.
382
+ current -- The Current object for the invocation.
383
+ Returns: A future object for the invocation.
384
+ """
385
+ raise NotImplementedError("servant method 'setAllocationTimeout' not implemented")
386
+
387
+ def __str__(self):
388
+ return IcePy.stringify(self, _M_IceGrid._t_SessionDisp)
389
+
390
+ __repr__ = __str__
391
+
392
+ _M_IceGrid._t_SessionDisp = IcePy.defineClass('::IceGrid::Session', Session, (), None, (_M_Glacier2._t_SessionDisp,))
393
+ Session._ice_type = _M_IceGrid._t_SessionDisp
394
+
395
+ Session._op_keepAlive = IcePy.Operation('keepAlive', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, False, None, (), (), (), None, ())
396
+ Session._op_allocateObjectById = IcePy.Operation('allocateObjectById', Ice.OperationMode.Normal, Ice.OperationMode.Normal, True, None, (), (((), _M_Ice._t_Identity, False, 0),), (), ((), IcePy._t_ObjectPrx, False, 0), (_M_IceGrid._t_ObjectNotRegisteredException, _M_IceGrid._t_AllocationException))
397
+ Session._op_allocateObjectByType = IcePy.Operation('allocateObjectByType', Ice.OperationMode.Normal, Ice.OperationMode.Normal, True, None, (), (((), IcePy._t_string, False, 0),), (), ((), IcePy._t_ObjectPrx, False, 0), (_M_IceGrid._t_AllocationException,))
398
+ Session._op_releaseObject = IcePy.Operation('releaseObject', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_Ice._t_Identity, False, 0),), (), None, (_M_IceGrid._t_ObjectNotRegisteredException, _M_IceGrid._t_AllocationException))
399
+ Session._op_setAllocationTimeout = IcePy.Operation('setAllocationTimeout', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, False, None, (), (((), IcePy._t_int, False, 0),), (), None, ())
400
+
401
+ _M_IceGrid.Session = Session
402
+ del Session
403
+
404
+ # End of module IceGrid
405
+
406
+ Ice.sliceChecksums["::IceGrid::Session"] = "cf4206d0a8aff6c1b0f2c437f34c5d"
@@ -0,0 +1,166 @@
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 `UserAccountMapper.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
+
20
+ # Start of module IceGrid
21
+ _M_IceGrid = Ice.openModule('IceGrid')
22
+ __name__ = 'IceGrid'
23
+
24
+ if 'UserAccountNotFoundException' not in _M_IceGrid.__dict__:
25
+ _M_IceGrid.UserAccountNotFoundException = Ice.createTempClass()
26
+ class UserAccountNotFoundException(Ice.UserException):
27
+ """
28
+ This exception is raised if a user account for a given session
29
+ identifier can't be found.
30
+ """
31
+ def __init__(self):
32
+ pass
33
+
34
+ def __str__(self):
35
+ return IcePy.stringifyException(self)
36
+
37
+ __repr__ = __str__
38
+
39
+ _ice_id = '::IceGrid::UserAccountNotFoundException'
40
+
41
+ _M_IceGrid._t_UserAccountNotFoundException = IcePy.defineException('::IceGrid::UserAccountNotFoundException', UserAccountNotFoundException, (), False, None, ())
42
+ UserAccountNotFoundException._ice_type = _M_IceGrid._t_UserAccountNotFoundException
43
+
44
+ _M_IceGrid.UserAccountNotFoundException = UserAccountNotFoundException
45
+ del UserAccountNotFoundException
46
+
47
+ _M_IceGrid._t_UserAccountMapper = IcePy.defineValue('::IceGrid::UserAccountMapper', Ice.Value, -1, (), False, True, None, ())
48
+
49
+ if 'UserAccountMapperPrx' not in _M_IceGrid.__dict__:
50
+ _M_IceGrid.UserAccountMapperPrx = Ice.createTempClass()
51
+ class UserAccountMapperPrx(Ice.ObjectPrx):
52
+
53
+ """
54
+ Get the name of the user account for the given user. This is
55
+ used by IceGrid nodes to figure out the user account to use
56
+ to run servers.
57
+ Arguments:
58
+ user -- The value of the server descriptor's user attribute. If this attribute is not defined, and the server's activation mode is session, the default value of user is the session identifier.
59
+ context -- The request context for the invocation.
60
+ Returns: The user account name.
61
+ Throws:
62
+ UserAccountNotFoundException -- Raised if no user account is found for the given user.
63
+ """
64
+ def getUserAccount(self, user, context=None):
65
+ return _M_IceGrid.UserAccountMapper._op_getUserAccount.invoke(self, ((user, ), context))
66
+
67
+ """
68
+ Get the name of the user account for the given user. This is
69
+ used by IceGrid nodes to figure out the user account to use
70
+ to run servers.
71
+ Arguments:
72
+ user -- The value of the server descriptor's user attribute. If this attribute is not defined, and the server's activation mode is session, the default value of user is the session identifier.
73
+ context -- The request context for the invocation.
74
+ Returns: A future object for the invocation.
75
+ """
76
+ def getUserAccountAsync(self, user, context=None):
77
+ return _M_IceGrid.UserAccountMapper._op_getUserAccount.invokeAsync(self, ((user, ), context))
78
+
79
+ """
80
+ Get the name of the user account for the given user. This is
81
+ used by IceGrid nodes to figure out the user account to use
82
+ to run servers.
83
+ Arguments:
84
+ user -- The value of the server descriptor's user attribute. If this attribute is not defined, and the server's activation mode is session, the default value of user is the session identifier.
85
+ _response -- The asynchronous response callback.
86
+ _ex -- The asynchronous exception callback.
87
+ _sent -- The asynchronous sent callback.
88
+ context -- The request context for the invocation.
89
+ Returns: An asynchronous result object for the invocation.
90
+ """
91
+ def begin_getUserAccount(self, user, _response=None, _ex=None, _sent=None, context=None):
92
+ return _M_IceGrid.UserAccountMapper._op_getUserAccount.begin(self, ((user, ), _response, _ex, _sent, context))
93
+
94
+ """
95
+ Get the name of the user account for the given user. This is
96
+ used by IceGrid nodes to figure out the user account to use
97
+ to run servers.
98
+ Arguments:
99
+ user -- The value of the server descriptor's user attribute. If this attribute is not defined, and the server's activation mode is session, the default value of user is the session identifier.
100
+ Returns: The user account name.
101
+ Throws:
102
+ UserAccountNotFoundException -- Raised if no user account is found for the given user.
103
+ """
104
+ def end_getUserAccount(self, _r):
105
+ return _M_IceGrid.UserAccountMapper._op_getUserAccount.end(self, _r)
106
+
107
+ @staticmethod
108
+ def checkedCast(proxy, facetOrContext=None, context=None):
109
+ return _M_IceGrid.UserAccountMapperPrx.ice_checkedCast(proxy, '::IceGrid::UserAccountMapper', facetOrContext, context)
110
+
111
+ @staticmethod
112
+ def uncheckedCast(proxy, facet=None):
113
+ return _M_IceGrid.UserAccountMapperPrx.ice_uncheckedCast(proxy, facet)
114
+
115
+ @staticmethod
116
+ def ice_staticId():
117
+ return '::IceGrid::UserAccountMapper'
118
+ _M_IceGrid._t_UserAccountMapperPrx = IcePy.defineProxy('::IceGrid::UserAccountMapper', UserAccountMapperPrx)
119
+
120
+ _M_IceGrid.UserAccountMapperPrx = UserAccountMapperPrx
121
+ del UserAccountMapperPrx
122
+
123
+ _M_IceGrid.UserAccountMapper = Ice.createTempClass()
124
+ class UserAccountMapper(Ice.Object):
125
+
126
+ def ice_ids(self, current=None):
127
+ return ('::Ice::Object', '::IceGrid::UserAccountMapper')
128
+
129
+ def ice_id(self, current=None):
130
+ return '::IceGrid::UserAccountMapper'
131
+
132
+ @staticmethod
133
+ def ice_staticId():
134
+ return '::IceGrid::UserAccountMapper'
135
+
136
+ def getUserAccount(self, user, current=None):
137
+ """
138
+ Get the name of the user account for the given user. This is
139
+ used by IceGrid nodes to figure out the user account to use
140
+ to run servers.
141
+ Arguments:
142
+ user -- The value of the server descriptor's user attribute. If this attribute is not defined, and the server's activation mode is session, the default value of user is the session identifier.
143
+ current -- The Current object for the invocation.
144
+ Returns: A future object for the invocation.
145
+ Throws:
146
+ UserAccountNotFoundException -- Raised if no user account is found for the given user.
147
+ """
148
+ raise NotImplementedError("servant method 'getUserAccount' not implemented")
149
+
150
+ def __str__(self):
151
+ return IcePy.stringify(self, _M_IceGrid._t_UserAccountMapperDisp)
152
+
153
+ __repr__ = __str__
154
+
155
+ _M_IceGrid._t_UserAccountMapperDisp = IcePy.defineClass('::IceGrid::UserAccountMapper', UserAccountMapper, (), None, ())
156
+ UserAccountMapper._ice_type = _M_IceGrid._t_UserAccountMapperDisp
157
+
158
+ UserAccountMapper._op_getUserAccount = IcePy.Operation('getUserAccount', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), ((), IcePy._t_string, False, 0), (_M_IceGrid._t_UserAccountNotFoundException,))
159
+
160
+ _M_IceGrid.UserAccountMapper = UserAccountMapper
161
+ del UserAccountMapper
162
+
163
+ # End of module IceGrid
164
+
165
+ Ice.sliceChecksums["::IceGrid::UserAccountMapper"] = "779fd561878e199444e04cdebaf9ffd4"
166
+ Ice.sliceChecksums["::IceGrid::UserAccountNotFoundException"] = "fe2dc4d87f21b9b2cf6f1339d1666281"
IceGrid/__init__.py ADDED
@@ -0,0 +1,17 @@
1
+ # Generated by slice2py - DO NOT EDIT!
2
+ #
3
+
4
+ import Ice
5
+ Ice.updateModule("IceGrid")
6
+
7
+ # Modules:
8
+ import IceGrid.Admin_ice
9
+ import IceGrid.Descriptor_ice
10
+ import IceGrid.Exception_ice
11
+ import IceGrid.FileParser_ice
12
+ import IceGrid.PluginFacade_ice
13
+ import IceGrid.Registry_ice
14
+ import IceGrid.Session_ice
15
+ import IceGrid.UserAccountMapper_ice
16
+
17
+ # Submodules:
IceMX/__init__.py ADDED
@@ -0,0 +1,12 @@
1
+ # Generated by slice2py - DO NOT EDIT!
2
+ #
3
+
4
+ import Ice
5
+ Ice.updateModule("IceMX")
6
+
7
+ # Modules:
8
+ import Ice.Metrics_ice
9
+ import Glacier2.Metrics_ice
10
+ import IceStorm.Metrics_ice
11
+
12
+ # Submodules: