endurox.tpunsubscribe¶
- endurox.tpunsubscribe(subscription: int, flags: int = 0) int ¶
Unsubscribe from event.
This function applies to ATMI servers only.
For more details see tpunsubscribe(3) C API call.
- Raises:
AtmiException –
- Parameters:
subscription (int) – Subscription id.
flags (int) – Optionally Or’d
TPSIGRSTRT
,TPNOTIME
ctl (TPEVCTL) – Control structure.
flags – Bitwise or’d
TPNOTRAN
,TPSIGRSTRT
,TPNOTIME
flags.
- Returns:
subscription - subscription id (may be used to unsubscribe)
- Return type: