RTC Forums
November 24, 2024, 11:49:51 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Non blocking
Pages: [
1
]
« previous
next »
Print
Author
Topic: Non blocking (Read 4248 times)
Rob van Tour
RTC License+
Posts: 8
Non blocking
«
on:
March 20, 2014, 09:16:59 AM »
Is there a way to do non blocking calls without using the TRTCResult?
I have a lot of functions and all of those components make the form a bit messy.
When I do blocking calls I use something like this:
with Form1.RtcClientModule1 do
begin
Prepare('function1');
Param.asstring['PARAM1']:='Test';
execute;
//Do something with lastresult
end;
I would like to use something similar, but then in non blocking mode.
I was thinking about creating the TRTCResults on runtime, but is there a easier way?
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Non blocking
«
Reply #1 on:
March 20, 2014, 12:51:14 PM »
The reason for the TRtcResult component requirement, is to have an event attached to the call which will receive the result. If you are only using a single event, then you only need a single TRtcResult component. But there is no way to have non-blocking calls with the TRtcClientModule without using at least one TRtcResult component.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...