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, unwrap
public boolean isBodyAssignableTo(java.lang.Class c) throws JMSException
isBodyAssignableTo
in class DelegateMessage
JMSException
public <T> T getBody(java.lang.Class<T> c) throws JMSException
getBody
in class DelegateMessage
JMSException
public long getBodyLength() throws JMSException
JMSException
public boolean readBoolean() throws JMSException
JMSException
public byte readByte() throws JMSException
JMSException
public int readUnsignedByte() throws JMSException
JMSException
public short readShort() throws JMSException
JMSException
public int readUnsignedShort() throws JMSException
JMSException
public char readChar() throws JMSException
JMSException
public int readInt() throws JMSException
JMSException
public long readLong() throws JMSException
JMSException
public float readFloat() throws JMSException
JMSException
public double readDouble() throws JMSException
JMSException
public java.lang.String readUTF() throws JMSException
JMSException
public int readBytes(byte[] value) throws JMSException
JMSException
public int readBytes(byte[] value, int length) throws JMSException
JMSException
public void writeBoolean(boolean value) throws JMSException
JMSException
public void writeByte(byte value) throws JMSException
JMSException
public void writeShort(short value) throws JMSException
JMSException
public void writeChar(char value) throws JMSException
JMSException
public void writeInt(int value) throws JMSException
JMSException
public void writeLong(long value) throws JMSException
JMSException
public void writeFloat(float value) throws JMSException
JMSException
public void writeDouble(double value) throws JMSException
JMSException
public void writeUTF(java.lang.String value) throws JMSException
JMSException
public void writeBytes(byte[] value) throws JMSException
JMSException
public void writeBytes(byte[] value, int offset, int length) throws JMSException
JMSException
public void writeObject(java.lang.Object value) throws JMSException
JMSException
public void reset() throws JMSException
JMSException