type

 TScBeforeChannelConnect = procedure(Sender: TObject; ChannelInfo: TScSSHChannelInfo; var Direct: Boolean) of object;

 

property BeforeChannelConnect: TScBeforeChannelConnect;

 

Description

Occurs on opening a new SSH channel.

If you set the Direct parameter to True, the data obtained from the client will not be transferred anywhere. It is required to add a handler for the OnDataFromClient event to handle the data obtained from client.

 

Parameters:

Sender - the object whose event handler is called;
ChannelInfo - holds the information about the current SSH channel;
Direct - determines whether the data obtained from the client will be transferred to the host and port specified by user. Set Direct to True if you want to process the data received from the client yourself.

 

See Also

OnDataFromClient

OnDataToClient

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support