RTC Forums

Subscription => Support => Topic started by: HelgeLange on December 16, 2015, 04:46:31 PM



Title: Server Function implemented
Post by: HelgeLange on December 16, 2015, 04:46:31 PM
Is there a way to check if a certain named function is implemented in the server code ?

Thanks,
Helge


Title: Re: Server Function implemented
Post by: D.Tkalcec (RTC) on December 17, 2015, 08:43:39 AM
Yes. By using the FunctionExists method on the TRtcFunctionGroup component connected to the TRtcServerModule on the Server.

Best Regards,
Danijel Tkalcec


Title: Re: Server Function implemented
Post by: HelgeLange on December 17, 2015, 01:32:26 PM
Means on the client side I can't check for certain functions. Sad.
But maybe I could write a server functions that does general checking for functions.

But also could you write a similar function in the TRtcClientModule ? That will reduce the need to have something already implemented that receive a FunctionExists request, because right now I need it in order to not to force the client to update the server software. If I write the server function they need to update it. Could be a nice feature

Thanks, Helge


Title: Re: Server Function implemented
Post by: D.Tkalcec (RTC) on December 18, 2015, 09:53:09 AM
Without communication between the Client and the Server, there is no way for the Client to get information which is normally only avialable on the Server. But if you want information on the Client which is available on the Server, you can always write a remote functions or use a plain HTTP request to get it.

Best Regards,
Danijel Tkalcec