xmlBlaster 2.2.0 client API

org.xmlBlaster.util.qos
Interface I_ConnectQosFactory

All Known Implementing Classes:
ConnectQosSaxFactory

public interface I_ConnectQosFactory

Parsing/Serializing QoS (quality of service) of connect().

Author:
xmlBlaster@marcelruff.info

Method Summary
 java.lang.String getName()
          A human readable name of this factory
 ConnectQosData readObject(java.lang.String xmlQos)
          Parses the given Qos and returns a ConnectQosData holding the data.
 java.lang.String writeObject(ConnectQosData qosData, java.lang.String extraOffset, java.util.Properties props)
          Serialize the given data object.
 

Method Detail

readObject

ConnectQosData readObject(java.lang.String xmlQos)
                          throws XmlBlasterException
Parses the given Qos and returns a ConnectQosData holding the data. Parsing of connect() QoS is supported here.

Parameters:
xmlQos - e.g. the XML based ASCII string
Throws:
XmlBlasterException

writeObject

java.lang.String writeObject(ConnectQosData qosData,
                             java.lang.String extraOffset,
                             java.util.Properties props)
Serialize the given data object.

Parameters:
qosData - The data object to serialize
extraOffset - Formatting hints
flag - For example Constants.TOXML_FLAG_NOSECURITY
Returns:
The serialized representation

getName

java.lang.String getName()
A human readable name of this factory


xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.