System.Tether.Manager.TTetheringManagerCommunicationThread.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter; const AEvent: TEvent); virtual;
C++
__fastcall virtual TTetheringManagerCommunicationThread(TTetheringAdapter* const AnAdapter, System::Syncobjs::TEvent* const AEvent);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManagerCommunicationThread |
Description
Creates an instance of TTetheringManagerCommunicationThread.
This constructor receives the following parameters:
AnAdapter
is the instance of TTetheringAdapter 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.
TTetheringManagerCommunicationThread.Create calls TCommandQueue.Create function.