public static Message makeWriteResponseMessage(Message original, WriteResponse writeResponseMessage) throws IOException
{
FastByteArrayOutputStream bos = new FastByteArrayOutputStream();
DataOutputStream dos = new DataOutputStream( bos );
WriteResponse.serializer().serialize(writeResponseMessage, dos, original.getVersion());
return original.getReply(FBUtilities.getBroadcastAddress(), bos.toByteArray(), original.getVersion());
}
private final String table_;
private final ByteBuffer key_;
private final boolean status_;