868788899091929394
public short readShort() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readShort(); }
9596979899100101102103
public int readUnsignedShort() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readUnsignedShort(); }
104105106107108109110111112
public char readChar() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readChar(); }
113114115116117118119120121
public int readInt() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readInt(); }
122123124125126127128129130
public long readLong() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readLong(); }
131132133134135136137138139
public float readFloat() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readFloat(); }
140141142143144145146147148
public double readDouble() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readDouble(); }
149150151152153154155156157
public String readUTF() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readUTF(); }
158159160161162163164165166
public int readBytes(byte[] value) throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readBytes(value); }
167168169170171172173174175
public int readBytes(byte[] value, int length) throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("The message body is writeonly"); } return ((BytesMessage)message).readBytes(value, length); }