EndTransfer Event

Fired when a file transfer completes.

Syntax

ANSI (Cross Platform)
virtual int FireEndTransfer(XMPPEndTransferEventParams *e);
typedef struct {
int Direction;
const char *FileId;
const char *Filename;
int Success; int reserved; } XMPPEndTransferEventParams; Unicode (Windows) virtual INT FireEndTransfer(XMPPEndTransferEventParams *e);
typedef struct {
INT Direction;
LPCWSTR FileId;
LPCWSTR Filename;
BOOL Success; INT reserved; } XMPPEndTransferEventParams;
- (void)onEndTransfer:(int)direction :(NSString*)fileId :(NSString*)filename :(BOOL)success;
#define EID_XMPP_ENDTRANSFER 5

virtual INT IPWORKS_CALL FireEndTransfer(INT &iDirection, LPSTR &lpszFileId, LPSTR &lpszFilename, BOOL &bSuccess);

Remarks

When a file transfer completes this event will fire.

The Direction parameter shows whether the client (0) or the server (1) is sending the data.

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