RTC Forums

Subscription => Support => Topic started by: wbroyles on May 16, 2014, 02:01:55 PM



Title: Blocking Calls
Post by: wbroyles on May 16, 2014, 02:01:55 PM
Do you a have a quick example of a blocking call.

The Call takes parameter for a ResultHandler, but the execute method does not.

TRtcClientModule.Execute(AutoFreeResult:boolean; _Timeout:cardinal; AllowMessageProcessing:boolean): TRtcValue;

Thanks

Wade


Title: Re: Blocking Calls
Post by: D.Tkalcec (RTC) on May 16, 2014, 03:39:47 PM
In short, the whole idea behind blocking remote function calls is to NOT have to implement an event handler, but have a blocking remote call wait for the response from the Server, then return the result.

Here is the topic about blocking remote function calls (https://rtcforum.teppi.net/index.php?topic=46.0).

Everything else you need to know about RTC remote functions is explained in these few topics (https://rtcforum.teppi.net/index.php?topic=311.0).

For a detailed explanation on method parameters, please check the HELP file or comments in the interface section of each class.

Best Regards,
Danijel Tkalcec