System.Tether.Manager.TTetheringAdapter.DoAuthErrorFromRemote

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoAuthErrorFromRemote(const AManagerIdentifier: string); virtual;

C++

virtual void __fastcall DoAuthErrorFromRemote(const System::UnicodeString AManagerIdentifier);

Properties

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

Description

Dispatcher for the OnAuthErrorFromRemote event of the manager of the adapter.

During a pairing operation started by your adapter, your adapter calls DoAuthErrorFromRemote when the remote adapter aborts the pairing operation, usually because the password hash that your adapter previously sends does not match the expected hash.

This event dispatcher receives a single parameter, AManagerIdentifier, which is the identifier of the remote manager that aborted the pairing operation.

If the aborted pairing operation was the last pairing operation remaining of an automatic connection process, DoAuthErrorFromRemote triggers the OnEndAutoConnect event of the manager of the adapter.

If the remote adapter was in the internal list of known managers of your adapter, DoAuthErrorFromRemote removes the remote adapter from the list.

Finally, DoAuthErrorFromRemote triggers the OnAuthErrorFromRemote event of the manager of the adapter.

See Also