Disconnect Event
This event is fired when the SFTP subsystem connection is closed.
Syntax
ANSI (Cross Platform) virtual int FireDisconnect(SSHClientDisconnectEventParams *e);
typedef struct {
int CloseReason; int reserved; } SSHClientDisconnectEventParams; Unicode (Windows) virtual INT FireDisconnect(SSHClientDisconnectEventParams *e);
typedef struct {
INT CloseReason; INT reserved; } SSHClientDisconnectEventParams;
- (void)onDisconnect:(int)closeReason;
#define EID_SSHCLIENT_DISCONNECT 10 virtual INT SECUREBLACKBOX_CALL FireDisconnect(INT &iCloseReason);
Remarks
Do not perform any file operations after this event has been fired.