System.Tether.Manager.TTetheringProfile.OnStreamReceived
Delphi
procedure OnStreamReceived(const Sender: TObject; const AProfileId: string; const AStream: TStream; const ADescription: string); virtual; abstract;
C++
virtual void __fastcall OnStreamReceived(System::TObject* const Sender, const System::UnicodeString AProfileId, System::Classes::TStream* const AStream, const System::UnicodeString ADescription) = 0 ;
Propriétés
| Type | Visibilité | Source | Unité | Parent | 
|---|---|---|---|---|
| procedure function | protected | System.Tether.Manager.pas System.Tether.Manager.hpp | System.Tether.Manager | TTetheringProfile | 
Description
Gère un flux entrant envoyé par un profil distant connecté.
Quand un profil distant connecté envoie un flux à votre profil, vous pouvez lire ce flux depuis le paramètre AStream de OnStreamReceived.
OnStreamReceived reçoit les paramètres suivants :
- Senderest le protocole qui reçoit le flux d'un profil distant connecté.
- AProfileIdest l'identificateur du profil distant connecté qui envoie le flux.
- AStreamest le flux.
- ADescriptionest une chaîne qui décrit le contenu du flux.
Voir aussi
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.Classes.TStream
- System.String