AckOut Event

Fires immediately before sending an acknowledgement to a client.

Syntax

ANSI (Cross Platform)
virtual int FireAckOut(MLLPServerAckOutEventParams *e);
typedef struct {
int ConnectionId;
int Accept; int reserved; } MLLPServerAckOutEventParams; Unicode (Windows) virtual INT FireAckOut(MLLPServerAckOutEventParams *e);
typedef struct {
INT ConnectionId;
BOOL Accept; INT reserved; } MLLPServerAckOutEventParams;
- (void)onAckOut:(int)connectionId :(int*)accept;
#define EID_MLLPSERVER_ACKOUT 2

virtual INT IPWORKSEDI_CALL FireAckOut(INT &iConnectionId, BOOL &bAccept);

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.

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