xmlBlaster 2.1.0 API

org.xmlBlaster.authentication
Class ClientEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.xmlBlaster.authentication.ClientEvent
All Implemented Interfaces:
java.io.Serializable

public class ClientEvent
extends java.util.EventObject

An event which indicates that a client did a login or logout. It carries the SessionInfo reference inside

Author:
Marcel Ruff
See Also:
Serialized Form

Field Summary
 ConnectQosServer previousConnectQosServer
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ClientEvent(ConnectQosServer previousConnectQosServer, SessionInfo sessionInfo)
           
ClientEvent(SessionInfo sessionInfo)
          Constructs a ClientEvent object.
ClientEvent(SubjectInfo subjectInfo)
          Constructs a ClientEvent object.
 
Method Summary
 ConnectQosServer getConnectQos()
          Returns the connectQos or null of the event.
 ConnectQosServer getPreviousConnectQosServer()
          Given for sessionUpdated() calls
 SessionInfo getSessionInfo()
          Returns the originator of the event.
 SubjectInfo getSubjectInfo()
          Returns the originator of the event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

previousConnectQosServer

public final ConnectQosServer previousConnectQosServer
Constructor Detail

ClientEvent

public ClientEvent(SubjectInfo subjectInfo)
Constructs a ClientEvent object.

Parameters:
the - client which does the login or logout

ClientEvent

public ClientEvent(SessionInfo sessionInfo)
Constructs a ClientEvent object.

Parameters:
the - client which does the login or logout

ClientEvent

public ClientEvent(ConnectQosServer previousConnectQosServer,
                   SessionInfo sessionInfo)
Method Detail

getConnectQos

public ConnectQosServer getConnectQos()
Returns the connectQos or null of the event.

Returns:
the connectQos (could be null if not passed in the constructor)

getSessionInfo

public SessionInfo getSessionInfo()
Returns the originator of the event.

Returns:
the client which does the login or logout

getSubjectInfo

public SubjectInfo getSubjectInfo()
Returns the originator of the event.

Returns:
the client which does the login or logout

getPreviousConnectQosServer

public ConnectQosServer getPreviousConnectQosServer()
Given for sessionUpdated() calls

Returns:
can be null

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.