System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread_Multicast.BroadcastCommand

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure BroadcastCommand(const AData: string; const AHost: string = ''); override;

C++

virtual void __fastcall BroadcastCommand(const System::UnicodeString AData, const System::UnicodeString AHost = System::UnicodeString());

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
protected
System.Tether.NetworkAdapter.pas
System.Tether.NetworkAdapter.hpp
System.Tether.NetworkAdapter TTetheringNetworkManagerCommunicationThread_Multicast

Description

Envoie une chaîne de commandes aux threads de communication du réseau distant.

System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread Multicast.BroadcastCommand hérite de System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.BroadcastCommand. Tout le contenu en-dessous de cette ligne se réfère à System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.BroadcastCommand.

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é.

Voir aussi