Interface Message

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultMessage

public interface Message extends Serializable
Class encapsulating a Redis message body and its properties.
Author:
Costin Leau, Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    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.