iris-pex-embedded-python 2.3.27b2__py3-none-any.whl → 2.3.28b2__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.
- grongier/cls/Grongier/PEX/BusinessProcess.cls +12 -0
- grongier/pex/_business_process.py +20 -0
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/METADATA +1 -1
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/RECORD +8 -8
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/LICENSE +0 -0
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/WHEEL +0 -0
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/entry_points.txt +0 -0
- {iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/top_level.txt +0 -0
|
@@ -25,6 +25,18 @@ Method dispatchSetTimer(
|
|
|
25
25
|
quit
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
Method dispatchSendRequestAsync(
|
|
29
|
+
target,
|
|
30
|
+
request,
|
|
31
|
+
responseRequired,
|
|
32
|
+
completionKey,
|
|
33
|
+
description)
|
|
34
|
+
{
|
|
35
|
+
set tSC = ..SendRequestAsync(target,request,responseRequired,completionKey,description)
|
|
36
|
+
if $$$ISERR(tSC) throw ##class(%Exception.StatusException).CreateFromStatus(tSC)
|
|
37
|
+
quit
|
|
38
|
+
}
|
|
39
|
+
|
|
28
40
|
Method OnRequest(
|
|
29
41
|
request As %Persistent,
|
|
30
42
|
Output response As %Persistent) As %Status
|
|
@@ -76,6 +76,26 @@ class _BusinessProcess(_BusinessHost):
|
|
|
76
76
|
"""
|
|
77
77
|
|
|
78
78
|
return self.iris_handle.dispatchReply(response)
|
|
79
|
+
|
|
80
|
+
@_BusinessHost.input_serialzer_param(1,'request')
|
|
81
|
+
def send_request_async(self, target, request, response_required=True, completion_key=None,description=None):
|
|
82
|
+
""" Send the specified message to the target business process or business operation asynchronously.
|
|
83
|
+
Parameters:
|
|
84
|
+
target: a string that specifies the name of the business process or operation to receive the request.
|
|
85
|
+
The target is the name of the component as specified in the Item Name property in the production definition, not the class name of the component.
|
|
86
|
+
request: specifies the message to send to the target. The request is an instance of IRISObject or of a subclass of Message.
|
|
87
|
+
If the target is a built-in ObjectScript component, you should use the IRISObject class. The IRISObject class enables the PEX framework to convert the message to a class supported by the target.
|
|
88
|
+
description: an optional string parameter that sets a description property in the message header. The default is None.
|
|
89
|
+
|
|
90
|
+
Raises:
|
|
91
|
+
TypeError: if request is not of type Message or IRISObject.
|
|
92
|
+
"""
|
|
93
|
+
if response_required:
|
|
94
|
+
# cast True to 1
|
|
95
|
+
response_required = 1
|
|
96
|
+
else:
|
|
97
|
+
response_required = 0
|
|
98
|
+
return self.iris_handle.dispatchSendRequestAsync(target,request,response_required,completion_key,description)
|
|
79
99
|
|
|
80
100
|
def set_timer(self, timeout, completion_key=None):
|
|
81
101
|
""" Specifies the maximum time the business process will wait for responses.
|
{iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
grongier/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
grongier/cls/Grongier/PEX/BusinessOperation.cls,sha256=qvLahHnQPAKMrGCekQNXPJgKPvlCWH5nJa0eYvceGvQ,932
|
|
3
|
-
grongier/cls/Grongier/PEX/BusinessProcess.cls,sha256=
|
|
3
|
+
grongier/cls/Grongier/PEX/BusinessProcess.cls,sha256=azLitlfEa9fK8PmoVHCyxzywi8sM-6drYwJZQPijPFY,2882
|
|
4
4
|
grongier/cls/Grongier/PEX/BusinessService.cls,sha256=2FXGkJ29zU3m-BcMVJTqD9skG9o7GvcHw60DAx4Fj3s,1039
|
|
5
5
|
grongier/cls/Grongier/PEX/Common.cls,sha256=YEguYAhs9_nA2A0LHZpRtQ7wUqueaRPSS2LO_fOTGVs,5754
|
|
6
6
|
grongier/cls/Grongier/PEX/Director.cls,sha256=wImRl1P37_A-Om8ahl2hfl92hxicqKnKAqzHOE4L8wg,1894
|
|
@@ -23,7 +23,7 @@ grongier/pex/__init__.py,sha256=nvcmRCxLy-lpL5GzlCKrmsSK8LF8Q0aKddx6ib8U50E,1166
|
|
|
23
23
|
grongier/pex/__main__.py,sha256=ebEYPDOBKiXOlmdI4onpQLzfBKU4wyfijYyquA5dWV4,107
|
|
24
24
|
grongier/pex/_business_host.py,sha256=ec0y27POk-A7J2jPiTeoujzh30caVETJEpe11R-lcTQ,22245
|
|
25
25
|
grongier/pex/_business_operation.py,sha256=W_B9Ci1fei8SGcElkAd13gV9S4BNKeQciTMVqxxJVZc,3509
|
|
26
|
-
grongier/pex/_business_process.py,sha256=
|
|
26
|
+
grongier/pex/_business_process.py,sha256=BWeH72mSh8xFUIkPEZqhxJHMmvby0ZusZEc62nHPUe0,13305
|
|
27
27
|
grongier/pex/_business_service.py,sha256=8CgpjcdVmv5747CTa3Lw3B48RYXq2SQN9qfdxvqEI5g,3735
|
|
28
28
|
grongier/pex/_cli.py,sha256=NcMA3sXMDYA2NnGG0LB9Eww14aEmQbu0jQywWJZGD7E,6297
|
|
29
29
|
grongier/pex/_common.py,sha256=yiJ-sH4ml5u9qEnZFX_4F-Rn2X6shtMhceJA9RCMChI,15158
|
|
@@ -105,9 +105,9 @@ iris/iris_ipm.py,sha256=Q0jcNItjywlqOPZr0hgdTFSeLPNEmB-tcICOI_cXnaY,790
|
|
|
105
105
|
iris/iris_ipm.pyi,sha256=j7CNUZcjeDu5sgeWUZJO_Qi4vQmHh6aD-jPWv8OdoUs,374
|
|
106
106
|
irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
|
|
107
107
|
irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
|
|
108
|
-
iris_pex_embedded_python-2.3.
|
|
109
|
-
iris_pex_embedded_python-2.3.
|
|
110
|
-
iris_pex_embedded_python-2.3.
|
|
111
|
-
iris_pex_embedded_python-2.3.
|
|
112
|
-
iris_pex_embedded_python-2.3.
|
|
113
|
-
iris_pex_embedded_python-2.3.
|
|
108
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
|
|
109
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/METADATA,sha256=pQJGxFdcJ0VSLEAY8j2VtB5h1W_HNOtexNFGvh-cQlg,49682
|
|
110
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
111
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/entry_points.txt,sha256=atkAtHoIuwXcZ0jl5gwof0l__ru_lt8WhVYk6HxYf70,47
|
|
112
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/top_level.txt,sha256=Tl4ZHgeNefaZW2Oug30vSldhD-tWzixsIfzASBrZ9ps,43
|
|
113
|
+
iris_pex_embedded_python-2.3.28b2.dist-info/RECORD,,
|
{iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/LICENSE
RENAMED
|
File without changes
|
{iris_pex_embedded_python-2.3.27b2.dist-info → iris_pex_embedded_python-2.3.28b2.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|