iris-pex-embedded-python 3.1.4__py3-none-any.whl → 3.1.4b1__py3-none-any.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.
Potentially problematic release.
This version of iris-pex-embedded-python might be problematic. Click here for more details.
- {iris_pex_embedded_python-3.1.4.dist-info → iris_pex_embedded_python-3.1.4b1.dist-info}/METADATA +1 -1
- iris_pex_embedded_python-3.1.4b1.dist-info/RECORD +72 -0
- iris_pex_embedded_python-3.1.4b1.dist-info/top_level.txt +2 -0
- intersystems_iris/_BufferReader.py +0 -10
- intersystems_iris/_BufferWriter.py +0 -32
- intersystems_iris/_ConnectionInformation.py +0 -56
- intersystems_iris/_ConnectionParameters.py +0 -18
- intersystems_iris/_Constant.py +0 -38
- intersystems_iris/_DBList.py +0 -506
- intersystems_iris/_Device.py +0 -69
- intersystems_iris/_GatewayContext.py +0 -25
- intersystems_iris/_GatewayException.py +0 -4
- intersystems_iris/_GatewayUtility.py +0 -74
- intersystems_iris/_IRIS.py +0 -1294
- intersystems_iris/_IRISConnection.py +0 -516
- intersystems_iris/_IRISEmbedded.py +0 -85
- intersystems_iris/_IRISGlobalNode.py +0 -273
- intersystems_iris/_IRISGlobalNodeView.py +0 -25
- intersystems_iris/_IRISIterator.py +0 -143
- intersystems_iris/_IRISList.py +0 -360
- intersystems_iris/_IRISNative.py +0 -208
- intersystems_iris/_IRISOREF.py +0 -9
- intersystems_iris/_IRISObject.py +0 -424
- intersystems_iris/_IRISReference.py +0 -133
- intersystems_iris/_InStream.py +0 -149
- intersystems_iris/_LegacyIterator.py +0 -135
- intersystems_iris/_ListItem.py +0 -15
- intersystems_iris/_ListReader.py +0 -84
- intersystems_iris/_ListWriter.py +0 -161
- intersystems_iris/_LogFileStream.py +0 -115
- intersystems_iris/_MessageHeader.py +0 -51
- intersystems_iris/_OutStream.py +0 -25
- intersystems_iris/_PrintStream.py +0 -65
- intersystems_iris/_PythonGateway.py +0 -850
- intersystems_iris/_SharedMemorySocket.py +0 -87
- intersystems_iris/__init__.py +0 -79
- intersystems_iris/__main__.py +0 -7
- intersystems_iris/dbapi/_Column.py +0 -56
- intersystems_iris/dbapi/_DBAPI.py +0 -2631
- intersystems_iris/dbapi/_Descriptor.py +0 -46
- intersystems_iris/dbapi/_IRISStream.py +0 -65
- intersystems_iris/dbapi/_Message.py +0 -158
- intersystems_iris/dbapi/_Parameter.py +0 -171
- intersystems_iris/dbapi/_ParameterCollection.py +0 -141
- intersystems_iris/dbapi/_ResultSetRow.py +0 -361
- intersystems_iris/dbapi/_SQLType.py +0 -32
- intersystems_iris/dbapi/__init__.py +0 -0
- intersystems_iris/dbapi/preparser/_PreParser.py +0 -1674
- intersystems_iris/dbapi/preparser/_Scanner.py +0 -391
- intersystems_iris/dbapi/preparser/_Token.py +0 -81
- intersystems_iris/dbapi/preparser/_TokenList.py +0 -251
- intersystems_iris/dbapi/preparser/__init__.py +0 -0
- intersystems_iris/pex/_BusinessHost.py +0 -101
- intersystems_iris/pex/_BusinessOperation.py +0 -105
- intersystems_iris/pex/_BusinessProcess.py +0 -214
- intersystems_iris/pex/_BusinessService.py +0 -95
- intersystems_iris/pex/_Common.py +0 -228
- intersystems_iris/pex/_Director.py +0 -24
- intersystems_iris/pex/_IRISBusinessOperation.py +0 -5
- intersystems_iris/pex/_IRISBusinessService.py +0 -18
- intersystems_iris/pex/_IRISInboundAdapter.py +0 -5
- intersystems_iris/pex/_IRISOutboundAdapter.py +0 -17
- intersystems_iris/pex/_InboundAdapter.py +0 -57
- intersystems_iris/pex/_Message.py +0 -6
- intersystems_iris/pex/_OutboundAdapter.py +0 -46
- intersystems_iris/pex/__init__.py +0 -25
- iris_pex_embedded_python-3.1.4.dist-info/RECORD +0 -137
- iris_pex_embedded_python-3.1.4.dist-info/top_level.txt +0 -4
- irisnative/_IRISNative.py +0 -9
- irisnative/__init__.py +0 -10
- {iris_pex_embedded_python-3.1.4.dist-info → iris_pex_embedded_python-3.1.4b1.dist-info}/LICENSE +0 -0
- {iris_pex_embedded_python-3.1.4.dist-info → iris_pex_embedded_python-3.1.4b1.dist-info}/WHEEL +0 -0
- {iris_pex_embedded_python-3.1.4.dist-info → iris_pex_embedded_python-3.1.4b1.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
grongier/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
grongier/cls/Grongier/PEX/BusinessOperation.cls,sha256=FgLLHTU8yHKxZIoz__5rtHW89b-o_Tjjf5i09WIqcJs,291
|
|
3
|
+
grongier/cls/Grongier/PEX/BusinessProcess.cls,sha256=0S7RU0GYafviILGCwkOKk7mQtP1Bvmd01b1dqfLMjDk,341
|
|
4
|
+
grongier/cls/Grongier/PEX/BusinessService.cls,sha256=KEidVN2tnaJ-6QKmPj8--BqlxMOayPM7Z8A42caC5s8,287
|
|
5
|
+
grongier/cls/Grongier/PEX/Common.cls,sha256=_7K83DN_Krj5pSgPpfWmINSA0yAhZkhXLBDmKDgLeBs,292
|
|
6
|
+
grongier/cls/Grongier/PEX/Director.cls,sha256=CMmLEQRbK37zenYZOMkmRa9P6B9xLUdWgm7YLk1yKGg,306
|
|
7
|
+
grongier/cls/Grongier/PEX/InboundAdapter.cls,sha256=4S3gjicQ-yfClO4RgKgu7iJQgQaxfH_a-1NmAeZ6Uv0,285
|
|
8
|
+
grongier/cls/Grongier/PEX/Message.cls,sha256=KzWxhWjDKQMjc6fnUZSrxJ9y6u5i1jAsyj0zbeTCmto,273
|
|
9
|
+
grongier/cls/Grongier/PEX/OutboundAdapter.cls,sha256=6bRIZ2gzufF5uGzf3z0MY460Yl6gKP31yJm8kzttm8g,287
|
|
10
|
+
grongier/cls/Grongier/PEX/PickleMessage.cls,sha256=r4BTEML91d1YmvkL8L209ilSyCPunYE-zJbQIJK_kBw,285
|
|
11
|
+
grongier/cls/Grongier/PEX/Test.cls,sha256=lvCM0hUZEQuawyteeRjucJvDhkRUc2NfGC6n6vV4nrQ,116
|
|
12
|
+
grongier/cls/Grongier/PEX/Utils.cls,sha256=hJtkE_YMz0z7ufocwz98vl1ODHT-NU-Qpl5hyYVu8jo,233
|
|
13
|
+
grongier/cls/Grongier/PEX/Duplex/Operation.cls,sha256=0X9jHVkGqoh-aLTHmXdb9DuWFY6YxEBQ7dNYLCO7cdw,68
|
|
14
|
+
grongier/cls/Grongier/PEX/Duplex/Process.cls,sha256=AQiL_x5tG99tvauMwiPHsU3G6irb1HGSyBnqREXF4AQ,342
|
|
15
|
+
grongier/cls/Grongier/PEX/Duplex/Service.cls,sha256=OEYgYbxNtff_ACW2XGee9NtUht3u6nuC822cx7ng2cA,71
|
|
16
|
+
grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls,sha256=7RUXLw53Tjv_IL8KpWKm4iFlAeSqAELrawJ42iu-AH4,270
|
|
17
|
+
grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls,sha256=aKi3EhyQipGKMap19xW27CHEHRKCo9yf8Qk2LsEOwx4,429
|
|
18
|
+
grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls,sha256=pcUgHgxX1pMH-wQpE_ow8JGBCgiKmsSmsgNwYgP5eD8,431
|
|
19
|
+
grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls,sha256=T3jNoR8RjKr1InQ6SgqBYTgFwpSB0Q60WholjbvForg,433
|
|
20
|
+
grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls,sha256=zy30ZXXN4XcovPij-kOF3PuH1SkP1EUvlEJQRx2S9RU,431
|
|
21
|
+
grongier/cls/Grongier/Service/WSGI.cls,sha256=7u2SsFmnsubMfdazvaDchKCM3yesPRMfKBzMIkwQ9xc,77
|
|
22
|
+
grongier/pex/__init__.py,sha256=zHFF0Znipx1fwHYUEBZjNOYoZH1ro7z4IgYDU32kdn0,1067
|
|
23
|
+
grongier/pex/__main__.py,sha256=pQzVtkDhAeI6dpNRC632dVk2SGZZIEDwDufdgZe8VWs,98
|
|
24
|
+
grongier/pex/_business_host.py,sha256=dlV8CWJad8Pr2TNfD9OjcVKaq5gEYQACZla1FK6-bDM,44
|
|
25
|
+
grongier/pex/_cli.py,sha256=hOHz3n-aHtULuhdCkqZ_SSb3sv7M6j2WhRxgCTvgR9I,64
|
|
26
|
+
grongier/pex/_common.py,sha256=HZwG2C2-yB8yNN8kXhI6vxg8h-rROuEx38YOVFWIk1s,31
|
|
27
|
+
grongier/pex/_director.py,sha256=pCmoiJ-sxe24yQaDz6ZFBsAnqU6fh57_dlew98B7rtE,35
|
|
28
|
+
grongier/pex/_utils.py,sha256=gvsdr8WhWrE6smlsCxhoF14VUZfitrwqr5J57HkJhi4,29
|
|
29
|
+
grongier/pex/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
|
|
30
|
+
iop/__init__.py,sha256=zHFF0Znipx1fwHYUEBZjNOYoZH1ro7z4IgYDU32kdn0,1067
|
|
31
|
+
iop/__main__.py,sha256=pQzVtkDhAeI6dpNRC632dVk2SGZZIEDwDufdgZe8VWs,98
|
|
32
|
+
iop/_business_host.py,sha256=_U7f2Fy-7_qzBz4OQTAieVvEhBaT1Z0E77QoYPU0i-U,28244
|
|
33
|
+
iop/_business_operation.py,sha256=P824IzO89LCKnoNHZk64OZBDHcomHpjhKmMT89bS6TI,3500
|
|
34
|
+
iop/_business_process.py,sha256=F4NIQcwQ5u8yiAPpaN14OAXxbKJsRAGm5S4lrbgA3oI,13296
|
|
35
|
+
iop/_business_service.py,sha256=sX8J-2-0Go6uIuPYa0A5N9Nn9rY5lV6a05v4q78qDC8,3726
|
|
36
|
+
iop/_cli.py,sha256=yg4wv1FkhgjmoZuTMUr61Ff21PegJDH_cpZeHcF8hQE,6207
|
|
37
|
+
iop/_common.py,sha256=uKJdfCSPOjVQOg8GVuUj4ywfAn_2sPB3C82HbWw_5bI,15384
|
|
38
|
+
iop/_director.py,sha256=TFkhci40zgq271zB9SYGK24TZtOcYZCTNzWFkA4I2IM,11016
|
|
39
|
+
iop/_inbound_adapter.py,sha256=PS5ToqhrYcXq9ZdLbCBqAfVp8kCeRACm_KF66pwBO9U,1652
|
|
40
|
+
iop/_message.py,sha256=BmwBXriykU66bwAgRbdkMpjfJRVWoNRX2eDc9TXfXzA,325
|
|
41
|
+
iop/_outbound_adapter.py,sha256=YTAhLrRf9chEAd53mV6KKbpaHOKNOKJHoGgj5wakRR0,726
|
|
42
|
+
iop/_pickle_message.py,sha256=noKfc2VkXufV3fqjKvNHN_oANQ1YN9ffCaSV0XSTAIE,331
|
|
43
|
+
iop/_private_session_duplex.py,sha256=klzWKwRRBoKUSz85D3DNYuCpDcZe_kWLNCWq5JtR0yc,5044
|
|
44
|
+
iop/_private_session_process.py,sha256=pGjWFOQhWpQxUVpTtvNKTPvDxgzjfw0VC4Aqj3KUq8w,1704
|
|
45
|
+
iop/_utils.py,sha256=b1vFnAXbcNV4uN9zojIeSeLgr0CuSt9bBgguZra0ve8,18105
|
|
46
|
+
iop/cls/IOP/BusinessOperation.cls,sha256=lrymqZ8wHl5kJjXwdjbQVs5sScV__yIWGh-oGbiB_X0,914
|
|
47
|
+
iop/cls/IOP/BusinessProcess.cls,sha256=s3t38w1ykHqM26ETcbCYLt0ocjZyVVahm-_USZkuJ1E,2855
|
|
48
|
+
iop/cls/IOP/BusinessService.cls,sha256=7ebn32J9PiZXUgXuh5Xxm_7X6zHBiqkJr9c_dWxbPO8,1021
|
|
49
|
+
iop/cls/IOP/Common.cls,sha256=vYTnsL-ch-vTjpigBtwOHgrnOQMmuTkqXT9F-vWE650,11068
|
|
50
|
+
iop/cls/IOP/Director.cls,sha256=Wd5iwiRd9XSt7G18Ga3XAIPSuIrPYVumbCEjYrkZHBs,2002
|
|
51
|
+
iop/cls/IOP/InboundAdapter.cls,sha256=GeoCm6q5HcLJ5e4VxgqXiErJXqolBbpKwpunaNzpvjU,610
|
|
52
|
+
iop/cls/IOP/Message.cls,sha256=n0r0FslXdDfPcHIiAlW7n596DDsDSNlTX8UTPaMnSV8,9911
|
|
53
|
+
iop/cls/IOP/OutboundAdapter.cls,sha256=9eOwy5ojwcTzwrHs6LNrFQvUD8aqcoNCZrILN1ycdDM,958
|
|
54
|
+
iop/cls/IOP/PickleMessage.cls,sha256=S3y7AClQ8mAILjxPuHdCjGosBZYzGbUQ5WTv4mYPNMQ,1673
|
|
55
|
+
iop/cls/IOP/Test.cls,sha256=gAC9PEfMZsvAEWIa241-ug2FWAhITbN1SOispZzJPnI,2094
|
|
56
|
+
iop/cls/IOP/Utils.cls,sha256=ZTBr02spm4ppxVBfhnUwb08BmhTjG5-ZbItRshYHs1I,13746
|
|
57
|
+
iop/cls/IOP/Duplex/Operation.cls,sha256=K_fmgeLjPZQbHgNrc0kd6DUQoW0fDn1VHQjJxHo95Zk,525
|
|
58
|
+
iop/cls/IOP/Duplex/Process.cls,sha256=xbefZ4z84a_IUhavWN6P_gZBzqkdJ5XRTXxro6iDvAg,6986
|
|
59
|
+
iop/cls/IOP/Duplex/Service.cls,sha256=sTMOQUCMBgVitmQkM8bbsrmrRtCdj91VlctJ3I7b8WU,161
|
|
60
|
+
iop/cls/IOP/PrivateSession/Duplex.cls,sha256=8a_dO7E2RTzuxzoufryjlS41l-99NmTtOcmFXOnSwA8,7957
|
|
61
|
+
iop/cls/IOP/PrivateSession/Message/Ack.cls,sha256=y6-5uSVod36bxeQuT2ytPN4TUAfM1mvGGJuTbWbpNv4,941
|
|
62
|
+
iop/cls/IOP/PrivateSession/Message/Poll.cls,sha256=z3ALYmGYQasTcyYNyBeoHzJdNXI4nBO_N8Cqo9l4sQY,942
|
|
63
|
+
iop/cls/IOP/PrivateSession/Message/Start.cls,sha256=uk-WTe66GicCshgmVy3F5ugHiAyPs1m2ueS_3g0YubQ,949
|
|
64
|
+
iop/cls/IOP/PrivateSession/Message/Stop.cls,sha256=7g3gKFUjNg0WXBLuWnj-VnCs5G6hSE09YTzGEp0zbGc,1390
|
|
65
|
+
iop/cls/IOP/Service/WSGI.cls,sha256=VLNCXEwmHW9dBnE51uGE1nvGX6T4HjhqePT3LVhsjAE,10440
|
|
66
|
+
iop/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
|
|
67
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
|
|
68
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/METADATA,sha256=LiQx018JHSIE6oSEfk1rF9Kk-Qx_nODqEfPccyAbmag,50122
|
|
69
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
70
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
|
|
71
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/top_level.txt,sha256=4p0q6hCATmYIVMVi3I8hOUcJE1kwzyBeHygWv_rGvrU,13
|
|
72
|
+
iris_pex_embedded_python-3.1.4b1.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import intersystems_iris._ListReader
|
|
2
|
-
|
|
3
|
-
class _BufferReader(intersystems_iris._ListReader._ListReader):
|
|
4
|
-
|
|
5
|
-
def __init__(self, header, buffer, locale):
|
|
6
|
-
self.header = header
|
|
7
|
-
super().__init__(buffer, locale)
|
|
8
|
-
|
|
9
|
-
def _get_header_count(self):
|
|
10
|
-
return self.header._get_count()
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import intersystems_iris._ListWriter
|
|
2
|
-
import intersystems_iris._MessageHeader
|
|
3
|
-
|
|
4
|
-
class _BufferWriter(intersystems_iris._ListWriter._ListWriter):
|
|
5
|
-
|
|
6
|
-
def __init__(self, locale, is_unicode, compact_double):
|
|
7
|
-
super().__init__(locale, is_unicode, compact_double)
|
|
8
|
-
self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
|
|
9
|
-
|
|
10
|
-
def _write_header(self, function_code):
|
|
11
|
-
self.buffer[12] = function_code[0]
|
|
12
|
-
self.buffer[13] = function_code[1]
|
|
13
|
-
self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
|
|
14
|
-
|
|
15
|
-
def _write_header_sysio(self, sysio_code):
|
|
16
|
-
code_int = sysio_code + 49728
|
|
17
|
-
code_bytes = code_int.to_bytes(2, 'little')
|
|
18
|
-
self.buffer[12] = code_bytes[0]
|
|
19
|
-
self.buffer[13] = code_bytes[1]
|
|
20
|
-
self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
|
|
21
|
-
|
|
22
|
-
def _set_connection_info(self, connection_info):
|
|
23
|
-
self._locale = connection_info._locale
|
|
24
|
-
self._is_unicode = connection_info._is_unicode
|
|
25
|
-
self._compact_double = connection_info._compact_double
|
|
26
|
-
|
|
27
|
-
def _get_header_buffer(self):
|
|
28
|
-
return self.buffer[0:intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE]
|
|
29
|
-
|
|
30
|
-
def _get_data_buffer(self):
|
|
31
|
-
return self.buffer[intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE:self.offset]
|
|
32
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import intersystems_iris._Constant
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class _ConnectionInformation(object):
|
|
5
|
-
def __init__(self):
|
|
6
|
-
self.protocol_version = intersystems_iris._Constant._Constant.PROTOCOL_VERSION
|
|
7
|
-
self._is_unicode = True
|
|
8
|
-
self._compact_double = False
|
|
9
|
-
self._locale = "latin-1"
|
|
10
|
-
self._delimited_ids = 0
|
|
11
|
-
self._server_version = ""
|
|
12
|
-
self._server_version_major = 0
|
|
13
|
-
self._server_version_minor = 0
|
|
14
|
-
self._iris_install_dir = ""
|
|
15
|
-
self._server_job_number = -1
|
|
16
|
-
|
|
17
|
-
def _set_server_locale(self, locale):
|
|
18
|
-
self._locale = self._map_server_locale(locale)
|
|
19
|
-
|
|
20
|
-
def _parse_server_version(self, server_version):
|
|
21
|
-
split_1 = server_version.split("|")
|
|
22
|
-
self._server_version = split_1[0]
|
|
23
|
-
if len(split_1) > 1:
|
|
24
|
-
self._iris_install_dir = split_1[1]
|
|
25
|
-
if self._server_version.find("Version") > 0:
|
|
26
|
-
version = server_version[server_version.find("Version") + 8 :]
|
|
27
|
-
self._server_version_major = version.split(".")[0]
|
|
28
|
-
self._server_version_minor = version.split(".")[1]
|
|
29
|
-
return
|
|
30
|
-
|
|
31
|
-
@staticmethod
|
|
32
|
-
def _map_server_locale(locale):
|
|
33
|
-
# we need to map IRIS locale literals to Python locale literals
|
|
34
|
-
_locales = {
|
|
35
|
-
"LATIN1": "latin_1",
|
|
36
|
-
"LATIN2": "iso8859_2",
|
|
37
|
-
"LATINC": "iso8859_5",
|
|
38
|
-
"LATINA": "iso8859_6",
|
|
39
|
-
"LATING": "iso8859_7",
|
|
40
|
-
"LATINH": "iso8859_8",
|
|
41
|
-
"LATINT": "iso8859_11",
|
|
42
|
-
"LATIN9": "iso8859_15",
|
|
43
|
-
"CP1250": "cp1250",
|
|
44
|
-
"CP1251": "cp1251",
|
|
45
|
-
"CP1252": "cp1252",
|
|
46
|
-
"CP1253": "cp1253",
|
|
47
|
-
"CP1255": "cp1255",
|
|
48
|
-
"CP1256": "cp1256",
|
|
49
|
-
"CP1257": "cp1257",
|
|
50
|
-
"CP874": "cp874",
|
|
51
|
-
"UNICODE": "utf-8",
|
|
52
|
-
}
|
|
53
|
-
return _locales[locale.upper()] if locale.upper() in _locales else locale
|
|
54
|
-
|
|
55
|
-
def __repr__(self) -> str:
|
|
56
|
-
return f"<{self._server_version}>"
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
class _ConnectionParameters(object):
|
|
2
|
-
"""_ConnectionParameters represents the properties that are implicit to a URL."""
|
|
3
|
-
def __init__(self):
|
|
4
|
-
self.hostname = None
|
|
5
|
-
self.port = None
|
|
6
|
-
self.namespace = None
|
|
7
|
-
self.timeout = None
|
|
8
|
-
self.sharedmemory = False
|
|
9
|
-
self.logfile = None
|
|
10
|
-
self.sslcontext = None
|
|
11
|
-
self.isolationLevel = None
|
|
12
|
-
self.featureOptions = None
|
|
13
|
-
|
|
14
|
-
def _set_sharedmemory(self, sharedmemory):
|
|
15
|
-
self.sharedmemory = sharedmemory
|
|
16
|
-
|
|
17
|
-
def _get_sharedmemory(self):
|
|
18
|
-
return self.sharedmemory
|
intersystems_iris/_Constant.py
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
class _Constant():
|
|
2
|
-
|
|
3
|
-
PROTOCOL_VERSION = 65
|
|
4
|
-
|
|
5
|
-
# Message function code
|
|
6
|
-
MESSAGE_CONNECT = b'Y0'
|
|
7
|
-
MESSAGE_DISCONNECT = b'Y4'
|
|
8
|
-
MESSAGE_SHUTDOWN = b'Y6'
|
|
9
|
-
MESSAGE_PING = b'YQ'
|
|
10
|
-
MESSAGE_BENCHMARK_ECHO = b'YY'
|
|
11
|
-
MESSAGE_LOAD_MODULES = b'YP'
|
|
12
|
-
MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR = b'YA'
|
|
13
|
-
MESSAGE_DYNAMIC_EXECUTE_METHOD = b'YU'
|
|
14
|
-
MESSAGE_DYNAMIC_EXECUTE_GET = b'YV'
|
|
15
|
-
MESSAGE_DYNAMIC_EXECUTE_SET = b'YB'
|
|
16
|
-
MESSAGE_CREATE_OBJECT = b'Y9'
|
|
17
|
-
MESSAGE_EXCEPTION_RAISED = b'Y5'
|
|
18
|
-
MESSAGE_GET_LIST = b'YG'
|
|
19
|
-
MESSAGE_GET_STREAM = b'YH'
|
|
20
|
-
|
|
21
|
-
@staticmethod
|
|
22
|
-
def __convert(code):
|
|
23
|
-
return code[0]*256+code[1]-22832
|
|
24
|
-
|
|
25
|
-
ENUM_MESSAGE_PASSPHRASE = -48
|
|
26
|
-
ENUM_MESSAGE_CONNECT = __convert.__func__(MESSAGE_CONNECT)
|
|
27
|
-
ENUM_MESSAGE_DISCONNECT = __convert.__func__(MESSAGE_DISCONNECT)
|
|
28
|
-
ENUM_MESSAGE_SHUTDOWN = __convert.__func__(MESSAGE_SHUTDOWN)
|
|
29
|
-
ENUM_MESSAGE_PING = __convert.__func__(MESSAGE_PING)
|
|
30
|
-
ENUM_MESSAGE_BENCHMARK_ECHO = __convert.__func__(MESSAGE_BENCHMARK_ECHO)
|
|
31
|
-
ENUM_MESSAGE_LOAD_MODULES = __convert.__func__(MESSAGE_LOAD_MODULES)
|
|
32
|
-
ENUM_MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR)
|
|
33
|
-
ENUM_MESSAGE_DYNAMIC_EXECUTE_METHOD = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_METHOD)
|
|
34
|
-
ENUM_MESSAGE_DYNAMIC_EXECUTE_GET = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_GET)
|
|
35
|
-
ENUM_MESSAGE_DYNAMIC_EXECUTE_SET = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_SET)
|
|
36
|
-
|
|
37
|
-
# IRISNative messages
|
|
38
|
-
|