System.Tether.Manager.TTetheringAdapter.DoUnPairManager

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoUnPairManager(const AManager: TTetheringManagerInfo); virtual;

C++

virtual void __fastcall DoUnPairManager(const TTetheringManagerInfo &AManager);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringAdapter

Description

Dispatcher of the OnUnPairManager event of the manager of your adapter, responsible for disconnecting and unpairing from a remote manager.

When the manager of a remote adapter requests to unpair from the manager of your adapter, the remote manager calls UnPairManager on its adapter. The remote adapter sends the request to your adapter, which calls DoUnPairManager to handle the request.

DoUnPairManager receives a single parameter, AManager, which is an instance of TTetheringManagerInfo that contains information about the remote manager that requested to be unpaired from the manager of your adapter.

DoUnPairManager passes this information to the manager of your adapter. The manager of your adapter:

  1. Disconnects its registered profiles from the remote profiles of the remote manager.
  2. Disconnects its registered profiles from the remote manager itself.
  3. Disconnects and unpairs itself from the remote manager.
  4. Passes both a reference to itself and the instance of TTetheringManagerInfo about the remote manager to the handler of its OnUnPairManager event.

See Also