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
IceBox/IceBox_ice.py ADDED
@@ -0,0 +1,644 @@
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 `IceBox.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.BuiltinSequences_ice
20
+ import Ice.CommunicatorF_ice
21
+ import Ice.PropertiesF_ice
22
+ import Ice.SliceChecksumDict_ice
23
+
24
+ # Included module Ice
25
+ _M_Ice = Ice.openModule('Ice')
26
+
27
+ # Start of module IceBox
28
+ _M_IceBox = Ice.openModule('IceBox')
29
+ __name__ = 'IceBox'
30
+ _M_IceBox.__doc__ = """
31
+ IceBox is an application server specifically for Ice
32
+ applications. IceBox can easily run and administer Ice services
33
+ that are dynamically loaded as a DLL, shared library, or Java
34
+ class.
35
+ """
36
+
37
+ if 'FailureException' not in _M_IceBox.__dict__:
38
+ _M_IceBox.FailureException = Ice.createTempClass()
39
+ class FailureException(Ice.LocalException):
40
+ """
41
+ This exception is a general failure notification. It is thrown
42
+ for errors such as a service encountering an error during
43
+ initialization, or the service manager being unable
44
+ to load a service executable.
45
+ Members:
46
+ reason -- The reason for the failure.
47
+ """
48
+ def __init__(self, reason=''):
49
+ self.reason = reason
50
+
51
+ def __str__(self):
52
+ return IcePy.stringifyException(self)
53
+
54
+ __repr__ = __str__
55
+
56
+ _ice_id = '::IceBox::FailureException'
57
+
58
+ _M_IceBox._t_FailureException = IcePy.defineException('::IceBox::FailureException', FailureException, (), False, None, (('reason', (), IcePy._t_string, False, 0),))
59
+ FailureException._ice_type = _M_IceBox._t_FailureException
60
+
61
+ _M_IceBox.FailureException = FailureException
62
+ del FailureException
63
+
64
+ if 'AlreadyStartedException' not in _M_IceBox.__dict__:
65
+ _M_IceBox.AlreadyStartedException = Ice.createTempClass()
66
+ class AlreadyStartedException(Ice.UserException):
67
+ """
68
+ This exception is thrown if an attempt is made to start an
69
+ already-started service.
70
+ """
71
+ def __init__(self):
72
+ pass
73
+
74
+ def __str__(self):
75
+ return IcePy.stringifyException(self)
76
+
77
+ __repr__ = __str__
78
+
79
+ _ice_id = '::IceBox::AlreadyStartedException'
80
+
81
+ _M_IceBox._t_AlreadyStartedException = IcePy.defineException('::IceBox::AlreadyStartedException', AlreadyStartedException, (), False, None, ())
82
+ AlreadyStartedException._ice_type = _M_IceBox._t_AlreadyStartedException
83
+
84
+ _M_IceBox.AlreadyStartedException = AlreadyStartedException
85
+ del AlreadyStartedException
86
+
87
+ if 'AlreadyStoppedException' not in _M_IceBox.__dict__:
88
+ _M_IceBox.AlreadyStoppedException = Ice.createTempClass()
89
+ class AlreadyStoppedException(Ice.UserException):
90
+ """
91
+ This exception is thrown if an attempt is made to stop an
92
+ already-stopped service.
93
+ """
94
+ def __init__(self):
95
+ pass
96
+
97
+ def __str__(self):
98
+ return IcePy.stringifyException(self)
99
+
100
+ __repr__ = __str__
101
+
102
+ _ice_id = '::IceBox::AlreadyStoppedException'
103
+
104
+ _M_IceBox._t_AlreadyStoppedException = IcePy.defineException('::IceBox::AlreadyStoppedException', AlreadyStoppedException, (), False, None, ())
105
+ AlreadyStoppedException._ice_type = _M_IceBox._t_AlreadyStoppedException
106
+
107
+ _M_IceBox.AlreadyStoppedException = AlreadyStoppedException
108
+ del AlreadyStoppedException
109
+
110
+ if 'NoSuchServiceException' not in _M_IceBox.__dict__:
111
+ _M_IceBox.NoSuchServiceException = Ice.createTempClass()
112
+ class NoSuchServiceException(Ice.UserException):
113
+ """
114
+ This exception is thrown if a service name does not refer
115
+ to an existing service.
116
+ """
117
+ def __init__(self):
118
+ pass
119
+
120
+ def __str__(self):
121
+ return IcePy.stringifyException(self)
122
+
123
+ __repr__ = __str__
124
+
125
+ _ice_id = '::IceBox::NoSuchServiceException'
126
+
127
+ _M_IceBox._t_NoSuchServiceException = IcePy.defineException('::IceBox::NoSuchServiceException', NoSuchServiceException, (), False, None, ())
128
+ NoSuchServiceException._ice_type = _M_IceBox._t_NoSuchServiceException
129
+
130
+ _M_IceBox.NoSuchServiceException = NoSuchServiceException
131
+ del NoSuchServiceException
132
+
133
+ if 'Service' not in _M_IceBox.__dict__:
134
+ _M_IceBox.Service = Ice.createTempClass()
135
+ class Service(object):
136
+ """
137
+ An application service managed by a ServiceManager.
138
+ """
139
+ def __init__(self):
140
+ if Ice.getType(self) == _M_IceBox.Service:
141
+ raise RuntimeError('IceBox.Service is an abstract class')
142
+
143
+ def start(self, name, communicator, args):
144
+ """
145
+ Start the service. The given communicator is created by the
146
+ ServiceManager for use by the service. This communicator may
147
+ also be used by other services, depending on the service
148
+ configuration.
149
+ The ServiceManager owns this communicator, and is
150
+ responsible for destroying it.
151
+ Arguments:
152
+ name -- The service's name, as determined by the configuration.
153
+ communicator -- A communicator for use by the service.
154
+ args -- The service arguments that were not converted into properties.
155
+ Throws:
156
+ FailureException -- Raised if start failed.
157
+ """
158
+ raise NotImplementedError("method 'start' not implemented")
159
+
160
+ def stop(self):
161
+ """
162
+ Stop the service.
163
+ """
164
+ raise NotImplementedError("method 'stop' not implemented")
165
+
166
+ def __str__(self):
167
+ return IcePy.stringify(self, _M_IceBox._t_Service)
168
+
169
+ __repr__ = __str__
170
+
171
+ _M_IceBox._t_Service = IcePy.defineValue('::IceBox::Service', Service, -1, (), False, True, None, ())
172
+ Service._ice_type = _M_IceBox._t_Service
173
+
174
+ _M_IceBox.Service = Service
175
+ del Service
176
+
177
+ _M_IceBox._t_ServiceObserver = IcePy.defineValue('::IceBox::ServiceObserver', Ice.Value, -1, (), False, True, None, ())
178
+
179
+ if 'ServiceObserverPrx' not in _M_IceBox.__dict__:
180
+ _M_IceBox.ServiceObserverPrx = Ice.createTempClass()
181
+ class ServiceObserverPrx(Ice.ObjectPrx):
182
+
183
+ """
184
+ Receives the names of the services that were started.
185
+ Arguments:
186
+ services -- The names of the services.
187
+ context -- The request context for the invocation.
188
+ """
189
+ def servicesStarted(self, services, context=None):
190
+ return _M_IceBox.ServiceObserver._op_servicesStarted.invoke(self, ((services, ), context))
191
+
192
+ """
193
+ Receives the names of the services that were started.
194
+ Arguments:
195
+ services -- The names of the services.
196
+ context -- The request context for the invocation.
197
+ Returns: A future object for the invocation.
198
+ """
199
+ def servicesStartedAsync(self, services, context=None):
200
+ return _M_IceBox.ServiceObserver._op_servicesStarted.invokeAsync(self, ((services, ), context))
201
+
202
+ """
203
+ Receives the names of the services that were started.
204
+ Arguments:
205
+ services -- The names of the services.
206
+ _response -- The asynchronous response callback.
207
+ _ex -- The asynchronous exception callback.
208
+ _sent -- The asynchronous sent callback.
209
+ context -- The request context for the invocation.
210
+ Returns: An asynchronous result object for the invocation.
211
+ """
212
+ def begin_servicesStarted(self, services, _response=None, _ex=None, _sent=None, context=None):
213
+ return _M_IceBox.ServiceObserver._op_servicesStarted.begin(self, ((services, ), _response, _ex, _sent, context))
214
+
215
+ """
216
+ Receives the names of the services that were started.
217
+ Arguments:
218
+ services -- The names of the services.
219
+ """
220
+ def end_servicesStarted(self, _r):
221
+ return _M_IceBox.ServiceObserver._op_servicesStarted.end(self, _r)
222
+
223
+ """
224
+ Receives the names of the services that were stopped.
225
+ Arguments:
226
+ services -- The names of the services.
227
+ context -- The request context for the invocation.
228
+ """
229
+ def servicesStopped(self, services, context=None):
230
+ return _M_IceBox.ServiceObserver._op_servicesStopped.invoke(self, ((services, ), context))
231
+
232
+ """
233
+ Receives the names of the services that were stopped.
234
+ Arguments:
235
+ services -- The names of the services.
236
+ context -- The request context for the invocation.
237
+ Returns: A future object for the invocation.
238
+ """
239
+ def servicesStoppedAsync(self, services, context=None):
240
+ return _M_IceBox.ServiceObserver._op_servicesStopped.invokeAsync(self, ((services, ), context))
241
+
242
+ """
243
+ Receives the names of the services that were stopped.
244
+ Arguments:
245
+ services -- The names of the services.
246
+ _response -- The asynchronous response callback.
247
+ _ex -- The asynchronous exception callback.
248
+ _sent -- The asynchronous sent callback.
249
+ context -- The request context for the invocation.
250
+ Returns: An asynchronous result object for the invocation.
251
+ """
252
+ def begin_servicesStopped(self, services, _response=None, _ex=None, _sent=None, context=None):
253
+ return _M_IceBox.ServiceObserver._op_servicesStopped.begin(self, ((services, ), _response, _ex, _sent, context))
254
+
255
+ """
256
+ Receives the names of the services that were stopped.
257
+ Arguments:
258
+ services -- The names of the services.
259
+ """
260
+ def end_servicesStopped(self, _r):
261
+ return _M_IceBox.ServiceObserver._op_servicesStopped.end(self, _r)
262
+
263
+ @staticmethod
264
+ def checkedCast(proxy, facetOrContext=None, context=None):
265
+ return _M_IceBox.ServiceObserverPrx.ice_checkedCast(proxy, '::IceBox::ServiceObserver', facetOrContext, context)
266
+
267
+ @staticmethod
268
+ def uncheckedCast(proxy, facet=None):
269
+ return _M_IceBox.ServiceObserverPrx.ice_uncheckedCast(proxy, facet)
270
+
271
+ @staticmethod
272
+ def ice_staticId():
273
+ return '::IceBox::ServiceObserver'
274
+ _M_IceBox._t_ServiceObserverPrx = IcePy.defineProxy('::IceBox::ServiceObserver', ServiceObserverPrx)
275
+
276
+ _M_IceBox.ServiceObserverPrx = ServiceObserverPrx
277
+ del ServiceObserverPrx
278
+
279
+ _M_IceBox.ServiceObserver = Ice.createTempClass()
280
+ class ServiceObserver(Ice.Object):
281
+
282
+ def ice_ids(self, current=None):
283
+ return ('::Ice::Object', '::IceBox::ServiceObserver')
284
+
285
+ def ice_id(self, current=None):
286
+ return '::IceBox::ServiceObserver'
287
+
288
+ @staticmethod
289
+ def ice_staticId():
290
+ return '::IceBox::ServiceObserver'
291
+
292
+ def servicesStarted(self, services, current=None):
293
+ """
294
+ Receives the names of the services that were started.
295
+ Arguments:
296
+ services -- The names of the services.
297
+ current -- The Current object for the invocation.
298
+ Returns: A future object for the invocation.
299
+ """
300
+ raise NotImplementedError("servant method 'servicesStarted' not implemented")
301
+
302
+ def servicesStopped(self, services, current=None):
303
+ """
304
+ Receives the names of the services that were stopped.
305
+ Arguments:
306
+ services -- The names of the services.
307
+ current -- The Current object for the invocation.
308
+ Returns: A future object for the invocation.
309
+ """
310
+ raise NotImplementedError("servant method 'servicesStopped' not implemented")
311
+
312
+ def __str__(self):
313
+ return IcePy.stringify(self, _M_IceBox._t_ServiceObserverDisp)
314
+
315
+ __repr__ = __str__
316
+
317
+ _M_IceBox._t_ServiceObserverDisp = IcePy.defineClass('::IceBox::ServiceObserver', ServiceObserver, (), None, ())
318
+ ServiceObserver._ice_type = _M_IceBox._t_ServiceObserverDisp
319
+
320
+ ServiceObserver._op_servicesStarted = IcePy.Operation('servicesStarted', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_Ice._t_StringSeq, False, 0),), (), None, ())
321
+ ServiceObserver._op_servicesStopped = IcePy.Operation('servicesStopped', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_Ice._t_StringSeq, False, 0),), (), None, ())
322
+
323
+ _M_IceBox.ServiceObserver = ServiceObserver
324
+ del ServiceObserver
325
+
326
+ _M_IceBox._t_ServiceManager = IcePy.defineValue('::IceBox::ServiceManager', Ice.Value, -1, (), False, True, None, ())
327
+
328
+ if 'ServiceManagerPrx' not in _M_IceBox.__dict__:
329
+ _M_IceBox.ServiceManagerPrx = Ice.createTempClass()
330
+ class ServiceManagerPrx(Ice.ObjectPrx):
331
+
332
+ """
333
+ Returns the checksums for the IceBox Slice definitions.
334
+ Arguments:
335
+ context -- The request context for the invocation.
336
+ Returns: A dictionary mapping Slice type ids to their checksums.
337
+ """
338
+ def getSliceChecksums(self, context=None):
339
+ return _M_IceBox.ServiceManager._op_getSliceChecksums.invoke(self, ((), context))
340
+
341
+ """
342
+ Returns the checksums for the IceBox Slice definitions.
343
+ Arguments:
344
+ context -- The request context for the invocation.
345
+ Returns: A future object for the invocation.
346
+ """
347
+ def getSliceChecksumsAsync(self, context=None):
348
+ return _M_IceBox.ServiceManager._op_getSliceChecksums.invokeAsync(self, ((), context))
349
+
350
+ """
351
+ Returns the checksums for the IceBox Slice definitions.
352
+ Arguments:
353
+ _response -- The asynchronous response callback.
354
+ _ex -- The asynchronous exception callback.
355
+ _sent -- The asynchronous sent callback.
356
+ context -- The request context for the invocation.
357
+ Returns: An asynchronous result object for the invocation.
358
+ """
359
+ def begin_getSliceChecksums(self, _response=None, _ex=None, _sent=None, context=None):
360
+ return _M_IceBox.ServiceManager._op_getSliceChecksums.begin(self, ((), _response, _ex, _sent, context))
361
+
362
+ """
363
+ Returns the checksums for the IceBox Slice definitions.
364
+ Arguments:
365
+ Returns: A dictionary mapping Slice type ids to their checksums.
366
+ """
367
+ def end_getSliceChecksums(self, _r):
368
+ return _M_IceBox.ServiceManager._op_getSliceChecksums.end(self, _r)
369
+
370
+ """
371
+ Start an individual service.
372
+ Arguments:
373
+ service -- The service name.
374
+ context -- The request context for the invocation.
375
+ Throws:
376
+ AlreadyStartedException -- If the service is already running.
377
+ NoSuchServiceException -- If no service could be found with the given name.
378
+ """
379
+ def startService(self, service, context=None):
380
+ return _M_IceBox.ServiceManager._op_startService.invoke(self, ((service, ), context))
381
+
382
+ """
383
+ Start an individual service.
384
+ Arguments:
385
+ service -- The service name.
386
+ context -- The request context for the invocation.
387
+ Returns: A future object for the invocation.
388
+ """
389
+ def startServiceAsync(self, service, context=None):
390
+ return _M_IceBox.ServiceManager._op_startService.invokeAsync(self, ((service, ), context))
391
+
392
+ """
393
+ Start an individual service.
394
+ Arguments:
395
+ service -- The service name.
396
+ _response -- The asynchronous response callback.
397
+ _ex -- The asynchronous exception callback.
398
+ _sent -- The asynchronous sent callback.
399
+ context -- The request context for the invocation.
400
+ Returns: An asynchronous result object for the invocation.
401
+ """
402
+ def begin_startService(self, service, _response=None, _ex=None, _sent=None, context=None):
403
+ return _M_IceBox.ServiceManager._op_startService.begin(self, ((service, ), _response, _ex, _sent, context))
404
+
405
+ """
406
+ Start an individual service.
407
+ Arguments:
408
+ service -- The service name.
409
+ Throws:
410
+ AlreadyStartedException -- If the service is already running.
411
+ NoSuchServiceException -- If no service could be found with the given name.
412
+ """
413
+ def end_startService(self, _r):
414
+ return _M_IceBox.ServiceManager._op_startService.end(self, _r)
415
+
416
+ """
417
+ Stop an individual service.
418
+ Arguments:
419
+ service -- The service name.
420
+ context -- The request context for the invocation.
421
+ Throws:
422
+ AlreadyStoppedException -- If the service is already stopped.
423
+ NoSuchServiceException -- If no service could be found with the given name.
424
+ """
425
+ def stopService(self, service, context=None):
426
+ return _M_IceBox.ServiceManager._op_stopService.invoke(self, ((service, ), context))
427
+
428
+ """
429
+ Stop an individual service.
430
+ Arguments:
431
+ service -- The service name.
432
+ context -- The request context for the invocation.
433
+ Returns: A future object for the invocation.
434
+ """
435
+ def stopServiceAsync(self, service, context=None):
436
+ return _M_IceBox.ServiceManager._op_stopService.invokeAsync(self, ((service, ), context))
437
+
438
+ """
439
+ Stop an individual service.
440
+ Arguments:
441
+ service -- The service name.
442
+ _response -- The asynchronous response callback.
443
+ _ex -- The asynchronous exception callback.
444
+ _sent -- The asynchronous sent callback.
445
+ context -- The request context for the invocation.
446
+ Returns: An asynchronous result object for the invocation.
447
+ """
448
+ def begin_stopService(self, service, _response=None, _ex=None, _sent=None, context=None):
449
+ return _M_IceBox.ServiceManager._op_stopService.begin(self, ((service, ), _response, _ex, _sent, context))
450
+
451
+ """
452
+ Stop an individual service.
453
+ Arguments:
454
+ service -- The service name.
455
+ Throws:
456
+ AlreadyStoppedException -- If the service is already stopped.
457
+ NoSuchServiceException -- If no service could be found with the given name.
458
+ """
459
+ def end_stopService(self, _r):
460
+ return _M_IceBox.ServiceManager._op_stopService.end(self, _r)
461
+
462
+ """
463
+ Registers a new observer with the ServiceManager.
464
+ Arguments:
465
+ observer -- The new observer
466
+ context -- The request context for the invocation.
467
+ """
468
+ def addObserver(self, observer, context=None):
469
+ return _M_IceBox.ServiceManager._op_addObserver.invoke(self, ((observer, ), context))
470
+
471
+ """
472
+ Registers a new observer with the ServiceManager.
473
+ Arguments:
474
+ observer -- The new observer
475
+ context -- The request context for the invocation.
476
+ Returns: A future object for the invocation.
477
+ """
478
+ def addObserverAsync(self, observer, context=None):
479
+ return _M_IceBox.ServiceManager._op_addObserver.invokeAsync(self, ((observer, ), context))
480
+
481
+ """
482
+ Registers a new observer with the ServiceManager.
483
+ Arguments:
484
+ observer -- The new observer
485
+ _response -- The asynchronous response callback.
486
+ _ex -- The asynchronous exception callback.
487
+ _sent -- The asynchronous sent callback.
488
+ context -- The request context for the invocation.
489
+ Returns: An asynchronous result object for the invocation.
490
+ """
491
+ def begin_addObserver(self, observer, _response=None, _ex=None, _sent=None, context=None):
492
+ return _M_IceBox.ServiceManager._op_addObserver.begin(self, ((observer, ), _response, _ex, _sent, context))
493
+
494
+ """
495
+ Registers a new observer with the ServiceManager.
496
+ Arguments:
497
+ observer -- The new observer
498
+ """
499
+ def end_addObserver(self, _r):
500
+ return _M_IceBox.ServiceManager._op_addObserver.end(self, _r)
501
+
502
+ """
503
+ Shut down all services. This causes stop to be invoked on all configured services.
504
+ Arguments:
505
+ context -- The request context for the invocation.
506
+ """
507
+ def shutdown(self, context=None):
508
+ return _M_IceBox.ServiceManager._op_shutdown.invoke(self, ((), context))
509
+
510
+ """
511
+ Shut down all services. This causes stop to be invoked on all configured services.
512
+ Arguments:
513
+ context -- The request context for the invocation.
514
+ Returns: A future object for the invocation.
515
+ """
516
+ def shutdownAsync(self, context=None):
517
+ return _M_IceBox.ServiceManager._op_shutdown.invokeAsync(self, ((), context))
518
+
519
+ """
520
+ Shut down all services. This causes stop to be invoked on all configured services.
521
+ Arguments:
522
+ _response -- The asynchronous response callback.
523
+ _ex -- The asynchronous exception callback.
524
+ _sent -- The asynchronous sent callback.
525
+ context -- The request context for the invocation.
526
+ Returns: An asynchronous result object for the invocation.
527
+ """
528
+ def begin_shutdown(self, _response=None, _ex=None, _sent=None, context=None):
529
+ return _M_IceBox.ServiceManager._op_shutdown.begin(self, ((), _response, _ex, _sent, context))
530
+
531
+ """
532
+ Shut down all services. This causes stop to be invoked on all configured services.
533
+ Arguments:
534
+ """
535
+ def end_shutdown(self, _r):
536
+ return _M_IceBox.ServiceManager._op_shutdown.end(self, _r)
537
+
538
+ @staticmethod
539
+ def checkedCast(proxy, facetOrContext=None, context=None):
540
+ return _M_IceBox.ServiceManagerPrx.ice_checkedCast(proxy, '::IceBox::ServiceManager', facetOrContext, context)
541
+
542
+ @staticmethod
543
+ def uncheckedCast(proxy, facet=None):
544
+ return _M_IceBox.ServiceManagerPrx.ice_uncheckedCast(proxy, facet)
545
+
546
+ @staticmethod
547
+ def ice_staticId():
548
+ return '::IceBox::ServiceManager'
549
+ _M_IceBox._t_ServiceManagerPrx = IcePy.defineProxy('::IceBox::ServiceManager', ServiceManagerPrx)
550
+
551
+ _M_IceBox.ServiceManagerPrx = ServiceManagerPrx
552
+ del ServiceManagerPrx
553
+
554
+ _M_IceBox.ServiceManager = Ice.createTempClass()
555
+ class ServiceManager(Ice.Object):
556
+
557
+ def ice_ids(self, current=None):
558
+ return ('::Ice::Object', '::IceBox::ServiceManager')
559
+
560
+ def ice_id(self, current=None):
561
+ return '::IceBox::ServiceManager'
562
+
563
+ @staticmethod
564
+ def ice_staticId():
565
+ return '::IceBox::ServiceManager'
566
+
567
+ def getSliceChecksums(self, current=None):
568
+ """
569
+ Returns the checksums for the IceBox Slice definitions.
570
+ Arguments:
571
+ current -- The Current object for the invocation.
572
+ Returns: A future object for the invocation.
573
+ """
574
+ raise NotImplementedError("servant method 'getSliceChecksums' not implemented")
575
+
576
+ def startService(self, service, current=None):
577
+ """
578
+ Start an individual service.
579
+ Arguments:
580
+ service -- The service name.
581
+ current -- The Current object for the invocation.
582
+ Returns: A future object for the invocation.
583
+ Throws:
584
+ AlreadyStartedException -- If the service is already running.
585
+ NoSuchServiceException -- If no service could be found with the given name.
586
+ """
587
+ raise NotImplementedError("servant method 'startService' not implemented")
588
+
589
+ def stopService(self, service, current=None):
590
+ """
591
+ Stop an individual service.
592
+ Arguments:
593
+ service -- The service name.
594
+ current -- The Current object for the invocation.
595
+ Returns: A future object for the invocation.
596
+ Throws:
597
+ AlreadyStoppedException -- If the service is already stopped.
598
+ NoSuchServiceException -- If no service could be found with the given name.
599
+ """
600
+ raise NotImplementedError("servant method 'stopService' not implemented")
601
+
602
+ def addObserver(self, observer, current=None):
603
+ """
604
+ Registers a new observer with the ServiceManager.
605
+ Arguments:
606
+ observer -- The new observer
607
+ current -- The Current object for the invocation.
608
+ Returns: A future object for the invocation.
609
+ """
610
+ raise NotImplementedError("servant method 'addObserver' not implemented")
611
+
612
+ def shutdown(self, current=None):
613
+ """
614
+ Shut down all services. This causes stop to be invoked on all configured services.
615
+ Arguments:
616
+ current -- The Current object for the invocation.
617
+ Returns: A future object for the invocation.
618
+ """
619
+ raise NotImplementedError("servant method 'shutdown' not implemented")
620
+
621
+ def __str__(self):
622
+ return IcePy.stringify(self, _M_IceBox._t_ServiceManagerDisp)
623
+
624
+ __repr__ = __str__
625
+
626
+ _M_IceBox._t_ServiceManagerDisp = IcePy.defineClass('::IceBox::ServiceManager', ServiceManager, (), None, ())
627
+ ServiceManager._ice_type = _M_IceBox._t_ServiceManagerDisp
628
+
629
+ ServiceManager._op_getSliceChecksums = IcePy.Operation('getSliceChecksums', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_Ice._t_SliceChecksumDict, False, 0), ())
630
+ ServiceManager._op_startService = IcePy.Operation('startService', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), None, (_M_IceBox._t_AlreadyStartedException, _M_IceBox._t_NoSuchServiceException))
631
+ ServiceManager._op_stopService = IcePy.Operation('stopService', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), None, (_M_IceBox._t_AlreadyStoppedException, _M_IceBox._t_NoSuchServiceException))
632
+ ServiceManager._op_addObserver = IcePy.Operation('addObserver', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_IceBox._t_ServiceObserverPrx, False, 0),), (), None, ())
633
+ ServiceManager._op_shutdown = IcePy.Operation('shutdown', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), None, ())
634
+
635
+ _M_IceBox.ServiceManager = ServiceManager
636
+ del ServiceManager
637
+
638
+ # End of module IceBox
639
+
640
+ Ice.sliceChecksums["::IceBox::AlreadyStartedException"] = "d5b097af3221b37482d5f175502abf62"
641
+ Ice.sliceChecksums["::IceBox::AlreadyStoppedException"] = "281d493a84d674b3a4335d6afc2c16"
642
+ Ice.sliceChecksums["::IceBox::NoSuchServiceException"] = "5957f1c582d9aebad557cbdb7820d4"
643
+ Ice.sliceChecksums["::IceBox::ServiceManager"] = "df3a42670c3ce4ef67d6125a5d04d4c"
644
+ Ice.sliceChecksums["::IceBox::ServiceObserver"] = "f657781cda7438532a6c33e95988479c"
IceBox/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ # Generated by slice2py - DO NOT EDIT!
2
+ #
3
+
4
+ import Ice
5
+ Ice.updateModule("IceBox")
6
+
7
+ # Modules:
8
+ import IceBox.IceBox_ice
9
+
10
+ # Submodules: