zeroc-ice 3.7.11__cp313-cp313-macosx_10_13_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-313-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
Glacier2/SSLInfo_ice.py
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
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 `SSLInfo.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 Glacier2
|
|
25
|
+
_M_Glacier2 = Ice.openModule('Glacier2')
|
|
26
|
+
__name__ = 'Glacier2'
|
|
27
|
+
|
|
28
|
+
if 'SSLInfo' not in _M_Glacier2.__dict__:
|
|
29
|
+
_M_Glacier2.SSLInfo = Ice.createTempClass()
|
|
30
|
+
class SSLInfo(object):
|
|
31
|
+
"""
|
|
32
|
+
Information taken from an SSL connection used for permissions
|
|
33
|
+
verification.
|
|
34
|
+
Members:
|
|
35
|
+
remoteHost -- The remote host.
|
|
36
|
+
remotePort -- The remote port.
|
|
37
|
+
localHost -- The router's host.
|
|
38
|
+
localPort -- The router's port.
|
|
39
|
+
cipher -- The negotiated cipher suite.
|
|
40
|
+
certs -- The certificate chain.
|
|
41
|
+
"""
|
|
42
|
+
def __init__(self, remoteHost='', remotePort=0, localHost='', localPort=0, cipher='', certs=None):
|
|
43
|
+
self.remoteHost = remoteHost
|
|
44
|
+
self.remotePort = remotePort
|
|
45
|
+
self.localHost = localHost
|
|
46
|
+
self.localPort = localPort
|
|
47
|
+
self.cipher = cipher
|
|
48
|
+
self.certs = certs
|
|
49
|
+
|
|
50
|
+
def __hash__(self):
|
|
51
|
+
_h = 0
|
|
52
|
+
_h = 5 * _h + Ice.getHash(self.remoteHost)
|
|
53
|
+
_h = 5 * _h + Ice.getHash(self.remotePort)
|
|
54
|
+
_h = 5 * _h + Ice.getHash(self.localHost)
|
|
55
|
+
_h = 5 * _h + Ice.getHash(self.localPort)
|
|
56
|
+
_h = 5 * _h + Ice.getHash(self.cipher)
|
|
57
|
+
if self.certs:
|
|
58
|
+
for _i0 in self.certs:
|
|
59
|
+
_h = 5 * _h + Ice.getHash(_i0)
|
|
60
|
+
return _h % 0x7fffffff
|
|
61
|
+
|
|
62
|
+
def __compare(self, other):
|
|
63
|
+
if other is None:
|
|
64
|
+
return 1
|
|
65
|
+
elif not isinstance(other, _M_Glacier2.SSLInfo):
|
|
66
|
+
return NotImplemented
|
|
67
|
+
else:
|
|
68
|
+
if self.remoteHost is None or other.remoteHost is None:
|
|
69
|
+
if self.remoteHost != other.remoteHost:
|
|
70
|
+
return (-1 if self.remoteHost is None else 1)
|
|
71
|
+
else:
|
|
72
|
+
if self.remoteHost < other.remoteHost:
|
|
73
|
+
return -1
|
|
74
|
+
elif self.remoteHost > other.remoteHost:
|
|
75
|
+
return 1
|
|
76
|
+
if self.remotePort is None or other.remotePort is None:
|
|
77
|
+
if self.remotePort != other.remotePort:
|
|
78
|
+
return (-1 if self.remotePort is None else 1)
|
|
79
|
+
else:
|
|
80
|
+
if self.remotePort < other.remotePort:
|
|
81
|
+
return -1
|
|
82
|
+
elif self.remotePort > other.remotePort:
|
|
83
|
+
return 1
|
|
84
|
+
if self.localHost is None or other.localHost is None:
|
|
85
|
+
if self.localHost != other.localHost:
|
|
86
|
+
return (-1 if self.localHost is None else 1)
|
|
87
|
+
else:
|
|
88
|
+
if self.localHost < other.localHost:
|
|
89
|
+
return -1
|
|
90
|
+
elif self.localHost > other.localHost:
|
|
91
|
+
return 1
|
|
92
|
+
if self.localPort is None or other.localPort is None:
|
|
93
|
+
if self.localPort != other.localPort:
|
|
94
|
+
return (-1 if self.localPort is None else 1)
|
|
95
|
+
else:
|
|
96
|
+
if self.localPort < other.localPort:
|
|
97
|
+
return -1
|
|
98
|
+
elif self.localPort > other.localPort:
|
|
99
|
+
return 1
|
|
100
|
+
if self.cipher is None or other.cipher is None:
|
|
101
|
+
if self.cipher != other.cipher:
|
|
102
|
+
return (-1 if self.cipher is None else 1)
|
|
103
|
+
else:
|
|
104
|
+
if self.cipher < other.cipher:
|
|
105
|
+
return -1
|
|
106
|
+
elif self.cipher > other.cipher:
|
|
107
|
+
return 1
|
|
108
|
+
if self.certs is None or other.certs is None:
|
|
109
|
+
if self.certs != other.certs:
|
|
110
|
+
return (-1 if self.certs is None else 1)
|
|
111
|
+
else:
|
|
112
|
+
if self.certs < other.certs:
|
|
113
|
+
return -1
|
|
114
|
+
elif self.certs > other.certs:
|
|
115
|
+
return 1
|
|
116
|
+
return 0
|
|
117
|
+
|
|
118
|
+
def __lt__(self, other):
|
|
119
|
+
r = self.__compare(other)
|
|
120
|
+
if r is NotImplemented:
|
|
121
|
+
return r
|
|
122
|
+
else:
|
|
123
|
+
return r < 0
|
|
124
|
+
|
|
125
|
+
def __le__(self, other):
|
|
126
|
+
r = self.__compare(other)
|
|
127
|
+
if r is NotImplemented:
|
|
128
|
+
return r
|
|
129
|
+
else:
|
|
130
|
+
return r <= 0
|
|
131
|
+
|
|
132
|
+
def __gt__(self, other):
|
|
133
|
+
r = self.__compare(other)
|
|
134
|
+
if r is NotImplemented:
|
|
135
|
+
return r
|
|
136
|
+
else:
|
|
137
|
+
return r > 0
|
|
138
|
+
|
|
139
|
+
def __ge__(self, other):
|
|
140
|
+
r = self.__compare(other)
|
|
141
|
+
if r is NotImplemented:
|
|
142
|
+
return r
|
|
143
|
+
else:
|
|
144
|
+
return r >= 0
|
|
145
|
+
|
|
146
|
+
def __eq__(self, other):
|
|
147
|
+
r = self.__compare(other)
|
|
148
|
+
if r is NotImplemented:
|
|
149
|
+
return r
|
|
150
|
+
else:
|
|
151
|
+
return r == 0
|
|
152
|
+
|
|
153
|
+
def __ne__(self, other):
|
|
154
|
+
r = self.__compare(other)
|
|
155
|
+
if r is NotImplemented:
|
|
156
|
+
return r
|
|
157
|
+
else:
|
|
158
|
+
return r != 0
|
|
159
|
+
|
|
160
|
+
def __str__(self):
|
|
161
|
+
return IcePy.stringify(self, _M_Glacier2._t_SSLInfo)
|
|
162
|
+
|
|
163
|
+
__repr__ = __str__
|
|
164
|
+
|
|
165
|
+
_M_Glacier2._t_SSLInfo = IcePy.defineStruct('::Glacier2::SSLInfo', SSLInfo, (), (
|
|
166
|
+
('remoteHost', (), IcePy._t_string),
|
|
167
|
+
('remotePort', (), IcePy._t_int),
|
|
168
|
+
('localHost', (), IcePy._t_string),
|
|
169
|
+
('localPort', (), IcePy._t_int),
|
|
170
|
+
('cipher', (), IcePy._t_string),
|
|
171
|
+
('certs', (), _M_Ice._t_StringSeq)
|
|
172
|
+
))
|
|
173
|
+
|
|
174
|
+
_M_Glacier2.SSLInfo = SSLInfo
|
|
175
|
+
del SSLInfo
|
|
176
|
+
|
|
177
|
+
# End of module Glacier2
|
|
178
|
+
|
|
179
|
+
Ice.sliceChecksums["::Glacier2::SSLInfo"] = "ca63bc6d361a48471c4d16ea29818e5"
|