================== idAsyncServer::GetClientIncomingRate ================== */
| 509 | ================== |
| 510 | */ |
| 511 | int idAsyncServer::GetClientIncomingRate( int clientNum ) const { |
| 512 | const serverClient_t &client = clients[clientNum]; |
| 513 | |
| 514 | if ( client.clientState < SCS_CONNECTED ) { |
| 515 | return -1; |
| 516 | } else { |
| 517 | return client.channel.GetIncomingRate(); |
| 518 | } |
| 519 | } |
| 520 | |
| 521 | /* |
| 522 | ================== |
no test coverage detected