public class RpcResponseMessage extends AbstractMessage
Constructor and Description |
---|
RpcResponseMessage() |
RpcResponseMessage(long msgId,
java.lang.Object result) |
RpcResponseMessage(long msgId,
java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError() |
long |
getMessageId() |
java.lang.Object |
getResult() |
java.lang.Throwable |
getThrowable() |
static boolean |
isSerializable(java.lang.Throwable error) |
java.lang.String |
toString() |
isReliable, setReliable
public RpcResponseMessage()
public RpcResponseMessage(long msgId, java.lang.Object result)
public RpcResponseMessage(long msgId, java.lang.Throwable t)
public static boolean isSerializable(java.lang.Throwable error)
public long getMessageId()
public java.lang.Object getResult()
public java.lang.String getError()
public java.lang.Throwable getThrowable()
public java.lang.String toString()
toString
in class java.lang.Object