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, setReadableacknowledge, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacknowledge, 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, setStringPropertypublic static final String MIME_TYPE
public AMQPEncodedListMessage(AMQMessageDelegateFactory delegateFactory) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic String toBodyString() throws javax.jms.JMSException
toBodyString in class AbstractBytesTypedMessagejavax.jms.JMSExceptionprotected String getMimeType()
getMimeType in class JMSStreamMessagepublic boolean add(Object a) throws javax.jms.JMSException
add in interface ListMessagejavax.jms.JMSExceptionpublic void add(int index,
Object element)
throws javax.jms.JMSException
add in interface ListMessagejavax.jms.JMSExceptionpublic boolean contains(Object o) throws javax.jms.JMSException
contains in interface ListMessagejavax.jms.JMSExceptionpublic Object get(int index) throws javax.jms.JMSException
get in interface ListMessagejavax.jms.JMSExceptionpublic int indexOf(Object o)
indexOf in interface ListMessagepublic Iterator iterator()
iterator in interface ListMessagepublic Object remove(int index) throws javax.jms.JMSException
remove in interface ListMessagejavax.jms.JMSExceptionpublic boolean remove(Object o) throws javax.jms.JMSException
remove in interface ListMessagejavax.jms.JMSExceptionpublic Object set(int index, Object element) throws javax.jms.JMSException
set in interface ListMessagejavax.jms.JMSExceptionpublic int size()
size in interface ListMessagepublic Object[] toArray()
toArray in interface ListMessagepublic boolean getBoolean(String propName) throws javax.jms.JMSException
getBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte getByte(String propName) throws javax.jms.JMSException
getByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic short getShort(String propName) throws javax.jms.JMSException
getShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic int getInt(String propName) throws javax.jms.JMSException
getInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic long getLong(String propName) throws javax.jms.JMSException
getLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic char getChar(String propName) throws javax.jms.JMSException
getChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic float getFloat(String propName) throws javax.jms.JMSException
getFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic double getDouble(String propName) throws javax.jms.JMSException
getDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic String getString(String propName) throws javax.jms.JMSException
getString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte[] getBytes(String propName) throws javax.jms.JMSException
getBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic Object getObject(String propName) throws javax.jms.JMSException
getObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic Enumeration getMapNames() throws javax.jms.JMSException
getMapNames in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBoolean(String propName, boolean b) throws javax.jms.JMSException
setBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setByte(String propName, byte b) throws javax.jms.JMSException
setByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setShort(String propName, short i) throws javax.jms.JMSException
setShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setChar(String propName, char c) throws javax.jms.JMSException
setChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setInt(String propName, int i) throws javax.jms.JMSException
setInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setLong(String propName, long l) throws javax.jms.JMSException
setLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setFloat(String propName, float v) throws javax.jms.JMSException
setFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setDouble(String propName, double v) throws javax.jms.JMSException
setDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setString(String propName, String string1) throws javax.jms.JMSException
setString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String propName, byte[] bytes) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String propName, byte[] bytes, int offset, int length) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setObject(String propName, Object value) throws javax.jms.JMSException
setObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic boolean itemExists(String propName) throws javax.jms.JMSException
itemExists in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic boolean readBoolean()
throws javax.jms.JMSException
readBoolean in interface javax.jms.StreamMessagereadBoolean in class JMSStreamMessagejavax.jms.JMSExceptionpublic byte readByte()
throws javax.jms.JMSException
readByte in interface javax.jms.StreamMessagereadByte in class JMSStreamMessagejavax.jms.JMSExceptionpublic int readBytes(byte[] value)
throws javax.jms.JMSException
readBytes in interface javax.jms.StreamMessagereadBytes in class JMSStreamMessagejavax.jms.JMSExceptionpublic char readChar()
throws javax.jms.JMSException
JMSStreamMessagereadChar in interface javax.jms.StreamMessagereadChar in class JMSStreamMessagejavax.jms.JMSExceptionpublic double readDouble()
throws javax.jms.JMSException
readDouble in interface javax.jms.StreamMessagereadDouble in class JMSStreamMessagejavax.jms.JMSExceptionpublic float readFloat()
throws javax.jms.JMSException
readFloat in interface javax.jms.StreamMessagereadFloat in class JMSStreamMessagejavax.jms.JMSExceptionpublic int readInt()
throws javax.jms.JMSException
readInt in interface javax.jms.StreamMessagereadInt in class JMSStreamMessagejavax.jms.JMSExceptionpublic long readLong()
throws javax.jms.JMSException
readLong in interface javax.jms.StreamMessagereadLong in class JMSStreamMessagejavax.jms.JMSExceptionpublic Object readObject() throws javax.jms.JMSException
readObject in interface javax.jms.StreamMessagereadObject in class JMSStreamMessagejavax.jms.JMSExceptionpublic short readShort()
throws javax.jms.JMSException
readShort in interface javax.jms.StreamMessagereadShort in class JMSStreamMessagejavax.jms.JMSExceptionpublic String readString() throws javax.jms.JMSException
readString in interface javax.jms.StreamMessagereadString in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeBoolean(boolean value)
throws javax.jms.JMSException
writeBoolean in interface javax.jms.StreamMessagewriteBoolean in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeByte(byte value)
throws javax.jms.JMSException
writeByte in interface javax.jms.StreamMessagewriteByte in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeBytes(byte[] value)
throws javax.jms.JMSException
writeBytes in interface javax.jms.StreamMessagewriteBytes in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeBytes(byte[] value,
int offset,
int length)
throws javax.jms.JMSException
writeBytes in interface javax.jms.StreamMessagewriteBytes in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeChar(char value)
throws javax.jms.JMSException
writeChar in interface javax.jms.StreamMessagewriteChar in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeDouble(double value)
throws javax.jms.JMSException
writeDouble in interface javax.jms.StreamMessagewriteDouble in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeFloat(float value)
throws javax.jms.JMSException
writeFloat in interface javax.jms.StreamMessagewriteFloat in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeInt(int value)
throws javax.jms.JMSException
writeInt in interface javax.jms.StreamMessagewriteInt in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeLong(long value)
throws javax.jms.JMSException
writeLong in interface javax.jms.StreamMessagewriteLong in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeObject(Object value) throws javax.jms.JMSException
writeObject in interface javax.jms.StreamMessagewriteObject in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeShort(short value)
throws javax.jms.JMSException
writeShort in interface javax.jms.StreamMessagewriteShort in class JMSStreamMessagejavax.jms.JMSExceptionpublic void writeString(String value) throws javax.jms.JMSException
writeString in interface javax.jms.StreamMessagewriteString in class JMSStreamMessagejavax.jms.JMSExceptionpublic void reset()
reset in interface javax.jms.StreamMessagereset in class JMSStreamMessagepublic void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class JMSStreamMessagejavax.jms.JMSExceptionprotected void populateListFromData(ByteBuffer data) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic ByteBuffer getData() throws javax.jms.JMSException
getData in class JMSStreamMessagejavax.jms.JMSExceptionpublic void setList(List<Object> l)
setList in interface ListMessagepublic List<Object> asList()
asList in interface ListMessageCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.