on_ssh_channel_eof Event
Fired when the remote peer signals the end of the data stream for the channel.
Syntax
class SSHDaemonSSHChannelEOFEventParams(object): @property def connection_id() -> int: ... @property def channel_id() -> int: ... # In class SSHDaemon: @property def on_ssh_channel_eof() -> Callable[[SSHDaemonSSHChannelEOFEventParams], None]: ... @on_ssh_channel_eof.setter def on_ssh_channel_eof(event_hook: Callable[[SSHDaemonSSHChannelEOFEventParams], None]) -> None: ...
Remarks
The on_ssh_channel_eof event is fired when the end of the data stream for a channel on an SSH connection is reached.
ConnectionId identifies the connection. ChannelId identifies the channel.
Note: Processing long-running requests, including sending channel data, inside this event may cause the underlying transport to stop processing SSH data until the event returns. In order to prevent this from happening, all requests should be processed asynchronously in a separate thread outside of this event.