class ConsoleListener {

  public void discardMessages(int mask) {
    synchronized (this) {
      m_lastMessagesReceived &= ~mask;
      m_messagesReceived &= ~mask;
    }
  }

  public  ConsoleListener(Condition notifyOnMessage, Logger logger);

}