System.Tether.TCPProtocol.TTetheringTCPProtocol.CreateInstance

De RAD Studio API Documentation
Révision datée du 15 juillet 2014 à 10:49 par Diala (discussion | contributions) (1 version : Translated files - LOC-15634)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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