armybuilder/src/main/java/net/mekstrike/armybuilder/ArmyBuilderService.java
/**
   * Server mode: waits for shutdown trigger.
   *
   * @throws InterruptedException Propagated interrupted exception.
   */
Server mode: waits for shutdown trigger.
@throws InterruptedException Propagated interrupted exception.
Server mode : waits for shutdown trigger . @throws InterruptedException Propagated interrupted exception .
public void awaitTermination() throws InterruptedException {
    if (this.server != null) {
      this.server.awaitTermination();
    }
  }
public void awaitTermination ( ) throws InterruptedException { if ( this . server != null ) { this . server . awaitTermination ( ) ; } }
Server mode: waits for shutdown trigger.
Server mode : waits for shutdown trigger .