System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.DoOnReceiveData
Delphi
procedure DoOnReceiveData(const AConnection: string; const AData: TBytes); virtual;
C++
virtual void __fastcall DoOnReceiveData(const System::UnicodeString AConnection, const System::Sysutils::TBytes AData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Handles incoming data every time that new data is received from a remote network communication thread.
DoOnReceiveData receives the following parameters:
AConnection
is the IP address and port of the other end of the communication.AData
is the received array of bytes.
DoOnReceiveData parses AData
and enqueues command strings generated from AData
into the manager command queue.