void ianywhere.qanywhere.client.QAManagerBase.setMessageListener( String address, QAMessageListener listener ) throws QAException
address The address of a local queue name used to receive messages, or system to listen for QAnywhere system messages.
listener The listener.
Registers a QAMessageListener object to receive QAnywhere messages asynchronously.
The address parameter specifies a local queue name used to receive the message. You can only have one listener object assigned to a given queue. If you want to listen for QAnywhere system messages, including push notifications and network status changes, specify "system" as the queue name.
Use this method to receive messages asynchronously.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |