System.Tether.Manager.TTetheringAdapter.DoRemoteManagerShutdown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoRemoteManagerShutdown(const AManagerIdentifier: string); virtual;

C++

virtual void __fastcall DoRemoteManagerShutdown(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 OnRemoteManagerShutdown event of the manager of the adapter, also responsible for disconnecting the profiles of your manager from the remote profiles of the remote manager that announced its shutdown.

When a remote application disables (Enabled is False) or destroys a manager that was paired with the manager of your adapter, the remote manager calls NotifyShutdown on its adapters. Those adapters notify the shutdown of their manager to any remote manager paired with their manager, including the manager of your adapter. Your adapter calls DoRemoteManagerShutdown when it receives this shutdown notification.

DoRemoteManagerShutdown receives a single parameter, AManagerIdentifier, which is the identifier of the remote manager that notified its shutdown.

DoRemoteManagerShutdown passes the identifier of the remote manager to the manager of your adapter. The manager of your adapter:

  1. Disconnects its registered profiles from the profiles of the remote manager that is shutting down.
  2. Passes both a reference to itself and the identifier of the remote manager to the handler of its OnRemoteManagerShutdown event.

See Also