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.SerializablegetResult()voidreadContent(java.io.DataInput in)Read the content of this object from the stream.voidsetResult(java.io.Serializable result)java.lang.StringtoString()voidwriteContent(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.IOExceptionWrite the content of this object to the stream.- Specified by:
writeContentin interfaceDumpable- Overrides:
writeContentin classReply- Parameters:
out- output stream- Throws:
java.io.IOException- if an error occurs
-
readContent
public void readContent(java.io.DataInput in) throws java.io.IOExceptionRead the content of this object from the stream.- Specified by:
readContentin interfaceDumpable- Overrides:
readContentin 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-
-
-