i_driver.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 56 行

JAVA
56
字号
/*------------------------------------------------------------------------------Name:      I_Driver.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   Interface hiding the real callback protocolVersion:   $Id: I_Driver.java 13851 2005-10-22 17:32:15Z laghi $Author:    xmlBlaster@marcelruff.info------------------------------------------------------------------------------*/package org.xmlBlaster.protocol;import org.xmlBlaster.util.plugin.I_Plugin;import org.xmlBlaster.util.XmlBlasterException;/** * This interface hides the real protocol used to invoke xmlBlaster. * <p> * * @version $Revision: 1.12 $ * @author xmlBlaster@marcelruff.info */public interface I_Driver extends I_Plugin{   /** Get a human readable name of this driver */   public String getName();   /**    * Access the xmlBlaster internal name of the protocol driver.     * @return e.g. "IOR" "EMAIL" "XMLRPC" depending on driver    */   public String getProtocolId();   /**    * Return the address how to access this driver.     * @return e.g. "http:/www.mars.universe:8080/RPC2" or "IOR:000034100..."    */   public String getRawAddress();   /**    * Activate xmlBlaster access through this protocol so that a client can contact us.     */   public void activate() throws XmlBlasterException;   /**    * Deactivate xmlBlaster access (standby), no clients can connect.     */   public void deActivate() throws XmlBlasterException;   /**    * The startup usage text.    * <p />    */   public String usage();}

⌨️ 快捷键说明

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