SSHChannelReadyToSend Event
Fired when the class is ready to send data.
Object Oriented Interface
public function fireSSHChannelReadyToSend($param);
Procedural Interface
ipworksssh_sshdaemon_register_callback($res, 11, array($this, 'fireSSHChannelReadyToSend'));
Parameter List
'connectionid'
'channelid'
Remarks
This event fires when data can be sent over the SSH Channel specified by ChannelId for the connection specified by ConnectionId.
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 SSHChannelReadyToSend or ReadyToSend 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 SSHChannelReadyToSend and ReadyToSend do not need to be monitored.