Package com.webmethods.jms.marshal
Class ReadOnlyBytesMessage
- java.lang.Object
-
- com.webmethods.jms.marshal.ReadOnlyMessage
-
- com.webmethods.jms.marshal.ReadOnlyBytesMessage
-
- All Implemented Interfaces:
javax.jms.BytesMessage
,javax.jms.Message
public class ReadOnlyBytesMessage extends ReadOnlyMessage implements javax.jms.BytesMessage
-
-
Field Summary
-
Fields inherited from class com.webmethods.jms.marshal.ReadOnlyMessage
_message
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyBytesMessage(javax.jms.BytesMessage msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBodyLength()
boolean
readBoolean()
byte
readByte()
int
readBytes(byte[] bytes)
int
readBytes(byte[] bytes, int i)
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 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
writeUTF(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
-
getBodyLength
public long getBodyLength() throws javax.jms.JMSException
- Specified by:
getBodyLength
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readBoolean
public boolean readBoolean() throws javax.jms.JMSException
- Specified by:
readBoolean
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readByte
public byte readByte() throws javax.jms.JMSException
- Specified by:
readByte
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readUnsignedByte
public int readUnsignedByte() throws javax.jms.JMSException
- Specified by:
readUnsignedByte
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readShort
public short readShort() throws javax.jms.JMSException
- Specified by:
readShort
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readUnsignedShort
public int readUnsignedShort() throws javax.jms.JMSException
- Specified by:
readUnsignedShort
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readChar
public char readChar() throws javax.jms.JMSException
- Specified by:
readChar
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readInt
public int readInt() throws javax.jms.JMSException
- Specified by:
readInt
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readLong
public long readLong() throws javax.jms.JMSException
- Specified by:
readLong
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readFloat
public float readFloat() throws javax.jms.JMSException
- Specified by:
readFloat
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readDouble
public double readDouble() throws javax.jms.JMSException
- Specified by:
readDouble
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readUTF
public java.lang.String readUTF() throws javax.jms.JMSException
- Specified by:
readUTF
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readBytes
public int readBytes(byte[] bytes) throws javax.jms.JMSException
- Specified by:
readBytes
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
readBytes
public int readBytes(byte[] bytes, int i) throws javax.jms.JMSException
- Specified by:
readBytes
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeBoolean
public void writeBoolean(boolean b) throws javax.jms.JMSException
- Specified by:
writeBoolean
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeByte
public void writeByte(byte b) throws javax.jms.JMSException
- Specified by:
writeByte
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeShort
public void writeShort(short i) throws javax.jms.JMSException
- Specified by:
writeShort
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeChar
public void writeChar(char c) throws javax.jms.JMSException
- Specified by:
writeChar
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeInt
public void writeInt(int i) throws javax.jms.JMSException
- Specified by:
writeInt
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeLong
public void writeLong(long l) throws javax.jms.JMSException
- Specified by:
writeLong
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeFloat
public void writeFloat(float v) throws javax.jms.JMSException
- Specified by:
writeFloat
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeDouble
public void writeDouble(double v) throws javax.jms.JMSException
- Specified by:
writeDouble
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeUTF
public void writeUTF(java.lang.String s) throws javax.jms.JMSException
- Specified by:
writeUTF
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] bytes) throws javax.jms.JMSException
- Specified by:
writeBytes
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeBytes
public void writeBytes(byte[] bytes, int i, int i1) throws javax.jms.JMSException
- Specified by:
writeBytes
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
writeObject
public void writeObject(java.lang.Object o) throws javax.jms.JMSException
- Specified by:
writeObject
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
reset
public void reset() throws javax.jms.JMSException
- Specified by:
reset
in interfacejavax.jms.BytesMessage
- Throws:
javax.jms.JMSException
-
-