class ConsoleListener {

  public void waitForMessage() {
    while (!checkForMessage(ConsoleListener.ANY)) {
      synchronized (m_notifyOnMessage) {
        m_notifyOnMessage.waitNoInterrruptException();
      }
    }
  }

  public  ConsoleListener(Condition notifyOnMessage, Logger logger);

}