System.Tether.Manager.TTetheringManager.DiscoverManagers
Delphi
procedure DiscoverManagers(Timeout: Cardinal; const ATarget: string = ''); overload;
procedure DiscoverManagers(const ATarget: string = ''); overload;
procedure DiscoverManagers(Timeout: Cardinal; const ATargetList: TTetheringTargetHosts); overload;
procedure DiscoverManagers(const ATargetList: TTetheringTargetHosts); overload;
C++
void __fastcall DiscoverManagers(unsigned Timeout, const System::UnicodeString ATarget = System::UnicodeString())/* overload */;
void __fastcall DiscoverManagers(const System::UnicodeString ATarget = System::UnicodeString())/* overload */;
void __fastcall DiscoverManagers(unsigned Timeout, const System::DynamicArray<System::UnicodeString> ATargetList)/* overload */;
void __fastcall DiscoverManagers(const System::DynamicArray<System::UnicodeString> ATargetList)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
Starts the discovery of remote managers on each registered adapter.
DiscoverManagers accepts two parameters:
Timeout
(Optional): Time in milliseconds that the discovery should last before each adapter registers in this manager any discovered remote manager.ATargetList
orATarget
(Optional): You can specify a list of one or more targets for the discovery. Valid values, as well as the behavior when no value is specified, are specific of each adapter that your manager uses.
Exceptions
A call to DiscoverManagers may raise the following exception:
Exception | Exception.Message | Scenarios |
---|---|---|
Manager <manager identifier> is disabled. |
|