System.Tether.Manager.TTetheringAdapter.DoPairedFromLocal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoPairedFromLocal(const AManagerIdentifier, AManagerName, AManagerText, AConnectionString: string; AVersion: Integer); virtual;

C++

virtual void __fastcall DoPairedFromLocal(const System::UnicodeString AManagerIdentifier, const System::UnicodeString AManagerName, const System::UnicodeString AManagerText, const System::UnicodeString AConnectionString, int AVersion);

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 OnPairedFromLocal event of the manager of the adapter, also responsible for starting the discovery of remote profiles provided by the paired remote manager.

During a pairing operation, your adapter calls DoPairedFromLocal when the remote adapter that starts the pairing request:

This event dispatcher receives the following parameters with information about the remote manager that started the pairing request:

  • AManagerIdentifier is the identifier of the manager.
  • AManagerName is the name of the manager.
  • AManagerText is the text that describes the manager.
  • AConnectionString is the connection string of the manager.

DoPairedFromLocal creates an instance of TTetheringManagerInfo with this information, and passes this instance to its manager.

The manager of your adapter:

  1. Adds the specified remote manager to its internal list of paired remote managers.
  2. Starts the discovery of profiles provided by the paired remote manager.
  3. Passes both a reference to itself and information about the remote manager to the handler of its OnPairedFromLocal event.

See Also