on_ack_out Event
Fires immediately before sending an acknowledgement to a client.
Syntax
class MLLPServerAckOutEventParams(object): @property def connection_id() -> int: ... @property def accept() -> bool: ... @accept.setter def accept(value) -> None: ... # In class MLLPServer: @property def on_ack_out() -> Callable[[MLLPServerAckOutEventParams], None]: ... @on_ack_out.setter def on_ack_out(event_hook: Callable[[MLLPServerAckOutEventParams], None]) -> None: ...
Remarks
This event fires immediately before the class sends an acknowledgement to an MLLP client.
ConnectionId is the Id of the connection that will receive the acknowledgement.
The Accept parameter should be set to indicate whether the class should send a positive (ACK - True) or negative (NAK - False) acknowledgement. The default is True.