SecureBlackbox 2020 Java Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Java Edition - Version 20.0 [Build 8156]