public class WrappingStreamMessage extends DelegateMessage
Constructor and Description |
---|
WrappingStreamMessage(StreamMessage message) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getBody(java.lang.Class<T> c) |
boolean |
isBodyAssignableTo(java.lang.Class c) |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
java.lang.Object |
readObject() |
short |
readShort() |
java.lang.String |
readString() |
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 |
writeString(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 <T> T getBody(java.lang.Class<T> c) throws JMSException
getBody
in class DelegateMessage
JMSException
public boolean isBodyAssignableTo(java.lang.Class c) throws JMSException
isBodyAssignableTo
in class DelegateMessage
JMSException
public boolean readBoolean() throws JMSException
JMSException
public byte readByte() throws JMSException
JMSException
public short readShort() 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 readString() throws JMSException
JMSException
public int readBytes(byte[] value) throws JMSException
JMSException
public java.lang.Object readObject() 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 writeString(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