System.Tether.Manager.TTetheringAdapter
Delphi
TTetheringAdapter = class
C++
class PASCALIMPLEMENTATION DECLSPEC_DRTTI TTetheringAdapter : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | System.Tether.Manager |
Description
Base class for tethering adapters.
An adapter is an object that is associated with a manager. A manager can have one or more adapters, but an adapter can only belong to one manager.
A manager uses its adapters to find remote managers and to pair with those remote managers. Adapters also provide objects to the protocols of the manager that the protocols can use to transfer data between two managers (see GetClientPeer and GetServerPeer).
Managers automatically create instances of globally-registered adapters that they can use. You do not need to create instances of adapters manually. You usually do not interact with the adapters of a manager directly either, as you can access the most part of the functionality of an adapter using members of the manager class.
Built-In Adapters
Class | Adapter Type | Connection Technology |
---|---|---|
Network |
IPv4 with broadcast addresses | |
Network_V4 |
IPv4 with multicast addresses | |
Network_V6 |
IPv6 with multicast addresses | |
Bluetooth |
Logging
The TTetheringAdapter class implements a logging system for app tethering. This logging system can help you debug applications that use app tethering.
Every item in the app tethering architecture has the ability to log information such as request and response messages, connection strings, and so on.
You can register a method to handle logged information.
No item logs information by default, you must enable the log items that you want.