Disconnect Event
Reports SFTP connection closure.
Syntax
public class DefaultSftpclientEventListener implements SftpclientEventListener { ... public void disconnect(SftpclientDisconnectEvent e) {} ... } public class SftpclientDisconnectEvent { public int closeReason; }
Remarks
The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.