System.Tether.Manager.TTetheringManagerCommunicationThread.CommandStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CommandStr(const ACommand: string; AVersion: Integer; const Params: TTetheringParams): string;

C++

System::UnicodeString __fastcall CommandStr(const System::UnicodeString ACommand, int AVersion, const System::DynamicArray<System::UnicodeString> Params);

Properties

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

Description

Returns a string with the formatted command that is sent to the remote manager.

The formatted command is created by calling TTetheringManagerCommand.Create and then converted to string before returned. In addition to the received parameters, the remote adapter connection string is sent to the TTetheringManagerCommand.Create function.

The parameters that CommandStr accepts are:

  • ACommand: Any of the predefined constant Strings that represent a type of command (see protected TTetheringManagerCommunicationThread fields).
  • AVersion: The version of the manager (sometimes it is the version of your manager, sometimes of the remote manager).
  • Params: The parameters of the command.

See Also