code: public static void main(String[] args) throws TimeoutException, InterruptedException {
      //#thriftserverapi
      Hello.FutureIface impl = new HelloImpl();
      ListeningServer server = Thrift.server().serveIface("localhost:8080", impl);
      Await.ready(server);
      //#thriftserverapi
    }
docs: Runs the example with given {@code args}.
  
  @param args the argument list