Package com.swiftmq.tools.requestreply
Class GenericReply
java.lang.Object
com.swiftmq.tools.requestreply.Reply
com.swiftmq.tools.requestreply.GenericReply
- All Implemented Interfaces:
Dumpable
,Serializable
- Version:
- 1.0
- Author:
- Andreas Mueller, IIT GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readContent
(DataInput in) Read the content of this object from the stream.void
setResult
(Serializable result) toString()
void
writeContent
(DataOutput out) Write the content of this object to the stream.Methods inherited from class com.swiftmq.tools.requestreply.Reply
getDumpId, getException, isOk, isTimeout, send, setException, setOk, setTimeout
-
Constructor Details
-
GenericReply
public GenericReply()
-
-
Method Details
-
writeContent
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classReply
- Parameters:
out
- output stream- Throws:
IOException
- if an error occurs
-
readContent
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Overrides:
readContent
in classReply
- Parameters:
in
- input stream- Throws:
IOException
- if an error occurs
-
getResult
- Returns:
-
setResult
- Parameters:
result
-
-
toString
-