public interface MQData
MQHeader| Modifier and Type | Method and Description |
|---|---|
int |
read(java.io.DataInput message)
Reads content from a message.
|
int |
read(java.io.DataInput message,
int encoding,
int characterSet)
Reads content from a message or byte stream.
|
int |
size() |
int |
write(java.io.DataOutput message)
Writes the content of this data element to a message.
|
int |
write(java.io.DataOutput message,
int encoding,
int characterSet)
Writes the content of this data element to a message or byte stream.
|
int read(java.io.DataInput message)
throws MQDataException,
java.io.IOException
message - the MQMessage to read from.MQDataExceptionjava.io.IOExceptionint read(java.io.DataInput message,
int encoding,
int characterSet)
throws java.lang.Exception,
MQDataException,
java.io.IOException
message - the message.encoding - the numeric encoding. see (CMQC.MQENC_* for values).characterSet - the Coded Character Set Identifier.java.lang.Exception - (to allow the com.ibm.pcf classes to throw MQException)MQDataExceptionjava.io.IOExceptionint write(java.io.DataOutput message)
throws java.io.IOException
message - the message.java.io.IOExceptionint write(java.io.DataOutput message,
int encoding,
int characterSet)
throws java.io.IOException
characterSet - the Coded Character Set Identifier.message - the message.encoding - the numeric encoding. see (CMQC.MQENC_* for values)._java.io.IOExceptionint size()