i_connectqosfactory.java

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

JAVA
39
字号
/*------------------------------------------------------------------------------Name:      I_ConnectQosFactory.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.util.qos;import java.util.Properties;import org.xmlBlaster.util.XmlBlasterException;/** * Parsing/Serializing QoS (quality of service) of connect().  * @author xmlBlaster@marcelruff.info */public interface I_ConnectQosFactory{   /**    * Parses the given Qos and returns a ConnectQosData holding the data.     * Parsing of connect() QoS is supported here.    * @param xmlQos e.g. the XML based ASCII string    */   ConnectQosData readObject(String xmlQos) throws XmlBlasterException;   /**    * Serialize the given data object.      * <br>    * @param qosData The data object to serialize    * @param extraOffset Formatting hints    * @param flag For example Constants.TOXML_FLAG_NOSECURITY    * @return The serialized representation    */   String writeObject(ConnectQosData qosData, String extraOffset, Properties props);   /** A human readable name of this factory */   String getName();}

⌨️ 快捷键说明

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