System.Tether.Manager.TTetheringProtocols.RegisterProtocol

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure RegisterProtocol(const AProtocol: TTetheringProtocolClass; const AProtocolType: TTetheringProtocolType);

C++

__classmethod void __fastcall RegisterProtocol(const TTetheringProtocolClass AProtocol, const System::UnicodeString AProtocolType);

Properties

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

Description

Registers the specified protocol in TTetheringProtocols with the specified protocol type.

After you register a protocol you can get instances of that protocol, and the type registered for the protocol is available in the Protocols property.

Call UnRegisterProtocol to unregister previously-registered protocols.

See Also