code: public static void main(String[] args) throws Exception {
  
          if (args.length < 1) {
              EsigateServer.usage();
              return;
          }
  
          switch (args[0]) {
          case "start":
              EsigateServer.init();
              EsigateServer.start();
              break;
  
          case "stop":
              EsigateServer.stop();
              break;
  
          default:
              EsigateServer.usage();
              break;
          }
      }
docs: Esigate Server entry point.
  
  @param args
  command line arguments.
  @throws Exception
  when server cannot be started.