code: public static void main(String[] args) throws InterruptedException {
          Channel mainChannel = new NamedChannel("main");
          EchoUntilQuit app = new EchoUntilQuit(mainChannel);
          app.attach(new InputStreamMonitor(mainChannel, System.in));
          Components.start(app);
          Components.awaitExhaustion();
      }
docs: The main method.
  
  @param args the arguments
  @throws InterruptedException the interrupted exception