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

📄 i_connectionhandler.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      I_ConnectionHandler.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.client;import org.xmlBlaster.util.Global;import org.xmlBlaster.util.XmlBlasterException;import org.xmlBlaster.util.queue.I_Queue;import org.xmlBlaster.util.dispatch.ConnectionStateEnum;import org.xmlBlaster.client.qos.ConnectQos;import org.xmlBlaster.client.qos.ConnectReturnQos;/** * Access the connection handler to access connection status information or manipulate queued messages.  * <p> * @author xmlBlaster@marcelruff.info */public interface I_ConnectionHandler{   /**    * @return The queue used to store tailback messages.     */   I_Queue getQueue();   /**    * Get the connection state, usable for nice logging like this:<br />    * con.getState().toString()    * @return "UNDEF", "ALIVE", "POLLING", "DEAD"    */   ConnectionStateEnum getState();   /**    * @return true if the connection to xmlBlaster is operational    */   boolean isAlive();   /**    * @return true if we are polling for the server    */   boolean isPolling();   /**    * @return true if we have definitely lost the connection to xmlBlaster and gave up    */   boolean isDead();}

⌨️ 快捷键说明

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