System.Tether.TCPProtocol.TTetheringTCPProtocol.CreateInstance

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

Type Visibility Source Unit Parent
function public
System.Tether.TCPProtocol.pas
System.Tether.TCPProtocol.hpp
System.Tether.TCPProtocol TTetheringTCPProtocol

Description

Creates an instance of TTetheringTCPProtocol and returns it.

AsClient determines whether the created instance must work as a client only (True) or both as a client and as a server (False).

See Also