FileDocCategorySizeDatePackage
JmsStreamMessage.javaAPI DocJBoss 4.2.14450Fri Jul 13 21:01:16 BST 2007org.jboss.resource.adapter.jms

JmsStreamMessage

public class JmsStreamMessage extends JmsMessage implements javax.jms.StreamMessage
A wrapper for a message
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
Constructors Summary
public JmsStreamMessage(javax.jms.StreamMessage message, JmsSession session)
Create a new wrapper

param
message the message
param
session the session

      super(message, session);
   
Methods Summary
public booleanreadBoolean()

      return ((StreamMessage) message).readBoolean();
   
public bytereadByte()

      return ((StreamMessage) message).readByte();
   
public intreadBytes(byte[] value)

      return ((StreamMessage) message).readBytes(value);
   
public charreadChar()

      return ((StreamMessage) message).readChar();
   
public doublereadDouble()

      return ((StreamMessage) message).readDouble();
   
public floatreadFloat()

      return ((StreamMessage) message).readFloat();
   
public intreadInt()

      return ((StreamMessage) message).readInt();
   
public longreadLong()

      return ((StreamMessage) message).readLong();
   
public java.lang.ObjectreadObject()

      return ((StreamMessage) message).readObject();
   
public shortreadShort()

      return ((StreamMessage) message).readShort();
   
public java.lang.StringreadString()

      return ((StreamMessage) message).readString();
   
public voidreset()

      ((StreamMessage) message).reset();
   
public voidwriteBoolean(boolean value)

      ((StreamMessage) message).writeBoolean(value);
   
public voidwriteByte(byte value)

      ((StreamMessage) message).writeByte(value);
   
public voidwriteBytes(byte[] value, int offset, int length)

      ((StreamMessage) message).writeBytes(value, offset, length);
   
public voidwriteBytes(byte[] value)

      ((StreamMessage) message).writeBytes(value);
   
public voidwriteChar(char value)

      ((StreamMessage) message).writeChar(value);
   
public voidwriteDouble(double value)

      ((StreamMessage) message).writeDouble(value);
   
public voidwriteFloat(float value)

      ((StreamMessage) message).writeFloat(value);
   
public voidwriteInt(int value)

      ((StreamMessage) message).writeInt(value);
   
public voidwriteLong(long value)

      ((StreamMessage) message).writeLong(value);
   
public voidwriteObject(java.lang.Object value)

      ((StreamMessage) message).writeObject(value);
   
public voidwriteShort(short value)

      ((StreamMessage) message).writeShort(value);
   
public voidwriteString(java.lang.String value)

      ((StreamMessage) message).writeString(value);