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 ;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfile |
説明
接続されたリモート プロファイルが送信した、入力ストリームを処理します。
接続されたリモート プロファイルがプロファイルにストリームを送信する際、このストリームは、OnStreamReceived の AStream
パラメータから読み取ることができます。
OnStreamReceived は、次のパラメータを受け取ります:
Sender
は、接続されたリモート プロファイルからストリームを受け取るプロトコルです。AProfileId
は、ストリームを送った、接続されたリモート プロファイルの 識別子 です。AStream
は、ストリームです。ADescription
は、ストリームのコンテンツを説明する文字列です。
関連項目
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.Classes.TStream
- System.String