⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iqresultlistener.java

📁 基于Jabber协议的即时消息服务器
💻 JAVA
字号:
/** * $RCSfile: $ * $Revision: 2772 $ * $Date: 2005-09-05 01:50:45 -0300 (Mon, 05 Sep 2005) $ * * Copyright (C) 2005 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */package org.jivesoftware.wildfire;import org.xmpp.packet.IQ;/** * An IQResultListener will be invoked when a previously IQ packet sent by the server was answered. * Use {@link IQRouter#addIQResultListener(String, IQResultListener)} to add a new listener that * will process the answer to the IQ packet being sent. The listener will automatically be * removed from the {@link IQRouter} as soon as a reply for the sent IQ packet is received. The * reply can be of type RESULT or ERROR. * * @author Gaston Dombiak */public interface IQResultListener {    /**     * Notification method indicating that a previously sent IQ packet has been answered.     * The received IQ packet might be of type ERROR or RESULT.     *     * @param packet the IQ packet answering a previously sent IQ packet.     */    void receivedAnswer(IQ packet);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -