Class MessageBasedReply
- java.lang.Object
-
- com.swiftmq.filetransfer.protocol.MessageBasedReply
-
- All Implemented Interfaces:
MessageBased
- Direct Known Subclasses:
FileChunkReply
,FileChunkReply
,FileConsumeReply
,FileConsumeReply
,FileDeleteReply
,FileDeleteReply
,FilePublishReply
,FilePublishReply
,FileQueryPropsReply
,FileQueryReply
,FileQueryReply
,ProtocolReply
public abstract class MessageBasedReply extends java.lang.Object implements MessageBased
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXCEPTION_PROP
static java.lang.String
OK_PROP
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageBasedReply()
protected
MessageBasedReply(javax.jms.Message message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jms.Message
fillMessage(javax.jms.Message message)
java.lang.String
getException()
boolean
isOk()
void
setException(java.lang.String exception)
void
setOk(boolean ok)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.swiftmq.filetransfer.protocol.MessageBased
toMessage
-
-
-
-
Field Detail
-
OK_PROP
public static final java.lang.String OK_PROP
- See Also:
- Constant Field Values
-
EXCEPTION_PROP
public static final java.lang.String EXCEPTION_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOk
public boolean isOk()
-
setOk
public void setOk(boolean ok)
-
getException
public java.lang.String getException()
-
setException
public void setException(java.lang.String exception)
-
fillMessage
public javax.jms.Message fillMessage(javax.jms.Message message) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-