MCPcopy Create free account
hub / github.com/catabriga/graphwar / run

Method run

src/GlobalServer/GlobalServer.java:424–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 3

waitConnectionMethod · 0.95
checkRoomsMethod · 0.95
restartServerMethod · 0.95

Tested by

no test coverage detected