System.Tether.Manager.TTetheringManager.CancelDiscoverManagers

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CancelDiscoverManagers;

C++

void __fastcall CancelDiscoverManagers();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManager

Description

Cancels a remote manager discovery operation started by either AutoConnect or DiscoverManagers on all your manager adapters.

The AutoConnect and DiscoverManagers procedures start a discovery operation on all your manager adapters, calling StartManagersAutoConnect or StartManagersDiscovery on those adapters respectively.

When the discovery operation finishes, the internal timer started on each adapter by either of those procedures calls AutoConnectEndManagersTimer or EndManagersTimer on the adapter respectively. AutoConnectEndManagersTimer passes your manager information about the discovered remote managers, which your manager handles automatically. EndManagersTimer triggers the OnEndManagersDiscovery event.

CancelDiscoverManagers calls CancelManagersDiscovery on each adapter to abort the on-going discovery operation and prevents the call to either AutoConnectEndManagersTimer or EndManagersTimer.

See Also