@Override public void readFrom(StreamInput stream) throws IOException { message = stream.readStreamableOrNull(QueueMessage::new); }
@Override public void readFrom(StreamInput stream) throws IOException { member = stream.readStreamable(DiscoveryNode::new); }
@Override public void readFrom(StreamInput stream) throws IOException { uuid = stream.readUUIDOrNull(); type = stream.readEnumOrNull(QueueMessageType.class); buffer = stream.readByteBufOrNull(); }
@Override public void readFrom(StreamInput stream) throws IOException { transactionUUID = stream.readUUID(); queue = stream.readText(); }