System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.BroadcastCommand
Delphi
procedure BroadcastCommand(const AData: string; const AHost: string = ''); virtual; abstract;
C++
virtual void __fastcall BroadcastCommand(const System::UnicodeString AData, const System::UnicodeString AHost = System::UnicodeString()) = 0 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Remarque: BroadcastCommand est une méthode abstraite que les sous-classes TTetheringNetworkManagerCommunicationThread doivent implémenter.
Envoie une chaîne de commandes aux threads de communication du réseau distant.
BroadcastCommand reçoit les paramètres suivants :
AData
est la chaîne à envoyer.AHost
est un hôte cible facultatif.
Si vous ne spécifiez pas d'hôte cible spécifique, le comportement de BroadcastCommand est propre à l'implémentation du TTetheringNetworkManagerCommunicationThread utilisé.