Disconnect Event
This event is fired when the SFTP subsystem connection is closed.
Syntax
class SSHClientDisconnectEventParams { public: int CloseReason(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Disconnect(SSHClientDisconnectEventParams *e);
// Or, subclass SSHClient and override this emitter function. virtual int FireDisconnect(SSHClientDisconnectEventParams *e) {...}
Remarks
Do not perform any file operations after this event has been fired.