QATextMessage class

Syntax
public QATextMessage
Base classes
Remarks

QATextMessage inherits from the QAMessage class and adds a text message body.

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 QATextMessagereset 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.

See Also

QABinaryMessage class

Members

All members of QATextMessage, including all inherited members.


getText function
getTextLength function
readText function
reset function
setText function
writeText function
~QATextMessage function