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
@@ -0,0 +1,469 @@
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 `Communicator.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.LoggerF_ice
20
+ import Ice.InstrumentationF_ice
21
+ import Ice.ObjectAdapterF_ice
22
+ import Ice.ObjectFactory_ice
23
+ import Ice.ValueFactory_ice
24
+ import Ice.Router_ice
25
+ import Ice.Locator_ice
26
+ import Ice.PluginF_ice
27
+ import Ice.ImplicitContextF_ice
28
+ import Ice.Current_ice
29
+ import Ice.Properties_ice
30
+ import Ice.FacetMap_ice
31
+ import Ice.Connection_ice
32
+
33
+ # Included module Ice
34
+ _M_Ice = Ice.openModule('Ice')
35
+
36
+ # Included module Ice.Instrumentation
37
+ _M_Ice.Instrumentation = Ice.openModule('Ice.Instrumentation')
38
+
39
+ # Start of module Ice
40
+ __name__ = 'Ice'
41
+ _M_Ice.__doc__ = """
42
+ The Ice core library. Among many other features, the Ice core
43
+ library manages all the communication tasks using an efficient
44
+ protocol (including protocol compression and support for both TCP
45
+ and UDP), provides a thread pool for multi-threaded servers, and
46
+ additional functionality that supports high scalability.
47
+ """
48
+
49
+ if 'Communicator' not in _M_Ice.__dict__:
50
+ _M_Ice.Communicator = Ice.createTempClass()
51
+ class Communicator(object):
52
+ """
53
+ The central object in Ice. One or more communicators can be
54
+ instantiated for an Ice application. Communicator instantiation
55
+ is language-specific, and not specified in Slice code.
56
+ """
57
+ def __init__(self):
58
+ if Ice.getType(self) == _M_Ice.Communicator:
59
+ raise RuntimeError('Ice.Communicator is an abstract class')
60
+
61
+ def destroy(self):
62
+ """
63
+ Destroy the communicator. This operation calls shutdown
64
+ implicitly. Calling destroy cleans up memory, and shuts down
65
+ this communicator's client functionality and destroys all object
66
+ adapters. Subsequent calls to destroy are ignored.
67
+ """
68
+ raise NotImplementedError("method 'destroy' not implemented")
69
+
70
+ def shutdown(self):
71
+ """
72
+ Shuts down this communicator's server functionality, which
73
+ includes the deactivation of all object adapters. Attempts to use a
74
+ deactivated object adapter raise ObjectAdapterDeactivatedException.
75
+ Subsequent calls to shutdown are ignored.
76
+ After shutdown returns, no new requests are processed. However, requests
77
+ that have been started before shutdown was called might still be active.
78
+ You can use waitForShutdown to wait for the completion of all
79
+ requests.
80
+ """
81
+ raise NotImplementedError("method 'shutdown' not implemented")
82
+
83
+ def waitForShutdown(self):
84
+ """
85
+ Wait until the application has called shutdown (or destroy).
86
+ On the server side, this operation blocks the calling thread
87
+ until all currently-executing operations have completed.
88
+ On the client side, the operation simply blocks until another
89
+ thread has called shutdown or destroy.
90
+ A typical use of this operation is to call it from the main thread,
91
+ which then waits until some other thread calls shutdown.
92
+ After shut-down is complete, the main thread returns and can do some
93
+ cleanup work before it finally calls destroy to shut down
94
+ the client functionality, and then exits the application.
95
+ """
96
+ raise NotImplementedError("method 'waitForShutdown' not implemented")
97
+
98
+ def isShutdown(self):
99
+ """
100
+ Check whether communicator has been shut down.
101
+ Returns: True if the communicator has been shut down; false otherwise.
102
+ """
103
+ raise NotImplementedError("method 'isShutdown' not implemented")
104
+
105
+ def stringToProxy(self, str):
106
+ """
107
+ Convert a stringified proxy into a proxy. For example,
108
+ MyCategory/MyObject:tcp -h some_host -p
109
+ 10000 creates a proxy that refers to the Ice object
110
+ having an identity with a name "MyObject" and a category
111
+ "MyCategory", with the server running on host "some_host", port
112
+ 10000. If the stringified proxy does not parse correctly, the
113
+ operation throws one of ProxyParseException, EndpointParseException,
114
+ or IdentityParseException. Refer to the Ice manual for a detailed
115
+ description of the syntax supported by stringified proxies.
116
+ Arguments:
117
+ str -- The stringified proxy to convert into a proxy.
118
+ Returns: The proxy, or nil if str is an empty string.
119
+ """
120
+ raise NotImplementedError("method 'stringToProxy' not implemented")
121
+
122
+ def proxyToString(self, obj):
123
+ """
124
+ Convert a proxy into a string.
125
+ Arguments:
126
+ obj -- The proxy to convert into a stringified proxy.
127
+ Returns: The stringified proxy, or an empty string if obj is nil.
128
+ """
129
+ raise NotImplementedError("method 'proxyToString' not implemented")
130
+
131
+ def propertyToProxy(self, property):
132
+ """
133
+ Convert a set of proxy properties into a proxy. The "base"
134
+ name supplied in the property argument refers to a
135
+ property containing a stringified proxy, such as
136
+ MyProxy=id:tcp -h localhost -p 10000. Additional
137
+ properties configure local settings for the proxy, such as
138
+ MyProxy.PreferSecure=1. The "Properties"
139
+ appendix in the Ice manual describes each of the supported
140
+ proxy properties.
141
+ Arguments:
142
+ property -- The base property name.
143
+ Returns: The proxy.
144
+ """
145
+ raise NotImplementedError("method 'propertyToProxy' not implemented")
146
+
147
+ def proxyToProperty(self, proxy, property):
148
+ """
149
+ Convert a proxy to a set of proxy properties.
150
+ Arguments:
151
+ proxy -- The proxy.
152
+ property -- The base property name.
153
+ Returns: The property set.
154
+ """
155
+ raise NotImplementedError("method 'proxyToProperty' not implemented")
156
+
157
+ def stringToIdentity(self, str):
158
+ """
159
+ Convert a string into an identity. If the string does not parse
160
+ correctly, the operation throws IdentityParseException.
161
+ Arguments:
162
+ str -- The string to convert into an identity.
163
+ Returns: The identity.
164
+ """
165
+ raise NotImplementedError("method 'stringToIdentity' not implemented")
166
+
167
+ def identityToString(self, ident):
168
+ """
169
+ Convert an identity into a string.
170
+ Arguments:
171
+ ident -- The identity to convert into a string.
172
+ Returns: The "stringified" identity.
173
+ """
174
+ raise NotImplementedError("method 'identityToString' not implemented")
175
+
176
+ def createObjectAdapter(self, name):
177
+ """
178
+ Create a new object adapter. The endpoints for the object
179
+ adapter are taken from the property name.Endpoints.
180
+ It is legal to create an object adapter with the empty string as
181
+ its name. Such an object adapter is accessible via bidirectional
182
+ connections or by collocated invocations that originate from the
183
+ same communicator as is used by the adapter.
184
+ Attempts to create a named object adapter for which no configuration
185
+ can be found raise InitializationException.
186
+ Arguments:
187
+ name -- The object adapter name.
188
+ Returns: The new object adapter.
189
+ """
190
+ raise NotImplementedError("method 'createObjectAdapter' not implemented")
191
+
192
+ def createObjectAdapterWithEndpoints(self, name, endpoints):
193
+ """
194
+ Create a new object adapter with endpoints. This operation sets
195
+ the property name.Endpoints, and then calls
196
+ createObjectAdapter. It is provided as a convenience
197
+ function.
198
+ Calling this operation with an empty name will result in a
199
+ UUID being generated for the name.
200
+ Arguments:
201
+ name -- The object adapter name.
202
+ endpoints -- The endpoints for the object adapter.
203
+ Returns: The new object adapter.
204
+ """
205
+ raise NotImplementedError("method 'createObjectAdapterWithEndpoints' not implemented")
206
+
207
+ def createObjectAdapterWithRouter(self, name, rtr):
208
+ """
209
+ Create a new object adapter with a router. This operation
210
+ creates a routed object adapter.
211
+ Calling this operation with an empty name will result in a
212
+ UUID being generated for the name.
213
+ Arguments:
214
+ name -- The object adapter name.
215
+ rtr -- The router.
216
+ Returns: The new object adapter.
217
+ """
218
+ raise NotImplementedError("method 'createObjectAdapterWithRouter' not implemented")
219
+
220
+ def addObjectFactory(self, factory, id):
221
+ """
222
+ Add an object factory to this communicator. Installing a
223
+ factory with an id for which a factory is already registered
224
+ throws AlreadyRegisteredException.
225
+ When unmarshaling an Ice object, the Ice run time reads the
226
+ most-derived type id off the wire and attempts to create an
227
+ instance of the type using a factory. If no instance is created,
228
+ either because no factory was found, or because all factories
229
+ returned nil, the behavior of the Ice run time depends on the
230
+ format with which the object was marshaled:
231
+ If the object uses the "sliced" format, Ice ascends the class
232
+ hierarchy until it finds a type that is recognized by a factory,
233
+ or it reaches the least-derived type. If no factory is found that
234
+ can create an instance, the run time throws NoValueFactoryException.
235
+ If the object uses the "compact" format, Ice immediately raises
236
+ NoValueFactoryException.
237
+ The following order is used to locate a factory for a type:
238
+ The Ice run-time looks for a factory registered
239
+ specifically for the type.
240
+ If no instance has been created, the Ice run-time looks
241
+ for the default factory, which is registered with an empty type id.
242
+ If no instance has been created by any of the preceding
243
+ steps, the Ice run-time looks for a factory that may have been
244
+ statically generated by the language mapping for non-abstract classes.
245
+ Arguments:
246
+ factory -- The factory to add.
247
+ id -- The type id for which the factory can create instances, or an empty string for the default factory.
248
+ """
249
+ raise NotImplementedError("method 'addObjectFactory' not implemented")
250
+
251
+ def findObjectFactory(self, id):
252
+ """
253
+ Find an object factory registered with this communicator.
254
+ Arguments:
255
+ id -- The type id for which the factory can create instances, or an empty string for the default factory.
256
+ Returns: The object factory, or null if no object factory was found for the given id.
257
+ """
258
+ raise NotImplementedError("method 'findObjectFactory' not implemented")
259
+
260
+ def getImplicitContext(self):
261
+ """
262
+ Get the implicit context associated with this communicator.
263
+ Returns: The implicit context associated with this communicator; returns null when the property Ice.ImplicitContext is not set or is set to None.
264
+ """
265
+ raise NotImplementedError("method 'getImplicitContext' not implemented")
266
+
267
+ def getProperties(self):
268
+ """
269
+ Get the properties for this communicator.
270
+ Returns: This communicator's properties.
271
+ """
272
+ raise NotImplementedError("method 'getProperties' not implemented")
273
+
274
+ def getLogger(self):
275
+ """
276
+ Get the logger for this communicator.
277
+ Returns: This communicator's logger.
278
+ """
279
+ raise NotImplementedError("method 'getLogger' not implemented")
280
+
281
+ def getObserver(self):
282
+ """
283
+ Get the observer resolver object for this communicator.
284
+ Returns: This communicator's observer resolver object.
285
+ """
286
+ raise NotImplementedError("method 'getObserver' not implemented")
287
+
288
+ def getDefaultRouter(self):
289
+ """
290
+ Get the default router this communicator.
291
+ Returns: The default router for this communicator.
292
+ """
293
+ raise NotImplementedError("method 'getDefaultRouter' not implemented")
294
+
295
+ def setDefaultRouter(self, rtr):
296
+ """
297
+ Set a default router for this communicator. All newly
298
+ created proxies will use this default router. To disable the
299
+ default router, null can be used. Note that this
300
+ operation has no effect on existing proxies.
301
+ You can also set a router for an individual proxy
302
+ by calling the operation ice_router on the proxy.
303
+ Arguments:
304
+ rtr -- The default router to use for this communicator.
305
+ """
306
+ raise NotImplementedError("method 'setDefaultRouter' not implemented")
307
+
308
+ def getDefaultLocator(self):
309
+ """
310
+ Get the default locator this communicator.
311
+ Returns: The default locator for this communicator.
312
+ """
313
+ raise NotImplementedError("method 'getDefaultLocator' not implemented")
314
+
315
+ def setDefaultLocator(self, loc):
316
+ """
317
+ Set a default Ice locator for this communicator. All newly
318
+ created proxy and object adapters will use this default
319
+ locator. To disable the default locator, null can be used.
320
+ Note that this operation has no effect on existing proxies or
321
+ object adapters.
322
+ You can also set a locator for an individual proxy by calling the
323
+ operation ice_locator on the proxy, or for an object adapter
324
+ by calling ObjectAdapter#setLocator on the object adapter.
325
+ Arguments:
326
+ loc -- The default locator to use for this communicator.
327
+ """
328
+ raise NotImplementedError("method 'setDefaultLocator' not implemented")
329
+
330
+ def getPluginManager(self):
331
+ """
332
+ Get the plug-in manager for this communicator.
333
+ Returns: This communicator's plug-in manager.
334
+ """
335
+ raise NotImplementedError("method 'getPluginManager' not implemented")
336
+
337
+ def getValueFactoryManager(self):
338
+ """
339
+ Get the value factory manager for this communicator.
340
+ Returns: This communicator's value factory manager.
341
+ """
342
+ raise NotImplementedError("method 'getValueFactoryManager' not implemented")
343
+
344
+ def flushBatchRequests(self, compress):
345
+ """
346
+ Flush any pending batch requests for this communicator.
347
+ This means all batch requests invoked on fixed proxies
348
+ for all connections associated with the communicator.
349
+ Any errors that occur while flushing a connection are ignored.
350
+ Arguments:
351
+ compress -- Specifies whether or not the queued batch requests should be compressed before being sent over the wire.
352
+ """
353
+ raise NotImplementedError("method 'flushBatchRequests' not implemented")
354
+
355
+ def createAdmin(self, adminAdapter, adminId):
356
+ """
357
+ Add the Admin object with all its facets to the provided object adapter.
358
+ If Ice.Admin.ServerId is set and the provided object adapter has a Locator,
359
+ createAdmin registers the Admin's Process facet with the Locator's LocatorRegistry.
360
+ createAdmin must only be called once; subsequent calls raise InitializationException.
361
+ Arguments:
362
+ adminAdapter -- The object adapter used to host the Admin object; if null and Ice.Admin.Endpoints is set, create, activate and use the Ice.Admin object adapter.
363
+ adminId -- The identity of the Admin object.
364
+ Returns: A proxy to the main ("") facet of the Admin object. Never returns a null proxy.
365
+ """
366
+ raise NotImplementedError("method 'createAdmin' not implemented")
367
+
368
+ def getAdmin(self):
369
+ """
370
+ Get a proxy to the main facet of the Admin object.
371
+ getAdmin also creates the Admin object and creates and activates the Ice.Admin object
372
+ adapter to host this Admin object if Ice.Admin.Enpoints is set. The identity of the Admin
373
+ object created by getAdmin is {value of Ice.Admin.InstanceName}/admin, or {UUID}/admin
374
+ when Ice.Admin.InstanceName is not set.
375
+ If Ice.Admin.DelayCreation is 0 or not set, getAdmin is called by the communicator
376
+ initialization, after initialization of all plugins.
377
+ Returns: A proxy to the main ("") facet of the Admin object, or a null proxy if no Admin object is configured.
378
+ """
379
+ raise NotImplementedError("method 'getAdmin' not implemented")
380
+
381
+ def addAdminFacet(self, servant, facet):
382
+ """
383
+ Add a new facet to the Admin object.
384
+ Adding a servant with a facet that is already registered
385
+ throws AlreadyRegisteredException.
386
+ Arguments:
387
+ servant -- The servant that implements the new Admin facet.
388
+ facet -- The name of the new Admin facet.
389
+ """
390
+ raise NotImplementedError("method 'addAdminFacet' not implemented")
391
+
392
+ def removeAdminFacet(self, facet):
393
+ """
394
+ Remove the following facet to the Admin object.
395
+ Removing a facet that was not previously registered throws
396
+ NotRegisteredException.
397
+ Arguments:
398
+ facet -- The name of the Admin facet.
399
+ Returns: The servant associated with this Admin facet.
400
+ """
401
+ raise NotImplementedError("method 'removeAdminFacet' not implemented")
402
+
403
+ def findAdminFacet(self, facet):
404
+ """
405
+ Returns a facet of the Admin object.
406
+ Arguments:
407
+ facet -- The name of the Admin facet.
408
+ Returns: The servant associated with this Admin facet, or null if no facet is registered with the given name.
409
+ """
410
+ raise NotImplementedError("method 'findAdminFacet' not implemented")
411
+
412
+ def findAllAdminFacets(self):
413
+ """
414
+ Returns a map of all facets of the Admin object.
415
+ Returns: A collection containing all the facet names and servants of the Admin object.
416
+ """
417
+ raise NotImplementedError("method 'findAllAdminFacets' not implemented")
418
+
419
+ def __str__(self):
420
+ return IcePy.stringify(self, _M_Ice._t_Communicator)
421
+
422
+ __repr__ = __str__
423
+
424
+ _M_Ice._t_Communicator = IcePy.defineValue('::Ice::Communicator', Communicator, -1, (), False, True, None, ())
425
+ Communicator._ice_type = _M_Ice._t_Communicator
426
+
427
+ _M_Ice.Communicator = Communicator
428
+ del Communicator
429
+
430
+ if 'ToStringMode' not in _M_Ice.__dict__:
431
+ _M_Ice.ToStringMode = Ice.createTempClass()
432
+ class ToStringMode(Ice.EnumBase):
433
+ """
434
+ The output mode for xxxToString method such as identityToString and proxyToString.
435
+ The actual encoding format for the string is the same for all modes: you
436
+ don't need to specify an encoding format or mode when reading such a string.
437
+ Enumerators:
438
+ Unicode -- Characters with ordinal values greater than 127 are kept as-is in the resulting string.
439
+ Non-printable ASCII characters with ordinal values 127 and below are encoded as \\t, \\n (etc.)
440
+ or \\unnnn.
441
+ ASCII -- Characters with ordinal values greater than 127 are encoded as universal character names in
442
+ the resulting string: \\unnnn for BMP characters and \\Unnnnnnnn for non-BMP characters.
443
+ Non-printable ASCII characters with ordinal values 127 and below are encoded as \\t, \\n (etc.)
444
+ or \\unnnn.
445
+ Compat -- Characters with ordinal values greater than 127 are encoded as a sequence of UTF-8 bytes using
446
+ octal escapes. Characters with ordinal values 127 and below are encoded as \\t, \\n (etc.) or
447
+ an octal escape. Use this mode to generate strings compatible with Ice 3.6 and earlier.
448
+ """
449
+
450
+ def __init__(self, _n, _v):
451
+ Ice.EnumBase.__init__(self, _n, _v)
452
+
453
+ def valueOf(self, _n):
454
+ if _n in self._enumerators:
455
+ return self._enumerators[_n]
456
+ return None
457
+ valueOf = classmethod(valueOf)
458
+
459
+ ToStringMode.Unicode = ToStringMode("Unicode", 0)
460
+ ToStringMode.ASCII = ToStringMode("ASCII", 1)
461
+ ToStringMode.Compat = ToStringMode("Compat", 2)
462
+ ToStringMode._enumerators = { 0:ToStringMode.Unicode, 1:ToStringMode.ASCII, 2:ToStringMode.Compat }
463
+
464
+ _M_Ice._t_ToStringMode = IcePy.defineEnum('::Ice::ToStringMode', ToStringMode, (), ToStringMode._enumerators)
465
+
466
+ _M_Ice.ToStringMode = ToStringMode
467
+ del ToStringMode
468
+
469
+ # End of module Ice
Ice/ConnectionF_ice.py ADDED
@@ -0,0 +1,33 @@
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 `ConnectionF.ice'
11
+ #
12
+ # Warning: do not edit this file.
13
+ #
14
+ # </auto-generated>
15
+ #
16
+
17
+ from sys import version_info as _version_info_
18
+ import Ice, IcePy
19
+
20
+ # Start of module Ice
21
+ _M_Ice = Ice.openModule('Ice')
22
+ __name__ = 'Ice'
23
+
24
+ if 'ConnectionInfo' not in _M_Ice.__dict__:
25
+ _M_Ice._t_ConnectionInfo = IcePy.declareValue('::Ice::ConnectionInfo')
26
+
27
+ if 'WSConnectionInfo' not in _M_Ice.__dict__:
28
+ _M_Ice._t_WSConnectionInfo = IcePy.declareValue('::Ice::WSConnectionInfo')
29
+
30
+ if 'Connection' not in _M_Ice.__dict__:
31
+ _M_Ice._t_Connection = IcePy.declareValue('::Ice::Connection')
32
+
33
+ # End of module Ice