public class QpidRABytesMessage extends QpidRAMessage implements javax.jms.BytesMessage
_message, _session
Constructor and Description |
---|
QpidRABytesMessage(javax.jms.BytesMessage message,
QpidRASessionImpl session)
Create a new wrapper
|
Modifier and Type | Method and Description |
---|---|
long |
getBodyLength()
Get body length
|
boolean |
readBoolean()
Read
|
byte |
readByte()
Read
|
int |
readBytes(byte[] value)
Read
|
int |
readBytes(byte[] value,
int length)
Read
|
char |
readChar()
Read
|
double |
readDouble()
Read
|
float |
readFloat()
Read
|
int |
readInt()
Read
|
long |
readLong()
Read
|
short |
readShort()
Read
|
int |
readUnsignedByte()
Read
|
int |
readUnsignedShort()
Read
|
String |
readUTF()
Read
|
void |
reset()
Reset
|
void |
writeBoolean(boolean value)
Write
|
void |
writeByte(byte value)
Write
|
void |
writeBytes(byte[] value)
Write
|
void |
writeBytes(byte[] value,
int offset,
int length)
Write
|
void |
writeChar(char value)
Write
|
void |
writeDouble(double value)
Write
|
void |
writeFloat(float value)
Write
|
void |
writeInt(int value)
Write
|
void |
writeLong(long value)
Write
|
void |
writeObject(Object value)
Write
|
void |
writeShort(short value)
Write
|
void |
writeUTF(String value)
Write
|
acknowledge, clearBody, clearProperties, equals, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
public QpidRABytesMessage(javax.jms.BytesMessage message, QpidRASessionImpl session)
message
- the messagesession
- the sessionpublic long getBodyLength() throws javax.jms.JMSException
getBodyLength
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic boolean readBoolean() throws javax.jms.JMSException
readBoolean
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic byte readByte() throws javax.jms.JMSException
readByte
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readBytes(byte[] value, int length) throws javax.jms.JMSException
readBytes
in interface javax.jms.BytesMessage
value
- The valuelength
- The lengthjavax.jms.JMSException
- Thrown if an error occurspublic int readBytes(byte[] value) throws javax.jms.JMSException
readBytes
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic char readChar() throws javax.jms.JMSException
readChar
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic double readDouble() throws javax.jms.JMSException
readDouble
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic float readFloat() throws javax.jms.JMSException
readFloat
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readInt() throws javax.jms.JMSException
readInt
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic long readLong() throws javax.jms.JMSException
readLong
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic short readShort() throws javax.jms.JMSException
readShort
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readUnsignedByte() throws javax.jms.JMSException
readUnsignedByte
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readUnsignedShort() throws javax.jms.JMSException
readUnsignedShort
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic String readUTF() throws javax.jms.JMSException
readUTF
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic void reset() throws javax.jms.JMSException
reset
in interface javax.jms.BytesMessage
javax.jms.JMSException
- Thrown if an error occurspublic void writeBoolean(boolean value) throws javax.jms.JMSException
writeBoolean
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeByte(byte value) throws javax.jms.JMSException
writeByte
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeBytes(byte[] value, int offset, int length) throws javax.jms.JMSException
writeBytes
in interface javax.jms.BytesMessage
value
- The valueoffset
- The offsetlength
- The lengthjavax.jms.JMSException
- Thrown if an error occurspublic void writeBytes(byte[] value) throws javax.jms.JMSException
writeBytes
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeChar(char value) throws javax.jms.JMSException
writeChar
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeDouble(double value) throws javax.jms.JMSException
writeDouble
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeFloat(float value) throws javax.jms.JMSException
writeFloat
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeInt(int value) throws javax.jms.JMSException
writeInt
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeLong(long value) throws javax.jms.JMSException
writeLong
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeObject(Object value) throws javax.jms.JMSException
writeObject
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeShort(short value) throws javax.jms.JMSException
writeShort
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeUTF(String value) throws javax.jms.JMSException
writeUTF
in interface javax.jms.BytesMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occursCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.