Interface Message
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultMessage
Class encapsulating a Redis message body and its properties.
- Author:
- Costin Leau, Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBody()
Returns the body (or the payload) of the message.byte[]
Returns the channel associated with the message.
-
Method Details
-
getBody
byte[] getBody()Returns the body (or the payload) of the message.- Returns:
- message body. Never null.
-
getChannel
byte[] getChannel()Returns the channel associated with the message.- Returns:
- message channel. Never null.
-