public class QpidRAStreamMessage extends QpidRAMessage implements javax.jms.StreamMessage
_message, _session
Constructor and Description |
---|
QpidRAStreamMessage(javax.jms.StreamMessage message,
QpidRASessionImpl session)
Create a new wrapper
|
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean()
Read
|
byte |
readByte()
Read
|
int |
readBytes(byte[] value)
Read
|
char |
readChar()
Read
|
double |
readDouble()
Read
|
float |
readFloat()
Read
|
int |
readInt()
Read
|
long |
readLong()
Read
|
Object |
readObject()
Read
|
short |
readShort()
Read
|
String |
readString()
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 |
writeString(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 QpidRAStreamMessage(javax.jms.StreamMessage message, QpidRASessionImpl session)
message
- the messagesession
- the sessionpublic boolean readBoolean() throws javax.jms.JMSException
readBoolean
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic byte readByte() throws javax.jms.JMSException
readByte
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readBytes(byte[] value) throws javax.jms.JMSException
readBytes
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic char readChar() throws javax.jms.JMSException
readChar
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic double readDouble() throws javax.jms.JMSException
readDouble
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic float readFloat() throws javax.jms.JMSException
readFloat
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic int readInt() throws javax.jms.JMSException
readInt
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic long readLong() throws javax.jms.JMSException
readLong
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic Object readObject() throws javax.jms.JMSException
readObject
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic short readShort() throws javax.jms.JMSException
readShort
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic String readString() throws javax.jms.JMSException
readString
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic void reset() throws javax.jms.JMSException
reset
in interface javax.jms.StreamMessage
javax.jms.JMSException
- Thrown if an error occurspublic void writeBoolean(boolean value) throws javax.jms.JMSException
writeBoolean
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeByte(byte value) throws javax.jms.JMSException
writeByte
in interface javax.jms.StreamMessage
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.StreamMessage
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.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeChar(char value) throws javax.jms.JMSException
writeChar
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeDouble(double value) throws javax.jms.JMSException
writeDouble
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeFloat(float value) throws javax.jms.JMSException
writeFloat
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeInt(int value) throws javax.jms.JMSException
writeInt
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeLong(long value) throws javax.jms.JMSException
writeLong
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeObject(Object value) throws javax.jms.JMSException
writeObject
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeShort(short value) throws javax.jms.JMSException
writeShort
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occurspublic void writeString(String value) throws javax.jms.JMSException
writeString
in interface javax.jms.StreamMessage
value
- The valuejavax.jms.JMSException
- Thrown if an error occursCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.