type

 TScData = procedure(Sender: TObject; ChannelInfo: TScSSHChannelInfo; const Buffer: TBytes; const Offset, Count: integer) of object;

 

property OnDataToClient: TScData;

 

Description

Occurs after a data chunk is received from the host with which connection is established in the current channel, and before the data will be encrypted and sent to the SSH client.

 

Parameters:

Sender - the object whose event handler is called;
ChannelInfo - holds the information about the current SSH channel;
Buffer - points to the buffer that contains data to be transferred;
Offset - zero-based byte offset in Buffer that indicates location of the data to be encrypted and transferred;
Count - length of the data to be transferred.

 

See Also

OnDataFromClient

 

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