xmlBlaster 2.2.0 API

org.xmlBlaster.engine.qos
Class EraseQosServer

java.lang.Object
  extended by org.xmlBlaster.engine.qos.EraseQosServer

public final class EraseQosServer
extends java.lang.Object

Handling of erase() quality of services in the server core.

This decorator hides the real qos data object and gives us a server specific view on it.

QoS Informations sent from the client to the server via the erase() method
They are needed to control xmlBlaster

For the xml representation see QueryQosSaxFactory.

Author:
xmlBlaster@marcelruff.info
See Also:
QueryQosData, QueryQosSaxFactory

Field Summary
private  QueryQosData queryQosData
           
 
Constructor Summary
EraseQosServer(Global glob, QueryQosData queryQosData)
          Constructor which accepts a raw data struct.
EraseQosServer(Global glob, java.lang.String xmlQos)
          Constructs the specialized quality of service object for a erase() call.
 
Method Summary
 QueryQosData getData()
          Access the internal data struct
 boolean getForceDestroy()
           
 boolean getWantNotify()
           
 void setForceDestroy(boolean forceDestroy)
           
 java.lang.String toXml()
           
 java.lang.String toXml(java.lang.String extraOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryQosData

private final QueryQosData queryQosData
Constructor Detail

EraseQosServer

public EraseQosServer(Global glob,
                      QueryQosData queryQosData)
Constructor which accepts a raw data struct.


EraseQosServer

public EraseQosServer(Global glob,
                      java.lang.String xmlQos)
               throws XmlBlasterException
Constructs the specialized quality of service object for a erase() call.

Parameters:
the - XML based ASCII string
Throws:
XmlBlasterException
Method Detail

getData

public QueryQosData getData()
Access the internal data struct


getWantNotify

public boolean getWantNotify()

setForceDestroy

public void setForceDestroy(boolean forceDestroy)
Parameters:
forceDestroy -

getForceDestroy

public boolean getForceDestroy()
Returns:
for erase behavior: destroy even if we are referenced?

toXml

public java.lang.String toXml()

toXml

public java.lang.String toXml(java.lang.String extraOffset)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.