Transfer Event

Fires during incoming data transfer.

Syntax

ANSI (Cross Platform)
virtual int FireTransfer(MLLPServerTransferEventParams *e);
typedef struct {
int ConnectionId;
int64 BytesTransferred;
const char *data; int lendata; int reserved; } MLLPServerTransferEventParams; Unicode (Windows) virtual INT FireTransfer(MLLPServerTransferEventParams *e);
typedef struct {
INT ConnectionId;
LONG64 BytesTransferred;
LPCSTR data; INT lendata; INT reserved; } MLLPServerTransferEventParams;
- (void)onTransfer:(int)connectionId :(long long)bytesTransferred :(NSData*)data;
#define EID_MLLPSERVER_TRANSFER 13

virtual INT IPWORKSEDI_CALL FireTransfer(INT &iConnectionId, LONG64 &lBytesTransferred, LPSTR &lpdata, INT &lendata);

Remarks

This event fires one or more times while incoming data is being transferred.

The ConnectionId parameter is the Id of the connection on which data is being transferred.

The BytesTransferred parameter reflects the number of bytes transferred since the beginning of the transfer.

The Data parameter contains the portion of the data being delivered currently.

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