System.Tether.NetworkAdapter.TTetheringNetworkAdapterCommon.DoStopListening
Delphi
procedure DoStopListening; override;
C++
virtual void __fastcall DoStopListening();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkAdapterCommon |
Description
Stops listening to other adapters, and notifies any adapter in range that your adapter is not listening any more.
The manager of your adapter calls StopListening when the manager is disabled (Enabled is False
). StopListening calls DoStopListening.
DoStopListening stops listening to other adapters, and calls NotifyShutdown to notify any adapter in range that your adapter is about to shut down.
When a remote adapter of the same type as your adapter is in listening mode and receives this notification from your adapter, the remote adapter calls its DoRemoteManagerShutdown method.