System.Tether.Manager.TTetheringProtocol.OnBeforeSendData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnBeforeSendData: TTetheringDataEvent read FOnBeforeSendData write FOnBeforeSendData;

C++

__property System::Tether::Comm::TTetheringDataEvent OnBeforeSendData = {read=FOnBeforeSendData, write=FOnBeforeSendData};

Properties

Type Visibility Source Unit Parent
event public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringProtocol

Description

Post processing of the data that occurs before sending the data to the remote protocol.

Define a function for the OnBeforeSendData event to process the input data (DataBuffer) before sending it to the remote protocol. This function puts the resulting data in the Result.

Note: Define the inverse function of this event (OnAfterReceiveData) in the remote protocol.

See Also