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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere Java API reference » ianywhere.qanywhere.client package » Interface QAManagerBase


triggerSendReceive method

void ianywhere.qanywhere.client.QAManagerBase.triggerSendReceive()
throws QAException
  • Thrown if there is a problem triggering the send/receive.

Causes a synchronization with the QAnywhere message server, uploading any messages addressed to other clients, and downloading any messages addressed to the local client.

A call to this method results in immediate message synchronization between a QAnywhere Agent and the central messaging server. A manual triggerSendReceive() call results in immediate message transmission, independent of the QAnywhere Agent transmission policies.

QAnywhere Agent transmission policies determine how message transmission occurs. For example, message transmission can occur automatically at regular intervals, when your client receives a push notification, or when you call the QAManagerBase.putMessage() method to send a message.

See Also

putMessage method