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.
- Glacier2/Metrics_ice.py +82 -0
- Glacier2/PermissionsVerifierF_ice.py +32 -0
- Glacier2/PermissionsVerifier_ice.py +284 -0
- Glacier2/RouterF_ice.py +28 -0
- Glacier2/Router_ice.py +618 -0
- Glacier2/SSLInfo_ice.py +179 -0
- Glacier2/Session_ice.py +1103 -0
- Glacier2/__init__.py +226 -0
- Ice/BuiltinSequences_ice.py +65 -0
- Ice/CommunicatorF_ice.py +27 -0
- Ice/Communicator_ice.py +469 -0
- Ice/ConnectionF_ice.py +33 -0
- Ice/Connection_ice.py +680 -0
- Ice/Current_ice.py +175 -0
- Ice/EndpointF_ice.py +45 -0
- Ice/EndpointTypes_ice.py +54 -0
- Ice/Endpoint_ice.py +304 -0
- Ice/FacetMap_ice.py +27 -0
- Ice/Identity_ice.py +133 -0
- Ice/ImplicitContextF_ice.py +27 -0
- Ice/ImplicitContext_ice.py +119 -0
- Ice/InstrumentationF_ice.py +38 -0
- Ice/Instrumentation_ice.py +566 -0
- Ice/LocalException_ice.py +1715 -0
- Ice/LocatorF_ice.py +32 -0
- Ice/Locator_ice.py +728 -0
- Ice/LoggerF_ice.py +27 -0
- Ice/Logger_ice.py +96 -0
- Ice/Metrics_ice.py +864 -0
- Ice/ObjectAdapterF_ice.py +27 -0
- Ice/ObjectAdapter_ice.py +461 -0
- Ice/ObjectFactory_ice.py +68 -0
- Ice/PluginF_ice.py +30 -0
- Ice/Plugin_ice.py +136 -0
- Ice/ProcessF_ice.py +28 -0
- Ice/Process_ice.py +175 -0
- Ice/PropertiesAdmin_ice.py +247 -0
- Ice/PropertiesF_ice.py +31 -0
- Ice/Properties_ice.py +199 -0
- Ice/Py3/IceFuture.py +52 -0
- Ice/Py3/__init__.py +3 -0
- Ice/RemoteLogger_ice.py +617 -0
- Ice/RouterF_ice.py +28 -0
- Ice/Router_ice.py +350 -0
- Ice/ServantLocatorF_ice.py +27 -0
- Ice/ServantLocator_ice.py +110 -0
- Ice/SliceChecksumDict_ice.py +29 -0
- Ice/ValueFactory_ice.py +125 -0
- Ice/Version_ice.py +217 -0
- Ice/__init__.py +2008 -0
- IceBox/IceBox_ice.py +644 -0
- IceBox/__init__.py +10 -0
- IceGrid/Admin_ice.py +6662 -0
- IceGrid/Descriptor_ice.py +1795 -0
- IceGrid/Exception_ice.py +592 -0
- IceGrid/FileParser_ice.py +171 -0
- IceGrid/PluginFacade_ice.py +288 -0
- IceGrid/Registry_ice.py +985 -0
- IceGrid/Session_ice.py +406 -0
- IceGrid/UserAccountMapper_ice.py +166 -0
- IceGrid/__init__.py +17 -0
- IceMX/__init__.py +12 -0
- IcePatch2/FileInfo_ice.py +287 -0
- IcePatch2/FileServer_ice.py +555 -0
- IcePatch2/__init__.py +11 -0
- IcePy.cpython-314-darwin.so +0 -0
- IceStorm/IceStorm_ice.py +1265 -0
- IceStorm/Metrics_ice.py +106 -0
- IceStorm/__init__.py +10 -0
- slice/Glacier2/Metrics.ice +88 -0
- slice/Glacier2/PermissionsVerifier.ice +111 -0
- slice/Glacier2/PermissionsVerifierF.ice +30 -0
- slice/Glacier2/Router.ice +186 -0
- slice/Glacier2/RouterF.ice +29 -0
- slice/Glacier2/SSLInfo.ice +59 -0
- slice/Glacier2/Session.ice +274 -0
- slice/Ice/BuiltinSequences.ice +59 -0
- slice/Ice/Communicator.ice +676 -0
- slice/Ice/CommunicatorF.ice +31 -0
- slice/Ice/Connection.ice +516 -0
- slice/Ice/ConnectionF.ice +33 -0
- slice/Ice/Current.ice +170 -0
- slice/Ice/Endpoint.ice +291 -0
- slice/Ice/EndpointF.ice +43 -0
- slice/Ice/EndpointTypes.ice +48 -0
- slice/Ice/FacetMap.ice +36 -0
- slice/Ice/Identity.ice +75 -0
- slice/Ice/ImplicitContext.ice +119 -0
- slice/Ice/ImplicitContextF.ice +30 -0
- slice/Ice/Instrumentation.ice +509 -0
- slice/Ice/InstrumentationF.ice +38 -0
- slice/Ice/LocalException.ice +1040 -0
- slice/Ice/Locator.ice +239 -0
- slice/Ice/LocatorF.ice +32 -0
- slice/Ice/Logger.ice +99 -0
- slice/Ice/LoggerF.ice +31 -0
- slice/Ice/Metrics.ice +436 -0
- slice/Ice/ObjectAdapter.ice +710 -0
- slice/Ice/ObjectAdapterF.ice +31 -0
- slice/Ice/ObjectFactory.ice +71 -0
- slice/Ice/Plugin.ice +131 -0
- slice/Ice/PluginF.ice +36 -0
- slice/Ice/Process.ice +64 -0
- slice/Ice/ProcessF.ice +31 -0
- slice/Ice/Properties.ice +244 -0
- slice/Ice/PropertiesAdmin.ice +87 -0
- slice/Ice/PropertiesF.ice +32 -0
- slice/Ice/RemoteLogger.ice +226 -0
- slice/Ice/Router.ice +103 -0
- slice/Ice/RouterF.ice +31 -0
- slice/Ice/ServantLocator.ice +136 -0
- slice/Ice/ServantLocatorF.ice +31 -0
- slice/Ice/SliceChecksumDict.ice +36 -0
- slice/Ice/ValueFactory.ice +133 -0
- slice/Ice/Version.ice +51 -0
- slice/IceBT/ConnectionInfo.ice +59 -0
- slice/IceBT/EndpointInfo.ice +57 -0
- slice/IceBT/Types.ice +45 -0
- slice/IceBox/IceBox.ice +216 -0
- slice/IceGrid/Admin.ice +1957 -0
- slice/IceGrid/Descriptor.ice +1094 -0
- slice/IceGrid/Exception.ice +396 -0
- slice/IceGrid/FileParser.ice +72 -0
- slice/IceGrid/PluginFacade.ice +329 -0
- slice/IceGrid/Registry.ice +269 -0
- slice/IceGrid/Session.ice +128 -0
- slice/IceGrid/UserAccountMapper.ice +69 -0
- slice/IceIAP/ConnectionInfo.ice +74 -0
- slice/IceIAP/EndpointInfo.ice +68 -0
- slice/IcePatch2/FileInfo.ice +85 -0
- slice/IcePatch2/FileServer.ice +191 -0
- slice/IceSSL/ConnectionInfo.ice +54 -0
- slice/IceSSL/ConnectionInfoF.ice +31 -0
- slice/IceSSL/EndpointInfo.ice +45 -0
- slice/IceStorm/IceStorm.ice +414 -0
- slice/IceStorm/Metrics.ice +83 -0
- slice2py.py +21 -0
- zeroc_ice-3.7.11.dist-info/METADATA +97 -0
- zeroc_ice-3.7.11.dist-info/RECORD +142 -0
- zeroc_ice-3.7.11.dist-info/WHEEL +5 -0
- zeroc_ice-3.7.11.dist-info/entry_points.txt +2 -0
- zeroc_ice-3.7.11.dist-info/top_level.txt +10 -0
Ice/Current_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.11
|
|
7
|
+
#
|
|
8
|
+
# <auto-generated>
|
|
9
|
+
#
|
|
10
|
+
# Generated from file `Current.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.ObjectAdapterF_ice
|
|
20
|
+
import Ice.ConnectionF_ice
|
|
21
|
+
import Ice.Identity_ice
|
|
22
|
+
import Ice.Version_ice
|
|
23
|
+
|
|
24
|
+
# Included module Ice
|
|
25
|
+
_M_Ice = Ice.openModule('Ice')
|
|
26
|
+
|
|
27
|
+
# Start of module Ice
|
|
28
|
+
__name__ = 'Ice'
|
|
29
|
+
|
|
30
|
+
if '_t_Context' not in _M_Ice.__dict__:
|
|
31
|
+
_M_Ice._t_Context = IcePy.defineDictionary('::Ice::Context', (), IcePy._t_string, IcePy._t_string)
|
|
32
|
+
|
|
33
|
+
if 'OperationMode' not in _M_Ice.__dict__:
|
|
34
|
+
_M_Ice.OperationMode = Ice.createTempClass()
|
|
35
|
+
class OperationMode(Ice.EnumBase):
|
|
36
|
+
"""
|
|
37
|
+
Determines the retry behavior an invocation in case of a (potentially) recoverable error.
|
|
38
|
+
Enumerators:
|
|
39
|
+
Normal -- Ordinary operations have Normal mode. These operations
|
|
40
|
+
modify object state; invoking such an operation twice in a row
|
|
41
|
+
has different semantics than invoking it once. The Ice run time
|
|
42
|
+
guarantees that it will not violate at-most-once semantics for
|
|
43
|
+
Normal operations.
|
|
44
|
+
Nonmutating -- Operations that use the Slice nonmutating keyword must not
|
|
45
|
+
modify object state. For C++, nonmutating operations generate
|
|
46
|
+
const member functions in the skeleton. In addition, the Ice
|
|
47
|
+
run time will attempt to transparently recover from certain
|
|
48
|
+
run-time errors by re-issuing a failed request and propagate
|
|
49
|
+
the failure to the application only if the second attempt
|
|
50
|
+
fails.
|
|
51
|
+
Nonmutating is deprecated; Use the
|
|
52
|
+
idempotent keyword instead. For C++, to retain the mapping
|
|
53
|
+
of nonmutating operations to C++ const
|
|
54
|
+
member functions, use the ["cpp:const"] metadata
|
|
55
|
+
directive.
|
|
56
|
+
Idempotent -- Operations that use the Slice idempotent keyword can modify
|
|
57
|
+
object state, but invoking an operation twice in a row must
|
|
58
|
+
result in the same object state as invoking it once. For
|
|
59
|
+
example, x = 1 is an idempotent statement,
|
|
60
|
+
whereas x += 1 is not. For idempotent
|
|
61
|
+
operations, the Ice run-time uses the same retry behavior
|
|
62
|
+
as for nonmutating operations in case of a potentially
|
|
63
|
+
recoverable error.
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
def __init__(self, _n, _v):
|
|
67
|
+
Ice.EnumBase.__init__(self, _n, _v)
|
|
68
|
+
|
|
69
|
+
def valueOf(self, _n):
|
|
70
|
+
if _n in self._enumerators:
|
|
71
|
+
return self._enumerators[_n]
|
|
72
|
+
return None
|
|
73
|
+
valueOf = classmethod(valueOf)
|
|
74
|
+
|
|
75
|
+
OperationMode.Normal = OperationMode("Normal", 0)
|
|
76
|
+
OperationMode.Nonmutating = OperationMode("Nonmutating", 1)
|
|
77
|
+
OperationMode.Idempotent = OperationMode("Idempotent", 2)
|
|
78
|
+
OperationMode._enumerators = { 0:OperationMode.Normal, 1:OperationMode.Nonmutating, 2:OperationMode.Idempotent }
|
|
79
|
+
|
|
80
|
+
_M_Ice._t_OperationMode = IcePy.defineEnum('::Ice::OperationMode', OperationMode, (), OperationMode._enumerators)
|
|
81
|
+
|
|
82
|
+
_M_Ice.OperationMode = OperationMode
|
|
83
|
+
del OperationMode
|
|
84
|
+
|
|
85
|
+
if 'Current' not in _M_Ice.__dict__:
|
|
86
|
+
_M_Ice.Current = Ice.createTempClass()
|
|
87
|
+
class Current(object):
|
|
88
|
+
"""
|
|
89
|
+
Information about the current method invocation for servers. Each
|
|
90
|
+
operation on the server has a Current as its implicit final
|
|
91
|
+
parameter. Current is mostly used for Ice services. Most
|
|
92
|
+
applications ignore this parameter.
|
|
93
|
+
Members:
|
|
94
|
+
adapter -- The object adapter.
|
|
95
|
+
con -- Information about the connection over which the current method
|
|
96
|
+
invocation was received. If the invocation is direct due to
|
|
97
|
+
collocation optimization, this value is set to null.
|
|
98
|
+
id -- The Ice object identity.
|
|
99
|
+
facet -- The facet.
|
|
100
|
+
operation -- The operation name.
|
|
101
|
+
mode -- The mode of the operation.
|
|
102
|
+
ctx -- The request context, as received from the client.
|
|
103
|
+
requestId -- The request id unless oneway (0).
|
|
104
|
+
encoding -- The encoding version used to encode the input and output parameters.
|
|
105
|
+
"""
|
|
106
|
+
def __init__(self, adapter=None, con=None, id=Ice._struct_marker, facet='', operation='', mode=_M_Ice.OperationMode.Normal, ctx=None, requestId=0, encoding=Ice._struct_marker):
|
|
107
|
+
self.adapter = adapter
|
|
108
|
+
self.con = con
|
|
109
|
+
if id is Ice._struct_marker:
|
|
110
|
+
self.id = _M_Ice.Identity()
|
|
111
|
+
else:
|
|
112
|
+
self.id = id
|
|
113
|
+
self.facet = facet
|
|
114
|
+
self.operation = operation
|
|
115
|
+
self.mode = mode
|
|
116
|
+
self.ctx = ctx
|
|
117
|
+
self.requestId = requestId
|
|
118
|
+
if encoding is Ice._struct_marker:
|
|
119
|
+
self.encoding = _M_Ice.EncodingVersion()
|
|
120
|
+
else:
|
|
121
|
+
self.encoding = encoding
|
|
122
|
+
|
|
123
|
+
def __eq__(self, other):
|
|
124
|
+
if other is None:
|
|
125
|
+
return False
|
|
126
|
+
elif not isinstance(other, _M_Ice.Current):
|
|
127
|
+
return NotImplemented
|
|
128
|
+
else:
|
|
129
|
+
if self.adapter != other.adapter:
|
|
130
|
+
return False
|
|
131
|
+
if self.con != other.con:
|
|
132
|
+
return False
|
|
133
|
+
if self.id != other.id:
|
|
134
|
+
return False
|
|
135
|
+
if self.facet != other.facet:
|
|
136
|
+
return False
|
|
137
|
+
if self.operation != other.operation:
|
|
138
|
+
return False
|
|
139
|
+
if self.mode != other.mode:
|
|
140
|
+
return False
|
|
141
|
+
if self.ctx != other.ctx:
|
|
142
|
+
return False
|
|
143
|
+
if self.requestId != other.requestId:
|
|
144
|
+
return False
|
|
145
|
+
if self.encoding != other.encoding:
|
|
146
|
+
return False
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
def __ne__(self, other):
|
|
150
|
+
return not self.__eq__(other)
|
|
151
|
+
|
|
152
|
+
def __str__(self):
|
|
153
|
+
return IcePy.stringify(self, _M_Ice._t_Current)
|
|
154
|
+
|
|
155
|
+
__repr__ = __str__
|
|
156
|
+
|
|
157
|
+
_M_Ice._t_Current = IcePy.defineStruct('::Ice::Current', Current, (), (
|
|
158
|
+
('adapter', (), _M_Ice._t_ObjectAdapter),
|
|
159
|
+
('con', (), _M_Ice._t_Connection),
|
|
160
|
+
('id', (), _M_Ice._t_Identity),
|
|
161
|
+
('facet', (), IcePy._t_string),
|
|
162
|
+
('operation', (), IcePy._t_string),
|
|
163
|
+
('mode', (), _M_Ice._t_OperationMode),
|
|
164
|
+
('ctx', (), _M_Ice._t_Context),
|
|
165
|
+
('requestId', (), IcePy._t_int),
|
|
166
|
+
('encoding', (), _M_Ice._t_EncodingVersion)
|
|
167
|
+
))
|
|
168
|
+
|
|
169
|
+
_M_Ice.Current = Current
|
|
170
|
+
del Current
|
|
171
|
+
|
|
172
|
+
# End of module Ice
|
|
173
|
+
|
|
174
|
+
Ice.sliceChecksums["::Ice::Context"] = "e6cb8aba8a3ca160eab3597c6fbbeba"
|
|
175
|
+
Ice.sliceChecksums["::Ice::OperationMode"] = "56db1e0dd464f97828282bdb11d8955"
|
Ice/EndpointF_ice.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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 `EndpointF.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 'EndpointInfo' not in _M_Ice.__dict__:
|
|
25
|
+
_M_Ice._t_EndpointInfo = IcePy.declareValue('::Ice::EndpointInfo')
|
|
26
|
+
|
|
27
|
+
if 'IPEndpointInfo' not in _M_Ice.__dict__:
|
|
28
|
+
_M_Ice._t_IPEndpointInfo = IcePy.declareValue('::Ice::IPEndpointInfo')
|
|
29
|
+
|
|
30
|
+
if 'TCPEndpointInfo' not in _M_Ice.__dict__:
|
|
31
|
+
_M_Ice._t_TCPEndpointInfo = IcePy.declareValue('::Ice::TCPEndpointInfo')
|
|
32
|
+
|
|
33
|
+
if 'UDPEndpointInfo' not in _M_Ice.__dict__:
|
|
34
|
+
_M_Ice._t_UDPEndpointInfo = IcePy.declareValue('::Ice::UDPEndpointInfo')
|
|
35
|
+
|
|
36
|
+
if 'WSEndpointInfo' not in _M_Ice.__dict__:
|
|
37
|
+
_M_Ice._t_WSEndpointInfo = IcePy.declareValue('::Ice::WSEndpointInfo')
|
|
38
|
+
|
|
39
|
+
if 'Endpoint' not in _M_Ice.__dict__:
|
|
40
|
+
_M_Ice._t_Endpoint = IcePy.declareValue('::Ice::Endpoint')
|
|
41
|
+
|
|
42
|
+
if '_t_EndpointSeq' not in _M_Ice.__dict__:
|
|
43
|
+
_M_Ice._t_EndpointSeq = IcePy.defineSequence('::Ice::EndpointSeq', (), _M_Ice._t_Endpoint)
|
|
44
|
+
|
|
45
|
+
# End of module Ice
|
Ice/EndpointTypes_ice.py
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
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 `EndpointTypes.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 'EndpointSelectionType' not in _M_Ice.__dict__:
|
|
25
|
+
_M_Ice.EndpointSelectionType = Ice.createTempClass()
|
|
26
|
+
class EndpointSelectionType(Ice.EnumBase):
|
|
27
|
+
"""
|
|
28
|
+
Determines the order in which the Ice run time uses the endpoints
|
|
29
|
+
in a proxy when establishing a connection.
|
|
30
|
+
Enumerators:
|
|
31
|
+
Random -- Random causes the endpoints to be arranged in a random order.
|
|
32
|
+
Ordered -- Ordered forces the Ice run time to use the endpoints in the
|
|
33
|
+
order they appeared in the proxy.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, _n, _v):
|
|
37
|
+
Ice.EnumBase.__init__(self, _n, _v)
|
|
38
|
+
|
|
39
|
+
def valueOf(self, _n):
|
|
40
|
+
if _n in self._enumerators:
|
|
41
|
+
return self._enumerators[_n]
|
|
42
|
+
return None
|
|
43
|
+
valueOf = classmethod(valueOf)
|
|
44
|
+
|
|
45
|
+
EndpointSelectionType.Random = EndpointSelectionType("Random", 0)
|
|
46
|
+
EndpointSelectionType.Ordered = EndpointSelectionType("Ordered", 1)
|
|
47
|
+
EndpointSelectionType._enumerators = { 0:EndpointSelectionType.Random, 1:EndpointSelectionType.Ordered }
|
|
48
|
+
|
|
49
|
+
_M_Ice._t_EndpointSelectionType = IcePy.defineEnum('::Ice::EndpointSelectionType', EndpointSelectionType, (), EndpointSelectionType._enumerators)
|
|
50
|
+
|
|
51
|
+
_M_Ice.EndpointSelectionType = EndpointSelectionType
|
|
52
|
+
del EndpointSelectionType
|
|
53
|
+
|
|
54
|
+
# End of module Ice
|
Ice/Endpoint_ice.py
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
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 `Endpoint.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.Version_ice
|
|
20
|
+
import Ice.BuiltinSequences_ice
|
|
21
|
+
import Ice.EndpointF_ice
|
|
22
|
+
|
|
23
|
+
# Included module Ice
|
|
24
|
+
_M_Ice = Ice.openModule('Ice')
|
|
25
|
+
|
|
26
|
+
# Start of module Ice
|
|
27
|
+
__name__ = 'Ice'
|
|
28
|
+
|
|
29
|
+
_M_Ice.TCPEndpointType = 1
|
|
30
|
+
|
|
31
|
+
_M_Ice.SSLEndpointType = 2
|
|
32
|
+
|
|
33
|
+
_M_Ice.UDPEndpointType = 3
|
|
34
|
+
|
|
35
|
+
_M_Ice.WSEndpointType = 4
|
|
36
|
+
|
|
37
|
+
_M_Ice.WSSEndpointType = 5
|
|
38
|
+
|
|
39
|
+
_M_Ice.BTEndpointType = 6
|
|
40
|
+
|
|
41
|
+
_M_Ice.BTSEndpointType = 7
|
|
42
|
+
|
|
43
|
+
_M_Ice.iAPEndpointType = 8
|
|
44
|
+
|
|
45
|
+
_M_Ice.iAPSEndpointType = 9
|
|
46
|
+
|
|
47
|
+
if 'EndpointInfo' not in _M_Ice.__dict__:
|
|
48
|
+
_M_Ice.EndpointInfo = Ice.createTempClass()
|
|
49
|
+
class EndpointInfo(object):
|
|
50
|
+
"""
|
|
51
|
+
Base class providing access to the endpoint details.
|
|
52
|
+
Members:
|
|
53
|
+
underlying -- The information of the underyling endpoint of null if there's
|
|
54
|
+
no underlying endpoint.
|
|
55
|
+
timeout -- The timeout for the endpoint in milliseconds. 0 means
|
|
56
|
+
non-blocking, -1 means no timeout.
|
|
57
|
+
compress -- Specifies whether or not compression should be used if
|
|
58
|
+
available when using this endpoint.
|
|
59
|
+
"""
|
|
60
|
+
def __init__(self, underlying=None, timeout=0, compress=False):
|
|
61
|
+
if Ice.getType(self) == _M_Ice.EndpointInfo:
|
|
62
|
+
raise RuntimeError('Ice.EndpointInfo is an abstract class')
|
|
63
|
+
self.underlying = underlying
|
|
64
|
+
self.timeout = timeout
|
|
65
|
+
self.compress = compress
|
|
66
|
+
|
|
67
|
+
def type(self):
|
|
68
|
+
"""
|
|
69
|
+
Returns the type of the endpoint.
|
|
70
|
+
Returns: The endpoint type.
|
|
71
|
+
"""
|
|
72
|
+
raise NotImplementedError("method 'type' not implemented")
|
|
73
|
+
|
|
74
|
+
def datagram(self):
|
|
75
|
+
"""
|
|
76
|
+
Returns true if this endpoint is a datagram endpoint.
|
|
77
|
+
Returns: True for a datagram endpoint.
|
|
78
|
+
"""
|
|
79
|
+
raise NotImplementedError("method 'datagram' not implemented")
|
|
80
|
+
|
|
81
|
+
def secure(self):
|
|
82
|
+
"""
|
|
83
|
+
Returns true if this endpoint is a secure endpoint.
|
|
84
|
+
Returns: True for a secure endpoint.
|
|
85
|
+
"""
|
|
86
|
+
raise NotImplementedError("method 'secure' not implemented")
|
|
87
|
+
|
|
88
|
+
def __str__(self):
|
|
89
|
+
return IcePy.stringify(self, _M_Ice._t_EndpointInfo)
|
|
90
|
+
|
|
91
|
+
__repr__ = __str__
|
|
92
|
+
|
|
93
|
+
_M_Ice._t_EndpointInfo = IcePy.declareValue('::Ice::EndpointInfo')
|
|
94
|
+
|
|
95
|
+
_M_Ice._t_EndpointInfo = IcePy.defineValue('::Ice::EndpointInfo', EndpointInfo, -1, (), False, False, None, (
|
|
96
|
+
('underlying', (), _M_Ice._t_EndpointInfo, False, 0),
|
|
97
|
+
('timeout', (), IcePy._t_int, False, 0),
|
|
98
|
+
('compress', (), IcePy._t_bool, False, 0)
|
|
99
|
+
))
|
|
100
|
+
EndpointInfo._ice_type = _M_Ice._t_EndpointInfo
|
|
101
|
+
|
|
102
|
+
_M_Ice.EndpointInfo = EndpointInfo
|
|
103
|
+
del EndpointInfo
|
|
104
|
+
|
|
105
|
+
if 'Endpoint' not in _M_Ice.__dict__:
|
|
106
|
+
_M_Ice.Endpoint = Ice.createTempClass()
|
|
107
|
+
class Endpoint(object):
|
|
108
|
+
"""
|
|
109
|
+
The user-level interface to an endpoint.
|
|
110
|
+
"""
|
|
111
|
+
def __init__(self):
|
|
112
|
+
if Ice.getType(self) == _M_Ice.Endpoint:
|
|
113
|
+
raise RuntimeError('Ice.Endpoint is an abstract class')
|
|
114
|
+
|
|
115
|
+
def toString(self):
|
|
116
|
+
"""
|
|
117
|
+
Return a string representation of the endpoint.
|
|
118
|
+
Returns: The string representation of the endpoint.
|
|
119
|
+
"""
|
|
120
|
+
raise NotImplementedError("method 'toString' not implemented")
|
|
121
|
+
|
|
122
|
+
def getInfo(self):
|
|
123
|
+
"""
|
|
124
|
+
Returns the endpoint information.
|
|
125
|
+
Returns: The endpoint information class.
|
|
126
|
+
"""
|
|
127
|
+
raise NotImplementedError("method 'getInfo' not implemented")
|
|
128
|
+
|
|
129
|
+
def __str__(self):
|
|
130
|
+
return IcePy.stringify(self, _M_Ice._t_Endpoint)
|
|
131
|
+
|
|
132
|
+
__repr__ = __str__
|
|
133
|
+
|
|
134
|
+
_M_Ice._t_Endpoint = IcePy.defineValue('::Ice::Endpoint', Endpoint, -1, (), False, True, None, ())
|
|
135
|
+
Endpoint._ice_type = _M_Ice._t_Endpoint
|
|
136
|
+
|
|
137
|
+
_M_Ice.Endpoint = Endpoint
|
|
138
|
+
del Endpoint
|
|
139
|
+
|
|
140
|
+
if 'IPEndpointInfo' not in _M_Ice.__dict__:
|
|
141
|
+
_M_Ice.IPEndpointInfo = Ice.createTempClass()
|
|
142
|
+
class IPEndpointInfo(_M_Ice.EndpointInfo):
|
|
143
|
+
"""
|
|
144
|
+
Provides access to the address details of a IP endpoint.
|
|
145
|
+
Members:
|
|
146
|
+
host -- The host or address configured with the endpoint.
|
|
147
|
+
port -- The port number.
|
|
148
|
+
sourceAddress -- The source IP address.
|
|
149
|
+
"""
|
|
150
|
+
def __init__(self, underlying=None, timeout=0, compress=False, host='', port=0, sourceAddress=''):
|
|
151
|
+
if Ice.getType(self) == _M_Ice.IPEndpointInfo:
|
|
152
|
+
raise RuntimeError('Ice.IPEndpointInfo is an abstract class')
|
|
153
|
+
_M_Ice.EndpointInfo.__init__(self, underlying, timeout, compress)
|
|
154
|
+
self.host = host
|
|
155
|
+
self.port = port
|
|
156
|
+
self.sourceAddress = sourceAddress
|
|
157
|
+
|
|
158
|
+
def __str__(self):
|
|
159
|
+
return IcePy.stringify(self, _M_Ice._t_IPEndpointInfo)
|
|
160
|
+
|
|
161
|
+
__repr__ = __str__
|
|
162
|
+
|
|
163
|
+
_M_Ice._t_IPEndpointInfo = IcePy.declareValue('::Ice::IPEndpointInfo')
|
|
164
|
+
|
|
165
|
+
_M_Ice._t_IPEndpointInfo = IcePy.defineValue('::Ice::IPEndpointInfo', IPEndpointInfo, -1, (), False, False, _M_Ice._t_EndpointInfo, (
|
|
166
|
+
('host', (), IcePy._t_string, False, 0),
|
|
167
|
+
('port', (), IcePy._t_int, False, 0),
|
|
168
|
+
('sourceAddress', (), IcePy._t_string, False, 0)
|
|
169
|
+
))
|
|
170
|
+
IPEndpointInfo._ice_type = _M_Ice._t_IPEndpointInfo
|
|
171
|
+
|
|
172
|
+
_M_Ice.IPEndpointInfo = IPEndpointInfo
|
|
173
|
+
del IPEndpointInfo
|
|
174
|
+
|
|
175
|
+
if 'TCPEndpointInfo' not in _M_Ice.__dict__:
|
|
176
|
+
_M_Ice.TCPEndpointInfo = Ice.createTempClass()
|
|
177
|
+
class TCPEndpointInfo(_M_Ice.IPEndpointInfo):
|
|
178
|
+
"""
|
|
179
|
+
Provides access to a TCP endpoint information.
|
|
180
|
+
"""
|
|
181
|
+
def __init__(self, underlying=None, timeout=0, compress=False, host='', port=0, sourceAddress=''):
|
|
182
|
+
if Ice.getType(self) == _M_Ice.TCPEndpointInfo:
|
|
183
|
+
raise RuntimeError('Ice.TCPEndpointInfo is an abstract class')
|
|
184
|
+
_M_Ice.IPEndpointInfo.__init__(self, underlying, timeout, compress, host, port, sourceAddress)
|
|
185
|
+
|
|
186
|
+
def __str__(self):
|
|
187
|
+
return IcePy.stringify(self, _M_Ice._t_TCPEndpointInfo)
|
|
188
|
+
|
|
189
|
+
__repr__ = __str__
|
|
190
|
+
|
|
191
|
+
_M_Ice._t_TCPEndpointInfo = IcePy.declareValue('::Ice::TCPEndpointInfo')
|
|
192
|
+
|
|
193
|
+
_M_Ice._t_TCPEndpointInfo = IcePy.defineValue('::Ice::TCPEndpointInfo', TCPEndpointInfo, -1, (), False, False, _M_Ice._t_IPEndpointInfo, ())
|
|
194
|
+
TCPEndpointInfo._ice_type = _M_Ice._t_TCPEndpointInfo
|
|
195
|
+
|
|
196
|
+
_M_Ice.TCPEndpointInfo = TCPEndpointInfo
|
|
197
|
+
del TCPEndpointInfo
|
|
198
|
+
|
|
199
|
+
if 'UDPEndpointInfo' not in _M_Ice.__dict__:
|
|
200
|
+
_M_Ice.UDPEndpointInfo = Ice.createTempClass()
|
|
201
|
+
class UDPEndpointInfo(_M_Ice.IPEndpointInfo):
|
|
202
|
+
"""
|
|
203
|
+
Provides access to an UDP endpoint information.
|
|
204
|
+
Members:
|
|
205
|
+
mcastInterface -- The multicast interface.
|
|
206
|
+
mcastTtl -- The multicast time-to-live (or hops).
|
|
207
|
+
"""
|
|
208
|
+
def __init__(self, underlying=None, timeout=0, compress=False, host='', port=0, sourceAddress='', mcastInterface='', mcastTtl=0):
|
|
209
|
+
if Ice.getType(self) == _M_Ice.UDPEndpointInfo:
|
|
210
|
+
raise RuntimeError('Ice.UDPEndpointInfo is an abstract class')
|
|
211
|
+
_M_Ice.IPEndpointInfo.__init__(self, underlying, timeout, compress, host, port, sourceAddress)
|
|
212
|
+
self.mcastInterface = mcastInterface
|
|
213
|
+
self.mcastTtl = mcastTtl
|
|
214
|
+
|
|
215
|
+
def __str__(self):
|
|
216
|
+
return IcePy.stringify(self, _M_Ice._t_UDPEndpointInfo)
|
|
217
|
+
|
|
218
|
+
__repr__ = __str__
|
|
219
|
+
|
|
220
|
+
_M_Ice._t_UDPEndpointInfo = IcePy.declareValue('::Ice::UDPEndpointInfo')
|
|
221
|
+
|
|
222
|
+
_M_Ice._t_UDPEndpointInfo = IcePy.defineValue('::Ice::UDPEndpointInfo', UDPEndpointInfo, -1, (), False, False, _M_Ice._t_IPEndpointInfo, (
|
|
223
|
+
('mcastInterface', (), IcePy._t_string, False, 0),
|
|
224
|
+
('mcastTtl', (), IcePy._t_int, False, 0)
|
|
225
|
+
))
|
|
226
|
+
UDPEndpointInfo._ice_type = _M_Ice._t_UDPEndpointInfo
|
|
227
|
+
|
|
228
|
+
_M_Ice.UDPEndpointInfo = UDPEndpointInfo
|
|
229
|
+
del UDPEndpointInfo
|
|
230
|
+
|
|
231
|
+
if 'WSEndpointInfo' not in _M_Ice.__dict__:
|
|
232
|
+
_M_Ice.WSEndpointInfo = Ice.createTempClass()
|
|
233
|
+
class WSEndpointInfo(_M_Ice.EndpointInfo):
|
|
234
|
+
"""
|
|
235
|
+
Provides access to a WebSocket endpoint information.
|
|
236
|
+
Members:
|
|
237
|
+
resource -- The URI configured with the endpoint.
|
|
238
|
+
"""
|
|
239
|
+
def __init__(self, underlying=None, timeout=0, compress=False, resource=''):
|
|
240
|
+
if Ice.getType(self) == _M_Ice.WSEndpointInfo:
|
|
241
|
+
raise RuntimeError('Ice.WSEndpointInfo is an abstract class')
|
|
242
|
+
_M_Ice.EndpointInfo.__init__(self, underlying, timeout, compress)
|
|
243
|
+
self.resource = resource
|
|
244
|
+
|
|
245
|
+
def __str__(self):
|
|
246
|
+
return IcePy.stringify(self, _M_Ice._t_WSEndpointInfo)
|
|
247
|
+
|
|
248
|
+
__repr__ = __str__
|
|
249
|
+
|
|
250
|
+
_M_Ice._t_WSEndpointInfo = IcePy.declareValue('::Ice::WSEndpointInfo')
|
|
251
|
+
|
|
252
|
+
_M_Ice._t_WSEndpointInfo = IcePy.defineValue('::Ice::WSEndpointInfo', WSEndpointInfo, -1, (), False, False, _M_Ice._t_EndpointInfo, (('resource', (), IcePy._t_string, False, 0),))
|
|
253
|
+
WSEndpointInfo._ice_type = _M_Ice._t_WSEndpointInfo
|
|
254
|
+
|
|
255
|
+
_M_Ice.WSEndpointInfo = WSEndpointInfo
|
|
256
|
+
del WSEndpointInfo
|
|
257
|
+
|
|
258
|
+
if 'OpaqueEndpointInfo' not in _M_Ice.__dict__:
|
|
259
|
+
_M_Ice.OpaqueEndpointInfo = Ice.createTempClass()
|
|
260
|
+
class OpaqueEndpointInfo(_M_Ice.EndpointInfo):
|
|
261
|
+
"""
|
|
262
|
+
Provides access to the details of an opaque endpoint.
|
|
263
|
+
Members:
|
|
264
|
+
rawEncoding -- The encoding version of the opaque endpoint (to decode or
|
|
265
|
+
encode the rawBytes).
|
|
266
|
+
rawBytes -- The raw encoding of the opaque endpoint.
|
|
267
|
+
"""
|
|
268
|
+
def __init__(self, underlying=None, timeout=0, compress=False, rawEncoding=Ice._struct_marker, rawBytes=None):
|
|
269
|
+
if Ice.getType(self) == _M_Ice.OpaqueEndpointInfo:
|
|
270
|
+
raise RuntimeError('Ice.OpaqueEndpointInfo is an abstract class')
|
|
271
|
+
_M_Ice.EndpointInfo.__init__(self, underlying, timeout, compress)
|
|
272
|
+
if rawEncoding is Ice._struct_marker:
|
|
273
|
+
self.rawEncoding = _M_Ice.EncodingVersion()
|
|
274
|
+
else:
|
|
275
|
+
self.rawEncoding = rawEncoding
|
|
276
|
+
self.rawBytes = rawBytes
|
|
277
|
+
|
|
278
|
+
def __str__(self):
|
|
279
|
+
return IcePy.stringify(self, _M_Ice._t_OpaqueEndpointInfo)
|
|
280
|
+
|
|
281
|
+
__repr__ = __str__
|
|
282
|
+
|
|
283
|
+
_M_Ice._t_OpaqueEndpointInfo = IcePy.declareValue('::Ice::OpaqueEndpointInfo')
|
|
284
|
+
|
|
285
|
+
_M_Ice._t_OpaqueEndpointInfo = IcePy.defineValue('::Ice::OpaqueEndpointInfo', OpaqueEndpointInfo, -1, (), False, False, _M_Ice._t_EndpointInfo, (
|
|
286
|
+
('rawEncoding', (), _M_Ice._t_EncodingVersion, False, 0),
|
|
287
|
+
('rawBytes', (), _M_Ice._t_ByteSeq, False, 0)
|
|
288
|
+
))
|
|
289
|
+
OpaqueEndpointInfo._ice_type = _M_Ice._t_OpaqueEndpointInfo
|
|
290
|
+
|
|
291
|
+
_M_Ice.OpaqueEndpointInfo = OpaqueEndpointInfo
|
|
292
|
+
del OpaqueEndpointInfo
|
|
293
|
+
|
|
294
|
+
# End of module Ice
|
|
295
|
+
|
|
296
|
+
Ice.sliceChecksums["::Ice::BTEndpointType"] = "bf2c14e5c7ae9b47c4306e35b744efbd"
|
|
297
|
+
Ice.sliceChecksums["::Ice::BTSEndpointType"] = "91c6c150f7d5678cdc541a82852a8f1"
|
|
298
|
+
Ice.sliceChecksums["::Ice::SSLEndpointType"] = "846ad753a0862cc0c55a4ff278181b15"
|
|
299
|
+
Ice.sliceChecksums["::Ice::TCPEndpointType"] = "19d61f4b55a285927bb1648f7a943c29"
|
|
300
|
+
Ice.sliceChecksums["::Ice::UDPEndpointType"] = "20cb65b86f212e8c67dfa0314854eaf1"
|
|
301
|
+
Ice.sliceChecksums["::Ice::WSEndpointType"] = "9d96d5f9ecade1e2a84f6187d644b92d"
|
|
302
|
+
Ice.sliceChecksums["::Ice::WSSEndpointType"] = "e4c22485e7afe76aadc2921852b6182b"
|
|
303
|
+
Ice.sliceChecksums["::Ice::iAPEndpointType"] = "c170d414154fdef5ae94dedb8ec07bf"
|
|
304
|
+
Ice.sliceChecksums["::Ice::iAPSEndpointType"] = "87796981d5b8ab436f975e663c75d4a"
|
Ice/FacetMap_ice.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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 `FacetMap.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 '_t_FacetMap' not in _M_Ice.__dict__:
|
|
25
|
+
_M_Ice._t_FacetMap = IcePy.defineDictionary('::Ice::FacetMap', (), IcePy._t_string, IcePy._t_Value)
|
|
26
|
+
|
|
27
|
+
# End of module Ice
|