System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter; const AEvent: TEvent); override;
C++
__fastcall virtual TTetheringNetworkManagerCommunicationThread(System::Tether::Manager::TTetheringAdapter* const AnAdapter, System::Syncobjs::TEvent* const AEvent);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Creates an instance of TTetheringManagerCommunicationThread.
This constructor receives the following parameters:
AnAdapter
is the instance of TTetheringNetworkAdapter that owns the new instance of TTetheringManagerCommunicationThread.AEvent
is a TEvent. You can use this event to wait for the thread to finish its execution.
TTetheringNetworkManagerCommunicationThread.Create initializes an instance of a server, UDP server and a client.