RTC Forums
November 24, 2024, 12:00:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Blocking Calls  (Read 4282 times)
wbroyles
RTC Expired
*
Posts: 21


« 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
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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.

Everything else you need to know about RTC remote functions is explained in these few topics.

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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 17 queries.