System.Tether.Manager.TTetheringAdapter.DoAuthErrorFromLocal
Delphi
procedure DoAuthErrorFromLocal(const AManagerIdentifier: string); virtual;
C++
virtual void __fastcall DoAuthErrorFromLocal(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 of the OnAuthErrorFromLocal event of the manager of the adapter.
During a pairing operation, your adapter calls DoAuthErrorFromLocal when the remote adapter that starts the pairing request sends a password hash that does not match the expected hash, and as a result your (local) adapter aborts the pairing operation.
This event dispatcher receives a single parameter, AManagerIdentifier
, which is the identifier of the remote manager that started the pairing request.
If the aborted pairing operation was the last pairing operation remaining of an automatic connection process, DoAuthErrorFromLocal 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, DoAuthErrorFromLocal removes the remote adapter from the list.
Finally, DoAuthErrorFromLocal triggers the OnAuthErrorFromLocal event of the manager of the adapter.
See Also
- System.Tether.Manager.TTetheringManager.OnAuthErrorFromLocal
- System.Tether.Manager.TTetheringManager.OnEndAutoConnect
- System.Tether.Manager.TTetheringAdapter.Manager
- System.Tether.Manager.TTetheringAdapter.PairManager
- System.Tether.Manager.TTetheringAdapter.CheckPassword
- System.Tether.Manager.TTetheringManager.Identifier
- System.Tether.Manager.TTetheringManager.PairManager
- System.Tether.Manager.TTetheringManager.AutoConnect