Class FileChunkRequest
java.lang.Object
com.swiftmq.filetransfer.protocol.MessageBasedRequest
com.swiftmq.filetransfer.protocol.v940.FileChunkRequest
- All Implemented Interfaces:
MessageBased
-
Field Summary
FieldsFields inherited from class com.swiftmq.filetransfer.protocol.MessageBasedRequest
REPLYREQ_PROP
-
Constructor Summary
ConstructorsConstructorDescriptionFileChunkRequest
(boolean replyRequired, int chunkNo, boolean last, byte[] chunk, int len) FileChunkRequest
(javax.jms.Message message) -
Method Summary
Methods inherited from class com.swiftmq.filetransfer.protocol.MessageBasedRequest
fillMessage, getMessage, isReplyRequired, setMessage, setReplyRequired
-
Field Details
-
CHUNKNO_PROP
- See Also:
-
LENGTH_PROP
- See Also:
-
LAST_PROP
- See Also:
-
-
Constructor Details
-
FileChunkRequest
public FileChunkRequest(javax.jms.Message message) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-
FileChunkRequest
public FileChunkRequest(boolean replyRequired, int chunkNo, boolean last, byte[] chunk, int len)
-
-
Method Details
-
getChunkNo
public int getChunkNo() -
getChunk
public byte[] getChunk() -
getLen
public int getLen() -
isLast
public boolean isLast() -
createReplyInstance
- Specified by:
createReplyInstance
in classMessageBasedRequest
-
accept
- Specified by:
accept
in classMessageBasedRequest
-
toMessage
public javax.jms.Message toMessage() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
toString
- Overrides:
toString
in classMessageBasedRequest
-