QAMessage provides an interface to set message properties and header fields.
public class QAMessage
All members of QAMessage class, including all inherited members.
Name | Description |
---|---|
Begins an enumeration of message property names. | |
Casts this QAMessage to a QABinaryMessage. | |
Casts this QAMessage to a QATextMessage. | |
Clears a message's properties. | |
Frees the resources associated with a message property name enumeration. | |
Gets the destination address for the QAMessage instance. | |
Gets the value of the qa_bool property with the specified name. | |
Gets the value of the qa_byte property with the specified name. | |
Gets the value of the qa_double property with the specified name. | |
Gets the message's expiration time. | |
Gets the value of the qa_float property with the specified name. | |
Gets the ID of the message that this message is in reply to. | |
Gets the value of the qa_int property with the specified name. | |
Gets the value of the qa_long property with the specified name. | |
Gets the message ID. | |
Gets the message priority level. | |
Returns the type of a property with the given name. | |
Indicates whether the message has been previously received but not acknowledged. | |
Gets the address to which a reply to this message should be sent. | |
Gets the value of the qa_short property with the specified name. | |
Gets the value of the qa_string property with the specified name. | |
Gets the message timestamp. | |
Gets the message timestamp as a formatted string. | |
Returns the message property name for the given enumeration, returning -1 if there are no more property names. | |
Indicates whether a property value exists. | |
Sets the destination address for this message. | |
Sets the qa_bool property with the specified name to the specified value. | |
Sets a qa_byte property with the specified name to the specified value. | |
Sets the qa_double property with the specified name to the specified value. | |
Sets the qa_float property with the specified name to the specified value. | |
Sets the In-Reply-To ID for the message. | |
Sets the qa_int property with the specified name to the specified value. | |
Sets the qa_long property with the specified name to the specified value. | |
Sets the message ID. | |
Sets the priority level for this message. | |
Sets an indication of whether this message was redelivered. | |
Sets the address to which a reply to this message should be sent. | |
Sets e qa_short property with the specified name to the specified value. | |
Sets a qa_string property with the specified name to the specified value. | |
Sets the message timestamp. | |
The default message priority. | |
The default message time-to-live value. |
The derived classes QABinaryMessage and QATextMessage provide specialized methods to read and write to the message body. You can use QAMessage methods to set predefined or custom message properties.
For a list of pre-defined property names, see the MessageProperties.
For more information about setting message properties and header fields, see QAnywhere messages.
beginEnumPropertyNames method
castToBinaryMessage method
castToTextMessage method
clearProperties method
endEnumPropertyNames method
getAddress method
getBooleanProperty method
getByteProperty method
getDoubleProperty method
getExpiration method
getFloatProperty method
getInReplyToID method
getIntProperty method
getLongProperty method
getMessageID method
getPriority method
getPropertyType method
getRedelivered method
getReplyToAddress method
getShortProperty method
getStringProperty method
getTimestamp method
getTimestampAsString method
nextPropertyName method
propertyExists method
setAddress method
setBooleanProperty method
setByteProperty method
setDoubleProperty method
setFloatProperty method
setInReplyToID method
setIntProperty method
setLongProperty method
setMessageID method
setPriority method
setRedelivered method
setReplyToAddress method
setShortProperty method
setStringProperty method
setTimestamp method
DEFAULT_PRIORITY variable
DEFAULT_TIME_TO_LIVE variable
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |