================== idAsyncServer::GetIncomingRate ================== */
| 406 | ================== |
| 407 | */ |
| 408 | int idAsyncServer::GetIncomingRate( void ) const { |
| 409 | int i, rate; |
| 410 | |
| 411 | rate = 0; |
| 412 | for ( i = 0; i < MAX_ASYNC_CLIENTS; i++ ) { |
| 413 | const serverClient_t &client = clients[i]; |
| 414 | |
| 415 | if ( client.clientState >= SCS_CONNECTED ) { |
| 416 | rate += client.channel.GetIncomingRate(); |
| 417 | } |
| 418 | } |
| 419 | return rate; |
| 420 | } |
| 421 | |
| 422 | /* |
| 423 | ================== |
no outgoing calls
no test coverage detected