xmlBlaster 2.2.0 API

org.xmlBlaster.engine.qos
Class GetQosServer

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

public final class GetQosServer
extends java.lang.Object

Handling of get() 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 get() 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
GetQosServer(Global glob, QueryQosData queryQosData)
          Constructor which accepts a raw data struct.
GetQosServer(Global glob, java.lang.String xmlQos)
          Constructs the specialized quality of service object for a get() call.
 
Method Summary
 AccessFilterQos[] getAccessFilterArr()
          Return the get filters or null if none is specified.
 QueryQosData getData()
          Access the internal data struct
 HistoryQos getHistoryQos()
          Query the message history
 QuerySpecQos[] getQuerySpecArr()
          Return the get querySpecs or null if none is specified.
 boolean getWantContent()
          If false, the update contains not the content (it is a notify of change only) TODO: Implement in server!!!
 boolean getWantLocal()
          false Inhibit the delivery of messages to myself if i have published it.
 boolean getWantMeta()
           
 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

GetQosServer

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


GetQosServer

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

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

getData

public QueryQosData getData()
Access the internal data struct


getAccessFilterArr

public final AccessFilterQos[] getAccessFilterArr()
Return the get filters or null if none is specified.


getQuerySpecArr

public final QuerySpecQos[] getQuerySpecArr()
Return the get querySpecs or null if none is specified.


getHistoryQos

public HistoryQos getHistoryQos()
Query the message history


getWantLocal

public boolean getWantLocal()
false Inhibit the delivery of messages to myself if i have published it.


getWantMeta

public boolean getWantMeta()
Returns:
false: Don't send me the meta information of a message key

getWantContent

public boolean getWantContent()
If false, the update contains not the content (it is a notify of change only) TODO: Implement in server!!!


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.