@Override
  public void processPacket(String packet) {
    SegmentReader reader = new SegmentReader(packet);
    int index = reader.readInt();
    if (myLastPacketIndex + 1 < index) {
      LOG.error("last: " + myLastPacketIndex + " current: " + index);
    }
    if (myLastPacketIndex + 1 > index) return;
    myLastPacketIndex++;
    char id = reader.readChar();
    if (id == AntLoggerConstants.INPUT_REQUEST) {
      try {
        InputRequestHandler.processInput(getProject(), reader, getProcessHandler());
      }
      catch (IOException e) {
        MessagesEx.error(getProject(), e.getMessage()).showLater();
      }
    }
    else {
      int priority = fixPriority(reader.readInt());
      char contentType = reader.readChar();
      String message = reader.readLimitedString();
      if (id == AntLoggerConstants.BUILD_END) {
        if (contentType == AntLoggerConstants.EXCEPTION_CONTENT) {
          processTag(AntLoggerConstants.EXCEPTION, message, priority);
        }
      }
      else {
        processTag(id, message, priority);
      }
    }
  }
@Override
  public void processPacket(String packet)