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

JmsBytesMessage

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

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

param
message the message
param
session the session

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

      return ((BytesMessage) message).getBodyLength();
   
public booleanreadBoolean()

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

      return ((BytesMessage) message).readByte();
   
public intreadBytes(byte[] value, int length)

      return ((BytesMessage) message).readBytes(value, length);
   
public intreadBytes(byte[] value)

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

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

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

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

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

      return ((BytesMessage) message).readLong();
   
public shortreadShort()

      return ((BytesMessage) message).readShort();
   
public java.lang.StringreadUTF()

      return ((BytesMessage) message).readUTF();
   
public intreadUnsignedByte()

      return ((BytesMessage) message).readUnsignedByte();
   
public intreadUnsignedShort()

      return ((BytesMessage) message).readUnsignedShort();
   
public voidreset()

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

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

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

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

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

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

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

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

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

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

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

      ((BytesMessage) message).writeShort(value);
   
public voidwriteUTF(java.lang.String value)

      ((BytesMessage) message).writeUTF(value);