System.Tether.Manager.TTetheringProtocol.OnBeforeSendData

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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