System.Tether.Manager.TTetheringAdapter.DoStopListening
Delphi
procedure DoStopListening; virtual;
C++
virtual void __fastcall DoStopListening();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringAdapter |
説明
他のアダプタへのリスンをやめ、お使いのアダプタがリスンしなくなった、範囲内のあらゆるアダプタに通知します。
DoStopListening により、アダプタで使用されている通信スレッドは終了します。
お使いのアダプタのマネージャは、無効(Enabled が False
)になると、StopListening を呼び出します。StopListening が DoStopListening を呼び出します。
- メモ: TTetheringAdapter のサブクラスで DoStopListening をオーバーライドしてもかまいません。TTetheringNetworkAdapterCommon.DoStopListening はその例です。
関連項目
- System.Tether.NetworkAdapter.TTetheringNetworkAdapterCommon.DoStopListening
- System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.DoStopListening
- System.Tether.Manager.TTetheringAdapter
- System.Tether.Manager.TTetheringManager.Enabled
- System.Tether.Manager.TTetheringAdapter.DoStartListening
- System.Tether.Manager.TTetheringAdapter.StopListening
- System.Tether.Manager.TTetheringManagerCommunicationThread
- System.Classes.TThread.Terminate