Constructor and Description |
---|
ReplyPacket() |
ReplyPacket(T result,
Exception exception) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Exception |
getException() |
T |
getResult() |
void |
readExternal(AnnotatedObjectInputStream in) |
void |
setException(Exception exception) |
String |
toString() |
void |
writeExternal(AnnotatedObjectOutputStream out) |
public T getResult()
public void setException(Exception exception)
exception
- the exception to setpublic Exception getException()
public void clear()
public void readExternal(AnnotatedObjectInputStream in) throws IOException, ClassNotFoundException
readExternal
in interface IPacket
IOException
ClassNotFoundException
public void writeExternal(AnnotatedObjectOutputStream out) throws IOException
writeExternal
in interface IPacket
IOException
Copyright © GigaSpaces.