| |
|
| java.lang.Object org.mockejb.jms.MessageImpl org.mockejb.jms.BytesMessageImpl
BytesMessageImpl | public class BytesMessageImpl extends MessageImpl implements BytesMessage(Code) | | BytesMessage implementation.
author: Dimitar Gospodinov See Also: javax.jms.BytesMessage |
Constructor Summary | |
public | BytesMessageImpl() | public | BytesMessageImpl(BytesMessage msg) Creates BytesMessage and copies its header, properties and
body from msg
The state of msg is not changed. |
BytesMessageImpl | public BytesMessageImpl() throws JMSException(Code) | | Creates empty BytesMessage
|
BytesMessageImpl | public BytesMessageImpl(BytesMessage msg) throws JMSException(Code) | | Creates BytesMessage and copies its 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.BytesMessage.clearBody |
getBodyLength | public long getBodyLength() throws JMSException(Code) | | Returns body length. Method is part of BytesMessage
interface, version 1.1
body length. |
readBoolean | public boolean readBoolean() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readBoolean |
readByte | public byte readByte() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readByte |
readBytes | public int readBytes(byte[] bytes) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readBytes(byte[]) |
readBytes | public int readBytes(byte[] bytes, int length) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readBytes(byte[]int) |
readChar | public char readChar() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readChar |
readDouble | public double readDouble() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readDouble |
readFloat | public float readFloat() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readFloat |
readInt | public int readInt() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readInt |
readLong | public long readLong() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readLong |
readShort | public short readShort() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readShort |
readUTF | public String readUTF() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readUTF |
readUnsignedByte | public int readUnsignedByte() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readUnsignedByte |
readUnsignedShort | public int readUnsignedShort() throws JMSException(Code) | | See Also: javax.jms.BytesMessage.readUnsignedShort |
reset | public void reset()(Code) | | See Also: javax.jms.BytesMessage.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.BytesMessage.writeBoolean(boolean) |
writeByte | public void writeByte(byte value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeByte(byte) |
writeBytes | public void writeBytes(byte[] bytes) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeBytes(byte[]) |
writeBytes | public void writeBytes(byte[] bytes, int offset, int length) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeBytes(byte[]intint) |
writeChar | public void writeChar(char value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeChar(char) |
writeDouble | public void writeDouble(double value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeDouble(double) |
writeFloat | public void writeFloat(float value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeFloat(float) |
writeInt | public void writeInt(int value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeInt(int) |
writeLong | public void writeLong(long value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeLong(long) |
writeObject | public void writeObject(Object value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeObject(java.lang.Object) |
writeShort | public void writeShort(short value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeShort(short) |
writeUTF | public void writeUTF(String value) throws JMSException(Code) | | See Also: javax.jms.BytesMessage.writeUTF(java.lang.String) |
|
|
|