System.Tether.TCPProtocol.TTetheringTCPProtocol.CreateInstance

提供: RAD Studio API Documentation
移動先: 案内検索

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)なのかを、決定します。

関連項目