public class ServerJMSBytesMessage extends ServerJMSMessage implements javax.jms.BytesMessage
deliveryCount, message
Constructor and Description |
---|
ServerJMSBytesMessage(MessageInternal message,
int deliveryCount) |
Modifier and Type | Method and Description |
---|---|
void |
decode() |
void |
encode()
Encode the body into the internal message
|
long |
getBodyLength() |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
int |
readBytes(byte[] value,
int length) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeBytes(byte[] value) |
void |
writeBytes(byte[] value,
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(Object value) |
void |
writeShort(short value) |
void |
writeUTF(String value) |
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getInnerMessage, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getReadBodyBuffer, getShortProperty, getStringProperty, getWriteBodyBuffer, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
public ServerJMSBytesMessage(MessageInternal message, int deliveryCount)
public long getBodyLength() throws javax.jms.JMSException
getBodyLength
in interface javax.jms.BytesMessage
javax.jms.JMSException
public boolean readBoolean() throws javax.jms.JMSException
readBoolean
in interface javax.jms.BytesMessage
javax.jms.JMSException
public byte readByte() throws javax.jms.JMSException
readByte
in interface javax.jms.BytesMessage
javax.jms.JMSException
public int readUnsignedByte() throws javax.jms.JMSException
readUnsignedByte
in interface javax.jms.BytesMessage
javax.jms.JMSException
public short readShort() throws javax.jms.JMSException
readShort
in interface javax.jms.BytesMessage
javax.jms.JMSException
public int readUnsignedShort() throws javax.jms.JMSException
readUnsignedShort
in interface javax.jms.BytesMessage
javax.jms.JMSException
public char readChar() throws javax.jms.JMSException
readChar
in interface javax.jms.BytesMessage
javax.jms.JMSException
public int readInt() throws javax.jms.JMSException
readInt
in interface javax.jms.BytesMessage
javax.jms.JMSException
public long readLong() throws javax.jms.JMSException
readLong
in interface javax.jms.BytesMessage
javax.jms.JMSException
public float readFloat() throws javax.jms.JMSException
readFloat
in interface javax.jms.BytesMessage
javax.jms.JMSException
public double readDouble() throws javax.jms.JMSException
readDouble
in interface javax.jms.BytesMessage
javax.jms.JMSException
public String readUTF() throws javax.jms.JMSException
readUTF
in interface javax.jms.BytesMessage
javax.jms.JMSException
public int readBytes(byte[] value) throws javax.jms.JMSException
readBytes
in interface javax.jms.BytesMessage
javax.jms.JMSException
public int readBytes(byte[] value, int length) throws javax.jms.JMSException
readBytes
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeBoolean(boolean value) throws javax.jms.JMSException
writeBoolean
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeByte(byte value) throws javax.jms.JMSException
writeByte
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeShort(short value) throws javax.jms.JMSException
writeShort
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeChar(char value) throws javax.jms.JMSException
writeChar
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeInt(int value) throws javax.jms.JMSException
writeInt
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeLong(long value) throws javax.jms.JMSException
writeLong
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeFloat(float value) throws javax.jms.JMSException
writeFloat
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeDouble(double value) throws javax.jms.JMSException
writeDouble
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeUTF(String value) throws javax.jms.JMSException
writeUTF
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeBytes(byte[] value) throws javax.jms.JMSException
writeBytes
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeBytes(byte[] value, int offset, int length) throws javax.jms.JMSException
writeBytes
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void writeObject(Object value) throws javax.jms.JMSException
writeObject
in interface javax.jms.BytesMessage
javax.jms.JMSException
public void encode() throws Exception
ServerJMSMessage
encode
in class ServerJMSMessage
Exception
public void decode() throws Exception
decode
in class ServerJMSMessage
Exception
public void reset() throws javax.jms.JMSException
reset
in interface javax.jms.BytesMessage
javax.jms.JMSException
Copyright © 2016 The Apache Software Foundation. All rights reserved.