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
@@ -0,0 +1,1265 @@
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 `IceStorm.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.SliceChecksumDict_ice
21
+ import IceStorm.Metrics_ice
22
+
23
+ # Included module Ice
24
+ _M_Ice = Ice.openModule('Ice')
25
+
26
+ # Included module IceMX
27
+ _M_IceMX = Ice.openModule('IceMX')
28
+
29
+ # Start of module IceStorm
30
+ _M_IceStorm = Ice.openModule('IceStorm')
31
+ __name__ = 'IceStorm'
32
+ _M_IceStorm.__doc__ = """
33
+ A messaging service with support for federation. In contrast to
34
+ most other messaging or event services, IceStorm supports typed
35
+ events, meaning that broadcasting a message over a federation is as
36
+ easy as invoking a method on an interface.
37
+ """
38
+
39
+ if 'Topic' not in _M_IceStorm.__dict__:
40
+ _M_IceStorm._t_TopicDisp = IcePy.declareClass('::IceStorm::Topic')
41
+ _M_IceStorm._t_TopicPrx = IcePy.declareProxy('::IceStorm::Topic')
42
+
43
+ if 'LinkInfo' not in _M_IceStorm.__dict__:
44
+ _M_IceStorm.LinkInfo = Ice.createTempClass()
45
+ class LinkInfo(object):
46
+ """
47
+ Information on the topic links.
48
+ Members:
49
+ theTopic -- The linked topic.
50
+ name -- The name of the linked topic.
51
+ cost -- The cost of traversing this link.
52
+ """
53
+ def __init__(self, theTopic=None, name='', cost=0):
54
+ self.theTopic = theTopic
55
+ self.name = name
56
+ self.cost = cost
57
+
58
+ def __eq__(self, other):
59
+ if other is None:
60
+ return False
61
+ elif not isinstance(other, _M_IceStorm.LinkInfo):
62
+ return NotImplemented
63
+ else:
64
+ if self.theTopic != other.theTopic:
65
+ return False
66
+ if self.name != other.name:
67
+ return False
68
+ if self.cost != other.cost:
69
+ return False
70
+ return True
71
+
72
+ def __ne__(self, other):
73
+ return not self.__eq__(other)
74
+
75
+ def __str__(self):
76
+ return IcePy.stringify(self, _M_IceStorm._t_LinkInfo)
77
+
78
+ __repr__ = __str__
79
+
80
+ _M_IceStorm._t_LinkInfo = IcePy.defineStruct('::IceStorm::LinkInfo', LinkInfo, (), (
81
+ ('theTopic', (), _M_IceStorm._t_TopicPrx),
82
+ ('name', (), IcePy._t_string),
83
+ ('cost', (), IcePy._t_int)
84
+ ))
85
+
86
+ _M_IceStorm.LinkInfo = LinkInfo
87
+ del LinkInfo
88
+
89
+ if '_t_LinkInfoSeq' not in _M_IceStorm.__dict__:
90
+ _M_IceStorm._t_LinkInfoSeq = IcePy.defineSequence('::IceStorm::LinkInfoSeq', (), _M_IceStorm._t_LinkInfo)
91
+
92
+ if '_t_QoS' not in _M_IceStorm.__dict__:
93
+ _M_IceStorm._t_QoS = IcePy.defineDictionary('::IceStorm::QoS', (), IcePy._t_string, IcePy._t_string)
94
+
95
+ if 'LinkExists' not in _M_IceStorm.__dict__:
96
+ _M_IceStorm.LinkExists = Ice.createTempClass()
97
+ class LinkExists(Ice.UserException):
98
+ """
99
+ This exception indicates that an attempt was made to create a link
100
+ that already exists.
101
+ Members:
102
+ name -- The name of the linked topic.
103
+ """
104
+ def __init__(self, name=''):
105
+ self.name = name
106
+
107
+ def __str__(self):
108
+ return IcePy.stringifyException(self)
109
+
110
+ __repr__ = __str__
111
+
112
+ _ice_id = '::IceStorm::LinkExists'
113
+
114
+ _M_IceStorm._t_LinkExists = IcePy.defineException('::IceStorm::LinkExists', LinkExists, (), False, None, (('name', (), IcePy._t_string, False, 0),))
115
+ LinkExists._ice_type = _M_IceStorm._t_LinkExists
116
+
117
+ _M_IceStorm.LinkExists = LinkExists
118
+ del LinkExists
119
+
120
+ if 'NoSuchLink' not in _M_IceStorm.__dict__:
121
+ _M_IceStorm.NoSuchLink = Ice.createTempClass()
122
+ class NoSuchLink(Ice.UserException):
123
+ """
124
+ This exception indicates that an attempt was made to remove a
125
+ link that does not exist.
126
+ Members:
127
+ name -- The name of the link that does not exist.
128
+ """
129
+ def __init__(self, name=''):
130
+ self.name = name
131
+
132
+ def __str__(self):
133
+ return IcePy.stringifyException(self)
134
+
135
+ __repr__ = __str__
136
+
137
+ _ice_id = '::IceStorm::NoSuchLink'
138
+
139
+ _M_IceStorm._t_NoSuchLink = IcePy.defineException('::IceStorm::NoSuchLink', NoSuchLink, (), False, None, (('name', (), IcePy._t_string, False, 0),))
140
+ NoSuchLink._ice_type = _M_IceStorm._t_NoSuchLink
141
+
142
+ _M_IceStorm.NoSuchLink = NoSuchLink
143
+ del NoSuchLink
144
+
145
+ if 'AlreadySubscribed' not in _M_IceStorm.__dict__:
146
+ _M_IceStorm.AlreadySubscribed = Ice.createTempClass()
147
+ class AlreadySubscribed(Ice.UserException):
148
+ """
149
+ This exception indicates that an attempt was made to subscribe
150
+ a proxy for which a subscription already exists.
151
+ """
152
+ def __init__(self):
153
+ pass
154
+
155
+ def __str__(self):
156
+ return IcePy.stringifyException(self)
157
+
158
+ __repr__ = __str__
159
+
160
+ _ice_id = '::IceStorm::AlreadySubscribed'
161
+
162
+ _M_IceStorm._t_AlreadySubscribed = IcePy.defineException('::IceStorm::AlreadySubscribed', AlreadySubscribed, (), False, None, ())
163
+ AlreadySubscribed._ice_type = _M_IceStorm._t_AlreadySubscribed
164
+
165
+ _M_IceStorm.AlreadySubscribed = AlreadySubscribed
166
+ del AlreadySubscribed
167
+
168
+ if 'InvalidSubscriber' not in _M_IceStorm.__dict__:
169
+ _M_IceStorm.InvalidSubscriber = Ice.createTempClass()
170
+ class InvalidSubscriber(Ice.UserException):
171
+ """
172
+ This exception indicates that an attempt was made to subscribe
173
+ a proxy that is null.
174
+ Members:
175
+ reason -- The reason for the failure.
176
+ """
177
+ def __init__(self, reason=''):
178
+ self.reason = reason
179
+
180
+ def __str__(self):
181
+ return IcePy.stringifyException(self)
182
+
183
+ __repr__ = __str__
184
+
185
+ _ice_id = '::IceStorm::InvalidSubscriber'
186
+
187
+ _M_IceStorm._t_InvalidSubscriber = IcePy.defineException('::IceStorm::InvalidSubscriber', InvalidSubscriber, (), False, None, (('reason', (), IcePy._t_string, False, 0),))
188
+ InvalidSubscriber._ice_type = _M_IceStorm._t_InvalidSubscriber
189
+
190
+ _M_IceStorm.InvalidSubscriber = InvalidSubscriber
191
+ del InvalidSubscriber
192
+
193
+ if 'BadQoS' not in _M_IceStorm.__dict__:
194
+ _M_IceStorm.BadQoS = Ice.createTempClass()
195
+ class BadQoS(Ice.UserException):
196
+ """
197
+ This exception indicates that a subscription failed due to an
198
+ invalid QoS.
199
+ Members:
200
+ reason -- The reason for the failure.
201
+ """
202
+ def __init__(self, reason=''):
203
+ self.reason = reason
204
+
205
+ def __str__(self):
206
+ return IcePy.stringifyException(self)
207
+
208
+ __repr__ = __str__
209
+
210
+ _ice_id = '::IceStorm::BadQoS'
211
+
212
+ _M_IceStorm._t_BadQoS = IcePy.defineException('::IceStorm::BadQoS', BadQoS, (), False, None, (('reason', (), IcePy._t_string, False, 0),))
213
+ BadQoS._ice_type = _M_IceStorm._t_BadQoS
214
+
215
+ _M_IceStorm.BadQoS = BadQoS
216
+ del BadQoS
217
+
218
+ _M_IceStorm._t_Topic = IcePy.defineValue('::IceStorm::Topic', Ice.Value, -1, (), False, True, None, ())
219
+
220
+ if 'TopicPrx' not in _M_IceStorm.__dict__:
221
+ _M_IceStorm.TopicPrx = Ice.createTempClass()
222
+ class TopicPrx(Ice.ObjectPrx):
223
+
224
+ """
225
+ Get the name of this topic.
226
+ Arguments:
227
+ context -- The request context for the invocation.
228
+ Returns: The name of the topic.
229
+ """
230
+ def getName(self, context=None):
231
+ return _M_IceStorm.Topic._op_getName.invoke(self, ((), context))
232
+
233
+ """
234
+ Get the name of this topic.
235
+ Arguments:
236
+ context -- The request context for the invocation.
237
+ Returns: A future object for the invocation.
238
+ """
239
+ def getNameAsync(self, context=None):
240
+ return _M_IceStorm.Topic._op_getName.invokeAsync(self, ((), context))
241
+
242
+ """
243
+ Get the name of this topic.
244
+ Arguments:
245
+ _response -- The asynchronous response callback.
246
+ _ex -- The asynchronous exception callback.
247
+ _sent -- The asynchronous sent callback.
248
+ context -- The request context for the invocation.
249
+ Returns: An asynchronous result object for the invocation.
250
+ """
251
+ def begin_getName(self, _response=None, _ex=None, _sent=None, context=None):
252
+ return _M_IceStorm.Topic._op_getName.begin(self, ((), _response, _ex, _sent, context))
253
+
254
+ """
255
+ Get the name of this topic.
256
+ Arguments:
257
+ Returns: The name of the topic.
258
+ """
259
+ def end_getName(self, _r):
260
+ return _M_IceStorm.Topic._op_getName.end(self, _r)
261
+
262
+ """
263
+ Get a proxy to a publisher object for this topic. To publish
264
+ data to a topic, the publisher calls getPublisher and then
265
+ casts to the topic type. An unchecked cast must be used on this
266
+ proxy. If a replicated IceStorm deployment is used this call
267
+ may return a replicated proxy.
268
+ Arguments:
269
+ context -- The request context for the invocation.
270
+ Returns: A proxy to publish data on this topic.
271
+ """
272
+ def getPublisher(self, context=None):
273
+ return _M_IceStorm.Topic._op_getPublisher.invoke(self, ((), context))
274
+
275
+ """
276
+ Get a proxy to a publisher object for this topic. To publish
277
+ data to a topic, the publisher calls getPublisher and then
278
+ casts to the topic type. An unchecked cast must be used on this
279
+ proxy. If a replicated IceStorm deployment is used this call
280
+ may return a replicated proxy.
281
+ Arguments:
282
+ context -- The request context for the invocation.
283
+ Returns: A future object for the invocation.
284
+ """
285
+ def getPublisherAsync(self, context=None):
286
+ return _M_IceStorm.Topic._op_getPublisher.invokeAsync(self, ((), context))
287
+
288
+ """
289
+ Get a proxy to a publisher object for this topic. To publish
290
+ data to a topic, the publisher calls getPublisher and then
291
+ casts to the topic type. An unchecked cast must be used on this
292
+ proxy. If a replicated IceStorm deployment is used this call
293
+ may return a replicated proxy.
294
+ Arguments:
295
+ _response -- The asynchronous response callback.
296
+ _ex -- The asynchronous exception callback.
297
+ _sent -- The asynchronous sent callback.
298
+ context -- The request context for the invocation.
299
+ Returns: An asynchronous result object for the invocation.
300
+ """
301
+ def begin_getPublisher(self, _response=None, _ex=None, _sent=None, context=None):
302
+ return _M_IceStorm.Topic._op_getPublisher.begin(self, ((), _response, _ex, _sent, context))
303
+
304
+ """
305
+ Get a proxy to a publisher object for this topic. To publish
306
+ data to a topic, the publisher calls getPublisher and then
307
+ casts to the topic type. An unchecked cast must be used on this
308
+ proxy. If a replicated IceStorm deployment is used this call
309
+ may return a replicated proxy.
310
+ Arguments:
311
+ Returns: A proxy to publish data on this topic.
312
+ """
313
+ def end_getPublisher(self, _r):
314
+ return _M_IceStorm.Topic._op_getPublisher.end(self, _r)
315
+
316
+ """
317
+ Get a non-replicated proxy to a publisher object for this
318
+ topic. To publish data to a topic, the publisher calls
319
+ getPublisher and then casts to the topic type. An unchecked
320
+ cast must be used on this proxy.
321
+ Arguments:
322
+ context -- The request context for the invocation.
323
+ Returns: A proxy to publish data on this topic.
324
+ """
325
+ def getNonReplicatedPublisher(self, context=None):
326
+ return _M_IceStorm.Topic._op_getNonReplicatedPublisher.invoke(self, ((), context))
327
+
328
+ """
329
+ Get a non-replicated proxy to a publisher object for this
330
+ topic. To publish data to a topic, the publisher calls
331
+ getPublisher and then casts to the topic type. An unchecked
332
+ cast must be used on this proxy.
333
+ Arguments:
334
+ context -- The request context for the invocation.
335
+ Returns: A future object for the invocation.
336
+ """
337
+ def getNonReplicatedPublisherAsync(self, context=None):
338
+ return _M_IceStorm.Topic._op_getNonReplicatedPublisher.invokeAsync(self, ((), context))
339
+
340
+ """
341
+ Get a non-replicated proxy to a publisher object for this
342
+ topic. To publish data to a topic, the publisher calls
343
+ getPublisher and then casts to the topic type. An unchecked
344
+ cast must be used on this proxy.
345
+ Arguments:
346
+ _response -- The asynchronous response callback.
347
+ _ex -- The asynchronous exception callback.
348
+ _sent -- The asynchronous sent callback.
349
+ context -- The request context for the invocation.
350
+ Returns: An asynchronous result object for the invocation.
351
+ """
352
+ def begin_getNonReplicatedPublisher(self, _response=None, _ex=None, _sent=None, context=None):
353
+ return _M_IceStorm.Topic._op_getNonReplicatedPublisher.begin(self, ((), _response, _ex, _sent, context))
354
+
355
+ """
356
+ Get a non-replicated proxy to a publisher object for this
357
+ topic. To publish data to a topic, the publisher calls
358
+ getPublisher and then casts to the topic type. An unchecked
359
+ cast must be used on this proxy.
360
+ Arguments:
361
+ Returns: A proxy to publish data on this topic.
362
+ """
363
+ def end_getNonReplicatedPublisher(self, _r):
364
+ return _M_IceStorm.Topic._op_getNonReplicatedPublisher.end(self, _r)
365
+
366
+ """
367
+ Subscribe with the given qos to this topic. A
368
+ per-subscriber publisher object is returned.
369
+ Arguments:
370
+ theQoS -- The quality of service parameters for this subscription.
371
+ subscriber -- The subscriber's proxy.
372
+ context -- The request context for the invocation.
373
+ Returns: The per-subscriber publisher object.
374
+ Throws:
375
+ AlreadySubscribed -- Raised if the subscriber object is already subscribed.
376
+ BadQoS -- Raised if the requested quality of service is unavailable or invalid.
377
+ InvalidSubscriber -- Raised if the subscriber object is null.
378
+ """
379
+ def subscribeAndGetPublisher(self, theQoS, subscriber, context=None):
380
+ return _M_IceStorm.Topic._op_subscribeAndGetPublisher.invoke(self, ((theQoS, subscriber), context))
381
+
382
+ """
383
+ Subscribe with the given qos to this topic. A
384
+ per-subscriber publisher object is returned.
385
+ Arguments:
386
+ theQoS -- The quality of service parameters for this subscription.
387
+ subscriber -- The subscriber's proxy.
388
+ context -- The request context for the invocation.
389
+ Returns: A future object for the invocation.
390
+ """
391
+ def subscribeAndGetPublisherAsync(self, theQoS, subscriber, context=None):
392
+ return _M_IceStorm.Topic._op_subscribeAndGetPublisher.invokeAsync(self, ((theQoS, subscriber), context))
393
+
394
+ """
395
+ Subscribe with the given qos to this topic. A
396
+ per-subscriber publisher object is returned.
397
+ Arguments:
398
+ theQoS -- The quality of service parameters for this subscription.
399
+ subscriber -- The subscriber's proxy.
400
+ _response -- The asynchronous response callback.
401
+ _ex -- The asynchronous exception callback.
402
+ _sent -- The asynchronous sent callback.
403
+ context -- The request context for the invocation.
404
+ Returns: An asynchronous result object for the invocation.
405
+ """
406
+ def begin_subscribeAndGetPublisher(self, theQoS, subscriber, _response=None, _ex=None, _sent=None, context=None):
407
+ return _M_IceStorm.Topic._op_subscribeAndGetPublisher.begin(self, ((theQoS, subscriber), _response, _ex, _sent, context))
408
+
409
+ """
410
+ Subscribe with the given qos to this topic. A
411
+ per-subscriber publisher object is returned.
412
+ Arguments:
413
+ theQoS -- The quality of service parameters for this subscription.
414
+ subscriber -- The subscriber's proxy.
415
+ Returns: The per-subscriber publisher object.
416
+ Throws:
417
+ AlreadySubscribed -- Raised if the subscriber object is already subscribed.
418
+ BadQoS -- Raised if the requested quality of service is unavailable or invalid.
419
+ InvalidSubscriber -- Raised if the subscriber object is null.
420
+ """
421
+ def end_subscribeAndGetPublisher(self, _r):
422
+ return _M_IceStorm.Topic._op_subscribeAndGetPublisher.end(self, _r)
423
+
424
+ """
425
+ Unsubscribe the given subscriber.
426
+ Arguments:
427
+ subscriber -- The proxy of an existing subscriber.
428
+ context -- The request context for the invocation.
429
+ """
430
+ def unsubscribe(self, subscriber, context=None):
431
+ return _M_IceStorm.Topic._op_unsubscribe.invoke(self, ((subscriber, ), context))
432
+
433
+ """
434
+ Unsubscribe the given subscriber.
435
+ Arguments:
436
+ subscriber -- The proxy of an existing subscriber.
437
+ context -- The request context for the invocation.
438
+ Returns: A future object for the invocation.
439
+ """
440
+ def unsubscribeAsync(self, subscriber, context=None):
441
+ return _M_IceStorm.Topic._op_unsubscribe.invokeAsync(self, ((subscriber, ), context))
442
+
443
+ """
444
+ Unsubscribe the given subscriber.
445
+ Arguments:
446
+ subscriber -- The proxy of an existing subscriber.
447
+ _response -- The asynchronous response callback.
448
+ _ex -- The asynchronous exception callback.
449
+ _sent -- The asynchronous sent callback.
450
+ context -- The request context for the invocation.
451
+ Returns: An asynchronous result object for the invocation.
452
+ """
453
+ def begin_unsubscribe(self, subscriber, _response=None, _ex=None, _sent=None, context=None):
454
+ return _M_IceStorm.Topic._op_unsubscribe.begin(self, ((subscriber, ), _response, _ex, _sent, context))
455
+
456
+ """
457
+ Unsubscribe the given subscriber.
458
+ Arguments:
459
+ subscriber -- The proxy of an existing subscriber.
460
+ """
461
+ def end_unsubscribe(self, _r):
462
+ return _M_IceStorm.Topic._op_unsubscribe.end(self, _r)
463
+
464
+ """
465
+ Create a link to the given topic. All events originating
466
+ on this topic will also be sent to linkTo.
467
+ Arguments:
468
+ linkTo -- The topic to link to.
469
+ cost -- The cost to the linked topic.
470
+ context -- The request context for the invocation.
471
+ Throws:
472
+ LinkExists -- Raised if a link to the same topic already exists.
473
+ """
474
+ def link(self, linkTo, cost, context=None):
475
+ return _M_IceStorm.Topic._op_link.invoke(self, ((linkTo, cost), context))
476
+
477
+ """
478
+ Create a link to the given topic. All events originating
479
+ on this topic will also be sent to linkTo.
480
+ Arguments:
481
+ linkTo -- The topic to link to.
482
+ cost -- The cost to the linked topic.
483
+ context -- The request context for the invocation.
484
+ Returns: A future object for the invocation.
485
+ """
486
+ def linkAsync(self, linkTo, cost, context=None):
487
+ return _M_IceStorm.Topic._op_link.invokeAsync(self, ((linkTo, cost), context))
488
+
489
+ """
490
+ Create a link to the given topic. All events originating
491
+ on this topic will also be sent to linkTo.
492
+ Arguments:
493
+ linkTo -- The topic to link to.
494
+ cost -- The cost to the linked topic.
495
+ _response -- The asynchronous response callback.
496
+ _ex -- The asynchronous exception callback.
497
+ _sent -- The asynchronous sent callback.
498
+ context -- The request context for the invocation.
499
+ Returns: An asynchronous result object for the invocation.
500
+ """
501
+ def begin_link(self, linkTo, cost, _response=None, _ex=None, _sent=None, context=None):
502
+ return _M_IceStorm.Topic._op_link.begin(self, ((linkTo, cost), _response, _ex, _sent, context))
503
+
504
+ """
505
+ Create a link to the given topic. All events originating
506
+ on this topic will also be sent to linkTo.
507
+ Arguments:
508
+ linkTo -- The topic to link to.
509
+ cost -- The cost to the linked topic.
510
+ Throws:
511
+ LinkExists -- Raised if a link to the same topic already exists.
512
+ """
513
+ def end_link(self, _r):
514
+ return _M_IceStorm.Topic._op_link.end(self, _r)
515
+
516
+ """
517
+ Destroy the link from this topic to the given topic linkTo.
518
+ Arguments:
519
+ linkTo -- The topic to destroy the link to.
520
+ context -- The request context for the invocation.
521
+ Throws:
522
+ NoSuchLink -- Raised if a link to the topic does not exist.
523
+ """
524
+ def unlink(self, linkTo, context=None):
525
+ return _M_IceStorm.Topic._op_unlink.invoke(self, ((linkTo, ), context))
526
+
527
+ """
528
+ Destroy the link from this topic to the given topic linkTo.
529
+ Arguments:
530
+ linkTo -- The topic to destroy the link to.
531
+ context -- The request context for the invocation.
532
+ Returns: A future object for the invocation.
533
+ """
534
+ def unlinkAsync(self, linkTo, context=None):
535
+ return _M_IceStorm.Topic._op_unlink.invokeAsync(self, ((linkTo, ), context))
536
+
537
+ """
538
+ Destroy the link from this topic to the given topic linkTo.
539
+ Arguments:
540
+ linkTo -- The topic to destroy the link to.
541
+ _response -- The asynchronous response callback.
542
+ _ex -- The asynchronous exception callback.
543
+ _sent -- The asynchronous sent callback.
544
+ context -- The request context for the invocation.
545
+ Returns: An asynchronous result object for the invocation.
546
+ """
547
+ def begin_unlink(self, linkTo, _response=None, _ex=None, _sent=None, context=None):
548
+ return _M_IceStorm.Topic._op_unlink.begin(self, ((linkTo, ), _response, _ex, _sent, context))
549
+
550
+ """
551
+ Destroy the link from this topic to the given topic linkTo.
552
+ Arguments:
553
+ linkTo -- The topic to destroy the link to.
554
+ Throws:
555
+ NoSuchLink -- Raised if a link to the topic does not exist.
556
+ """
557
+ def end_unlink(self, _r):
558
+ return _M_IceStorm.Topic._op_unlink.end(self, _r)
559
+
560
+ """
561
+ Retrieve information on the current links.
562
+ Arguments:
563
+ context -- The request context for the invocation.
564
+ Returns: A sequence of LinkInfo objects.
565
+ """
566
+ def getLinkInfoSeq(self, context=None):
567
+ return _M_IceStorm.Topic._op_getLinkInfoSeq.invoke(self, ((), context))
568
+
569
+ """
570
+ Retrieve information on the current links.
571
+ Arguments:
572
+ context -- The request context for the invocation.
573
+ Returns: A future object for the invocation.
574
+ """
575
+ def getLinkInfoSeqAsync(self, context=None):
576
+ return _M_IceStorm.Topic._op_getLinkInfoSeq.invokeAsync(self, ((), context))
577
+
578
+ """
579
+ Retrieve information on the current links.
580
+ Arguments:
581
+ _response -- The asynchronous response callback.
582
+ _ex -- The asynchronous exception callback.
583
+ _sent -- The asynchronous sent callback.
584
+ context -- The request context for the invocation.
585
+ Returns: An asynchronous result object for the invocation.
586
+ """
587
+ def begin_getLinkInfoSeq(self, _response=None, _ex=None, _sent=None, context=None):
588
+ return _M_IceStorm.Topic._op_getLinkInfoSeq.begin(self, ((), _response, _ex, _sent, context))
589
+
590
+ """
591
+ Retrieve information on the current links.
592
+ Arguments:
593
+ Returns: A sequence of LinkInfo objects.
594
+ """
595
+ def end_getLinkInfoSeq(self, _r):
596
+ return _M_IceStorm.Topic._op_getLinkInfoSeq.end(self, _r)
597
+
598
+ """
599
+ Retrieve the list of subscribers for this topic.
600
+ Arguments:
601
+ context -- The request context for the invocation.
602
+ Returns: The sequence of Ice identities for the subscriber objects.
603
+ """
604
+ def getSubscribers(self, context=None):
605
+ return _M_IceStorm.Topic._op_getSubscribers.invoke(self, ((), context))
606
+
607
+ """
608
+ Retrieve the list of subscribers for this topic.
609
+ Arguments:
610
+ context -- The request context for the invocation.
611
+ Returns: A future object for the invocation.
612
+ """
613
+ def getSubscribersAsync(self, context=None):
614
+ return _M_IceStorm.Topic._op_getSubscribers.invokeAsync(self, ((), context))
615
+
616
+ """
617
+ Retrieve the list of subscribers for this topic.
618
+ Arguments:
619
+ _response -- The asynchronous response callback.
620
+ _ex -- The asynchronous exception callback.
621
+ _sent -- The asynchronous sent callback.
622
+ context -- The request context for the invocation.
623
+ Returns: An asynchronous result object for the invocation.
624
+ """
625
+ def begin_getSubscribers(self, _response=None, _ex=None, _sent=None, context=None):
626
+ return _M_IceStorm.Topic._op_getSubscribers.begin(self, ((), _response, _ex, _sent, context))
627
+
628
+ """
629
+ Retrieve the list of subscribers for this topic.
630
+ Arguments:
631
+ Returns: The sequence of Ice identities for the subscriber objects.
632
+ """
633
+ def end_getSubscribers(self, _r):
634
+ return _M_IceStorm.Topic._op_getSubscribers.end(self, _r)
635
+
636
+ """
637
+ Destroy the topic.
638
+ Arguments:
639
+ context -- The request context for the invocation.
640
+ """
641
+ def destroy(self, context=None):
642
+ return _M_IceStorm.Topic._op_destroy.invoke(self, ((), context))
643
+
644
+ """
645
+ Destroy the topic.
646
+ Arguments:
647
+ context -- The request context for the invocation.
648
+ Returns: A future object for the invocation.
649
+ """
650
+ def destroyAsync(self, context=None):
651
+ return _M_IceStorm.Topic._op_destroy.invokeAsync(self, ((), context))
652
+
653
+ """
654
+ Destroy the topic.
655
+ Arguments:
656
+ _response -- The asynchronous response callback.
657
+ _ex -- The asynchronous exception callback.
658
+ _sent -- The asynchronous sent callback.
659
+ context -- The request context for the invocation.
660
+ Returns: An asynchronous result object for the invocation.
661
+ """
662
+ def begin_destroy(self, _response=None, _ex=None, _sent=None, context=None):
663
+ return _M_IceStorm.Topic._op_destroy.begin(self, ((), _response, _ex, _sent, context))
664
+
665
+ """
666
+ Destroy the topic.
667
+ Arguments:
668
+ """
669
+ def end_destroy(self, _r):
670
+ return _M_IceStorm.Topic._op_destroy.end(self, _r)
671
+
672
+ @staticmethod
673
+ def checkedCast(proxy, facetOrContext=None, context=None):
674
+ return _M_IceStorm.TopicPrx.ice_checkedCast(proxy, '::IceStorm::Topic', facetOrContext, context)
675
+
676
+ @staticmethod
677
+ def uncheckedCast(proxy, facet=None):
678
+ return _M_IceStorm.TopicPrx.ice_uncheckedCast(proxy, facet)
679
+
680
+ @staticmethod
681
+ def ice_staticId():
682
+ return '::IceStorm::Topic'
683
+ _M_IceStorm._t_TopicPrx = IcePy.defineProxy('::IceStorm::Topic', TopicPrx)
684
+
685
+ _M_IceStorm.TopicPrx = TopicPrx
686
+ del TopicPrx
687
+
688
+ _M_IceStorm.Topic = Ice.createTempClass()
689
+ class Topic(Ice.Object):
690
+
691
+ def ice_ids(self, current=None):
692
+ return ('::Ice::Object', '::IceStorm::Topic')
693
+
694
+ def ice_id(self, current=None):
695
+ return '::IceStorm::Topic'
696
+
697
+ @staticmethod
698
+ def ice_staticId():
699
+ return '::IceStorm::Topic'
700
+
701
+ def getName(self, current=None):
702
+ """
703
+ Get the name of this topic.
704
+ Arguments:
705
+ current -- The Current object for the invocation.
706
+ Returns: A future object for the invocation.
707
+ """
708
+ raise NotImplementedError("servant method 'getName' not implemented")
709
+
710
+ def getPublisher(self, current=None):
711
+ """
712
+ Get a proxy to a publisher object for this topic. To publish
713
+ data to a topic, the publisher calls getPublisher and then
714
+ casts to the topic type. An unchecked cast must be used on this
715
+ proxy. If a replicated IceStorm deployment is used this call
716
+ may return a replicated proxy.
717
+ Arguments:
718
+ current -- The Current object for the invocation.
719
+ Returns: A future object for the invocation.
720
+ """
721
+ raise NotImplementedError("servant method 'getPublisher' not implemented")
722
+
723
+ def getNonReplicatedPublisher(self, current=None):
724
+ """
725
+ Get a non-replicated proxy to a publisher object for this
726
+ topic. To publish data to a topic, the publisher calls
727
+ getPublisher and then casts to the topic type. An unchecked
728
+ cast must be used on this proxy.
729
+ Arguments:
730
+ current -- The Current object for the invocation.
731
+ Returns: A future object for the invocation.
732
+ """
733
+ raise NotImplementedError("servant method 'getNonReplicatedPublisher' not implemented")
734
+
735
+ def subscribeAndGetPublisher(self, theQoS, subscriber, current=None):
736
+ """
737
+ Subscribe with the given qos to this topic. A
738
+ per-subscriber publisher object is returned.
739
+ Arguments:
740
+ theQoS -- The quality of service parameters for this subscription.
741
+ subscriber -- The subscriber's proxy.
742
+ current -- The Current object for the invocation.
743
+ Returns: A future object for the invocation.
744
+ Throws:
745
+ AlreadySubscribed -- Raised if the subscriber object is already subscribed.
746
+ BadQoS -- Raised if the requested quality of service is unavailable or invalid.
747
+ InvalidSubscriber -- Raised if the subscriber object is null.
748
+ """
749
+ raise NotImplementedError("servant method 'subscribeAndGetPublisher' not implemented")
750
+
751
+ def unsubscribe(self, subscriber, current=None):
752
+ """
753
+ Unsubscribe the given subscriber.
754
+ Arguments:
755
+ subscriber -- The proxy of an existing subscriber.
756
+ current -- The Current object for the invocation.
757
+ Returns: A future object for the invocation.
758
+ """
759
+ raise NotImplementedError("servant method 'unsubscribe' not implemented")
760
+
761
+ def link(self, linkTo, cost, current=None):
762
+ """
763
+ Create a link to the given topic. All events originating
764
+ on this topic will also be sent to linkTo.
765
+ Arguments:
766
+ linkTo -- The topic to link to.
767
+ cost -- The cost to the linked topic.
768
+ current -- The Current object for the invocation.
769
+ Returns: A future object for the invocation.
770
+ Throws:
771
+ LinkExists -- Raised if a link to the same topic already exists.
772
+ """
773
+ raise NotImplementedError("servant method 'link' not implemented")
774
+
775
+ def unlink(self, linkTo, current=None):
776
+ """
777
+ Destroy the link from this topic to the given topic linkTo.
778
+ Arguments:
779
+ linkTo -- The topic to destroy the link to.
780
+ current -- The Current object for the invocation.
781
+ Returns: A future object for the invocation.
782
+ Throws:
783
+ NoSuchLink -- Raised if a link to the topic does not exist.
784
+ """
785
+ raise NotImplementedError("servant method 'unlink' not implemented")
786
+
787
+ def getLinkInfoSeq(self, current=None):
788
+ """
789
+ Retrieve information on the current links.
790
+ Arguments:
791
+ current -- The Current object for the invocation.
792
+ Returns: A future object for the invocation.
793
+ """
794
+ raise NotImplementedError("servant method 'getLinkInfoSeq' not implemented")
795
+
796
+ def getSubscribers(self, current=None):
797
+ """
798
+ Retrieve the list of subscribers for this topic.
799
+ Arguments:
800
+ current -- The Current object for the invocation.
801
+ Returns: A future object for the invocation.
802
+ """
803
+ raise NotImplementedError("servant method 'getSubscribers' not implemented")
804
+
805
+ def destroy(self, current=None):
806
+ """
807
+ Destroy the topic.
808
+ Arguments:
809
+ current -- The Current object for the invocation.
810
+ Returns: A future object for the invocation.
811
+ """
812
+ raise NotImplementedError("servant method 'destroy' not implemented")
813
+
814
+ def __str__(self):
815
+ return IcePy.stringify(self, _M_IceStorm._t_TopicDisp)
816
+
817
+ __repr__ = __str__
818
+
819
+ _M_IceStorm._t_TopicDisp = IcePy.defineClass('::IceStorm::Topic', Topic, (), None, ())
820
+ Topic._ice_type = _M_IceStorm._t_TopicDisp
821
+
822
+ Topic._op_getName = IcePy.Operation('getName', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), IcePy._t_string, False, 0), ())
823
+ Topic._op_getPublisher = IcePy.Operation('getPublisher', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), IcePy._t_ObjectPrx, False, 0), ())
824
+ Topic._op_getNonReplicatedPublisher = IcePy.Operation('getNonReplicatedPublisher', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), IcePy._t_ObjectPrx, False, 0), ())
825
+ Topic._op_subscribeAndGetPublisher = IcePy.Operation('subscribeAndGetPublisher', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_IceStorm._t_QoS, False, 0), ((), IcePy._t_ObjectPrx, False, 0)), (), ((), IcePy._t_ObjectPrx, False, 0), (_M_IceStorm._t_AlreadySubscribed, _M_IceStorm._t_InvalidSubscriber, _M_IceStorm._t_BadQoS))
826
+ Topic._op_unsubscribe = IcePy.Operation('unsubscribe', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, False, None, (), (((), IcePy._t_ObjectPrx, False, 0),), (), None, ())
827
+ Topic._op_link = IcePy.Operation('link', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_IceStorm._t_TopicPrx, False, 0), ((), IcePy._t_int, False, 0)), (), None, (_M_IceStorm._t_LinkExists,))
828
+ Topic._op_unlink = IcePy.Operation('unlink', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_IceStorm._t_TopicPrx, False, 0),), (), None, (_M_IceStorm._t_NoSuchLink,))
829
+ Topic._op_getLinkInfoSeq = IcePy.Operation('getLinkInfoSeq', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_IceStorm._t_LinkInfoSeq, False, 0), ())
830
+ Topic._op_getSubscribers = IcePy.Operation('getSubscribers', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_Ice._t_IdentitySeq, False, 0), ())
831
+ Topic._op_destroy = IcePy.Operation('destroy', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), None, ())
832
+
833
+ _M_IceStorm.Topic = Topic
834
+ del Topic
835
+
836
+ if '_t_TopicDict' not in _M_IceStorm.__dict__:
837
+ _M_IceStorm._t_TopicDict = IcePy.defineDictionary('::IceStorm::TopicDict', (), IcePy._t_string, _M_IceStorm._t_TopicPrx)
838
+
839
+ if 'TopicExists' not in _M_IceStorm.__dict__:
840
+ _M_IceStorm.TopicExists = Ice.createTempClass()
841
+ class TopicExists(Ice.UserException):
842
+ """
843
+ This exception indicates that an attempt was made to create a topic
844
+ that already exists.
845
+ Members:
846
+ name -- The name of the topic that already exists.
847
+ """
848
+ def __init__(self, name=''):
849
+ self.name = name
850
+
851
+ def __str__(self):
852
+ return IcePy.stringifyException(self)
853
+
854
+ __repr__ = __str__
855
+
856
+ _ice_id = '::IceStorm::TopicExists'
857
+
858
+ _M_IceStorm._t_TopicExists = IcePy.defineException('::IceStorm::TopicExists', TopicExists, (), False, None, (('name', (), IcePy._t_string, False, 0),))
859
+ TopicExists._ice_type = _M_IceStorm._t_TopicExists
860
+
861
+ _M_IceStorm.TopicExists = TopicExists
862
+ del TopicExists
863
+
864
+ if 'NoSuchTopic' not in _M_IceStorm.__dict__:
865
+ _M_IceStorm.NoSuchTopic = Ice.createTempClass()
866
+ class NoSuchTopic(Ice.UserException):
867
+ """
868
+ This exception indicates that an attempt was made to retrieve a
869
+ topic that does not exist.
870
+ Members:
871
+ name -- The name of the topic that does not exist.
872
+ """
873
+ def __init__(self, name=''):
874
+ self.name = name
875
+
876
+ def __str__(self):
877
+ return IcePy.stringifyException(self)
878
+
879
+ __repr__ = __str__
880
+
881
+ _ice_id = '::IceStorm::NoSuchTopic'
882
+
883
+ _M_IceStorm._t_NoSuchTopic = IcePy.defineException('::IceStorm::NoSuchTopic', NoSuchTopic, (), False, None, (('name', (), IcePy._t_string, False, 0),))
884
+ NoSuchTopic._ice_type = _M_IceStorm._t_NoSuchTopic
885
+
886
+ _M_IceStorm.NoSuchTopic = NoSuchTopic
887
+ del NoSuchTopic
888
+
889
+ _M_IceStorm._t_TopicManager = IcePy.defineValue('::IceStorm::TopicManager', Ice.Value, -1, (), False, True, None, ())
890
+
891
+ if 'TopicManagerPrx' not in _M_IceStorm.__dict__:
892
+ _M_IceStorm.TopicManagerPrx = Ice.createTempClass()
893
+ class TopicManagerPrx(Ice.ObjectPrx):
894
+
895
+ """
896
+ Create a new topic. The topic name must be unique.
897
+ Arguments:
898
+ name -- The name of the topic.
899
+ context -- The request context for the invocation.
900
+ Returns: A proxy to the topic instance.
901
+ Throws:
902
+ TopicExists -- Raised if a topic with the same name already exists.
903
+ """
904
+ def create(self, name, context=None):
905
+ return _M_IceStorm.TopicManager._op_create.invoke(self, ((name, ), context))
906
+
907
+ """
908
+ Create a new topic. The topic name must be unique.
909
+ Arguments:
910
+ name -- The name of the topic.
911
+ context -- The request context for the invocation.
912
+ Returns: A future object for the invocation.
913
+ """
914
+ def createAsync(self, name, context=None):
915
+ return _M_IceStorm.TopicManager._op_create.invokeAsync(self, ((name, ), context))
916
+
917
+ """
918
+ Create a new topic. The topic name must be unique.
919
+ Arguments:
920
+ name -- The name of the topic.
921
+ _response -- The asynchronous response callback.
922
+ _ex -- The asynchronous exception callback.
923
+ _sent -- The asynchronous sent callback.
924
+ context -- The request context for the invocation.
925
+ Returns: An asynchronous result object for the invocation.
926
+ """
927
+ def begin_create(self, name, _response=None, _ex=None, _sent=None, context=None):
928
+ return _M_IceStorm.TopicManager._op_create.begin(self, ((name, ), _response, _ex, _sent, context))
929
+
930
+ """
931
+ Create a new topic. The topic name must be unique.
932
+ Arguments:
933
+ name -- The name of the topic.
934
+ Returns: A proxy to the topic instance.
935
+ Throws:
936
+ TopicExists -- Raised if a topic with the same name already exists.
937
+ """
938
+ def end_create(self, _r):
939
+ return _M_IceStorm.TopicManager._op_create.end(self, _r)
940
+
941
+ """
942
+ Retrieve a topic by name.
943
+ Arguments:
944
+ name -- The name of the topic.
945
+ context -- The request context for the invocation.
946
+ Returns: A proxy to the topic instance.
947
+ Throws:
948
+ NoSuchTopic -- Raised if the topic does not exist.
949
+ """
950
+ def retrieve(self, name, context=None):
951
+ return _M_IceStorm.TopicManager._op_retrieve.invoke(self, ((name, ), context))
952
+
953
+ """
954
+ Retrieve a topic by name.
955
+ Arguments:
956
+ name -- The name of the topic.
957
+ context -- The request context for the invocation.
958
+ Returns: A future object for the invocation.
959
+ """
960
+ def retrieveAsync(self, name, context=None):
961
+ return _M_IceStorm.TopicManager._op_retrieve.invokeAsync(self, ((name, ), context))
962
+
963
+ """
964
+ Retrieve a topic by name.
965
+ Arguments:
966
+ name -- The name of the topic.
967
+ _response -- The asynchronous response callback.
968
+ _ex -- The asynchronous exception callback.
969
+ _sent -- The asynchronous sent callback.
970
+ context -- The request context for the invocation.
971
+ Returns: An asynchronous result object for the invocation.
972
+ """
973
+ def begin_retrieve(self, name, _response=None, _ex=None, _sent=None, context=None):
974
+ return _M_IceStorm.TopicManager._op_retrieve.begin(self, ((name, ), _response, _ex, _sent, context))
975
+
976
+ """
977
+ Retrieve a topic by name.
978
+ Arguments:
979
+ name -- The name of the topic.
980
+ Returns: A proxy to the topic instance.
981
+ Throws:
982
+ NoSuchTopic -- Raised if the topic does not exist.
983
+ """
984
+ def end_retrieve(self, _r):
985
+ return _M_IceStorm.TopicManager._op_retrieve.end(self, _r)
986
+
987
+ """
988
+ Retrieve all topics managed by this topic manager.
989
+ Arguments:
990
+ context -- The request context for the invocation.
991
+ Returns: A dictionary of string, topic proxy pairs.
992
+ """
993
+ def retrieveAll(self, context=None):
994
+ return _M_IceStorm.TopicManager._op_retrieveAll.invoke(self, ((), context))
995
+
996
+ """
997
+ Retrieve all topics managed by this topic manager.
998
+ Arguments:
999
+ context -- The request context for the invocation.
1000
+ Returns: A future object for the invocation.
1001
+ """
1002
+ def retrieveAllAsync(self, context=None):
1003
+ return _M_IceStorm.TopicManager._op_retrieveAll.invokeAsync(self, ((), context))
1004
+
1005
+ """
1006
+ Retrieve all topics managed by this topic manager.
1007
+ Arguments:
1008
+ _response -- The asynchronous response callback.
1009
+ _ex -- The asynchronous exception callback.
1010
+ _sent -- The asynchronous sent callback.
1011
+ context -- The request context for the invocation.
1012
+ Returns: An asynchronous result object for the invocation.
1013
+ """
1014
+ def begin_retrieveAll(self, _response=None, _ex=None, _sent=None, context=None):
1015
+ return _M_IceStorm.TopicManager._op_retrieveAll.begin(self, ((), _response, _ex, _sent, context))
1016
+
1017
+ """
1018
+ Retrieve all topics managed by this topic manager.
1019
+ Arguments:
1020
+ Returns: A dictionary of string, topic proxy pairs.
1021
+ """
1022
+ def end_retrieveAll(self, _r):
1023
+ return _M_IceStorm.TopicManager._op_retrieveAll.end(self, _r)
1024
+
1025
+ """
1026
+ Returns the checksums for the IceStorm Slice definitions.
1027
+ Arguments:
1028
+ context -- The request context for the invocation.
1029
+ Returns: A dictionary mapping Slice type ids to their checksums.
1030
+ """
1031
+ def getSliceChecksums(self, context=None):
1032
+ return _M_IceStorm.TopicManager._op_getSliceChecksums.invoke(self, ((), context))
1033
+
1034
+ """
1035
+ Returns the checksums for the IceStorm Slice definitions.
1036
+ Arguments:
1037
+ context -- The request context for the invocation.
1038
+ Returns: A future object for the invocation.
1039
+ """
1040
+ def getSliceChecksumsAsync(self, context=None):
1041
+ return _M_IceStorm.TopicManager._op_getSliceChecksums.invokeAsync(self, ((), context))
1042
+
1043
+ """
1044
+ Returns the checksums for the IceStorm Slice definitions.
1045
+ Arguments:
1046
+ _response -- The asynchronous response callback.
1047
+ _ex -- The asynchronous exception callback.
1048
+ _sent -- The asynchronous sent callback.
1049
+ context -- The request context for the invocation.
1050
+ Returns: An asynchronous result object for the invocation.
1051
+ """
1052
+ def begin_getSliceChecksums(self, _response=None, _ex=None, _sent=None, context=None):
1053
+ return _M_IceStorm.TopicManager._op_getSliceChecksums.begin(self, ((), _response, _ex, _sent, context))
1054
+
1055
+ """
1056
+ Returns the checksums for the IceStorm Slice definitions.
1057
+ Arguments:
1058
+ Returns: A dictionary mapping Slice type ids to their checksums.
1059
+ """
1060
+ def end_getSliceChecksums(self, _r):
1061
+ return _M_IceStorm.TopicManager._op_getSliceChecksums.end(self, _r)
1062
+
1063
+ @staticmethod
1064
+ def checkedCast(proxy, facetOrContext=None, context=None):
1065
+ return _M_IceStorm.TopicManagerPrx.ice_checkedCast(proxy, '::IceStorm::TopicManager', facetOrContext, context)
1066
+
1067
+ @staticmethod
1068
+ def uncheckedCast(proxy, facet=None):
1069
+ return _M_IceStorm.TopicManagerPrx.ice_uncheckedCast(proxy, facet)
1070
+
1071
+ @staticmethod
1072
+ def ice_staticId():
1073
+ return '::IceStorm::TopicManager'
1074
+ _M_IceStorm._t_TopicManagerPrx = IcePy.defineProxy('::IceStorm::TopicManager', TopicManagerPrx)
1075
+
1076
+ _M_IceStorm.TopicManagerPrx = TopicManagerPrx
1077
+ del TopicManagerPrx
1078
+
1079
+ _M_IceStorm.TopicManager = Ice.createTempClass()
1080
+ class TopicManager(Ice.Object):
1081
+
1082
+ def ice_ids(self, current=None):
1083
+ return ('::Ice::Object', '::IceStorm::TopicManager')
1084
+
1085
+ def ice_id(self, current=None):
1086
+ return '::IceStorm::TopicManager'
1087
+
1088
+ @staticmethod
1089
+ def ice_staticId():
1090
+ return '::IceStorm::TopicManager'
1091
+
1092
+ def create(self, name, current=None):
1093
+ """
1094
+ Create a new topic. The topic name must be unique.
1095
+ Arguments:
1096
+ name -- The name of the topic.
1097
+ current -- The Current object for the invocation.
1098
+ Returns: A future object for the invocation.
1099
+ Throws:
1100
+ TopicExists -- Raised if a topic with the same name already exists.
1101
+ """
1102
+ raise NotImplementedError("servant method 'create' not implemented")
1103
+
1104
+ def retrieve(self, name, current=None):
1105
+ """
1106
+ Retrieve a topic by name.
1107
+ Arguments:
1108
+ name -- The name of the topic.
1109
+ current -- The Current object for the invocation.
1110
+ Returns: A future object for the invocation.
1111
+ Throws:
1112
+ NoSuchTopic -- Raised if the topic does not exist.
1113
+ """
1114
+ raise NotImplementedError("servant method 'retrieve' not implemented")
1115
+
1116
+ def retrieveAll(self, current=None):
1117
+ """
1118
+ Retrieve all topics managed by this topic manager.
1119
+ Arguments:
1120
+ current -- The Current object for the invocation.
1121
+ Returns: A future object for the invocation.
1122
+ """
1123
+ raise NotImplementedError("servant method 'retrieveAll' not implemented")
1124
+
1125
+ def getSliceChecksums(self, current=None):
1126
+ """
1127
+ Returns the checksums for the IceStorm Slice definitions.
1128
+ Arguments:
1129
+ current -- The Current object for the invocation.
1130
+ Returns: A future object for the invocation.
1131
+ """
1132
+ raise NotImplementedError("servant method 'getSliceChecksums' not implemented")
1133
+
1134
+ def __str__(self):
1135
+ return IcePy.stringify(self, _M_IceStorm._t_TopicManagerDisp)
1136
+
1137
+ __repr__ = __str__
1138
+
1139
+ _M_IceStorm._t_TopicManagerDisp = IcePy.defineClass('::IceStorm::TopicManager', TopicManager, (), None, ())
1140
+ TopicManager._ice_type = _M_IceStorm._t_TopicManagerDisp
1141
+
1142
+ TopicManager._op_create = IcePy.Operation('create', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), ((), _M_IceStorm._t_TopicPrx, False, 0), (_M_IceStorm._t_TopicExists,))
1143
+ TopicManager._op_retrieve = IcePy.Operation('retrieve', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (((), IcePy._t_string, False, 0),), (), ((), _M_IceStorm._t_TopicPrx, False, 0), (_M_IceStorm._t_NoSuchTopic,))
1144
+ TopicManager._op_retrieveAll = IcePy.Operation('retrieveAll', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_IceStorm._t_TopicDict, False, 0), ())
1145
+ TopicManager._op_getSliceChecksums = IcePy.Operation('getSliceChecksums', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_Ice._t_SliceChecksumDict, False, 0), ())
1146
+
1147
+ _M_IceStorm.TopicManager = TopicManager
1148
+ del TopicManager
1149
+
1150
+ _M_IceStorm._t_Finder = IcePy.defineValue('::IceStorm::Finder', Ice.Value, -1, (), False, True, None, ())
1151
+
1152
+ if 'FinderPrx' not in _M_IceStorm.__dict__:
1153
+ _M_IceStorm.FinderPrx = Ice.createTempClass()
1154
+ class FinderPrx(Ice.ObjectPrx):
1155
+
1156
+ """
1157
+ Get the topic manager proxy. The proxy might point to several
1158
+ replicas.
1159
+ Arguments:
1160
+ context -- The request context for the invocation.
1161
+ Returns: The topic manager proxy.
1162
+ """
1163
+ def getTopicManager(self, context=None):
1164
+ return _M_IceStorm.Finder._op_getTopicManager.invoke(self, ((), context))
1165
+
1166
+ """
1167
+ Get the topic manager proxy. The proxy might point to several
1168
+ replicas.
1169
+ Arguments:
1170
+ context -- The request context for the invocation.
1171
+ Returns: A future object for the invocation.
1172
+ """
1173
+ def getTopicManagerAsync(self, context=None):
1174
+ return _M_IceStorm.Finder._op_getTopicManager.invokeAsync(self, ((), context))
1175
+
1176
+ """
1177
+ Get the topic manager proxy. The proxy might point to several
1178
+ replicas.
1179
+ Arguments:
1180
+ _response -- The asynchronous response callback.
1181
+ _ex -- The asynchronous exception callback.
1182
+ _sent -- The asynchronous sent callback.
1183
+ context -- The request context for the invocation.
1184
+ Returns: An asynchronous result object for the invocation.
1185
+ """
1186
+ def begin_getTopicManager(self, _response=None, _ex=None, _sent=None, context=None):
1187
+ return _M_IceStorm.Finder._op_getTopicManager.begin(self, ((), _response, _ex, _sent, context))
1188
+
1189
+ """
1190
+ Get the topic manager proxy. The proxy might point to several
1191
+ replicas.
1192
+ Arguments:
1193
+ Returns: The topic manager proxy.
1194
+ """
1195
+ def end_getTopicManager(self, _r):
1196
+ return _M_IceStorm.Finder._op_getTopicManager.end(self, _r)
1197
+
1198
+ @staticmethod
1199
+ def checkedCast(proxy, facetOrContext=None, context=None):
1200
+ return _M_IceStorm.FinderPrx.ice_checkedCast(proxy, '::IceStorm::Finder', facetOrContext, context)
1201
+
1202
+ @staticmethod
1203
+ def uncheckedCast(proxy, facet=None):
1204
+ return _M_IceStorm.FinderPrx.ice_uncheckedCast(proxy, facet)
1205
+
1206
+ @staticmethod
1207
+ def ice_staticId():
1208
+ return '::IceStorm::Finder'
1209
+ _M_IceStorm._t_FinderPrx = IcePy.defineProxy('::IceStorm::Finder', FinderPrx)
1210
+
1211
+ _M_IceStorm.FinderPrx = FinderPrx
1212
+ del FinderPrx
1213
+
1214
+ _M_IceStorm.Finder = Ice.createTempClass()
1215
+ class Finder(Ice.Object):
1216
+
1217
+ def ice_ids(self, current=None):
1218
+ return ('::Ice::Object', '::IceStorm::Finder')
1219
+
1220
+ def ice_id(self, current=None):
1221
+ return '::IceStorm::Finder'
1222
+
1223
+ @staticmethod
1224
+ def ice_staticId():
1225
+ return '::IceStorm::Finder'
1226
+
1227
+ def getTopicManager(self, current=None):
1228
+ """
1229
+ Get the topic manager proxy. The proxy might point to several
1230
+ replicas.
1231
+ Arguments:
1232
+ current -- The Current object for the invocation.
1233
+ Returns: A future object for the invocation.
1234
+ """
1235
+ raise NotImplementedError("servant method 'getTopicManager' not implemented")
1236
+
1237
+ def __str__(self):
1238
+ return IcePy.stringify(self, _M_IceStorm._t_FinderDisp)
1239
+
1240
+ __repr__ = __str__
1241
+
1242
+ _M_IceStorm._t_FinderDisp = IcePy.defineClass('::IceStorm::Finder', Finder, (), None, ())
1243
+ Finder._ice_type = _M_IceStorm._t_FinderDisp
1244
+
1245
+ Finder._op_getTopicManager = IcePy.Operation('getTopicManager', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), ((), _M_IceStorm._t_TopicManagerPrx, False, 0), ())
1246
+
1247
+ _M_IceStorm.Finder = Finder
1248
+ del Finder
1249
+
1250
+ # End of module IceStorm
1251
+
1252
+ Ice.sliceChecksums["::IceStorm::AlreadySubscribed"] = "5a82e77b38f02f3118c536f9446a889e"
1253
+ Ice.sliceChecksums["::IceStorm::BadQoS"] = "44f2de592dd62e3f7f4ffdf043692d"
1254
+ Ice.sliceChecksums["::IceStorm::Finder"] = "74a058c59ac11fe9a98347ab96533e0"
1255
+ Ice.sliceChecksums["::IceStorm::InvalidSubscriber"] = "79b17123acba6189e77285da82a862d3"
1256
+ Ice.sliceChecksums["::IceStorm::LinkExists"] = "e11768febd56a8813729ce69be6c4c2"
1257
+ Ice.sliceChecksums["::IceStorm::LinkInfo"] = "d0e073e5e0925ec95656f71d572e2e13"
1258
+ Ice.sliceChecksums["::IceStorm::LinkInfoSeq"] = "a8921e43838692bbe6ca63f3dcf9b6"
1259
+ Ice.sliceChecksums["::IceStorm::NoSuchLink"] = "fd8f652776796bffca2df1a3baf455a3"
1260
+ Ice.sliceChecksums["::IceStorm::NoSuchTopic"] = "7a9479a5c39cdd32335d722bbc971176"
1261
+ Ice.sliceChecksums["::IceStorm::QoS"] = "3e27cb32bc95cca7b013efbf5c254b35"
1262
+ Ice.sliceChecksums["::IceStorm::Topic"] = "7058388fe7d6c582c2506237904eb7c9"
1263
+ Ice.sliceChecksums["::IceStorm::TopicDict"] = "fff078a98be068c52d9e1d7d8f6df2a"
1264
+ Ice.sliceChecksums["::IceStorm::TopicExists"] = "38e6913833539b8d616d114d4e7b28d"
1265
+ Ice.sliceChecksums["::IceStorm::TopicManager"] = "ffc1baf19222891f8b432be6551fed5"