org.objectweb.joram.client.jms

Class BytesMessage

Implemented Interfaces:
javax.jms.BytesMessage, javax.jms.Message

public class BytesMessage
extends Message
implements javax.jms.BytesMessage

Implements the javax.jms.BytesMessage interface.

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.Message

momMsg, sess

Method Summary

void
clearBody()
API method.
long
getBodyLength()
API method.
protected void
prepare()
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
boolean
readBoolean()
API method.
byte
readByte()
API method.
int
readBytes(byte[] value)
API method.
int
readBytes(byte[] value, int length)
API method.
char
readChar()
API method.
double
readDouble()
API method.
float
readFloat()
API method.
int
readInt()
API method.
long
readLong()
API method.
short
readShort()
API method.
String
readUTF()
API method.
int
readUnsignedByte()
API method.
int
readUnsignedShort()
API method.
void
reset()
API method.
void
writeBoolean(boolean value)
API method.
void
writeByte(byte value)
API method.
void
writeBytes(byte[] value)
API method.
void
writeBytes(byte[] value, int offset, int length)
API method.
void
writeChar(char value)
API method.
void
writeDouble(double value)
API method.
void
writeFloat(float value)
API method.
void
writeInt(int value)
API method.
void
writeLong(long value)
API method.
void
writeObject(Object value)
API method.
void
writeShort(short value)
API method.
void
writeUTF(String value)
API method.

Methods inherited from class org.objectweb.joram.client.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, prepare, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty

Method Details

clearBody

public void clearBody()
            throws JMSException
API method.
Overrides:
clearBody in interface Message


getBodyLength

public long getBodyLength()
            throws JMSException
API method.


prepare

protected void prepare()
            throws Exception
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
Overrides:
prepare in interface Message


readBoolean

public boolean readBoolean()
            throws JMSException
API method.


readByte

public byte readByte()
            throws JMSException
API method.


readBytes

public int readBytes(byte[] value)
            throws JMSException
API method.


readBytes

public int readBytes(byte[] value,
                     int length)
            throws JMSException
API method.


readChar

public char readChar()
            throws JMSException
API method.


readDouble

public double readDouble()
            throws JMSException
API method.


readFloat

public float readFloat()
            throws JMSException
API method.


readInt

public int readInt()
            throws JMSException
API method.


readLong

public long readLong()
            throws JMSException
API method.


readShort

public short readShort()
            throws JMSException
API method.


readUTF

public String readUTF()
            throws JMSException
API method.


readUnsignedByte

public int readUnsignedByte()
            throws JMSException
API method.


readUnsignedShort

public int readUnsignedShort()
            throws JMSException
API method.


reset

public void reset()
            throws JMSException
API method.


writeBoolean

public void writeBoolean(boolean value)
            throws JMSException
API method.


writeByte

public void writeByte(byte value)
            throws JMSException
API method.


writeBytes

public void writeBytes(byte[] value)
            throws JMSException
API method.


writeBytes

public void writeBytes(byte[] value,
                       int offset,
                       int length)
            throws JMSException
API method.


writeChar

public void writeChar(char value)
            throws JMSException
API method.


writeDouble

public void writeDouble(double value)
            throws JMSException
API method.


writeFloat

public void writeFloat(float value)
            throws JMSException
API method.


writeInt

public void writeInt(int value)
            throws JMSException
API method.


writeLong

public void writeLong(long value)
            throws JMSException
API method.


writeObject

public void writeObject(Object value)
            throws JMSException
API method.


writeShort

public void writeShort(short value)
            throws JMSException
API method.


writeUTF

public void writeUTF(String value)
            throws JMSException
API method.


Copyright B) 2004 Scalagent - All rights reserved