- All Known Subinterfaces:
ExceptionMessage
public interface RpcMessage
An RPC message. It specifies its type and its id. This id can be used
to match a reply message with its corresponding request message.
-
Method Summary
boolean
Yields the id of the message.
Yields the type of this message.
int
-
Method Details
-
getType
Yields the type of this message. This is anything that can help identify the
type of the message.
- Returns:
- the type
-
getId
Yields the id of the message.
- Returns:
- the id
-
-