RTC Forums
November 24, 2024, 01:12:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink  (Read 5029 times)
cochise
Guest
« on: December 21, 2013, 03:23:19 PM »

Hello , i've been using the OLD RTC SDK version in my Chat messenger using the Functions , that means the Client sends a command via a Function and get a result from the server , and that's working well , but when i get the latest RTC version i see there are 3 new components ( TRtcGateway, TRtcHttpGateClient and TRtcGateClientLink ) , they's re really elastic mainly when i see the demo ( GateChatServer + GateChatClient ) , so my question is :

If i will port my Chat messenger to use these great new components will i still be able to use the functions ?

mainly in registration + Loggin ...etc

yours
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: December 21, 2013, 04:56:23 PM »

No, you won't be able to use RTC remote functions with TRtcGateway and TRtcGateClient components. At least not the way you are used to with TRtcServerModule and TRtcClientModule components. With a TRtcGateClient component, you can send data packages to other Clients connected to the same Gateway, or use commands for managing Client groups (add/remove users from groups), but there is no concept of sending remote function calls to the Gateway.

For user authentication, you can use the "GateUserAuth" property on the TRtcGateClient component, which is sent to the Gateway on user login and available on every event on the TRtcGateway component. Make sure to keep your code inside Gateway events as short as possible, because all Gateway functions will be blocked until your code completes execution.

Best Regards,
Danijel Tkalcec
Logged
cochise
Guest
« Reply #2 on: December 21, 2013, 05:10:32 PM »

Many thanks Danijel  , that means the better for now is to keep using the RTC Functions .
Because the RTC Functions are used to Interchange the Audio ..etc  .

So my question Sir Danijel  , which is best ( As for you at least ) keep using the RTC Functions or porting the whole system to use the TRtcGateClient .
Really when i took a look at these new components i was so inspired .

my system is Chat Messenger ( Text + Audio + Video ) ...etc

really need your advice . 
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: December 21, 2013, 05:28:17 PM »

If your current system works and meets all your requirements, then I see no reason to change it.

Best Regards,
Danijel Tkalcec
Logged
cochise
Guest
« Reply #4 on: December 21, 2013, 05:36:10 PM »

OK So many thanks Sir Danijel .
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 16 queries.