endurox.tpacall¶
- endurox.tpacall(svc: str, idata: object, flags: int = 0) int¶
Asynchronous service call. Function returns call descriptor if
TPNOREPLYflag is not set. The replies shall be collected with tpgetrply() API call by passing the returned call descriptor to the function.tpacall example¶cd = e.tpacall("EXBENCH", { "data":{"T_STRING_FLD":"Hi Jim"}}) tperrno, tpurcode, retbuf, cd = e.tpgetrply(cd)
For more details see tpacall(3).
- Raises:
AtmiException –
- Parameters:
- Returns:
cd - call descriptor. 0 in case if
TPNOREPLYwas specified.- Return type: