SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_connect Event

This event is fired when a remote connection has been established.

Syntax

class SFTPServerConnectEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def remote_address() -> str: ...
  @property
  def remote_port() -> int: ...

# In class SFTPServer:
@property
def on_connect() -> Callable[[SFTPServerConnectEventParams], None]: ...
@on_connect.setter
def on_connect(event_hook: Callable[[SFTPServerConnectEventParams], None]) -> None: ...

Remarks

ConnectionID contains a session identifier, and RemoteAddress specifies the client's IP address.

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