// from node, it first creates the class then fills the class what comes from wire. Currently
// it can not handle more than one type response.
writer.writeInt("e", eventType.getType());
writer.writeUTF("u", uuid);
writer.writeInt("n", numberOfAffectedEntries);
final ObjectDataOutput out = writer.getRawDataOutput();
IOUtil.writeNullableData(out, key);
IOUtil.writeNullableData(out, value);
IOUtil.writeNullableData(out, oldValue);
}