T
- Type of the message bodypublic class GenericRpcMessage<T> extends java.lang.Object implements RpcMessage<T>
RpcMessage
implementation.Constructor and Description |
---|
GenericRpcMessage(T body)
Constructs a
GenericRpcMessage with a given body. |
public GenericRpcMessage(T body)
GenericRpcMessage
with a given body.body
- The bodypublic T getBody()
RpcMessage
getBody
in interface RpcMessage<T>