Disconnect Event
Reports SFTP connection closure.
Syntax
ANSI (Cross Platform) virtual int FireDisconnect(SFTPClientDisconnectEventParams *e);
typedef struct {
int CloseReason; int reserved; } SFTPClientDisconnectEventParams; Unicode (Windows) virtual INT FireDisconnect(SFTPClientDisconnectEventParams *e);
typedef struct {
INT CloseReason; INT reserved; } SFTPClientDisconnectEventParams;
- (void)onDisconnect:(int)closeReason;
#define EID_SFTPCLIENT_DISCONNECT 5 virtual INT SECUREBLACKBOXLITE_CALL FireDisconnect(INT &iCloseReason);
Remarks
The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.