zeroc-ice 3.7.10.1__cp312-cp312-macosx_14_0_arm64.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 (145) 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-312-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/IceDiscovery/IceDiscovery.ice +98 -0
  121. slice/IceGrid/Admin.ice +1957 -0
  122. slice/IceGrid/Descriptor.ice +1094 -0
  123. slice/IceGrid/Exception.ice +396 -0
  124. slice/IceGrid/FileParser.ice +72 -0
  125. slice/IceGrid/PluginFacade.ice +329 -0
  126. slice/IceGrid/Registry.ice +269 -0
  127. slice/IceGrid/Session.ice +128 -0
  128. slice/IceGrid/UserAccountMapper.ice +69 -0
  129. slice/IceIAP/ConnectionInfo.ice +74 -0
  130. slice/IceIAP/EndpointInfo.ice +68 -0
  131. slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +83 -0
  132. slice/IcePatch2/FileInfo.ice +85 -0
  133. slice/IcePatch2/FileServer.ice +191 -0
  134. slice/IceSSL/ConnectionInfo.ice +54 -0
  135. slice/IceSSL/ConnectionInfoF.ice +31 -0
  136. slice/IceSSL/EndpointInfo.ice +45 -0
  137. slice/IceStorm/IceStorm.ice +414 -0
  138. slice/IceStorm/Metrics.ice +83 -0
  139. slice2py.py +21 -0
  140. zeroc_ice-3.7.10.1.dist-info/LICENSE +340 -0
  141. zeroc_ice-3.7.10.1.dist-info/METADATA +97 -0
  142. zeroc_ice-3.7.10.1.dist-info/RECORD +145 -0
  143. zeroc_ice-3.7.10.1.dist-info/WHEEL +5 -0
  144. zeroc_ice-3.7.10.1.dist-info/entry_points.txt +2 -0
  145. zeroc_ice-3.7.10.1.dist-info/top_level.txt +10 -0
@@ -0,0 +1,555 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (c) ZeroC, Inc. All rights reserved.
4
+ #
5
+ #
6
+ # Ice version 3.7.10
7
+ #
8
+ # <auto-generated>
9
+ #
10
+ # Generated from file `FileServer.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 IcePatch2.FileInfo_ice
20
+
21
+ # Included module Ice
22
+ _M_Ice = Ice.openModule('Ice')
23
+
24
+ # Included module IcePatch2
25
+ _M_IcePatch2 = Ice.openModule('IcePatch2')
26
+
27
+ # Start of module IcePatch2
28
+ __name__ = 'IcePatch2'
29
+ _M_IcePatch2.__doc__ = """
30
+ IcePatch can be used to update file hierarchies in a simple and
31
+ efficient manner. Checksums ensure file integrity, and data is
32
+ compressed before downloading.
33
+ """
34
+
35
+ if '_t_ByteSeqSeq' not in _M_IcePatch2.__dict__:
36
+ _M_IcePatch2._t_ByteSeqSeq = IcePy.defineSequence('::IcePatch2::ByteSeqSeq', (), _M_Ice._t_ByteSeq)
37
+
38
+ if 'PartitionOutOfRangeException' not in _M_IcePatch2.__dict__:
39
+ _M_IcePatch2.PartitionOutOfRangeException = Ice.createTempClass()
40
+ class PartitionOutOfRangeException(Ice.UserException):
41
+ """
42
+ A partition argument was not in the range 0-255.
43
+ """
44
+ def __init__(self):
45
+ pass
46
+
47
+ def __str__(self):
48
+ return IcePy.stringifyException(self)
49
+
50
+ __repr__ = __str__
51
+
52
+ _ice_id = '::IcePatch2::PartitionOutOfRangeException'
53
+
54
+ _M_IcePatch2._t_PartitionOutOfRangeException = IcePy.defineException('::IcePatch2::PartitionOutOfRangeException', PartitionOutOfRangeException, (), False, None, ())
55
+ PartitionOutOfRangeException._ice_type = _M_IcePatch2._t_PartitionOutOfRangeException
56
+
57
+ _M_IcePatch2.PartitionOutOfRangeException = PartitionOutOfRangeException
58
+ del PartitionOutOfRangeException
59
+
60
+ if 'FileAccessException' not in _M_IcePatch2.__dict__:
61
+ _M_IcePatch2.FileAccessException = Ice.createTempClass()
62
+ class FileAccessException(Ice.UserException):
63
+ """
64
+ This exception is raised if a file's contents cannot be read.
65
+ Members:
66
+ reason -- An explanation of the reason for the failure.
67
+ """
68
+ def __init__(self, reason=''):
69
+ self.reason = reason
70
+
71
+ def __str__(self):
72
+ return IcePy.stringifyException(self)
73
+
74
+ __repr__ = __str__
75
+
76
+ _ice_id = '::IcePatch2::FileAccessException'
77
+
78
+ _M_IcePatch2._t_FileAccessException = IcePy.defineException('::IcePatch2::FileAccessException', FileAccessException, (), False, None, (('reason', (), IcePy._t_string, False, 0),))
79
+ FileAccessException._ice_type = _M_IcePatch2._t_FileAccessException
80
+
81
+ _M_IcePatch2.FileAccessException = FileAccessException
82
+ del FileAccessException
83
+
84
+ if 'FileSizeRangeException' not in _M_IcePatch2.__dict__:
85
+ _M_IcePatch2.FileSizeRangeException = Ice.createTempClass()
86
+ class FileSizeRangeException(_M_IcePatch2.FileAccessException):
87
+ """
88
+ This exception is raised if an operation tries to use a file whose size is
89
+ larger than 2.1 GB. Use the "large" versions of the operations instead.
90
+ """
91
+ def __init__(self, reason=''):
92
+ _M_IcePatch2.FileAccessException.__init__(self, reason)
93
+
94
+ def __str__(self):
95
+ return IcePy.stringifyException(self)
96
+
97
+ __repr__ = __str__
98
+
99
+ _ice_id = '::IcePatch2::FileSizeRangeException'
100
+
101
+ _M_IcePatch2._t_FileSizeRangeException = IcePy.defineException('::IcePatch2::FileSizeRangeException', FileSizeRangeException, (), False, _M_IcePatch2._t_FileAccessException, ())
102
+ FileSizeRangeException._ice_type = _M_IcePatch2._t_FileSizeRangeException
103
+
104
+ _M_IcePatch2.FileSizeRangeException = FileSizeRangeException
105
+ del FileSizeRangeException
106
+
107
+ _M_IcePatch2._t_FileServer = IcePy.defineValue('::IcePatch2::FileServer', Ice.Value, -1, (), False, True, None, ())
108
+
109
+ if 'FileServerPrx' not in _M_IcePatch2.__dict__:
110
+ _M_IcePatch2.FileServerPrx = Ice.createTempClass()
111
+ class FileServerPrx(Ice.ObjectPrx):
112
+
113
+ """
114
+ Return file information for the specified partition.
115
+ This operation is deprecated and only present for
116
+ compatibility with old Ice clients (older than version 3.6).
117
+ Arguments:
118
+ partition -- The partition number in the range 0-255.
119
+ context -- The request context for the invocation.
120
+ Returns: A sequence containing information about the files in the specified partition.
121
+ Throws:
122
+ FileSizeRangeException -- If a file is larger than 2.1GB.
123
+ PartitionOutOfRangeException -- If the partition number is out of range.
124
+ """
125
+ def getFileInfoSeq(self, partition, context=None):
126
+ return _M_IcePatch2.FileServer._op_getFileInfoSeq.invoke(self, ((partition, ), context))
127
+
128
+ """
129
+ Return file information for the specified partition.
130
+ This operation is deprecated and only present for
131
+ compatibility with old Ice clients (older than version 3.6).
132
+ Arguments:
133
+ partition -- The partition number in the range 0-255.
134
+ context -- The request context for the invocation.
135
+ Returns: A future object for the invocation.
136
+ """
137
+ def getFileInfoSeqAsync(self, partition, context=None):
138
+ return _M_IcePatch2.FileServer._op_getFileInfoSeq.invokeAsync(self, ((partition, ), context))
139
+
140
+ """
141
+ Return file information for the specified partition.
142
+ This operation is deprecated and only present for
143
+ compatibility with old Ice clients (older than version 3.6).
144
+ Arguments:
145
+ partition -- The partition number in the range 0-255.
146
+ _response -- The asynchronous response callback.
147
+ _ex -- The asynchronous exception callback.
148
+ _sent -- The asynchronous sent callback.
149
+ context -- The request context for the invocation.
150
+ Returns: An asynchronous result object for the invocation.
151
+ """
152
+ def begin_getFileInfoSeq(self, partition, _response=None, _ex=None, _sent=None, context=None):
153
+ return _M_IcePatch2.FileServer._op_getFileInfoSeq.begin(self, ((partition, ), _response, _ex, _sent, context))
154
+
155
+ """
156
+ Return file information for the specified partition.
157
+ This operation is deprecated and only present for
158
+ compatibility with old Ice clients (older than version 3.6).
159
+ Arguments:
160
+ partition -- The partition number in the range 0-255.
161
+ Returns: A sequence containing information about the files in the specified partition.
162
+ Throws:
163
+ FileSizeRangeException -- If a file is larger than 2.1GB.
164
+ PartitionOutOfRangeException -- If the partition number is out of range.
165
+ """
166
+ def end_getFileInfoSeq(self, _r):
167
+ return _M_IcePatch2.FileServer._op_getFileInfoSeq.end(self, _r)
168
+
169
+ """
170
+ Returns file information for the specified partition.
171
+ Arguments:
172
+ partition -- The partition number in the range 0-255.
173
+ context -- The request context for the invocation.
174
+ Returns: A sequence containing information about the files in the specified partition.
175
+ Throws:
176
+ PartitionOutOfRangeException -- If the partition number is out of range.
177
+ """
178
+ def getLargeFileInfoSeq(self, partition, context=None):
179
+ return _M_IcePatch2.FileServer._op_getLargeFileInfoSeq.invoke(self, ((partition, ), context))
180
+
181
+ """
182
+ Returns file information for the specified partition.
183
+ Arguments:
184
+ partition -- The partition number in the range 0-255.
185
+ context -- The request context for the invocation.
186
+ Returns: A future object for the invocation.
187
+ """
188
+ def getLargeFileInfoSeqAsync(self, partition, context=None):
189
+ return _M_IcePatch2.FileServer._op_getLargeFileInfoSeq.invokeAsync(self, ((partition, ), context))
190
+
191
+ """
192
+ Returns file information for the specified partition.
193
+ Arguments:
194
+ partition -- The partition number in the range 0-255.
195
+ _response -- The asynchronous response callback.
196
+ _ex -- The asynchronous exception callback.
197
+ _sent -- The asynchronous sent callback.
198
+ context -- The request context for the invocation.
199
+ Returns: An asynchronous result object for the invocation.
200
+ """
201
+ def begin_getLargeFileInfoSeq(self, partition, _response=None, _ex=None, _sent=None, context=None):
202
+ return _M_IcePatch2.FileServer._op_getLargeFileInfoSeq.begin(self, ((partition, ), _response, _ex, _sent, context))
203
+
204
+ """
205
+ Returns file information for the specified partition.
206
+ Arguments:
207
+ partition -- The partition number in the range 0-255.
208
+ Returns: A sequence containing information about the files in the specified partition.
209
+ Throws:
210
+ PartitionOutOfRangeException -- If the partition number is out of range.
211
+ """
212
+ def end_getLargeFileInfoSeq(self, _r):
213
+ return _M_IcePatch2.FileServer._op_getLargeFileInfoSeq.end(self, _r)
214
+
215
+ """
216
+ Return the checksums for all partitions.
217
+ Arguments:
218
+ context -- The request context for the invocation.
219
+ Returns: A sequence containing 256 checksums. Partitions with a checksum that differs from the previous checksum for the same partition contain updated files. Partitions with a checksum that is identical to the previous checksum do not contain updated files.
220
+ """
221
+ def getChecksumSeq(self, context=None):
222
+ return _M_IcePatch2.FileServer._op_getChecksumSeq.invoke(self, ((), context))
223
+
224
+ """
225
+ Return the checksums for all partitions.
226
+ Arguments:
227
+ context -- The request context for the invocation.
228
+ Returns: A future object for the invocation.
229
+ """
230
+ def getChecksumSeqAsync(self, context=None):
231
+ return _M_IcePatch2.FileServer._op_getChecksumSeq.invokeAsync(self, ((), context))
232
+
233
+ """
234
+ Return the checksums for all partitions.
235
+ Arguments:
236
+ _response -- The asynchronous response callback.
237
+ _ex -- The asynchronous exception callback.
238
+ _sent -- The asynchronous sent callback.
239
+ context -- The request context for the invocation.
240
+ Returns: An asynchronous result object for the invocation.
241
+ """
242
+ def begin_getChecksumSeq(self, _response=None, _ex=None, _sent=None, context=None):
243
+ return _M_IcePatch2.FileServer._op_getChecksumSeq.begin(self, ((), _response, _ex, _sent, context))
244
+
245
+ """
246
+ Return the checksums for all partitions.
247
+ Arguments:
248
+ Returns: A sequence containing 256 checksums. Partitions with a checksum that differs from the previous checksum for the same partition contain updated files. Partitions with a checksum that is identical to the previous checksum do not contain updated files.
249
+ """
250
+ def end_getChecksumSeq(self, _r):
251
+ return _M_IcePatch2.FileServer._op_getChecksumSeq.end(self, _r)
252
+
253
+ """
254
+ Return the master checksum for all partitions. If this checksum is the same
255
+ as for a previous run, the entire file set is up-to-date.
256
+ Arguments:
257
+ context -- The request context for the invocation.
258
+ Returns: The master checksum for the file set.
259
+ """
260
+ def getChecksum(self, context=None):
261
+ return _M_IcePatch2.FileServer._op_getChecksum.invoke(self, ((), context))
262
+
263
+ """
264
+ Return the master checksum for all partitions. If this checksum is the same
265
+ as for a previous run, the entire file set is up-to-date.
266
+ Arguments:
267
+ context -- The request context for the invocation.
268
+ Returns: A future object for the invocation.
269
+ """
270
+ def getChecksumAsync(self, context=None):
271
+ return _M_IcePatch2.FileServer._op_getChecksum.invokeAsync(self, ((), context))
272
+
273
+ """
274
+ Return the master checksum for all partitions. If this checksum is the same
275
+ as for a previous run, the entire file set is up-to-date.
276
+ Arguments:
277
+ _response -- The asynchronous response callback.
278
+ _ex -- The asynchronous exception callback.
279
+ _sent -- The asynchronous sent callback.
280
+ context -- The request context for the invocation.
281
+ Returns: An asynchronous result object for the invocation.
282
+ """
283
+ def begin_getChecksum(self, _response=None, _ex=None, _sent=None, context=None):
284
+ return _M_IcePatch2.FileServer._op_getChecksum.begin(self, ((), _response, _ex, _sent, context))
285
+
286
+ """
287
+ Return the master checksum for all partitions. If this checksum is the same
288
+ as for a previous run, the entire file set is up-to-date.
289
+ Arguments:
290
+ Returns: The master checksum for the file set.
291
+ """
292
+ def end_getChecksum(self, _r):
293
+ return _M_IcePatch2.FileServer._op_getChecksum.end(self, _r)
294
+
295
+ """
296
+ Read the specified file. This operation may only return fewer bytes than requested
297
+ in case there was an end-of-file condition.
298
+ This operation is deprecated and only present for
299
+ compatibility with old Ice clients (older than version 3.6).
300
+ Arguments:
301
+ path -- The pathname (relative to the data directory) for the file to be read.
302
+ pos -- The file offset at which to begin reading.
303
+ num -- The number of bytes to be read.
304
+ context -- The request context for the invocation.
305
+ Returns: A sequence containing the compressed file contents.
306
+ Throws:
307
+ FileAccessException -- If an error occurred while trying to read the file.
308
+ FileSizeRangeException -- If a file is larger than 2.1GB.
309
+ """
310
+ def getFileCompressed(self, path, pos, num, context=None):
311
+ return _M_IcePatch2.FileServer._op_getFileCompressed.invoke(self, ((path, pos, num), context))
312
+
313
+ """
314
+ Read the specified file. This operation may only return fewer bytes than requested
315
+ in case there was an end-of-file condition.
316
+ This operation is deprecated and only present for
317
+ compatibility with old Ice clients (older than version 3.6).
318
+ Arguments:
319
+ path -- The pathname (relative to the data directory) for the file to be read.
320
+ pos -- The file offset at which to begin reading.
321
+ num -- The number of bytes to be read.
322
+ context -- The request context for the invocation.
323
+ Returns: A future object for the invocation.
324
+ """
325
+ def getFileCompressedAsync(self, path, pos, num, context=None):
326
+ return _M_IcePatch2.FileServer._op_getFileCompressed.invokeAsync(self, ((path, pos, num), context))
327
+
328
+ """
329
+ Read the specified file. This operation may only return fewer bytes than requested
330
+ in case there was an end-of-file condition.
331
+ This operation is deprecated and only present for
332
+ compatibility with old Ice clients (older than version 3.6).
333
+ Arguments:
334
+ path -- The pathname (relative to the data directory) for the file to be read.
335
+ pos -- The file offset at which to begin reading.
336
+ num -- The number of bytes to be read.
337
+ _response -- The asynchronous response callback.
338
+ _ex -- The asynchronous exception callback.
339
+ _sent -- The asynchronous sent callback.
340
+ context -- The request context for the invocation.
341
+ Returns: An asynchronous result object for the invocation.
342
+ """
343
+ def begin_getFileCompressed(self, path, pos, num, _response=None, _ex=None, _sent=None, context=None):
344
+ return _M_IcePatch2.FileServer._op_getFileCompressed.begin(self, ((path, pos, num), _response, _ex, _sent, context))
345
+
346
+ """
347
+ Read the specified file. This operation may only return fewer bytes than requested
348
+ in case there was an end-of-file condition.
349
+ This operation is deprecated and only present for
350
+ compatibility with old Ice clients (older than version 3.6).
351
+ Arguments:
352
+ path -- The pathname (relative to the data directory) for the file to be read.
353
+ pos -- The file offset at which to begin reading.
354
+ num -- The number of bytes to be read.
355
+ Returns: A sequence containing the compressed file contents.
356
+ Throws:
357
+ FileAccessException -- If an error occurred while trying to read the file.
358
+ FileSizeRangeException -- If a file is larger than 2.1GB.
359
+ """
360
+ def end_getFileCompressed(self, _r):
361
+ return _M_IcePatch2.FileServer._op_getFileCompressed.end(self, _r)
362
+
363
+ """
364
+ Read the specified file. This operation may only return fewer bytes than requested
365
+ in case there was an end-of-file condition.
366
+ Arguments:
367
+ path -- The pathname (relative to the data directory) for the file to be read.
368
+ pos -- The file offset at which to begin reading.
369
+ num -- The number of bytes to be read.
370
+ context -- The request context for the invocation.
371
+ Returns: A sequence containing the compressed file contents.
372
+ Throws:
373
+ FileAccessException -- If an error occurred while trying to read the file.
374
+ """
375
+ def getLargeFileCompressed(self, path, pos, num, context=None):
376
+ return _M_IcePatch2.FileServer._op_getLargeFileCompressed.invoke(self, ((path, pos, num), context))
377
+
378
+ """
379
+ Read the specified file. This operation may only return fewer bytes than requested
380
+ in case there was an end-of-file condition.
381
+ Arguments:
382
+ path -- The pathname (relative to the data directory) for the file to be read.
383
+ pos -- The file offset at which to begin reading.
384
+ num -- The number of bytes to be read.
385
+ context -- The request context for the invocation.
386
+ Returns: A future object for the invocation.
387
+ """
388
+ def getLargeFileCompressedAsync(self, path, pos, num, context=None):
389
+ return _M_IcePatch2.FileServer._op_getLargeFileCompressed.invokeAsync(self, ((path, pos, num), context))
390
+
391
+ """
392
+ Read the specified file. This operation may only return fewer bytes than requested
393
+ in case there was an end-of-file condition.
394
+ Arguments:
395
+ path -- The pathname (relative to the data directory) for the file to be read.
396
+ pos -- The file offset at which to begin reading.
397
+ num -- The number of bytes to be read.
398
+ _response -- The asynchronous response callback.
399
+ _ex -- The asynchronous exception callback.
400
+ _sent -- The asynchronous sent callback.
401
+ context -- The request context for the invocation.
402
+ Returns: An asynchronous result object for the invocation.
403
+ """
404
+ def begin_getLargeFileCompressed(self, path, pos, num, _response=None, _ex=None, _sent=None, context=None):
405
+ return _M_IcePatch2.FileServer._op_getLargeFileCompressed.begin(self, ((path, pos, num), _response, _ex, _sent, context))
406
+
407
+ """
408
+ Read the specified file. This operation may only return fewer bytes than requested
409
+ in case there was an end-of-file condition.
410
+ Arguments:
411
+ path -- The pathname (relative to the data directory) for the file to be read.
412
+ pos -- The file offset at which to begin reading.
413
+ num -- The number of bytes to be read.
414
+ Returns: A sequence containing the compressed file contents.
415
+ Throws:
416
+ FileAccessException -- If an error occurred while trying to read the file.
417
+ """
418
+ def end_getLargeFileCompressed(self, _r):
419
+ return _M_IcePatch2.FileServer._op_getLargeFileCompressed.end(self, _r)
420
+
421
+ @staticmethod
422
+ def checkedCast(proxy, facetOrContext=None, context=None):
423
+ return _M_IcePatch2.FileServerPrx.ice_checkedCast(proxy, '::IcePatch2::FileServer', facetOrContext, context)
424
+
425
+ @staticmethod
426
+ def uncheckedCast(proxy, facet=None):
427
+ return _M_IcePatch2.FileServerPrx.ice_uncheckedCast(proxy, facet)
428
+
429
+ @staticmethod
430
+ def ice_staticId():
431
+ return '::IcePatch2::FileServer'
432
+ _M_IcePatch2._t_FileServerPrx = IcePy.defineProxy('::IcePatch2::FileServer', FileServerPrx)
433
+
434
+ _M_IcePatch2.FileServerPrx = FileServerPrx
435
+ del FileServerPrx
436
+
437
+ _M_IcePatch2.FileServer = Ice.createTempClass()
438
+ class FileServer(Ice.Object):
439
+
440
+ def ice_ids(self, current=None):
441
+ return ('::Ice::Object', '::IcePatch2::FileServer')
442
+
443
+ def ice_id(self, current=None):
444
+ return '::IcePatch2::FileServer'
445
+
446
+ @staticmethod
447
+ def ice_staticId():
448
+ return '::IcePatch2::FileServer'
449
+
450
+ def getFileInfoSeq(self, partition, current=None):
451
+ """
452
+ Return file information for the specified partition.
453
+ This operation is deprecated and only present for
454
+ compatibility with old Ice clients (older than version 3.6).
455
+ Arguments:
456
+ partition -- The partition number in the range 0-255.
457
+ current -- The Current object for the invocation.
458
+ Returns: A future object for the invocation.
459
+ Throws:
460
+ FileSizeRangeException -- If a file is larger than 2.1GB.
461
+ PartitionOutOfRangeException -- If the partition number is out of range.
462
+ """
463
+ raise NotImplementedError("servant method 'getFileInfoSeq' not implemented")
464
+
465
+ def getLargeFileInfoSeq(self, partition, current=None):
466
+ """
467
+ Returns file information for the specified partition.
468
+ Arguments:
469
+ partition -- The partition number in the range 0-255.
470
+ current -- The Current object for the invocation.
471
+ Returns: A future object for the invocation.
472
+ Throws:
473
+ PartitionOutOfRangeException -- If the partition number is out of range.
474
+ """
475
+ raise NotImplementedError("servant method 'getLargeFileInfoSeq' not implemented")
476
+
477
+ def getChecksumSeq(self, current=None):
478
+ """
479
+ Return the checksums for all partitions.
480
+ Arguments:
481
+ current -- The Current object for the invocation.
482
+ Returns: A future object for the invocation.
483
+ """
484
+ raise NotImplementedError("servant method 'getChecksumSeq' not implemented")
485
+
486
+ def getChecksum(self, current=None):
487
+ """
488
+ Return the master checksum for all partitions. If this checksum is the same
489
+ as for a previous run, the entire file set is up-to-date.
490
+ Arguments:
491
+ current -- The Current object for the invocation.
492
+ Returns: A future object for the invocation.
493
+ """
494
+ raise NotImplementedError("servant method 'getChecksum' not implemented")
495
+
496
+ def getFileCompressed(self, path, pos, num, current=None):
497
+ """
498
+ Read the specified file. This operation may only return fewer bytes than requested
499
+ in case there was an end-of-file condition.
500
+ This operation is deprecated and only present for
501
+ compatibility with old Ice clients (older than version 3.6).
502
+ Arguments:
503
+ path -- The pathname (relative to the data directory) for the file to be read.
504
+ pos -- The file offset at which to begin reading.
505
+ num -- The number of bytes to be read.
506
+ current -- The Current object for the invocation.
507
+ Returns: A future object for the invocation.
508
+ Throws:
509
+ FileAccessException -- If an error occurred while trying to read the file.
510
+ FileSizeRangeException -- If a file is larger than 2.1GB.
511
+ """
512
+ raise NotImplementedError("servant method 'getFileCompressed' not implemented")
513
+
514
+ def getLargeFileCompressed(self, path, pos, num, current=None):
515
+ """
516
+ Read the specified file. This operation may only return fewer bytes than requested
517
+ in case there was an end-of-file condition.
518
+ Arguments:
519
+ path -- The pathname (relative to the data directory) for the file to be read.
520
+ pos -- The file offset at which to begin reading.
521
+ num -- The number of bytes to be read.
522
+ current -- The Current object for the invocation.
523
+ Returns: A future object for the invocation.
524
+ Throws:
525
+ FileAccessException -- If an error occurred while trying to read the file.
526
+ """
527
+ raise NotImplementedError("servant method 'getLargeFileCompressed' not implemented")
528
+
529
+ def __str__(self):
530
+ return IcePy.stringify(self, _M_IcePatch2._t_FileServerDisp)
531
+
532
+ __repr__ = __str__
533
+
534
+ _M_IcePatch2._t_FileServerDisp = IcePy.defineClass('::IcePatch2::FileServer', FileServer, (), None, ())
535
+ FileServer._ice_type = _M_IcePatch2._t_FileServerDisp
536
+
537
+ FileServer._op_getFileInfoSeq = IcePy.Operation('getFileInfoSeq', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (((), IcePy._t_int, False, 0),), (), ((), _M_IcePatch2._t_FileInfoSeq, False, 0), (_M_IcePatch2._t_PartitionOutOfRangeException, _M_IcePatch2._t_FileSizeRangeException))
538
+ FileServer._op_getFileInfoSeq.deprecate("getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.")
539
+ FileServer._op_getLargeFileInfoSeq = IcePy.Operation('getLargeFileInfoSeq', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (((), IcePy._t_int, False, 0),), (), ((), _M_IcePatch2._t_LargeFileInfoSeq, False, 0), (_M_IcePatch2._t_PartitionOutOfRangeException,))
540
+ FileServer._op_getChecksumSeq = IcePy.Operation('getChecksumSeq', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_IcePatch2._t_ByteSeqSeq, False, 0), ())
541
+ FileServer._op_getChecksum = IcePy.Operation('getChecksum', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, False, None, (), (), (), ((), _M_Ice._t_ByteSeq, False, 0), ())
542
+ FileServer._op_getFileCompressed = IcePy.Operation('getFileCompressed', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_int, False, 0), ((), IcePy._t_int, False, 0)), (), ((), _M_Ice._t_ByteSeq, False, 0), (_M_IcePatch2._t_FileAccessException, _M_IcePatch2._t_FileSizeRangeException))
543
+ FileServer._op_getFileCompressed.deprecate("getFileCompressed() is deprecated, use getLargeFileCompressed() instead.")
544
+ FileServer._op_getLargeFileCompressed = IcePy.Operation('getLargeFileCompressed', Ice.OperationMode.Idempotent, Ice.OperationMode.Nonmutating, True, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_long, False, 0), ((), IcePy._t_int, False, 0)), (), ((), _M_Ice._t_ByteSeq, False, 0), (_M_IcePatch2._t_FileAccessException,))
545
+
546
+ _M_IcePatch2.FileServer = FileServer
547
+ del FileServer
548
+
549
+ # End of module IcePatch2
550
+
551
+ Ice.sliceChecksums["::IcePatch2::ByteSeqSeq"] = "4bef9684e41babda8aa55f759a854c"
552
+ Ice.sliceChecksums["::IcePatch2::FileAccessException"] = "e94ba15e1b6a3639c2358d2f384648"
553
+ Ice.sliceChecksums["::IcePatch2::FileServer"] = "4e2d29a4d5995edae6405e69b265943b"
554
+ Ice.sliceChecksums["::IcePatch2::FileSizeRangeException"] = "24ba4c71f6441c58b23a2058cd776c8"
555
+ Ice.sliceChecksums["::IcePatch2::PartitionOutOfRangeException"] = "edd324eb399a3f6fecc1a28c2296d8"
IcePatch2/__init__.py ADDED
@@ -0,0 +1,11 @@
1
+ # Generated by slice2py - DO NOT EDIT!
2
+ #
3
+
4
+ import Ice
5
+ Ice.updateModule("IcePatch2")
6
+
7
+ # Modules:
8
+ import IcePatch2.FileInfo_ice
9
+ import IcePatch2.FileServer_ice
10
+
11
+ # Submodules:
Binary file