AckIn Event
Fires immediately after receiving an acknowledgement from the server.
Syntax
mllpclient.on('AckIn', [callback])
Callback
The 'callback' is called when the 'AckIn' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.accepted
Remarks
This event fires immediately after receiving an acknowledgement (positive or negative) from the MLLP server.
The Accepted parameter reflects whether the acknowledgement is positive (ACK - True) or negative (NAK - False).
Anytime a negative acknowledgement is received, the class will report an error with code 670.