SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_disconnect Event

This event is fired when the SFTP subsystem connection is closed.

Syntax

class SSHClientDisconnectEventParams(object):
  @property
  def close_reason() -> int: ...

# In class SSHClient:
@property
def on_disconnect() -> Callable[[SSHClientDisconnectEventParams], None]: ...
@on_disconnect.setter
def on_disconnect(event_hook: Callable[[SSHClientDisconnectEventParams], None]) -> None: ...

Remarks

Do not perform any file operations after this event has been fired.

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