Title: function executed in thread Post by: mteirek 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 ?? Title: Re: function executed in thread Post by: mteirek 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. Title: Re: function executed in thread Post by: D.Tkalcec (RTC) 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 Title: Re: function executed in thread Post by: mteirek on June 21, 2015, 07:30:27 PM those functions are implemented in the server and called locally and executed locally in the server.
Title: Re: function executed in thread Post by: D.Tkalcec (RTC) 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 Title: Re: function executed in thread Post by: mteirek on June 22, 2015, 03:07:00 PM thanks for your help.
i will try it |