public class StreamMessageImpl extends MessageImpl implements javax.jms.StreamMessage
StreamMessage
implementation.Constructor and Description |
---|
StreamMessageImpl()
Creates empty
StreamMessageImpl . |
StreamMessageImpl(javax.jms.StreamMessage msg)
Creates new
StreamMessageImpl initialized with
header, properties and body from msg . |
Modifier and Type | Method and Description |
---|---|
void |
clearBody() |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] bytes) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
java.lang.Object |
readObject() |
short |
readShort() |
java.lang.String |
readString() |
void |
reset() |
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeBytes(byte[] bytes) |
void |
writeBytes(byte[] bytes,
int offset,
int length) |
void |
writeChar(char value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeObject(java.lang.Object value) |
void |
writeShort(short value) |
void |
writeString(java.lang.String value) |
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setPropertiesNotWriteable, setShortProperty, setStringProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
public StreamMessageImpl()
StreamMessageImpl
.public StreamMessageImpl(javax.jms.StreamMessage msg) throws javax.jms.JMSException
StreamMessageImpl
initialized with
header, properties and body from msg
.
The state of msg
is not changed.msg
- message to copy fromjavax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class MessageImpl
javax.jms.JMSException
Message.clearBody()
public boolean readBoolean() throws javax.jms.JMSException
readBoolean
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readBoolean()
public byte readByte() throws javax.jms.JMSException
readByte
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readByte()
public short readShort() throws javax.jms.JMSException
readShort
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readShort()
public char readChar() throws javax.jms.JMSException
readChar
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readChar()
public int readInt() throws javax.jms.JMSException
readInt
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readInt()
public long readLong() throws javax.jms.JMSException
readLong
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readLong()
public float readFloat() throws javax.jms.JMSException
readFloat
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readFloat()
public double readDouble() throws javax.jms.JMSException
readDouble
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readDouble()
public java.lang.String readString() throws javax.jms.JMSException
readString
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readString()
public int readBytes(byte[] bytes) throws javax.jms.JMSException
readBytes
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readBytes(byte[])
public java.lang.Object readObject() throws javax.jms.JMSException
readObject
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.readObject()
public void writeBoolean(boolean value) throws javax.jms.JMSException
writeBoolean
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeBoolean(boolean)
public void writeByte(byte value) throws javax.jms.JMSException
writeByte
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeByte(byte)
public void writeShort(short value) throws javax.jms.JMSException
writeShort
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeShort(short)
public void writeChar(char value) throws javax.jms.JMSException
writeChar
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeChar(char)
public void writeInt(int value) throws javax.jms.JMSException
writeInt
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeInt(int)
public void writeLong(long value) throws javax.jms.JMSException
writeLong
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeLong(long)
public void writeFloat(float value) throws javax.jms.JMSException
writeFloat
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeFloat(float)
public void writeDouble(double value) throws javax.jms.JMSException
writeDouble
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeDouble(double)
public void writeString(java.lang.String value) throws javax.jms.JMSException
writeString
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeString(java.lang.String)
public void writeBytes(byte[] bytes) throws javax.jms.JMSException
writeBytes
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeBytes(byte[])
public void writeBytes(byte[] bytes, int offset, int length) throws javax.jms.JMSException
writeBytes
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeBytes(byte[], int, int)
public void writeObject(java.lang.Object value) throws javax.jms.JMSException
writeObject
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.writeObject(java.lang.Object)
public void reset() throws javax.jms.JMSException
reset
in interface javax.jms.StreamMessage
javax.jms.JMSException
StreamMessage.reset()