Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
在上载任何发送给其它客户端的消息和下载任何发送给本地客户端的消息时,皆与 QAnywhere 消息服务器保持同步。
void QAManagerBase.triggerSendReceive() throws QAException
QAException 类 如果触发发送/接收时存在问题,则抛出异常。
对此方法的调用会使消息在 QAnywhere 代理和中央消息传递服务器之间立即保持同步。手工 triggerSendReceive() 调用将导致消息的立即传输,与 QAnywhere 代理传输策略无关。
QAnywhere 代理传输策略决定消息传输的方式。例如,当客户端接收到推式通知,或者当您调用 QAManagerBase.putMessage() 方法来发送消息时,消息传输将定期自动进行。