public class AMQPEncodedListMessage extends JMSStreamMessage implements ListMessage, javax.jms.MapMessage
Modifier and Type | Field and Description |
---|---|
static String |
MIME_TYPE |
Constructor and Description |
---|
AMQPEncodedListMessage(AMQMessageDelegateFactory delegateFactory) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object element) |
boolean |
add(Object a) |
List<Object> |
asList() |
void |
clearBody() |
boolean |
contains(Object o) |
Object |
get(int index) |
boolean |
getBoolean(String propName) |
byte |
getByte(String propName) |
byte[] |
getBytes(String propName) |
char |
getChar(String propName) |
ByteBuffer |
getData() |
double |
getDouble(String propName) |
float |
getFloat(String propName) |
int |
getInt(String propName) |
long |
getLong(String propName) |
Enumeration |
getMapNames() |
protected String |
getMimeType() |
Object |
getObject(String propName) |
short |
getShort(String propName) |
String |
getString(String propName) |
int |
indexOf(Object o) |
boolean |
itemExists(String propName) |
Iterator |
iterator() |
protected void |
populateListFromData(ByteBuffer data) |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
char |
readChar()
Note that this method reads a unicode character as two bytes from the stream
|
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
short |
readShort() |
String |
readString() |
Object |
remove(int index) |
boolean |
remove(Object o) |
void |
reset() |
Object |
set(int index,
Object element) |
void |
setBoolean(String propName,
boolean b) |
void |
setByte(String propName,
byte b) |
void |
setBytes(String propName,
byte[] bytes) |
void |
setBytes(String propName,
byte[] bytes,
int offset,
int length) |
void |
setChar(String propName,
char c) |
void |
setDouble(String propName,
double v) |
void |
setFloat(String propName,
float v) |
void |
setInt(String propName,
int i) |
void |
setList(List<Object> l) |
void |
setLong(String propName,
long l) |
void |
setObject(String propName,
Object value) |
void |
setShort(String propName,
short i) |
void |
setString(String propName,
String string1) |
int |
size() |
Object[] |
toArray() |
String |
toBodyString() |
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 |
writeString(String value) |
checkReadable, checkWritable, setReadable
acknowledge, acknowledgeThis, clearProperties, getAMQSession, getBooleanProperty, getByteProperty, getContentType, getDelegate, getDeliveryTag, getDoubleProperty, getEncoding, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getReplyToString, getShortProperty, getStringProperty, prepareForSending, propertyExists, removeProperty, setAMQSession, setBooleanProperty, setByteProperty, setContentType, setDoubleProperty, setEncoding, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReceivedFromServer, setShortProperty, setStringProperty, toHeaderString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 static final String MIME_TYPE
public AMQPEncodedListMessage(AMQMessageDelegateFactory delegateFactory) throws javax.jms.JMSException
javax.jms.JMSException
public String toBodyString() throws javax.jms.JMSException
toBodyString
in class AbstractBytesTypedMessage
javax.jms.JMSException
protected String getMimeType()
getMimeType
in class JMSStreamMessage
public boolean add(Object a) throws javax.jms.JMSException
add
in interface ListMessage
javax.jms.JMSException
public void add(int index, Object element) throws javax.jms.JMSException
add
in interface ListMessage
javax.jms.JMSException
public boolean contains(Object o) throws javax.jms.JMSException
contains
in interface ListMessage
javax.jms.JMSException
public Object get(int index) throws javax.jms.JMSException
get
in interface ListMessage
javax.jms.JMSException
public int indexOf(Object o)
indexOf
in interface ListMessage
public Iterator iterator()
iterator
in interface ListMessage
public Object remove(int index) throws javax.jms.JMSException
remove
in interface ListMessage
javax.jms.JMSException
public boolean remove(Object o) throws javax.jms.JMSException
remove
in interface ListMessage
javax.jms.JMSException
public Object set(int index, Object element) throws javax.jms.JMSException
set
in interface ListMessage
javax.jms.JMSException
public int size()
size
in interface ListMessage
public Object[] toArray()
toArray
in interface ListMessage
public boolean getBoolean(String propName) throws javax.jms.JMSException
getBoolean
in interface javax.jms.MapMessage
javax.jms.JMSException
public byte getByte(String propName) throws javax.jms.JMSException
getByte
in interface javax.jms.MapMessage
javax.jms.JMSException
public short getShort(String propName) throws javax.jms.JMSException
getShort
in interface javax.jms.MapMessage
javax.jms.JMSException
public int getInt(String propName) throws javax.jms.JMSException
getInt
in interface javax.jms.MapMessage
javax.jms.JMSException
public long getLong(String propName) throws javax.jms.JMSException
getLong
in interface javax.jms.MapMessage
javax.jms.JMSException
public char getChar(String propName) throws javax.jms.JMSException
getChar
in interface javax.jms.MapMessage
javax.jms.JMSException
public float getFloat(String propName) throws javax.jms.JMSException
getFloat
in interface javax.jms.MapMessage
javax.jms.JMSException
public double getDouble(String propName) throws javax.jms.JMSException
getDouble
in interface javax.jms.MapMessage
javax.jms.JMSException
public String getString(String propName) throws javax.jms.JMSException
getString
in interface javax.jms.MapMessage
javax.jms.JMSException
public byte[] getBytes(String propName) throws javax.jms.JMSException
getBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public Object getObject(String propName) throws javax.jms.JMSException
getObject
in interface javax.jms.MapMessage
javax.jms.JMSException
public Enumeration getMapNames() throws javax.jms.JMSException
getMapNames
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBoolean(String propName, boolean b) throws javax.jms.JMSException
setBoolean
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setByte(String propName, byte b) throws javax.jms.JMSException
setByte
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setShort(String propName, short i) throws javax.jms.JMSException
setShort
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setChar(String propName, char c) throws javax.jms.JMSException
setChar
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setInt(String propName, int i) throws javax.jms.JMSException
setInt
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setLong(String propName, long l) throws javax.jms.JMSException
setLong
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setFloat(String propName, float v) throws javax.jms.JMSException
setFloat
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setDouble(String propName, double v) throws javax.jms.JMSException
setDouble
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setString(String propName, String string1) throws javax.jms.JMSException
setString
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBytes(String propName, byte[] bytes) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBytes(String propName, byte[] bytes, int offset, int length) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setObject(String propName, Object value) throws javax.jms.JMSException
setObject
in interface javax.jms.MapMessage
javax.jms.JMSException
public boolean itemExists(String propName) throws javax.jms.JMSException
itemExists
in interface javax.jms.MapMessage
javax.jms.JMSException
public boolean readBoolean() throws javax.jms.JMSException
readBoolean
in interface javax.jms.StreamMessage
readBoolean
in class JMSStreamMessage
javax.jms.JMSException
public byte readByte() throws javax.jms.JMSException
readByte
in interface javax.jms.StreamMessage
readByte
in class JMSStreamMessage
javax.jms.JMSException
public int readBytes(byte[] value) throws javax.jms.JMSException
readBytes
in interface javax.jms.StreamMessage
readBytes
in class JMSStreamMessage
javax.jms.JMSException
public char readChar() throws javax.jms.JMSException
JMSStreamMessage
readChar
in interface javax.jms.StreamMessage
readChar
in class JMSStreamMessage
javax.jms.JMSException
public double readDouble() throws javax.jms.JMSException
readDouble
in interface javax.jms.StreamMessage
readDouble
in class JMSStreamMessage
javax.jms.JMSException
public float readFloat() throws javax.jms.JMSException
readFloat
in interface javax.jms.StreamMessage
readFloat
in class JMSStreamMessage
javax.jms.JMSException
public int readInt() throws javax.jms.JMSException
readInt
in interface javax.jms.StreamMessage
readInt
in class JMSStreamMessage
javax.jms.JMSException
public long readLong() throws javax.jms.JMSException
readLong
in interface javax.jms.StreamMessage
readLong
in class JMSStreamMessage
javax.jms.JMSException
public Object readObject() throws javax.jms.JMSException
readObject
in interface javax.jms.StreamMessage
readObject
in class JMSStreamMessage
javax.jms.JMSException
public short readShort() throws javax.jms.JMSException
readShort
in interface javax.jms.StreamMessage
readShort
in class JMSStreamMessage
javax.jms.JMSException
public String readString() throws javax.jms.JMSException
readString
in interface javax.jms.StreamMessage
readString
in class JMSStreamMessage
javax.jms.JMSException
public void writeBoolean(boolean value) throws javax.jms.JMSException
writeBoolean
in interface javax.jms.StreamMessage
writeBoolean
in class JMSStreamMessage
javax.jms.JMSException
public void writeByte(byte value) throws javax.jms.JMSException
writeByte
in interface javax.jms.StreamMessage
writeByte
in class JMSStreamMessage
javax.jms.JMSException
public void writeBytes(byte[] value) throws javax.jms.JMSException
writeBytes
in interface javax.jms.StreamMessage
writeBytes
in class JMSStreamMessage
javax.jms.JMSException
public void writeBytes(byte[] value, int offset, int length) throws javax.jms.JMSException
writeBytes
in interface javax.jms.StreamMessage
writeBytes
in class JMSStreamMessage
javax.jms.JMSException
public void writeChar(char value) throws javax.jms.JMSException
writeChar
in interface javax.jms.StreamMessage
writeChar
in class JMSStreamMessage
javax.jms.JMSException
public void writeDouble(double value) throws javax.jms.JMSException
writeDouble
in interface javax.jms.StreamMessage
writeDouble
in class JMSStreamMessage
javax.jms.JMSException
public void writeFloat(float value) throws javax.jms.JMSException
writeFloat
in interface javax.jms.StreamMessage
writeFloat
in class JMSStreamMessage
javax.jms.JMSException
public void writeInt(int value) throws javax.jms.JMSException
writeInt
in interface javax.jms.StreamMessage
writeInt
in class JMSStreamMessage
javax.jms.JMSException
public void writeLong(long value) throws javax.jms.JMSException
writeLong
in interface javax.jms.StreamMessage
writeLong
in class JMSStreamMessage
javax.jms.JMSException
public void writeObject(Object value) throws javax.jms.JMSException
writeObject
in interface javax.jms.StreamMessage
writeObject
in class JMSStreamMessage
javax.jms.JMSException
public void writeShort(short value) throws javax.jms.JMSException
writeShort
in interface javax.jms.StreamMessage
writeShort
in class JMSStreamMessage
javax.jms.JMSException
public void writeString(String value) throws javax.jms.JMSException
writeString
in interface javax.jms.StreamMessage
writeString
in class JMSStreamMessage
javax.jms.JMSException
public void reset()
reset
in interface javax.jms.StreamMessage
reset
in class JMSStreamMessage
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class JMSStreamMessage
javax.jms.JMSException
protected void populateListFromData(ByteBuffer data) throws javax.jms.JMSException
javax.jms.JMSException
public ByteBuffer getData() throws javax.jms.JMSException
getData
in class JMSStreamMessage
javax.jms.JMSException
public void setList(List<Object> l)
setList
in interface ListMessage
public List<Object> asList()
asList
in interface ListMessage
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.