System.Tether.Manager.TTetheringManagerCommunicationThread.AddProfiles
Delphi
procedure AddProfiles(const AConnectionString, AData: string);
C++
void __fastcall AddProfiles(const System::UnicodeString AConnectionString, const System::UnicodeString AData);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManagerCommunicationThread |
説明
通信スレッドのアダプタからのプロファイル検知リクエストに応答して、リモート アダプタが送信したリモート プロファイルについてのデータが格納された、文字列を処理します。
AddProfiles は文字列 AData
を受信し、これには、リモート プロファイルのシリアライズされたリストが格納されています。
NotifyEndProfileDiscovery に対して定義されているイベント ハンドラがある場合、AddProfiles は、TTetheringProfileInfoList のインスタンスを作成し、そのリストを AData
内の情報で埋め、NotifyEndProfileDiscovery イベントを起こして逆シリアライズされたプロファイル データをイベント ハンドラに渡します。