Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.jms
Interface BytesMessage  view BytesMessage download BytesMessage.java

All Superinterfaces:
Message

public interface BytesMessage
extends Message

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Field Summary
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
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 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 JMSException

readBoolean

public boolean readBoolean()
                    throws JMSException

readByte

public byte readByte()
              throws JMSException

readUnsignedByte

public int readUnsignedByte()
                     throws JMSException

readShort

public short readShort()
                throws JMSException

readUnsignedShort

public int readUnsignedShort()
                      throws JMSException

readChar

public char readChar()
              throws JMSException

readInt

public int readInt()
            throws JMSException

readLong

public long readLong()
              throws JMSException

readFloat

public float readFloat()
                throws JMSException

readDouble

public double readDouble()
                  throws JMSException

readUTF

public java.lang.String readUTF()
                         throws JMSException

readBytes

public int readBytes(byte[] value)
              throws JMSException

readBytes

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

writeBoolean

public void writeBoolean(boolean value)
                  throws JMSException

writeByte

public void writeByte(byte value)
               throws JMSException

writeShort

public void writeShort(short value)
                throws JMSException

writeChar

public void writeChar(char value)
               throws JMSException

writeInt

public void writeInt(int value)
              throws JMSException

writeLong

public void writeLong(long value)
               throws JMSException

writeFloat

public void writeFloat(float value)
                throws JMSException

writeDouble

public void writeDouble(double value)
                 throws JMSException

writeUTF

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

writeBytes

public void writeBytes(byte[] value)
                throws JMSException

writeBytes

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

writeObject

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

reset

public void reset()
           throws JMSException