Datasnap.DSCommon.TDSClientCallbackChannelManager.ExecuteRemote

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.DSCommon.pas
Datasnap.DSCommon.hpp
Unit: Datasnap.DSCommon
Parent: TDSClientCallbackChannelManager

Delphi

procedure ExecuteRemote(const AClassName, AMethodName: string; ParamSetup: TParamSetup;
ParamCheckup: TParamSetup; NoTimeout: Boolean = false);

C++

void __fastcall ExecuteRemote(const System::UnicodeString AClassName, const System::UnicodeString AMethodName, _di_TParamSetup ParamSetup, _di_TParamSetup ParamCheckup, bool NoTimeout = false);

Description

Generic method used for remote invocations.

ExecuteRemote is a generic method used for remote invocations. The AClassName and AMethodName parameters are strings specifying the name of the class, respectively the name of the method that is invoked.

The ParamSetup and ParamCheckup parameters are references to procedures that take in the passed parameter list. Setup uses this to set the values of the parameters before remote method invocation, while Checkup is invoked after the invocation, so you can read the resulting parameter and return values.

The NoTimeout Boolean passed parameter specifies whether the connection timeout and the communication timeout are set or not.

See Also