SSHChannelClosed Event
Fired when a channel is closed.
Syntax
class SSHReverseTunnelSSHChannelClosedEventParams { public: const QString &ChannelId(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void SSHChannelClosed(SSHReverseTunnelSSHChannelClosedEventParams *e);
// Or, subclass SSHReverseTunnel and override this emitter function. virtual int FireSSHChannelClosed(SSHReverseTunnelSSHChannelClosedEventParams *e) {...}
Remarks
The SSHChannelClosed event is fired when a channel is closed on an SSH connection.
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.