Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for clients


QATextMessage interface

public QATextMessage
Base classes

QATextMessage inherits from the QAMessage class and adds a text message body, and 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 values starts from the beginning of the message body.

See Also

onMessage method


All members of ianywhere.qanywhere.client.QATextMessage, including all inherited members.

getText method
getTextLength method
readText method
reset method
setText method
writeText method
writeText method
writeText method