|
Sun Adapter for Websphere MQ API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public static interface IMessage.MsgBody
The data (buffer) portion of a IMessage.
| Method Summary | |
|---|---|
byte[] |
getByteArrayData()
Retrieves the content of the MsgBody. |
byte[] |
getData()
Retrieves the content of the MsgBody. |
void |
readByteArrayData()
Synonym for readData(). |
void |
readData()
Retained for compatibility. |
void |
setByteArrayData(byte[] val)
Sets content of MsgBody to the specified data. |
void |
setData(byte[] val)
Sets content of MsgBody to the specified data. |
void |
writeByteArrayData()
Synonym for writeData(). |
void |
writeData()
Retained for compatibility. |
| Method Detail |
|---|
void setData(byte[] val)
throws java.io.IOException
setByteArrayData(byte[]).
val - Data to copy to the MsgBody.
java.io.IOException - Thrown when an error occurs.
void setByteArrayData(byte[] val)
throws java.io.IOException
val - Data to copy to the MsgBody.
java.io.IOException - Thrown when an error occurs.
byte[] getData()
throws java.io.EOFException,
java.io.IOException
getByteArrayData().
byte[] - Returns MsgBody data previously set by setByteArrayData(byte[])
java.io.EOFException - Thrown when an error occurs.
java.io.IOException - Thrown when an error occurs.
byte[] getByteArrayData()
throws java.io.EOFException,
java.io.IOException
byte[] - Returns MsgBody data previously set by setByteArrayData(byte[])
java.io.EOFException - Thrown when an error occurs.
java.io.IOException - Thrown when an error occurs.void readData()
getByteArrayData(), in order that
the data be copied from the Message buffer, to this MsgBody's buffer.
getByteArrayData() now performs this synchronization.
void readByteArrayData()
readData().
void writeData()
setByteArrayData(byte[]), in order that
the data copied to this MsgBody's buffer be copied to the Message's
buffer.
setByteArrayData(byte[]) now performs this synchronization.
void writeByteArrayData()
writeData().
|
Sun Adapter for Websphere MQ API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||