()
| 422 | } |
| 423 | |
| 424 | public void run() |
| 425 | { |
| 426 | while(true) |
| 427 | { |
| 428 | try |
| 429 | { |
| 430 | System.out.println("Global server started"); |
| 431 | |
| 432 | while(true) |
| 433 | { |
| 434 | try |
| 435 | { |
| 436 | waitConnection(); |
| 437 | } |
| 438 | catch (IOException e) |
| 439 | { |
| 440 | e.printStackTrace(); |
| 441 | } |
| 442 | |
| 443 | checkRooms(); |
| 444 | } |
| 445 | } |
| 446 | catch(Exception e) |
| 447 | { |
| 448 | e.printStackTrace(); |
| 449 | |
| 450 | restartServer(); |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | } |
| 455 | |
| 456 | |
| 457 | public static void handleArgs(String[] args) |
nothing calls this directly
no test coverage detected