Example usage for Java javax.jms StreamMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
int | readBytes(byte[] value) Reads a byte array field from the stream message into the specified byte[] object (the read buffer). |
Object | readObject() Reads an object from the stream message. |
void | reset() Puts the message body in read-only mode and repositions the stream to the beginning. |
void | writeBytes(byte[] value, int offset, int length) Writes a portion of a byte array as a byte array field to the stream message. |
void | writeBytes(byte[] value) Writes a byte array field to the stream message. |
void | writeDouble(double value) Writes a double to the stream message. |
void | writeInt(int value) Writes an int to the stream message. |
void | writeObject(Object value) Writes an object to the stream message. |
void | writeString(String value) Writes a String to the stream message. |