Package com.swiftmq.tools.requestreply
Class ReplyRequest
- java.lang.Object
-
- com.swiftmq.tools.requestreply.Request
-
- com.swiftmq.tools.requestreply.ReplyRequest
-
- All Implemented Interfaces:
Dumpable
,java.io.Serializable
public abstract class ReplyRequest extends Request
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description ReplyRequest(int dispatchId, boolean replyRequired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
boolean
isOk()
void
readContent(java.io.DataInput in)
Read the content of this object from the stream.void
setException(java.lang.Exception exception)
void
setOk(boolean ok)
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.Request
accept, createReply, createReplyInstance, getConnectionId, getCorrelationId, getDispatchId, getDumpId, getValidator, isCancelledByValidator, isDoRetry, isReplyRequired, isWasRetry, setCancelledByValidator, setConnectionId, setCorrelationId, setDispatchId, setDoRetry, setReplyRequired, setValidator
-
-
-
-
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 classRequest
- 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 classRequest
- Parameters:
in
- input stream- Throws:
java.io.IOException
- if an error occurs
-
isOk
public boolean isOk()
-
setOk
public void setOk(boolean ok)
-
getException
public java.lang.Exception getException()
-
setException
public void setException(java.lang.Exception exception)
-
-