on_ssh_channel_ready_to_send Event
Fired when the class is ready to send data.
Syntax
class SSHClientSSHChannelReadyToSendEventParams(object): @property def channel_id() -> str: ... # In class SSHClient: @property def on_ssh_channel_ready_to_send() -> Callable[[SSHClientSSHChannelReadyToSendEventParams], None]: ... @on_ssh_channel_ready_to_send.setter def on_ssh_channel_ready_to_send(event_hook: Callable[[SSHClientSSHChannelReadyToSendEventParams], None]) -> None: ...
Remarks
This event fires when data can be sent over the SSH Channel specified by ChannelId.
When a channel is opened this event will fire once the channel is ready and data can be sent.
When timeout is set to 0 (asynchronous) sending data may result in an error if the channel or underlying socket cannot accept more data to send. Monitor on_ssh_channel_ready_to_send or ready_to_send to determine when data can be sent again.
When timeout is set to a positive value the class will block when sending data until the data can be successfully sent and on_ssh_channel_ready_to_send and ready_to_send do not need to be monitored.