|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
Method Summary | |
---|---|
void |
appendData(byte[] src)
This will abstract the underlying message data. |
void |
appendData(ByteBuffer src)
This will abstract the underlying message data. |
void |
clearData()
This should clear the body of the message. |
DeliveryProperties |
getDeliveryProperties()
|
Header |
getHeader()
|
MessageProperties |
getMessageProperties()
|
int |
getMessageTransferId()
The provides access to the command Id assigned to the message transfer. |
ByteBuffer |
readData()
* This will abstract the underlying message data. |
void |
readData(byte[] target)
This will abstract the underlying message data. |
void |
setHeader(Header header)
|
Method Detail |
---|
Header getHeader()
void setHeader(Header header)
MessageProperties getMessageProperties()
DeliveryProperties getDeliveryProperties()
void appendData(byte[] src) throws IOException
src
- - the data to append
IOException
void appendData(ByteBuffer src) throws IOException
src
- - the data to append
IOException
void readData(byte[] target) throws IOException
target
- The target byte[] which the data gets copied to
IOException
ByteBuffer readData() throws IOException
IOException
void clearData()
int getMessageTransferId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |