System.Tether.TCPProtocol.TTetheringTCPProtocol.CreateInstance

De RAD Studio API Documentation
Aller à : navigation, rechercher

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

Propriétés

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


Description

Create crée une instance de TTetheringTCPProtocol et la renvoie.

AsClient détermine si l'instance créée doit fonctionner en tant que client seulement (True) ou en tant que client et serveur en même temps (False).

Voir aussi