System.Tether.TCPProtocol.TTetheringTCPProtocol.CreateInstance
Delphi
class function CreateInstance(const AnAdapter: TTetheringAdapter; AsClient: Boolean): TTetheringProtocol; override;
C++
__classmethod virtual System::Tether::Manager::TTetheringProtocol* __fastcall CreateInstance(System::Tether::Manager::TTetheringAdapter* const AnAdapter, bool AsClient);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Tether.TCPProtocol.pas System.Tether.TCPProtocol.hpp |
System.Tether.TCPProtocol | TTetheringTCPProtocol |
説明
TTetheringTCPProtocol のインスタンスを作成し、それを返します。
AsClient は、作成されたインスタンスが、クライアントとしてのみ動作するべきか(True)、または、クライアントおよびサーバーとして(False)なのかを、決定します。