Interface Message

All Superinterfaces:
Serializable

public interface Message extends Serializable
A message sent as a request or response. A message must have a timestamp and callID, which are immutable.
  • Field Details

    • DEFAULT_RESPONSE_WINDOW_SIZE

      static final int DEFAULT_RESPONSE_WINDOW_SIZE
      See Also:
  • Method Details

    • getPriority

      default Message.Priority getPriority()
    • getCallID

      String getCallID()
      Returns:
      the call ID of this message
    • getMessageTimestamp

      long getMessageTimestamp()
      Returns:
      the message timestamp
    • getResponseWindowSize

      default int getResponseWindowSize()
      Returns:
      the response window size, indicating the amount of responses the sender should send before receiving acknowledgement. Requires protocol version V4.