Package com.swiftmq.tools.requestreply
Class ReplyRequest
java.lang.Object
com.swiftmq.tools.requestreply.Request
com.swiftmq.tools.requestreply.ReplyRequest
- All Implemented Interfaces:
Dumpable
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.swiftmq.tools.requestreply.Request
_sem, NO_TIMEOUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isOk()
void
readContent
(DataInput in) Read the content of this object from the stream.void
setException
(Exception exception) void
setOk
(boolean ok) toString()
void
writeContent
(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
-
Constructor Details
-
ReplyRequest
public ReplyRequest(int dispatchId, boolean replyRequired)
-
-
Method Details
-
writeContent
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Overrides:
writeContent
in classRequest
- 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 classRequest
- Parameters:
in
- input stream- Throws:
IOException
- if an error occurs
-
isOk
public boolean isOk() -
setOk
public void setOk(boolean ok) -
getException
-
setException
-
toString
-