Beispiel #1
0
  public void run() {
    VMMessage aMsg = null;
    while (!done) {
      try {
        aMsg = msgQueue.take();
        PrintMsg.print(DMsgType.MSG, "message type = " + aMsg.toString());

        processMessage(aMsg);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }
  }