| java.lang.Object org.directwebremoting.jms.DwrMessage
DwrMessage | public class DwrMessage implements Message,MapMessage,TextMessage,ObjectMessage(Code) | | An implementation of all the
Message types rolled into one.
This allows DWR to not know what type of Message the user wishes to work with
and to make the decision at runtime depending on how they choose to cast us.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Inner Class : enum Source | |
Method Summary | |
public void | acknowledge() | public void | clearBody() | public void | clearProperties() | public boolean | getBoolean(String name) | public boolean | getBooleanProperty(String name) | public byte | getByte(String name) | public byte | getByteProperty(String name) | public byte[] | getBytes(String name) | public char | getChar(String name) | public double | getDouble(String name) | public double | getDoubleProperty(String name) | public float | getFloat(String name) | public float | getFloatProperty(String name) | public int | getInt(String name) | public int | getIntProperty(String name) | public String | getJMSCorrelationID() | public byte[] | getJMSCorrelationIDAsBytes() | public int | getJMSDeliveryMode() | public Destination | getJMSDestination() | public long | getJMSExpiration() | public String | getJMSMessageID() | public int | getJMSPriority() | public boolean | getJMSRedelivered() | public Destination | getJMSReplyTo() | public long | getJMSTimestamp() | public String | getJMSType() | public long | getLong(String name) | public long | getLongProperty(String name) | public Enumeration<String> | getMapNames() | public Object | getObject(String name) | public Serializable | getObject() | public Object | getObjectProperty(String name) | public Enumeration<String> | getPropertyNames() | public short | getShort(String name) | public short | getShortProperty(String name) | public String | getString(String name) | public String | getStringProperty(String name) | public String | getText() | public boolean | itemExists(String name) | public boolean | propertyExists(String name) | public void | setBoolean(String name, boolean value) | public void | setBooleanProperty(String name, boolean value) | public void | setByte(String name, byte value) | public void | setByteProperty(String name, byte value) | public void | setBytes(String name, byte[] value) | public void | setBytes(String name, byte[] value, int offset, int length) | public void | setChar(String name, char value) | public void | setDouble(String name, double value) | public void | setDoubleProperty(String name, double value) | public void | setFloat(String name, float value) | public void | setFloatProperty(String name, float value) | public void | setInt(String name, int value) | public void | setIntProperty(String name, int value) | public void | setJMSCorrelationID(String correlationID) | public void | setJMSCorrelationIDAsBytes(byte[] correlationID) | public void | setJMSDeliveryMode(int deliveryMode) | public void | setJMSDestination(Destination destination) | public void | setJMSExpiration(long expiration) | public void | setJMSMessageID(String messageId) | public void | setJMSPriority(int priority) | public void | setJMSRedelivered(boolean redelivered) | public void | setJMSReplyTo(Destination replyTo) | public void | setJMSTimestamp(long timestamp) | public void | setJMSType(String type) | public void | setLong(String name, long value) | public void | setLongProperty(String name, long value) | public void | setObject(String name, Object value) | public void | setObject(Serializable object) | public void | setObjectProperty(String name, Object value) | public void | setShort(String name, short value) | public void | setShortProperty(String name, short value) | public void | setString(String name, String value) | public void | setStringProperty(String name, String value) | public void | setText(String text) |
hub | protected Hub hub(Code) | | The Hub for when data is received from the client
|
source | protected Source source(Code) | | What is the current source of our data
|
DwrMessage | public DwrMessage()(Code) | | Default ctor
|
DwrMessage | public DwrMessage(String text)(Code) | | Ctor for setting up a
TextMessage |
DwrMessage | public DwrMessage(Serializable object)(Code) | | Ctor for setting up an
ObjectMessage |
acknowledge | public void acknowledge()(Code) | | |
clearBody | public void clearBody()(Code) | | |
clearProperties | public void clearProperties()(Code) | | |
getBooleanProperty | public boolean getBooleanProperty(String name)(Code) | | |
getByteProperty | public byte getByteProperty(String name)(Code) | | |
getDoubleProperty | public double getDoubleProperty(String name)(Code) | | |
getFloatProperty | public float getFloatProperty(String name)(Code) | | |
getJMSCorrelationID | public String getJMSCorrelationID()(Code) | | |
getJMSCorrelationIDAsBytes | public byte[] getJMSCorrelationIDAsBytes()(Code) | | |
getJMSDeliveryMode | public int getJMSDeliveryMode()(Code) | | |
getJMSDestination | public Destination getJMSDestination()(Code) | | |
getJMSExpiration | public long getJMSExpiration()(Code) | | |
getJMSPriority | public int getJMSPriority()(Code) | | |
getJMSRedelivered | public boolean getJMSRedelivered()(Code) | | |
getJMSReplyTo | public Destination getJMSReplyTo()(Code) | | |
getJMSTimestamp | public long getJMSTimestamp()(Code) | | |
getLongProperty | public long getLongProperty(String name)(Code) | | |
getShortProperty | public short getShortProperty(String name)(Code) | | |
propertyExists | public boolean propertyExists(String name)(Code) | | |
setBoolean | public void setBoolean(String name, boolean value)(Code) | | |
setBooleanProperty | public void setBooleanProperty(String name, boolean value)(Code) | | |
setByteProperty | public void setByteProperty(String name, byte value)(Code) | | |
setBytes | public void setBytes(String name, byte[] value)(Code) | | |
setBytes | public void setBytes(String name, byte[] value, int offset, int length)(Code) | | |
setDouble | public void setDouble(String name, double value)(Code) | | |
setDoubleProperty | public void setDoubleProperty(String name, double value)(Code) | | |
setFloat | public void setFloat(String name, float value)(Code) | | |
setFloatProperty | public void setFloatProperty(String name, float value)(Code) | | |
setIntProperty | public void setIntProperty(String name, int value)(Code) | | |
setJMSCorrelationID | public void setJMSCorrelationID(String correlationID)(Code) | | |
setJMSCorrelationIDAsBytes | public void setJMSCorrelationIDAsBytes(byte[] correlationID)(Code) | | |
setJMSDeliveryMode | public void setJMSDeliveryMode(int deliveryMode)(Code) | | |
setJMSDestination | public void setJMSDestination(Destination destination)(Code) | | |
setJMSExpiration | public void setJMSExpiration(long expiration)(Code) | | |
setJMSMessageID | public void setJMSMessageID(String messageId)(Code) | | |
setJMSPriority | public void setJMSPriority(int priority)(Code) | | |
setJMSRedelivered | public void setJMSRedelivered(boolean redelivered)(Code) | | |
setJMSReplyTo | public void setJMSReplyTo(Destination replyTo)(Code) | | |
setJMSTimestamp | public void setJMSTimestamp(long timestamp)(Code) | | |
setLongProperty | public void setLongProperty(String name, long value)(Code) | | |
setShort | public void setShort(String name, short value)(Code) | | |
setShortProperty | public void setShortProperty(String name, short value)(Code) | | |
|
|