AckIn Event

Fires immediately after receiving an acknowledgement from a client.

Syntax

ANSI (Cross Platform)
virtual int FireAckIn(MLLPServerAckInEventParams *e);
typedef struct {
int ConnectionId;
int Accepted; int reserved; } MLLPServerAckInEventParams; Unicode (Windows) virtual INT FireAckIn(MLLPServerAckInEventParams *e);
typedef struct {
INT ConnectionId;
BOOL Accepted; INT reserved; } MLLPServerAckInEventParams;
- (void)onAckIn:(int)connectionId :(BOOL)accepted;
#define EID_MLLPSERVER_ACKIN 1

virtual INT IPWORKSEDI_CALL FireAckIn(INT &iConnectionId, BOOL &bAccepted);

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 C++ Edition - Version 20.0 [Build 8203]