org.jboss.jms.message
Class BytesMessageProxy

java.lang.Object
  extended by org.jboss.jms.message.MessageProxy
      extended by org.jboss.jms.message.BytesMessageProxy
All Implemented Interfaces:
java.io.Serializable

public class BytesMessageProxy
extends MessageProxy

Thin proxy for a JBossBytesMessage

Author:
Tim Fox BytesMessageProxy.java,v 1.1 2006/03/08 08:00:34 timfox Exp
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jms.message.MessageProxy
bodyReadOnly, log, message
 
Constructor Summary
BytesMessageProxy(JBossBytesMessage message)
           
BytesMessageProxy(long deliveryId, JBossBytesMessage message, int deliveryCount)
           
 
Method Summary
 long getBodyLength()
           
 boolean readBoolean()
           
 byte readByte()
           
 int readBytes(byte[] value)
           
 int readBytes(byte[] value, int length)
           
 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 value)
           
 void writeByte(byte value)
           
 void writeBytes(byte[] value)
           
 void writeBytes(byte[] value, int offset, int length)
           
 void writeChar(char value)
           
 void writeDouble(double value)
           
 void writeFloat(float value)
           
 void writeInt(int value)
           
 void writeLong(long value)
           
 void writeObject(java.lang.Object value)
           
 void writeShort(short value)
           
 void writeUTF(java.lang.String value)
           
 
Methods inherited from class org.jboss.jms.message.MessageProxy
acknowledge, beforeSend, bodyChange, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDeliveryCount, getDeliveryId, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getMessage, getObjectProperty, getPropertyNames, getSessionDelegate, getShortProperty, getStringProperty, headerChange, incDeliveryCount, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setSessionDelegate, setShortProperty, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BytesMessageProxy

public BytesMessageProxy(long deliveryId,
                         JBossBytesMessage message,
                         int deliveryCount)

BytesMessageProxy

public BytesMessageProxy(JBossBytesMessage message)
Method Detail

getBodyLength

public long getBodyLength()
                   throws JMSException
Throws:
JMSException

readBoolean

public boolean readBoolean()
                    throws JMSException
Throws:
JMSException

readByte

public byte readByte()
              throws JMSException
Throws:
JMSException

readUnsignedByte

public int readUnsignedByte()
                     throws JMSException
Throws:
JMSException

readShort

public short readShort()
                throws JMSException
Throws:
JMSException

readUnsignedShort

public int readUnsignedShort()
                      throws JMSException
Throws:
JMSException

readChar

public char readChar()
              throws JMSException
Throws:
JMSException

readInt

public int readInt()
            throws JMSException
Throws:
JMSException

readLong

public long readLong()
              throws JMSException
Throws:
JMSException

readFloat

public float readFloat()
                throws JMSException
Throws:
JMSException

readDouble

public double readDouble()
                  throws JMSException
Throws:
JMSException

readUTF

public java.lang.String readUTF()
                         throws JMSException
Throws:
JMSException

readBytes

public int readBytes(byte[] value)
              throws JMSException
Throws:
JMSException

readBytes

public int readBytes(byte[] value,
                     int length)
              throws JMSException
Throws:
JMSException

writeBoolean

public void writeBoolean(boolean value)
                  throws JMSException
Throws:
JMSException

writeByte

public void writeByte(byte value)
               throws JMSException
Throws:
JMSException

writeShort

public void writeShort(short value)
                throws JMSException
Throws:
JMSException

writeChar

public void writeChar(char value)
               throws JMSException
Throws:
JMSException

writeInt

public void writeInt(int value)
              throws JMSException
Throws:
JMSException

writeLong

public void writeLong(long value)
               throws JMSException
Throws:
JMSException

writeFloat

public void writeFloat(float value)
                throws JMSException
Throws:
JMSException

writeDouble

public void writeDouble(double value)
                 throws JMSException
Throws:
JMSException

writeUTF

public void writeUTF(java.lang.String value)
              throws JMSException
Throws:
JMSException

writeBytes

public void writeBytes(byte[] value)
                throws JMSException
Throws:
JMSException

writeBytes

public void writeBytes(byte[] value,
                       int offset,
                       int length)
                throws JMSException
Throws:
JMSException

writeObject

public void writeObject(java.lang.Object value)
                 throws JMSException
Throws:
JMSException

reset

public void reset()
           throws JMSException
Throws:
JMSException


Copyright © 2006 JBoss Inc. All Rights Reserved.