@Override public DocumentReply createReply() { return new RemoveDocumentReply(); }
@Override protected DocumentReply doDecode(DocumentDeserializer buf) { RemoveDocumentReply reply = new RemoveDocumentReply(); byte flag = buf.getByte(null); reply.setWasFound(flag != 0); reply.setHighestModificationTimestamp(buf.getLong(null)); return reply; }