Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
为此 WSBase 实例发出的所有 Web 服务请求的结果设置监听器。
void WSBase.setListener(WSListener listener) throws QAException
listener Web 服务请求的结果可用时调用的监听器对象。
监听器通常用于获取此服务的 asyncXYZ 方法的结果。
要删除监听器,可在调用 setListener 时将 listener 参数设置为 null。
此方法会替换由先前的任意一次 SetListener 调用所设置的监听器。