QATextMessage inherits from the QAMessage class and adds a text message body, and methods to read from and write to the text message body.
public interface QATextMessage
All members of QATextMessage interface, including all inherited members.
Name | Description |
---|---|
Clear all the properties of the message. | |
Returns the destination address for the QAMessage instance. | |
Gets a boolean message property. | |
Gets a signed byte message property. | |
Gets a double message property. | |
Returns the message's expiration value, or null if the message does not expire or has not yet been sent. | |
Gets a float message property. | |
Returns the message ID of the message to which this message is a reply. | |
Gets an int message property. | |
Gets a long message property. | |
Returns the globally unique message ID of the message. | |
Returns the priority of the message (ranging from 0 to 9). | |
Gets a message property. | |
Gets an enumerator over the property names of the message. | |
Returns the property type of the given property. | |
Indicates whether the message has been previously received but not acknowledged. | |
Returns the reply-to address of this message. | |
Gets a short message property. | |
Gets a String message property. | |
Returns the message text. | |
Returns the length, in characters, of the message. | |
Returns the message timestamp, which is the time the message was created. | |
Indicates whether the given property has been set for this message. | |
Returns unread text from the message. | |
Resets the text position of the message to the beginning. | |
Sets a boolean property. | |
Sets a signed byte property. | |
Sets a double property. | |
Sets a float property. | |
Sets the in reply to ID, which identifies the message this message is a reply to. | |
Sets an int property. | |
Sets a long property. | |
Sets the priority of the message (ranging from 0 to 9). | |
Sets a property. | |
Sets the reply-to address. | |
Sets a short property. | |
Sets a string property. | |
Overwrites the message text. | |
Appends text to the text of the message. | |
The default message priority. | |
The default time-to-live value. |
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 values starts from the beginning of the message body.
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 |