Package com.swiftmq.tools.requestreply
Class GenericReply
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Reply
-
- com.swiftmq.tools.requestreply.GenericReply
-
- All Implemented Interfaces:
Dumpable
,java.io.Serializable
public class GenericReply extends Reply
- Version:
- 1.0
- Author:
- Andreas Mueller, IIT GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenericReply()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializable
getResult()
void
readContent(java.io.DataInput in)
Read the content of this object from the stream.void
setResult(java.io.Serializable result)
java.lang.String
toString()
void
writeContent(java.io.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
-
-
-
-
Method Detail
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOException
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classReply
- Parameters:
out
- output stream- Throws:
java.io.IOException
- if an error occurs
-
readContent
public void readContent(java.io.DataInput in) throws java.io.IOException
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Overrides:
readContent
in classReply
- Parameters:
in
- input stream- Throws:
java.io.IOException
- if an error occurs
-
getResult
public java.io.Serializable getResult()
- Returns:
-
setResult
public void setResult(java.io.Serializable result)
- Parameters:
result
-
-
-