public class WrappingByteMessage extends DelegateMessage
| Constructor and Description |
|---|
WrappingByteMessage(BytesMessage message) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getBody(java.lang.Class<T> c) |
long |
getBodyLength() |
boolean |
isBodyAssignableTo(java.lang.Class c) |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
int |
readBytes(byte[] value,
int length) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
java.lang.String |
readUTF() |
void |
reset() |
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeBytes(byte[] value) |
void |
writeBytes(byte[] value,
int offset,
int length) |
void |
writeChar(char value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeObject(java.lang.Object value) |
void |
writeShort(short value) |
void |
writeUTF(java.lang.String value) |
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, unwrappublic boolean isBodyAssignableTo(java.lang.Class c)
throws JMSException
isBodyAssignableTo in class DelegateMessageJMSExceptionpublic <T> T getBody(java.lang.Class<T> c)
throws JMSException
getBody in class DelegateMessageJMSExceptionpublic long getBodyLength()
throws JMSException
JMSExceptionpublic boolean readBoolean()
throws JMSException
JMSExceptionpublic byte readByte()
throws JMSException
JMSExceptionpublic int readUnsignedByte()
throws JMSException
JMSExceptionpublic short readShort()
throws JMSException
JMSExceptionpublic int readUnsignedShort()
throws JMSException
JMSExceptionpublic char readChar()
throws JMSException
JMSExceptionpublic int readInt()
throws JMSException
JMSExceptionpublic long readLong()
throws JMSException
JMSExceptionpublic float readFloat()
throws JMSException
JMSExceptionpublic double readDouble()
throws JMSException
JMSExceptionpublic java.lang.String readUTF()
throws JMSException
JMSExceptionpublic int readBytes(byte[] value)
throws JMSException
JMSExceptionpublic int readBytes(byte[] value,
int length)
throws JMSException
JMSExceptionpublic void writeBoolean(boolean value)
throws JMSException
JMSExceptionpublic void writeByte(byte value)
throws JMSException
JMSExceptionpublic void writeShort(short value)
throws JMSException
JMSExceptionpublic void writeChar(char value)
throws JMSException
JMSExceptionpublic void writeInt(int value)
throws JMSException
JMSExceptionpublic void writeLong(long value)
throws JMSException
JMSExceptionpublic void writeFloat(float value)
throws JMSException
JMSExceptionpublic void writeDouble(double value)
throws JMSException
JMSExceptionpublic void writeUTF(java.lang.String value)
throws JMSException
JMSExceptionpublic void writeBytes(byte[] value)
throws JMSException
JMSExceptionpublic void writeBytes(byte[] value,
int offset,
int length)
throws JMSException
JMSExceptionpublic void writeObject(java.lang.Object value)
throws JMSException
JMSExceptionpublic void reset()
throws JMSException
JMSException