| |
|
| java.lang.Object org.mockejb.jms.MessageImpl org.mockejb.jms.StreamMessageImpl
StreamMessageImpl | public class StreamMessageImpl extends MessageImpl implements StreamMessage(Code) | | StreamMessage implementation.
author: Dimitar Gospodinov |
Constructor Summary | |
public | StreamMessageImpl() Creates empty StreamMessageImpl . | public | StreamMessageImpl(StreamMessage msg) Creates new StreamMessageImpl initialized with
header, properties and body from msg .
The state of msg is not changed. |
StreamMessageImpl | public StreamMessageImpl()(Code) | | Creates empty StreamMessageImpl .
|
StreamMessageImpl | public StreamMessageImpl(StreamMessage msg) throws JMSException(Code) | | Creates new StreamMessageImpl initialized with
header, properties and body from msg .
The state of msg is not changed.
Parameters: msg - message to copy from throws: JMSException - |
clearBody | public void clearBody() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.clearBody |
getStreamData | Object[] getStreamData()(Code) | | Returns array containing all elements from the stream, in
the order they were added.
|
readBoolean | public boolean readBoolean() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readBoolean |
readByte | public byte readByte() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readByte |
readBytes | public int readBytes(byte[] bytes) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readBytes(byte[]) |
readChar | public char readChar() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readChar |
readDouble | public double readDouble() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readDouble |
readFloat | public float readFloat() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readFloat |
readInt | public int readInt() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readInt |
readLong | public long readLong() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readLong |
readObject | public Object readObject() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readObject |
readShort | public short readShort() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readShort |
readString | public String readString() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.readString |
reset | public void reset() throws JMSException(Code) | | See Also: javax.jms.StreamMessage.reset |
resetBody | void resetBody() throws JMSException(Code) | | Sets message body in read-only mode.
throws: JMSException - |
writeBoolean | public void writeBoolean(boolean value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeBoolean(boolean) |
writeByte | public void writeByte(byte value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeByte(byte) |
writeBytes | public void writeBytes(byte[] bytes) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeBytes(byte[]) |
writeBytes | public void writeBytes(byte[] bytes, int offset, int length) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeBytes(byte[]intint) |
writeChar | public void writeChar(char value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeChar(char) |
writeDouble | public void writeDouble(double value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeDouble(double) |
writeFloat | public void writeFloat(float value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeFloat(float) |
writeInt | public void writeInt(int value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeInt(int) |
writeLong | public void writeLong(long value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeLong(long) |
writeObject | public void writeObject(Object value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeObject(java.lang.Object) |
writeShort | public void writeShort(short value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeShort(short) |
writeString | public void writeString(String value) throws JMSException(Code) | | See Also: javax.jms.StreamMessage.writeString(java.lang.String) |
|
|
|