RTC Forums
April 29, 2024, 05:07:37 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: ConnectionCount  (Read 3285 times)
sunstone
RTC License++
*****
Posts: 16


« on: February 19, 2011, 01:52:54 AM »

Thanks very much.
After your explanation in detail, I can understand your design thinking more clearly.

1) Could you explain the difference of "rtcServerConnectionCount,rtcClientConnectionCount,
,TotalClientConnectionCount,TotalConnectionCount" ?

2) rtcClientConnectionCount=TRtcHttpServer1.TotalClientConnectionCount  + TRtcHttpServer2.TotalClientConnectionCount +...+ TRtcHttpServerX.TotalClientConnectionCount ?
If the server program has only one TRtcHttpServer,rtcClientConnectionCount=TotalClientConnectionCount ?
rtcServerConnectionCount is same too?

3)rtcTotalConnectionCount=rtcServerConnectionCount + rtcClientConnectionCount ?
TotalServerConnectionCount=TotalClientConnectionCount + TotalServerConnectionCount?

Best regards
SUNSTONE
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: February 19, 2011, 08:49:06 AM »

* function rtcServerConnectionCount:longint;
- Returns the total number of active connections open to our Server connection components. This is the number of active incoming Connections to all RTC Server components in our application.

* function rtcClientConnectionCount:longint
- Returns the total number of active connections open by using any Client connection component. Please note that an open client connection does not necessarily mean a working connection, but it does mean a connection resource which is actively in use.

* function rtcTotalConnectionCount:longint;
- Total number of ALL active incomming and outgoing connections to and from RTC components. This is the same as rtcServerConnectionCount + rtcClientConnectionCount.

Properties available on the TRtcConnection component descendants are calling the above listed global procedures to give you access to the same information:
- TotalClientConnectionCount = rtcClientConnectionCount
- TotalServerConnectionCount = rtcServerConnectionCount
- TotalConnectionCount = rtcTotalConnectionCount

Best Regards,
Danijel Tkalcec
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.022 seconds with 16 queries.