Disconnect Event
Reports SFTP connection closure.
Syntax
class SFTPClientDisconnectEventParams { public: int CloseReason(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Disconnect(SFTPClientDisconnectEventParams *e);
// Or, subclass SFTPClient and override this emitter function. virtual int FireDisconnect(SFTPClientDisconnectEventParams *e) {...}
Remarks
The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.