xmlBlaster 2.2.0 API

org.xmlBlaster.engine.qos
Class DisconnectQosServer

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

public final class DisconnectQosServer
extends java.lang.Object

This class encapsulates the qos of a disconnect() invocation.

See Also:
DisconnectQosSaxFactory, disconnect interface

Field Summary
private  DisconnectQosData disconnectQosData
           
private  Global glob
           
 
Constructor Summary
DisconnectQosServer(Global glob)
           
DisconnectQosServer(Global glob, DisconnectQosData disconnectQosData)
           
DisconnectQosServer(Global glob, java.lang.String xmlQos)
           
 
Method Summary
 boolean clearSessions()
          Return true if we shall kill all other sessions of this user on logout (defaults to false).
 void clearSessions(boolean del)
           
 boolean deleteSubjectQueue()
          Return true if subject queue shall be deleted with last user session
 void deleteSubjectQueue(boolean del)
           
 DisconnectQosData getData()
           
 java.lang.String toString()
          Converts the data into a valid XML ASCII string.
 java.lang.String toXml()
          Converts the data into a valid XML ASCII string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

glob

private final Global glob

disconnectQosData

private final DisconnectQosData disconnectQosData
Constructor Detail

DisconnectQosServer

public DisconnectQosServer(Global glob)

DisconnectQosServer

public DisconnectQosServer(Global glob,
                           DisconnectQosData disconnectQosData)

DisconnectQosServer

public DisconnectQosServer(Global glob,
                           java.lang.String xmlQos)
                    throws XmlBlasterException
Throws:
XmlBlasterException
Method Detail

getData

public DisconnectQosData getData()

deleteSubjectQueue

public boolean deleteSubjectQueue()
Return true if subject queue shall be deleted with last user session

Returns:
true;

deleteSubjectQueue

public void deleteSubjectQueue(boolean del)
Parameters:
true - if subject queue shall be deleted with last user session logout

clearSessions

public boolean clearSessions()
Return true if we shall kill all other sessions of this user on logout (defaults to false).

Returns:
false

clearSessions

public void clearSessions(boolean del)
Parameters:
true - if we shall kill all other sessions of this user on logout (defaults to false).

toString

public java.lang.String toString()
Converts the data into a valid XML ASCII string.

Overrides:
toString in class java.lang.Object
Returns:
An XML ASCII string

toXml

public java.lang.String toXml()
Converts the data into a valid XML ASCII string.

Returns:
An XML ASCII string

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.