System.Tether.Manager.TTetheringProfile.SendCommandWithResponse

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SendCommandWithResponse(const AProfile: TTetheringProfileInfo; const ACommand: TTetheringCommand): TTetheringCommand; overload;
function SendCommandWithResponse(const AConnection: TTetheringConnection; const ACommand: TTetheringCommand): TTetheringCommand; overload;

C++

TTetheringCommand __fastcall SendCommandWithResponse(const TTetheringProfileInfo &AProfile, const TTetheringCommand &ACommand)/* overload */;
TTetheringCommand __fastcall SendCommandWithResponse(TTetheringConnection* const AConnection, const TTetheringCommand &ACommand)/* overload */;

Properties

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

Description

Sends the specified command using the specified connection or the connection of the specified remote profile, waits until it receives a response command, and returns the received command.

SendCommandWithResponse calls DoSendCommandWithResponse.