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
Ice/Plugin_ice.py ADDED
@@ -0,0 +1,136 @@
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 `Plugin.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.BuiltinSequences_ice
21
+
22
+ # Included module Ice
23
+ _M_Ice = Ice.openModule('Ice')
24
+
25
+ # Start of module Ice
26
+ __name__ = 'Ice'
27
+
28
+ if 'Plugin' not in _M_Ice.__dict__:
29
+ _M_Ice.Plugin = Ice.createTempClass()
30
+ class Plugin(object):
31
+ """
32
+ A communicator plug-in. A plug-in generally adds a feature to a
33
+ communicator, such as support for a protocol.
34
+ The communicator loads its plug-ins in two stages: the first stage
35
+ creates the plug-ins, and the second stage invokes Plugin#initialize on
36
+ each one.
37
+ """
38
+ def __init__(self):
39
+ if Ice.getType(self) == _M_Ice.Plugin:
40
+ raise RuntimeError('Ice.Plugin is an abstract class')
41
+
42
+ def initialize(self):
43
+ """
44
+ Perform any necessary initialization steps.
45
+ """
46
+ raise NotImplementedError("method 'initialize' not implemented")
47
+
48
+ def destroy(self):
49
+ """
50
+ Called when the communicator is being destroyed.
51
+ """
52
+ raise NotImplementedError("method 'destroy' not implemented")
53
+
54
+ def __str__(self):
55
+ return IcePy.stringify(self, _M_Ice._t_Plugin)
56
+
57
+ __repr__ = __str__
58
+
59
+ _M_Ice._t_Plugin = IcePy.defineValue('::Ice::Plugin', Plugin, -1, (), False, True, None, ())
60
+ Plugin._ice_type = _M_Ice._t_Plugin
61
+
62
+ _M_Ice.Plugin = Plugin
63
+ del Plugin
64
+
65
+ if 'PluginManager' not in _M_Ice.__dict__:
66
+ _M_Ice.PluginManager = Ice.createTempClass()
67
+ class PluginManager(object):
68
+ """
69
+ Each communicator has a plug-in manager to administer the set of
70
+ plug-ins.
71
+ """
72
+ def __init__(self):
73
+ if Ice.getType(self) == _M_Ice.PluginManager:
74
+ raise RuntimeError('Ice.PluginManager is an abstract class')
75
+
76
+ def initializePlugins(self):
77
+ """
78
+ Initialize the configured plug-ins. The communicator automatically initializes
79
+ the plug-ins by default, but an application may need to interact directly with
80
+ a plug-in prior to initialization. In this case, the application must set
81
+ Ice.InitPlugins=0 and then invoke initializePlugins
82
+ manually. The plug-ins are initialized in the order in which they are loaded.
83
+ If a plug-in raises an exception during initialization, the communicator
84
+ invokes destroy on the plug-ins that have already been initialized.
85
+ Throws:
86
+ InitializationException -- Raised if the plug-ins have already been initialized.
87
+ """
88
+ raise NotImplementedError("method 'initializePlugins' not implemented")
89
+
90
+ def getPlugins(self):
91
+ """
92
+ Get a list of plugins installed.
93
+ Returns: The names of the plugins installed.
94
+ """
95
+ raise NotImplementedError("method 'getPlugins' not implemented")
96
+
97
+ def getPlugin(self, name):
98
+ """
99
+ Obtain a plug-in by name.
100
+ Arguments:
101
+ name -- The plug-in's name.
102
+ Returns: The plug-in.
103
+ Throws:
104
+ NotRegisteredException -- Raised if no plug-in is found with the given name.
105
+ """
106
+ raise NotImplementedError("method 'getPlugin' not implemented")
107
+
108
+ def addPlugin(self, name, pi):
109
+ """
110
+ Install a new plug-in.
111
+ Arguments:
112
+ name -- The plug-in's name.
113
+ pi -- The plug-in.
114
+ Throws:
115
+ AlreadyRegisteredException -- Raised if a plug-in already exists with the given name.
116
+ """
117
+ raise NotImplementedError("method 'addPlugin' not implemented")
118
+
119
+ def destroy(self):
120
+ """
121
+ Called when the communicator is being destroyed.
122
+ """
123
+ raise NotImplementedError("method 'destroy' not implemented")
124
+
125
+ def __str__(self):
126
+ return IcePy.stringify(self, _M_Ice._t_PluginManager)
127
+
128
+ __repr__ = __str__
129
+
130
+ _M_Ice._t_PluginManager = IcePy.defineValue('::Ice::PluginManager', PluginManager, -1, (), False, True, None, ())
131
+ PluginManager._ice_type = _M_Ice._t_PluginManager
132
+
133
+ _M_Ice.PluginManager = PluginManager
134
+ del PluginManager
135
+
136
+ # End of module Ice
Ice/ProcessF_ice.py ADDED
@@ -0,0 +1,28 @@
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 `ProcessF.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 'Process' not in _M_Ice.__dict__:
25
+ _M_Ice._t_ProcessDisp = IcePy.declareClass('::Ice::Process')
26
+ _M_Ice._t_ProcessPrx = IcePy.declareProxy('::Ice::Process')
27
+
28
+ # End of module Ice
Ice/Process_ice.py ADDED
@@ -0,0 +1,175 @@
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 `Process.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
+ _M_Ice._t_Process = IcePy.defineValue('::Ice::Process', Ice.Value, -1, (), False, True, None, ())
25
+
26
+ if 'ProcessPrx' not in _M_Ice.__dict__:
27
+ _M_Ice.ProcessPrx = Ice.createTempClass()
28
+ class ProcessPrx(Ice.ObjectPrx):
29
+
30
+ """
31
+ Initiate a graceful shut-down.
32
+ Arguments:
33
+ context -- The request context for the invocation.
34
+ """
35
+ def shutdown(self, context=None):
36
+ return _M_Ice.Process._op_shutdown.invoke(self, ((), context))
37
+
38
+ """
39
+ Initiate a graceful shut-down.
40
+ Arguments:
41
+ context -- The request context for the invocation.
42
+ Returns: A future object for the invocation.
43
+ """
44
+ def shutdownAsync(self, context=None):
45
+ return _M_Ice.Process._op_shutdown.invokeAsync(self, ((), context))
46
+
47
+ """
48
+ Initiate a graceful shut-down.
49
+ Arguments:
50
+ _response -- The asynchronous response callback.
51
+ _ex -- The asynchronous exception callback.
52
+ _sent -- The asynchronous sent callback.
53
+ context -- The request context for the invocation.
54
+ Returns: An asynchronous result object for the invocation.
55
+ """
56
+ def begin_shutdown(self, _response=None, _ex=None, _sent=None, context=None):
57
+ return _M_Ice.Process._op_shutdown.begin(self, ((), _response, _ex, _sent, context))
58
+
59
+ """
60
+ Initiate a graceful shut-down.
61
+ Arguments:
62
+ """
63
+ def end_shutdown(self, _r):
64
+ return _M_Ice.Process._op_shutdown.end(self, _r)
65
+
66
+ """
67
+ Write a message on the process' stdout or stderr.
68
+ Arguments:
69
+ message -- The message.
70
+ fd -- 1 for stdout, 2 for stderr.
71
+ context -- The request context for the invocation.
72
+ """
73
+ def writeMessage(self, message, fd, context=None):
74
+ return _M_Ice.Process._op_writeMessage.invoke(self, ((message, fd), context))
75
+
76
+ """
77
+ Write a message on the process' stdout or stderr.
78
+ Arguments:
79
+ message -- The message.
80
+ fd -- 1 for stdout, 2 for stderr.
81
+ context -- The request context for the invocation.
82
+ Returns: A future object for the invocation.
83
+ """
84
+ def writeMessageAsync(self, message, fd, context=None):
85
+ return _M_Ice.Process._op_writeMessage.invokeAsync(self, ((message, fd), context))
86
+
87
+ """
88
+ Write a message on the process' stdout or stderr.
89
+ Arguments:
90
+ message -- The message.
91
+ fd -- 1 for stdout, 2 for stderr.
92
+ _response -- The asynchronous response callback.
93
+ _ex -- The asynchronous exception callback.
94
+ _sent -- The asynchronous sent callback.
95
+ context -- The request context for the invocation.
96
+ Returns: An asynchronous result object for the invocation.
97
+ """
98
+ def begin_writeMessage(self, message, fd, _response=None, _ex=None, _sent=None, context=None):
99
+ return _M_Ice.Process._op_writeMessage.begin(self, ((message, fd), _response, _ex, _sent, context))
100
+
101
+ """
102
+ Write a message on the process' stdout or stderr.
103
+ Arguments:
104
+ message -- The message.
105
+ fd -- 1 for stdout, 2 for stderr.
106
+ """
107
+ def end_writeMessage(self, _r):
108
+ return _M_Ice.Process._op_writeMessage.end(self, _r)
109
+
110
+ @staticmethod
111
+ def checkedCast(proxy, facetOrContext=None, context=None):
112
+ return _M_Ice.ProcessPrx.ice_checkedCast(proxy, '::Ice::Process', facetOrContext, context)
113
+
114
+ @staticmethod
115
+ def uncheckedCast(proxy, facet=None):
116
+ return _M_Ice.ProcessPrx.ice_uncheckedCast(proxy, facet)
117
+
118
+ @staticmethod
119
+ def ice_staticId():
120
+ return '::Ice::Process'
121
+ _M_Ice._t_ProcessPrx = IcePy.defineProxy('::Ice::Process', ProcessPrx)
122
+
123
+ _M_Ice.ProcessPrx = ProcessPrx
124
+ del ProcessPrx
125
+
126
+ _M_Ice.Process = Ice.createTempClass()
127
+ class Process(Ice.Object):
128
+
129
+ def ice_ids(self, current=None):
130
+ return ('::Ice::Object', '::Ice::Process')
131
+
132
+ def ice_id(self, current=None):
133
+ return '::Ice::Process'
134
+
135
+ @staticmethod
136
+ def ice_staticId():
137
+ return '::Ice::Process'
138
+
139
+ def shutdown(self, current=None):
140
+ """
141
+ Initiate a graceful shut-down.
142
+ Arguments:
143
+ current -- The Current object for the invocation.
144
+ Returns: A future object for the invocation.
145
+ """
146
+ raise NotImplementedError("servant method 'shutdown' not implemented")
147
+
148
+ def writeMessage(self, message, fd, current=None):
149
+ """
150
+ Write a message on the process' stdout or stderr.
151
+ Arguments:
152
+ message -- The message.
153
+ fd -- 1 for stdout, 2 for stderr.
154
+ current -- The Current object for the invocation.
155
+ Returns: A future object for the invocation.
156
+ """
157
+ raise NotImplementedError("servant method 'writeMessage' not implemented")
158
+
159
+ def __str__(self):
160
+ return IcePy.stringify(self, _M_Ice._t_ProcessDisp)
161
+
162
+ __repr__ = __str__
163
+
164
+ _M_Ice._t_ProcessDisp = IcePy.defineClass('::Ice::Process', Process, (), None, ())
165
+ Process._ice_type = _M_Ice._t_ProcessDisp
166
+
167
+ Process._op_shutdown = IcePy.Operation('shutdown', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), None, ())
168
+ Process._op_writeMessage = IcePy.Operation('writeMessage', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_int, False, 0)), (), None, ())
169
+
170
+ _M_Ice.Process = Process
171
+ del Process
172
+
173
+ # End of module Ice
174
+
175
+ Ice.sliceChecksums["::Ice::Process"] = "e3a9673d486a5bf031844cac6f9d287e"
@@ -0,0 +1,247 @@
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 `PropertiesAdmin.ice'
11
+ #
12
+ # Warning: do not edit this file.
13
+ #
14
+ # </auto-generated>
15
+ #
16
+
17
+ from sys import version_info as _version_info_
18
+ import Ice, IcePy
19
+ import Ice.BuiltinSequences_ice
20
+
21
+ # Included module Ice
22
+ _M_Ice = Ice.openModule('Ice')
23
+
24
+ # Start of module Ice
25
+ __name__ = 'Ice'
26
+
27
+ if '_t_PropertyDict' not in _M_Ice.__dict__:
28
+ _M_Ice._t_PropertyDict = IcePy.defineDictionary('::Ice::PropertyDict', (), IcePy._t_string, IcePy._t_string)
29
+
30
+ _M_Ice._t_PropertiesAdmin = IcePy.defineValue('::Ice::PropertiesAdmin', Ice.Value, -1, (), False, True, None, ())
31
+
32
+ if 'PropertiesAdminPrx' not in _M_Ice.__dict__:
33
+ _M_Ice.PropertiesAdminPrx = Ice.createTempClass()
34
+ class PropertiesAdminPrx(Ice.ObjectPrx):
35
+
36
+ """
37
+ Get a property by key. If the property is not set, an empty
38
+ string is returned.
39
+ Arguments:
40
+ key -- The property key.
41
+ context -- The request context for the invocation.
42
+ Returns: The property value.
43
+ """
44
+ def getProperty(self, key, context=None):
45
+ return _M_Ice.PropertiesAdmin._op_getProperty.invoke(self, ((key, ), context))
46
+
47
+ """
48
+ Get a property by key. If the property is not set, an empty
49
+ string is returned.
50
+ Arguments:
51
+ key -- The property key.
52
+ context -- The request context for the invocation.
53
+ Returns: A future object for the invocation.
54
+ """
55
+ def getPropertyAsync(self, key, context=None):
56
+ return _M_Ice.PropertiesAdmin._op_getProperty.invokeAsync(self, ((key, ), context))
57
+
58
+ """
59
+ Get a property by key. If the property is not set, an empty
60
+ string is returned.
61
+ Arguments:
62
+ key -- The property key.
63
+ _response -- The asynchronous response callback.
64
+ _ex -- The asynchronous exception callback.
65
+ _sent -- The asynchronous sent callback.
66
+ context -- The request context for the invocation.
67
+ Returns: An asynchronous result object for the invocation.
68
+ """
69
+ def begin_getProperty(self, key, _response=None, _ex=None, _sent=None, context=None):
70
+ return _M_Ice.PropertiesAdmin._op_getProperty.begin(self, ((key, ), _response, _ex, _sent, context))
71
+
72
+ """
73
+ Get a property by key. If the property is not set, an empty
74
+ string is returned.
75
+ Arguments:
76
+ key -- The property key.
77
+ Returns: The property value.
78
+ """
79
+ def end_getProperty(self, _r):
80
+ return _M_Ice.PropertiesAdmin._op_getProperty.end(self, _r)
81
+
82
+ """
83
+ Get all properties whose keys begin with prefix. If
84
+ prefix is an empty string then all properties are returned.
85
+ Arguments:
86
+ prefix -- The prefix to search for (empty string if none).
87
+ context -- The request context for the invocation.
88
+ Returns: The matching property set.
89
+ """
90
+ def getPropertiesForPrefix(self, prefix, context=None):
91
+ return _M_Ice.PropertiesAdmin._op_getPropertiesForPrefix.invoke(self, ((prefix, ), context))
92
+
93
+ """
94
+ Get all properties whose keys begin with prefix. If
95
+ prefix is an empty string then all properties are returned.
96
+ Arguments:
97
+ prefix -- The prefix to search for (empty string if none).
98
+ context -- The request context for the invocation.
99
+ Returns: A future object for the invocation.
100
+ """
101
+ def getPropertiesForPrefixAsync(self, prefix, context=None):
102
+ return _M_Ice.PropertiesAdmin._op_getPropertiesForPrefix.invokeAsync(self, ((prefix, ), context))
103
+
104
+ """
105
+ Get all properties whose keys begin with prefix. If
106
+ prefix is an empty string then all properties are returned.
107
+ Arguments:
108
+ prefix -- The prefix to search for (empty string if none).
109
+ _response -- The asynchronous response callback.
110
+ _ex -- The asynchronous exception callback.
111
+ _sent -- The asynchronous sent callback.
112
+ context -- The request context for the invocation.
113
+ Returns: An asynchronous result object for the invocation.
114
+ """
115
+ def begin_getPropertiesForPrefix(self, prefix, _response=None, _ex=None, _sent=None, context=None):
116
+ return _M_Ice.PropertiesAdmin._op_getPropertiesForPrefix.begin(self, ((prefix, ), _response, _ex, _sent, context))
117
+
118
+ """
119
+ Get all properties whose keys begin with prefix. If
120
+ prefix is an empty string then all properties are returned.
121
+ Arguments:
122
+ prefix -- The prefix to search for (empty string if none).
123
+ Returns: The matching property set.
124
+ """
125
+ def end_getPropertiesForPrefix(self, _r):
126
+ return _M_Ice.PropertiesAdmin._op_getPropertiesForPrefix.end(self, _r)
127
+
128
+ """
129
+ Update the communicator's properties with the given property set.
130
+ Arguments:
131
+ newProperties -- Properties to be added, changed, or removed. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is an empty string, the property is removed. Any existing properties that are not modified or removed by the entries in newProperties are retained with their original values.
132
+ context -- The request context for the invocation.
133
+ """
134
+ def setProperties(self, newProperties, context=None):
135
+ return _M_Ice.PropertiesAdmin._op_setProperties.invoke(self, ((newProperties, ), context))
136
+
137
+ """
138
+ Update the communicator's properties with the given property set.
139
+ Arguments:
140
+ newProperties -- Properties to be added, changed, or removed. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is an empty string, the property is removed. Any existing properties that are not modified or removed by the entries in newProperties are retained with their original values.
141
+ context -- The request context for the invocation.
142
+ Returns: A future object for the invocation.
143
+ """
144
+ def setPropertiesAsync(self, newProperties, context=None):
145
+ return _M_Ice.PropertiesAdmin._op_setProperties.invokeAsync(self, ((newProperties, ), context))
146
+
147
+ """
148
+ Update the communicator's properties with the given property set.
149
+ Arguments:
150
+ newProperties -- Properties to be added, changed, or removed. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is an empty string, the property is removed. Any existing properties that are not modified or removed by the entries in newProperties are retained with their original values.
151
+ _response -- The asynchronous response callback.
152
+ _ex -- The asynchronous exception callback.
153
+ _sent -- The asynchronous sent callback.
154
+ context -- The request context for the invocation.
155
+ Returns: An asynchronous result object for the invocation.
156
+ """
157
+ def begin_setProperties(self, newProperties, _response=None, _ex=None, _sent=None, context=None):
158
+ return _M_Ice.PropertiesAdmin._op_setProperties.begin(self, ((newProperties, ), _response, _ex, _sent, context))
159
+
160
+ """
161
+ Update the communicator's properties with the given property set.
162
+ Arguments:
163
+ newProperties -- Properties to be added, changed, or removed. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is an empty string, the property is removed. Any existing properties that are not modified or removed by the entries in newProperties are retained with their original values.
164
+ """
165
+ def end_setProperties(self, _r):
166
+ return _M_Ice.PropertiesAdmin._op_setProperties.end(self, _r)
167
+
168
+ @staticmethod
169
+ def checkedCast(proxy, facetOrContext=None, context=None):
170
+ return _M_Ice.PropertiesAdminPrx.ice_checkedCast(proxy, '::Ice::PropertiesAdmin', facetOrContext, context)
171
+
172
+ @staticmethod
173
+ def uncheckedCast(proxy, facet=None):
174
+ return _M_Ice.PropertiesAdminPrx.ice_uncheckedCast(proxy, facet)
175
+
176
+ @staticmethod
177
+ def ice_staticId():
178
+ return '::Ice::PropertiesAdmin'
179
+ _M_Ice._t_PropertiesAdminPrx = IcePy.defineProxy('::Ice::PropertiesAdmin', PropertiesAdminPrx)
180
+
181
+ _M_Ice.PropertiesAdminPrx = PropertiesAdminPrx
182
+ del PropertiesAdminPrx
183
+
184
+ _M_Ice.PropertiesAdmin = Ice.createTempClass()
185
+ class PropertiesAdmin(Ice.Object):
186
+
187
+ def ice_ids(self, current=None):
188
+ return ('::Ice::Object', '::Ice::PropertiesAdmin')
189
+
190
+ def ice_id(self, current=None):
191
+ return '::Ice::PropertiesAdmin'
192
+
193
+ @staticmethod
194
+ def ice_staticId():
195
+ return '::Ice::PropertiesAdmin'
196
+
197
+ def getProperty(self, key, current=None):
198
+ """
199
+ Get a property by key. If the property is not set, an empty
200
+ string is returned.
201
+ Arguments:
202
+ key -- The property key.
203
+ current -- The Current object for the invocation.
204
+ Returns: A future object for the invocation.
205
+ """
206
+ raise NotImplementedError("servant method 'getProperty' not implemented")
207
+
208
+ def getPropertiesForPrefix(self, prefix, current=None):
209
+ """
210
+ Get all properties whose keys begin with prefix. If
211
+ prefix is an empty string then all properties are returned.
212
+ Arguments:
213
+ prefix -- The prefix to search for (empty string if none).
214
+ current -- The Current object for the invocation.
215
+ Returns: A future object for the invocation.
216
+ """
217
+ raise NotImplementedError("servant method 'getPropertiesForPrefix' not implemented")
218
+
219
+ def setProperties(self, newProperties, current=None):
220
+ """
221
+ Update the communicator's properties with the given property set.
222
+ Arguments:
223
+ newProperties -- Properties to be added, changed, or removed. If an entry in newProperties matches the name of an existing property, that property's value is replaced with the new value. If the new value is an empty string, the property is removed. Any existing properties that are not modified or removed by the entries in newProperties are retained with their original values.
224
+ current -- The Current object for the invocation.
225
+ Returns: A future object for the invocation.
226
+ """
227
+ raise NotImplementedError("servant method 'setProperties' not implemented")
228
+
229
+ def __str__(self):
230
+ return IcePy.stringify(self, _M_Ice._t_PropertiesAdminDisp)
231
+
232
+ __repr__ = __str__
233
+
234
+ _M_Ice._t_PropertiesAdminDisp = IcePy.defineClass('::Ice::PropertiesAdmin', PropertiesAdmin, (), None, ())
235
+ PropertiesAdmin._ice_type = _M_Ice._t_PropertiesAdminDisp
236
+
237
+ PropertiesAdmin._op_getProperty = IcePy.Operation('getProperty', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), ((), IcePy._t_string, False, 0), ())
238
+ PropertiesAdmin._op_getPropertiesForPrefix = IcePy.Operation('getPropertiesForPrefix', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0),), (), ((), _M_Ice._t_PropertyDict, False, 0), ())
239
+ PropertiesAdmin._op_setProperties = IcePy.Operation('setProperties', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), _M_Ice._t_PropertyDict, False, 0),), (), None, ())
240
+
241
+ _M_Ice.PropertiesAdmin = PropertiesAdmin
242
+ del PropertiesAdmin
243
+
244
+ # End of module Ice
245
+
246
+ Ice.sliceChecksums["::Ice::PropertiesAdmin"] = "2fdc55e4b6d63dcc2fa612b79b57c6e"
247
+ Ice.sliceChecksums["::Ice::PropertyDict"] = "28c9538d4ffc29a24c3cf15fff4f329"
Ice/PropertiesF_ice.py ADDED
@@ -0,0 +1,31 @@
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 `PropertiesF.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 'Properties' not in _M_Ice.__dict__:
25
+ _M_Ice._t_Properties = IcePy.declareValue('::Ice::Properties')
26
+
27
+ if 'PropertiesAdmin' not in _M_Ice.__dict__:
28
+ _M_Ice._t_PropertiesAdminDisp = IcePy.declareClass('::Ice::PropertiesAdmin')
29
+ _M_Ice._t_PropertiesAdminPrx = IcePy.declareProxy('::Ice::PropertiesAdmin')
30
+
31
+ # End of module Ice