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