Datasnap.DSCommon.TDSClientCallbackChannelManager.ExecuteRemote
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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSCommon.pas Datasnap.DSCommon.hpp |
Datasnap.DSCommon | TDSClientCallbackChannelManager |
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.