QATextMessage inherits from the QAMessage class and adds a text message body.
public class QATextMessage : QAMessage
All members of QATextMessage 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 string containing this message's data. | |
Returns the text length. | |
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. | |
Reads the requested length of text from the current text position into a buffer. | |
Repositions the current text position to the beginning. | |
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 string containing this message's data. | |
Sets the message timestamp. | |
Concatenates text to the current text. | |
The default message priority. | |
The default message time-to-live value. |
QATextMessage provides methods to read from and write to the text message body.
When the message is first created, the body of the message is in write-only mode. After a message has been sent, the client that sent it can retain and modify it without affecting the message that has been sent. The same message object can be sent multiple times.
When a message is received, the provider has called QATextMessage::reset so that the message body is in read-only mode and reading of values starts from the beginning of the message body. If a client attempts to write a message in read-only mode, a COMMON_MSG_NOT_WRITEABLE_ERROR is set.
getText method
getTextLength method
readText method
reset method
setText method
writeText method
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |