RTC Forums
November 24, 2024, 05:36:18 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
>
function executed in thread
Pages: [
1
]
« previous
next »
Print
Author
Topic: function executed in thread (Read 5326 times)
mteirek
RTC Expired
Posts: 9
function executed in thread
«
on:
June 19, 2015, 05:58:50 PM »
i use rtc-server-multithreaded=true
i think in mutithreaded server -> server send 1 thread by connection.
i plan to build some functions to be executed in the rtc-server-thread.
where i can put those functions ??
Logged
mteirek
RTC Expired
Posts: 9
Re: function executed in thread
«
Reply #1 on:
June 19, 2015, 07:57:44 PM »
maybe if i put all those functions in one class. Then i create and destroy this class in
TRtcdataprovider.onDataReceived Event.
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: function executed in thread
«
Reply #2 on:
June 21, 2015, 05:02:57 PM »
Where are those remote functions implemented? Are they implemented in the Server which needs to call these functions (so they could also be called locally), or are these functions on a different Server (so they need to be called remotely)?
Best Regards,
Danijel Tkalcec
Logged
mteirek
RTC Expired
Posts: 9
Re: function executed in thread
«
Reply #3 on:
June 21, 2015, 07:30:27 PM »
those functions are implemented in the server and called locally and executed locally in the server.
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: function executed in thread
«
Reply #4 on:
June 21, 2015, 08:44:50 PM »
You can execute functions locally on the Server by using the
CallFunction
or
ExecuteData
method on the
TRtcFunctionGroup
component.
Best Regards,
Danijel Tkalcec
Logged
mteirek
RTC Expired
Posts: 9
Re: function executed in thread
«
Reply #5 on:
June 22, 2015, 03:07:00 PM »
thanks for your help.
i will try it
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...