Disconnect Event
Reports SFTP connection closure.
Syntax
public open class DefaultSftpclientEventListener : SftpclientEventListener { ... public override fun disconnect(e: SftpclientDisconnectEvent) {} ... } public class SftpclientDisconnectEvent { val closeReason: Int }
Remarks
The component fires this event to report connection closure. No more SFTP activity could be done after the disconnect.