Interface Message
- All Superinterfaces:
Serializable
A message sent as a request or response.
A message must have a timestamp and callID, which are immutable.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Allow client to set a priority hint on the message. -
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT_RESPONSE_WINDOW_SIZE
static final int DEFAULT_RESPONSE_WINDOW_SIZE- See Also:
-
-
Method Details
-
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.
-