Package com.gigaspaces.lrmi.nio
Class ReplyPacket<T>
java.lang.Object
com.gigaspaces.lrmi.nio.ReplyPacket<T>
- All Implemented Interfaces:
IPacket
A Reply Packet is constructed by the NIO server and sent back to the client peer.
- Since:
- 4.0
- Author:
- Igor Goldenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidsetException(Exception exception) toString()void
-
Constructor Details
-
ReplyPacket
public ReplyPacket() -
ReplyPacket
-
-
Method Details
-
getResult
- Returns:
- the result
-
setException
- Parameters:
exception- the exception to set
-
getException
- Returns:
- the exception
-
clear
public void clear() -
readExternal
- Specified by:
readExternalin interfaceIPacket- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceIPacket- Throws:
IOException
-
toString
-