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 web services » WSBase class

 

setListener method

Syntax
void WSBase.setListener(
  WSListener listener
)
Parameters
  • listener   The listener object that gets called when the result of a web service request is available.

Remarks

Sets a listener for the results of all web service requests made by this instance of WSBase.

Listeners are typically used to get results of the asyncXYZ methods of the service.

To remove a listener, call setListener with null as the listener.

This method replaces the listener set by any previous call to setListener.