QATextMessage inherits from the QAMessage class and adds a text message body.
Public Interface QATextMessage Inherits QAMessage
public interface QATextMessage : QAMessage
All members of QATextMessage interface, including all inherited members.
Name | Description |
---|---|
Clears the body of the message. | |
Clears all the properties of the message. | |
Gets a boolean message property. | |
Gets a byte message property. | |
Gets a double message property. | |
Gets a float message property. | |
Gets an int message property. | |
Gets a long message property. | |
Gets a message property. | |
Gets an enumerator over the property names of the message. | |
Returns the property type of the given property. | |
Gets a signed byte message property. | |
Gets a short message property. | |
Gets a string message property. | |
Indicates whether the given property has been set for this message. | |
Read unread text into the given buffer. | |
Resets the text position of the message to the beginning. | |
Sets a boolean property. | |
Sets a byte property. | |
Sets a double property. | |
Sets a float property. | |
Sets an int property. | |
Sets a long property. | |
Sets a property. | |
Sets a signed byte property. | |
Sets a short property. | |
Sets a string property. | |
Append text to the text of the message. | |
The destination address for the QAMessage instance. | |
Gets the message's expiration value. | |
The message id of the message for which this message is a reply. | |
The globally unique message id of the message. | |
The priority of the message (ranging from 0 to 9). | |
Indicates whether the message has been previously received but not acknowledged. | |
The reply to address of this message. | |
The message text. | |
The length, in characters, of the message. | |
The message timestamp. |
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.
ReadText method
Reset method
WriteText method
Text property
TextLength property
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |