System.Tether.Manager.TTetheringAdapter.DoNewManager

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoNewManager(const AManager: TTetheringManagerInfo); virtual;

C++

virtual void __fastcall DoNewManager(const TTetheringManagerInfo &AManager);

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 OnNewManager event of the manager of the adapter.

The adapter calls DoNewManager when a new remote manager starts listening to other managers in range. For example, if your adapter is a TTetheringNetworkAdapterCommon, the adapter calls DoNewManager when a new remote manager starts listening to other managers on the same subnet of a local area network (LAN).

Note: Managers can connect to remote managers outside their subnet. However, managers cannot listen to remote managers outside of their subnet.

DoNewManager receives a single parameter, AManager, an instance of TTetheringManagerInfo with information about the remote manager that started listening.

DoNewManager passes the AManager parameter to its manager. Its manager passes both a reference to itself and the AManager parameter from the adapter to the handler of its OnNewManager event.

See Also