Class MessageBody
java.lang.Object
org.apache.flink.queryablestate.network.messages.MessageBody
- Direct Known Subclasses:
KvStateRequest,KvStateResponse
The base class for every message exchanged during the communication between
client and server.
Every such message should also have a MessageDeserializer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract byte[]Serializes the message into a byte array.
-
Constructor Details
-
MessageBody
public MessageBody()
-
-
Method Details
-
serialize
public abstract byte[] serialize()Serializes the message into a byte array.- Returns:
- A byte array with the serialized content of the message.
-