|
Sun Adapter for Websphere MQ API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.stc.connector.webspheremqadapter.message.Message.MsgBody
public class Message.MsgBody
Facade for the data (buffer) portion of a Message.
| Constructor Summary | |
|---|---|
Message.MsgBody(IMessage m)
Create a MsgBody object. |
|
| Method Summary | |
|---|---|
byte[] |
getByteArrayData()
Synonym for getByteArrayData(). |
byte[] |
getData()
Retrieve the content of the MsgBody. |
void |
readByteArrayData()
Synonym for readData(). |
void |
readData()
Retained for compatibility. |
void |
setByteArrayData(byte[] val)
Synonym for setData(byte[]). |
void |
setData(byte[] val)
Set content of MsgBody to the specified data. |
void |
writeByteArrayData()
Synonym for writeData(). |
void |
writeData()
Retained for compatibility. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message.MsgBody(IMessage m)
m - Owner of this object.| Method Detail |
|---|
public void setData(byte[] val)
throws java.io.IOException
setData in interface IMessage.MsgBodyval - Data to copy to the MsgBody.
java.io.IOException
public byte[] getData()
throws java.io.EOFException,
java.io.IOException
getData in interface IMessage.MsgBodysetData(byte[]) or #setDataRef.
java.io.EOFException
java.io.IOException
public void setByteArrayData(byte[] val)
throws java.io.IOException
setData(byte[]).
setByteArrayData in interface IMessage.MsgBodyval - Data to copy to the MsgBody.
java.io.IOException - Thrown when an error occurs.
public byte[] getByteArrayData()
throws java.io.EOFException,
java.io.IOException
getByteArrayData().
getByteArrayData in interface IMessage.MsgBodybyte[] - Returns MsgBody data previously set by IMessage.MsgBody.setByteArrayData(byte[])
java.io.EOFException - Thrown when an error occurs.
java.io.IOException - Thrown when an error occurs.public void readByteArrayData()
readData().
readByteArrayData in interface IMessage.MsgBodypublic void writeByteArrayData()
writeData().
writeByteArrayData in interface IMessage.MsgBodypublic void readData()
getData(), in order that the data
be copied from the Message buffer, to this MsgBody's buffer.
getData() now performs this synchronization.
readData in interface IMessage.MsgBodypublic void writeData()
setData(byte[]), in order that the data
copied to this MsgBody's buffer be copied to the Message's buffer.
setData(byte[]) now performs this synchronization.
writeData in interface IMessage.MsgBody
|
Sun Adapter for Websphere MQ API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||