RTC Forums
November 24, 2024, 06:40:49 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
>
Call a function in a QuickJob
Pages: [
1
]
« previous
next »
Print
Author
Topic: Call a function in a QuickJob (Read 4277 times)
ISIGest
RTC Expired
Posts: 121
Call a function in a QuickJob
«
on:
April 27, 2015, 12:54:33 PM »
Can I call a functon in a quickjob execute event?
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Call a function in a QuickJob
«
Reply #1 on:
April 27, 2015, 01:47:59 PM »
You can do anything you want in a TRtcQuickJob OnExecute event, as long as your code is thread-safe, because these events will be executed from background threads. If the TRtcQuickJob component is used on the Server and you need to call a remote function on that same Server, you can do it by using the
CallFunction
or the
ExecuteData
method on the
TRtcFunctionGoup
component. The same methods are used by the TRtcServerModule component to execute remote functions received from Clients, as well as from the RTC Scripting Engine when calling remote functions from within RTC Scripts.
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...