11.2. Interface Definition

package javax.jms;
public interface BytesMessage extends Message {
   boolean readBoolean() throws JMSException;
   byte readByte() throws JMSException;
   int readBytes(byte[] value) throws JMSException;
   int readBytes(byte[] value, int length) throws JMSException;
   char readChar() throws JMSException;
   double readDouble() throws JMSException;
   float readFloat() throws JMSException;
   int readInt() throws JMSException;
   long readLong() throws JMSException;
   short readShort() throws JMSException;
   int readUnsignedByte() throws JMSException;
   int readUnsignedShort() throws JMSException;
   String readUTF() throws JMSException;
   void reset() throws JMSException;
   void writeBoolean(boolean value) throws JMSException;
   void writeByte(byte value) ...

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.