Class FileConsumeReply
java.lang.Object
com.swiftmq.filetransfer.protocol.MessageBasedReply
com.swiftmq.filetransfer.protocol.v940.FileConsumeReply
- All Implemented Interfaces:
MessageBased
-
Field Summary
FieldsFields inherited from class com.swiftmq.filetransfer.protocol.MessageBasedReply
EXCEPTION_PROP, OK_PROP
-
Constructor Summary
ConstructorsConstructorDescriptionFileConsumeReply
(String filename, int chunkLength, long size) FileConsumeReply
(javax.jms.Message message) -
Method Summary
Modifier and TypeMethodDescriptionint
long
getSize()
void
setChunkLength
(int chunkLength) void
setFilename
(String filename) void
setSize
(long size) javax.jms.Message
toString()
Methods inherited from class com.swiftmq.filetransfer.protocol.MessageBasedReply
fillMessage, getException, isOk, setException, setOk
-
Field Details
-
FILENAME_PROP
- See Also:
-
SIZE_PROP
- See Also:
-
CHUNKLENGTH_PROP
- See Also:
-
-
Constructor Details
-
FileConsumeReply
public FileConsumeReply(javax.jms.Message message) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-
FileConsumeReply
-
FileConsumeReply
public FileConsumeReply()
-
-
Method Details
-
getFilename
-
setFilename
-
getChunkLength
public int getChunkLength() -
setChunkLength
public void setChunkLength(int chunkLength) -
getSize
public long getSize() -
setSize
public void setSize(long size) -
toMessage
public javax.jms.Message toMessage() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
toString
- Overrides:
toString
in classMessageBasedReply
-