Package com.webmethods.jms.marshal
Class ReadOnlyStreamMessage
- java.lang.Object
-
- com.webmethods.jms.marshal.ReadOnlyMessage
-
- com.webmethods.jms.marshal.ReadOnlyStreamMessage
-
- All Implemented Interfaces:
javax.jms.Message
,javax.jms.StreamMessage
public class ReadOnlyStreamMessage extends ReadOnlyMessage implements javax.jms.StreamMessage
-
-
Field Summary
-
Fields inherited from class com.webmethods.jms.marshal.ReadOnlyMessage
_message
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyStreamMessage(javax.jms.StreamMessage msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
readBoolean()
byte
readByte()
int
readBytes(byte[] bytes)
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 b)
void
writeByte(byte b)
void
writeBytes(byte[] bytes)
void
writeBytes(byte[] bytes, int i, int i1)
void
writeChar(char c)
void
writeDouble(double v)
void
writeFloat(float v)
void
writeInt(int i)
void
writeLong(long l)
void
writeObject(java.lang.Object o)
void
writeShort(short i)
void
writeString(java.lang.String s)
-
Methods inherited from class com.webmethods.jms.marshal.ReadOnlyMessage
acknowledge, clearBody, clearProperties, createReadOnlyMessage, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, readOnlyException, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jms.Message
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
-
-
-
-
Method Detail
-
readBoolean
public boolean readBoolean() throws javax.jms.JMSException
- Specified by:
readBoolean
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readByte
public byte readByte() throws javax.jms.JMSException
- Specified by:
readByte
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readShort
public short readShort() throws javax.jms.JMSException
- Specified by:
readShort
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readChar
public char readChar() throws javax.jms.JMSException
- Specified by:
readChar
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readInt
public int readInt() throws javax.jms.JMSException
- Specified by:
readInt
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readLong
public long readLong() throws javax.jms.JMSException
- Specified by:
readLong
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readFloat
public float readFloat() throws javax.jms.JMSException
- Specified by:
readFloat
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readDouble
public double readDouble() throws javax.jms.JMSException
- Specified by:
readDouble
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readString
public java.lang.String readString() throws javax.jms.JMSException
- Specified by:
readString
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readBytes
public int readBytes(byte[] bytes) throws javax.jms.JMSException
- Specified by:
readBytes
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
readObject
public java.lang.Object readObject() throws javax.jms.JMSException
- Specified by:
readObject
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeBoolean
public void writeBoolean(boolean b) throws javax.jms.JMSException
- Specified by:
writeBoolean
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeByte
public void writeByte(byte b) throws javax.jms.JMSException
- Specified by:
writeByte
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeShort
public void writeShort(short i) throws javax.jms.JMSException
- Specified by:
writeShort
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeChar
public void writeChar(char c) throws javax.jms.JMSException
- Specified by:
writeChar
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeInt
public void writeInt(int i) throws javax.jms.JMSException
- Specified by:
writeInt
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeLong
public void writeLong(long l) throws javax.jms.JMSException
- Specified by:
writeLong
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeFloat
public void writeFloat(float v) throws javax.jms.JMSException
- Specified by:
writeFloat
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeDouble
public void writeDouble(double v) throws javax.jms.JMSException
- Specified by:
writeDouble
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeString
public void writeString(java.lang.String s) throws javax.jms.JMSException
- Specified by:
writeString
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] bytes) throws javax.jms.JMSException
- Specified by:
writeBytes
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] bytes, int i, int i1) throws javax.jms.JMSException
- Specified by:
writeBytes
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
writeObject
public void writeObject(java.lang.Object o) throws javax.jms.JMSException
- Specified by:
writeObject
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
reset
public void reset() throws javax.jms.JMSException
- Specified by:
reset
in interfacejavax.jms.StreamMessage
- Throws:
javax.jms.JMSException
-
-