| java.lang.Object com.caucho.jms.message.MessageImpl com.caucho.jms.message.MapMessageImpl
MapMessageImpl | public class MapMessageImpl extends MessageImpl implements MapMessage(Code) | | A stream message.
|
Method Summary | |
public InputStream | bodyToInputStream() Serialize the body to an input stream. | public void | clearBody() Clears the message and puts it into write mode. | public MessageImpl | copy() | protected void | copy(MapMessageImpl newMsg) | public boolean | getBoolean(String name) Get a boolean from the stream. | public byte | getByte(String name) Get a byte from the stream. | public byte[] | getBytes(String name) Get a byte array object from the stream. | public int | getBytes(String name, byte[] value) Get a byte array object from the stream. | public char | getChar(String name) Get a character object from the stream. | public double | getDouble(String name) Get a double from the stream. | public float | getFloat(String name) Get a float from the stream. | public int | getInt(String name) Get an integer from the stream. | public long | getLong(String name) Get a long from the stream. | public Enumeration | getMapNames() Returns an enumeration of the map names. | public Object | getObject(String name) Gets the next object. | public short | getShort(String name) Get a short from the stream. | public String | getString(String name) Get a string from the stream. | public MessageType | getType() Returns the type enumeration. | public boolean | itemExists(String name) Returns true if the object exists. | public void | readBody(InputStream is) Read the body from an input stream. | public void | setBoolean(String name, boolean b) Sets a boolean to the stream. | public void | setByte(String name, byte b) Sets a byte to the stream. | public void | setBytes(String name, byte[] buf) Sets a byte array to the stream. | public void | setBytes(String name, byte[] buf, int offset, int length) Sets a byte array to the stream. | public void | setChar(String name, char ch) Sets a character to the stream. | public void | setDouble(String name, double d) Sets a double to the stream. | public void | setFloat(String name, float f) Sets a float to the stream. | public void | setInt(String name, int i) Sets an integer to the stream. | public void | setLong(String name, long l) Sets a long to the stream. | public void | setObject(String name, Object obj) Sets the next object. | public void | setShort(String name, short s) Sets a short to the stream. | public void | setString(String name, String s) Sets a string to the stream. | public String | toString() |
MapMessageImpl | public MapMessageImpl()(Code) | | |
MapMessageImpl | MapMessageImpl(MapMessage map) throws JMSException(Code) | | |
clearBody | public void clearBody() throws JMSException(Code) | | Clears the message and puts it into write mode.
|
getBoolean | public boolean getBoolean(String name) throws JMSException(Code) | | Get a boolean from the stream.
|
getByte | public byte getByte(String name) throws JMSException(Code) | | Get a byte from the stream.
|
getBytes | public byte[] getBytes(String name) throws JMSException(Code) | | Get a byte array object from the stream.
|
getBytes | public int getBytes(String name, byte[] value) throws JMSException(Code) | | Get a byte array object from the stream.
|
getChar | public char getChar(String name) throws JMSException(Code) | | Get a character object from the stream.
|
getDouble | public double getDouble(String name) throws JMSException(Code) | | Get a double from the stream.
|
getFloat | public float getFloat(String name) throws JMSException(Code) | | Get a float from the stream.
|
getInt | public int getInt(String name) throws JMSException(Code) | | Get an integer from the stream.
|
getLong | public long getLong(String name) throws JMSException(Code) | | Get a long from the stream.
|
getMapNames | public Enumeration getMapNames() throws JMSException(Code) | | Returns an enumeration of the map names.
|
getObject | public Object getObject(String name) throws JMSException(Code) | | Gets the next object.
|
getShort | public short getShort(String name) throws JMSException(Code) | | Get a short from the stream.
|
getString | public String getString(String name) throws JMSException(Code) | | Get a string from the stream.
|
itemExists | public boolean itemExists(String name) throws JMSException(Code) | | Returns true if the object exists.
|
setBoolean | public void setBoolean(String name, boolean b) throws JMSException(Code) | | Sets a boolean to the stream.
|
setByte | public void setByte(String name, byte b) throws JMSException(Code) | | Sets a byte to the stream.
|
setBytes | public void setBytes(String name, byte[] buf) throws JMSException(Code) | | Sets a byte array to the stream.
|
setBytes | public void setBytes(String name, byte[] buf, int offset, int length) throws JMSException(Code) | | Sets a byte array to the stream.
|
setChar | public void setChar(String name, char ch) throws JMSException(Code) | | Sets a character to the stream.
|
setDouble | public void setDouble(String name, double d) throws JMSException(Code) | | Sets a double to the stream.
|
setFloat | public void setFloat(String name, float f) throws JMSException(Code) | | Sets a float to the stream.
|
setInt | public void setInt(String name, int i) throws JMSException(Code) | | Sets an integer to the stream.
|
setLong | public void setLong(String name, long l) throws JMSException(Code) | | Sets a long to the stream.
|
setObject | public void setObject(String name, Object obj) throws JMSException(Code) | | Sets the next object.
|
setShort | public void setShort(String name, short s) throws JMSException(Code) | | Sets a short to the stream.
|
setString | public void setString(String name, String s) throws JMSException(Code) | | Sets a string to the stream.
|
Methods inherited from com.caucho.jms.message.MessageImpl | public void acknowledge() throws JMSException(Code)(Java Doc) public InputStream bodyToInputStream() throws IOException(Code)(Java Doc) protected void checkBodyReadable() throws JMSException(Code)(Java Doc) protected void checkBodyWriteable() throws JMSException(Code)(Java Doc) protected void checkHeaderWriteable() throws JMSException(Code)(Java Doc) protected void checkPropertyWriteable() throws JMSException(Code)(Java Doc) public void clearBody() throws JMSException(Code)(Java Doc) public void clearProperties() throws JMSException(Code)(Java Doc) public MessageImpl copy()(Code)(Java Doc) protected void copy(MessageImpl newMsg)(Code)(Java Doc) public boolean getBooleanProperty(String name) throws JMSException(Code)(Java Doc) public byte getByteProperty(String name) throws JMSException(Code)(Java Doc) public double getDoubleProperty(String name) throws JMSException(Code)(Java Doc) public float getFloatProperty(String name) throws JMSException(Code)(Java Doc) public int getIntProperty(String name) throws JMSException(Code)(Java Doc) public String getJMSCorrelationID() throws JMSException(Code)(Java Doc) public byte[] getJMSCorrelationIDAsBytes() throws JMSException(Code)(Java Doc) public int getJMSDeliveryMode() throws JMSException(Code)(Java Doc) public Destination getJMSDestination() throws JMSException(Code)(Java Doc) public long getJMSExpiration() throws JMSException(Code)(Java Doc) public String getJMSMessageID()(Code)(Java Doc) public int getJMSPriority() throws JMSException(Code)(Java Doc) public boolean getJMSRedelivered()(Code)(Java Doc) public Destination getJMSReplyTo() throws JMSException(Code)(Java Doc) public long getJMSTimestamp() throws JMSException(Code)(Java Doc) public String getJMSType() throws JMSException(Code)(Java Doc) public long getLongProperty(String name) throws JMSException(Code)(Java Doc) public Object getObjectProperty(String name) throws JMSException(Code)(Java Doc) public HashMap<String, Object> getProperties()(Code)(Java Doc) public Enumeration getPropertyNames() throws JMSException(Code)(Java Doc) public short getShortProperty(String name) throws JMSException(Code)(Java Doc) public String getStringProperty(String name) throws JMSException(Code)(Java Doc) public MessageType getType()(Code)(Java Doc) public static boolean isReserved(String name)(Code)(Java Doc) public InputStream propertiesToInputStream() throws IOException(Code)(Java Doc) public boolean propertyExists(String name) throws JMSException(Code)(Java Doc) public void readBody(InputStream is) throws IOException, JMSException(Code)(Java Doc) public void readProperties(InputStream is) throws IOException, JMSException(Code)(Java Doc) protected void setBodyReadOnly()(Code)(Java Doc) public void setBooleanProperty(String name, boolean value) throws JMSException(Code)(Java Doc) public void setByteProperty(String name, byte value) throws JMSException(Code)(Java Doc) public void setDoubleProperty(String name, double value) throws JMSException(Code)(Java Doc) public void setFloatProperty(String name, float value) throws JMSException(Code)(Java Doc) public void setIntProperty(String name, int value) throws JMSException(Code)(Java Doc) public void setJMSCorrelationID(String id) throws JMSException(Code)(Java Doc) public void setJMSCorrelationIDAsBytes(byte[] id) throws JMSException(Code)(Java Doc) public void setJMSDeliveryMode(int deliveryMode) throws JMSException(Code)(Java Doc) public void setJMSDestination(Destination destination) throws JMSException(Code)(Java Doc) public void setJMSExpiration(long time) throws JMSException(Code)(Java Doc) public void setJMSMessageID(String id)(Code)(Java Doc) public void setJMSPriority(int priority) throws JMSException(Code)(Java Doc) public void setJMSRedelivered(boolean isRedelivered)(Code)(Java Doc) public void setJMSReplyTo(Destination replyTo) throws JMSException(Code)(Java Doc) public void setJMSTimestamp(long time) throws JMSException(Code)(Java Doc) public void setJMSType(String type) throws JMSException(Code)(Java Doc) public void setLongProperty(String name, long value) throws JMSException(Code)(Java Doc) public void setObjectProperty(String name, Object value) throws JMSException(Code)(Java Doc) public void setReceive() throws JMSException(Code)(Java Doc) public void setSession(JmsSession session)(Code)(Java Doc) public void setShortProperty(String name, short value) throws JMSException(Code)(Java Doc) public void setStringProperty(String name, String value) throws JMSException(Code)(Java Doc) public String toString()(Code)(Java Doc) public void writeBody(OutputStream os) throws IOException(Code)(Java Doc) public void writeProperties(OutputStream os) throws IOException(Code)(Java Doc)
|
|
|