jms4spread
Class StreamMessage

java.lang.Object
  |
  +--jms4spread.Message
        |
        +--jms4spread.StreamMessage
All Implemented Interfaces:
java.io.Serializable

public class StreamMessage
extends Message
implements java.io.Serializable

See Also:
Serialized Form

Fields inherited from class jms4spread.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Method Summary
 void clearBody()
          Clears the body of the message.
 boolean readBoolean()
           
 byte readByte()
           
 int readBytes(byte[] value)
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 long readLong()
           
 java.lang.Object readObject()
           
 short readShort()
           
 java.lang.String readString()
           
 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 writeString(java.lang.String value)
           
 
Methods inherited from class jms4spread.Message
clearProperties, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageType, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getMessageID, JMSTimeStamp, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageType, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimeStamp, setMessageID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clearBody

public void clearBody()
               throws JMSException
Description copied from class: Message
Clears the body of the message. Method is and must be overridden by subclasses
Overrides:
clearBody in class Message

reset

public void reset()
           throws JMSException

readBoolean

public boolean readBoolean()
                    throws JMSException

readByte

public byte readByte()
              throws JMSException

readShort

public short readShort()
                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

readString

public java.lang.String readString()
                            throws JMSException

readBytes

public int readBytes(byte[] value)
              throws JMSException

readObject

public java.lang.Object readObject()
                            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

writeString

public void writeString(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