cgl.narada.jms
Class JmsBytesMessage
java.lang.Object
cgl.narada.jms.JmsMessage
cgl.narada.jms.JmsBytesMessage
- All Implemented Interfaces:
- BytesMessage, Message
public class JmsBytesMessage
- extends JmsMessage
- implements BytesMessage
This class implements the BytesMessage specified in the JMS specification.
| Methods inherited from class cgl.narada.jms.JmsMessage |
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBodyAndPropertyAsReadOnly, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, testReadBody, testWriteBody, testWriteProperties, toString, unmarshallJmsMessage |
| Methods inherited from interface javax.jms.Message |
acknowledge, 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 |
JmsBytesMessage
public JmsBytesMessage(byte[] _messageBytes)
JmsBytesMessage
public JmsBytesMessage()
reset
public void reset()
throws JMSException
- Specified by:
reset in interface BytesMessage
- Throws:
JMSException
readBoolean
public boolean readBoolean()
throws JMSException
- Specified by:
readBoolean in interface BytesMessage
- Throws:
JMSException
writeBoolean
public void writeBoolean(boolean value)
throws JMSException
- Specified by:
writeBoolean in interface BytesMessage
- Throws:
JMSException
readByte
public byte readByte()
throws JMSException
- Specified by:
readByte in interface BytesMessage
- Throws:
JMSException
writeByte
public void writeByte(byte value)
throws JMSException
- Specified by:
writeByte in interface BytesMessage
- Throws:
JMSException
readBytes
public int readBytes(byte[] value)
throws JMSException
- Specified by:
readBytes in interface BytesMessage
- Throws:
JMSException
writeBytes
public void writeBytes(byte[] value)
throws JMSException
- Specified by:
writeBytes in interface BytesMessage
- Throws:
JMSException
readBytes
public int readBytes(byte[] value,
int length)
throws JMSException
- Specified by:
readBytes in interface BytesMessage
- Throws:
JMSException
writeBytes
public void writeBytes(byte[] value,
int offset,
int length)
throws JMSException
- Specified by:
writeBytes in interface BytesMessage
- Throws:
JMSException
readChar
public char readChar()
throws JMSException
- Specified by:
readChar in interface BytesMessage
- Throws:
JMSException
writeChar
public void writeChar(char value)
throws JMSException
- Specified by:
writeChar in interface BytesMessage
- Throws:
JMSException
readDouble
public double readDouble()
throws JMSException
- Specified by:
readDouble in interface BytesMessage
- Throws:
JMSException
writeDouble
public void writeDouble(double value)
throws JMSException
- Specified by:
writeDouble in interface BytesMessage
- Throws:
JMSException
readFloat
public float readFloat()
throws JMSException
- Specified by:
readFloat in interface BytesMessage
- Throws:
JMSException
writeFloat
public void writeFloat(float value)
throws JMSException
- Specified by:
writeFloat in interface BytesMessage
- Throws:
JMSException
readInt
public int readInt()
throws JMSException
- Specified by:
readInt in interface BytesMessage
- Throws:
JMSException
writeInt
public void writeInt(int value)
throws JMSException
- Specified by:
writeInt in interface BytesMessage
- Throws:
JMSException
readLong
public long readLong()
throws JMSException
- Specified by:
readLong in interface BytesMessage
- Throws:
JMSException
writeLong
public void writeLong(long value)
throws JMSException
- Specified by:
writeLong in interface BytesMessage
- Throws:
JMSException
readShort
public short readShort()
throws JMSException
- Specified by:
readShort in interface BytesMessage
- Throws:
JMSException
writeShort
public void writeShort(short value)
throws JMSException
- Specified by:
writeShort in interface BytesMessage
- Throws:
JMSException
readUnsignedByte
public int readUnsignedByte()
throws JMSException
- Specified by:
readUnsignedByte in interface BytesMessage
- Throws:
JMSException
readUnsignedShort
public int readUnsignedShort()
throws JMSException
- Specified by:
readUnsignedShort in interface BytesMessage
- Throws:
JMSException
readUTF
public String readUTF()
throws JMSException
- Specified by:
readUTF in interface BytesMessage
- Throws:
JMSException
writeUTF
public void writeUTF(String value)
throws JMSException
- Specified by:
writeUTF in interface BytesMessage
- Throws:
JMSException
writeObject
public void writeObject(Object value)
throws JMSException
- Specified by:
writeObject in interface BytesMessage
- Throws:
JMSException
getBytes
public byte[] getBytes()
- Overrides:
getBytes in class JmsMessage
clearBody
public void clearBody()
throws JMSException
- Specified by:
clearBody in interface Message- Overrides:
clearBody in class JmsMessage
- Throws:
JMSException
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project