Пример #1
0
  /** Starts servers for connection with aion client and login server. */
  private void startServers() {
    NioServer nioServer = injector.getInstance(NioServer.class);
    LoginServer loginServer = injector.getInstance(LoginServer.class);

    // Nio must go first
    nioServer.connect();
    loginServer.connect();
  }