================== idAsyncServer::PacifierUpdate ================== */
| 2527 | ================== |
| 2528 | */ |
| 2529 | void idAsyncServer::PacifierUpdate( void ) { |
| 2530 | int i; |
| 2531 | |
| 2532 | if ( !IsActive() ) { |
| 2533 | return; |
| 2534 | } |
| 2535 | realTime = Sys_Milliseconds(); |
| 2536 | ProcessConnectionLessMessages(); |
| 2537 | for ( i = 0; i < MAX_ASYNC_CLIENTS; i++ ) { |
| 2538 | if ( clients[i].clientState >= SCS_PUREWAIT ) { |
| 2539 | if ( clients[i].channel.UnsentFragmentsLeft() ) { |
| 2540 | clients[i].channel.SendNextFragment( serverPort, serverTime ); |
| 2541 | } else { |
| 2542 | SendEmptyToClient( i ); |
| 2543 | } |
| 2544 | } |
| 2545 | } |
| 2546 | } |
| 2547 | |
| 2548 | /* |
| 2549 | ================== |
nothing calls this directly
no test coverage detected