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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QAManagerBase class


triggerSendReceive function

qa_bool QAManagerBase::triggerSendReceive()

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 triggerSendReceive 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 putMessage method to send a message.

For more information, see Determining when message transmission should occur on the client.

See Also

putMessage function


True if and only if the operation succeeded.