setListener method

Syntax
void ianywhere.qanywhere.ws.WSBase.setListener(
  String requestID,
  WSListener listener
)
Parameters
  • requestID   The ID of the web service request to which to listen for results.

  • listener   The listener object that gets called when the result of the given web service request is available.

Remarks

Sets a listener for the results of a given web service request.

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.

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