IPWorks EDI 2020 Node.js Edition

Questions / Feedback?

AckIn Event

Fires immediately after receiving an acknowledgement from a client.

Syntax

mllpserver.on('AckIn', [callback])

Callback

The 'callback' is called when the 'AckIn' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.connectionId
e.accepted

Remarks

This event fires immediately after receiving an acknowledgement (positive or negative) from an MLLP client.

The ConnectionId parameter reflects the Id of the connection that the acknowledgement was received on.

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Node.js Edition - Version 20.0 [Build 8203]