edu.emory.mathcs.h2o.event
Class SessionStateEvent

java.lang.Object
  extended byedu.emory.mathcs.h2o.event.Event
      extended byedu.emory.mathcs.h2o.event.SessionEvent
          extended byedu.emory.mathcs.h2o.event.SessionStateEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SessionActivatedEvent

public class SessionStateEvent
extends SessionEvent

Event triggered when a session state changes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.emory.mathcs.h2o.event.Event
source, timestamp
 
Constructor Summary
SessionStateEvent(Session session, Session.State oldState, Session.State newState, long timestamp, java.lang.Object details)
           
SessionStateEvent(Session session, Session.State oldState, Session.State newState, java.lang.Object details)
           
 
Method Summary
 java.lang.Object getDetails()
           
 Session.State getNewState()
           
 Session.State getOldState()
           
 Session getSession()
           
 
Methods inherited from class edu.emory.mathcs.h2o.event.Event
getSource, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionStateEvent

public SessionStateEvent(Session session,
                         Session.State oldState,
                         Session.State newState,
                         long timestamp,
                         java.lang.Object details)

SessionStateEvent

public SessionStateEvent(Session session,
                         Session.State oldState,
                         Session.State newState,
                         java.lang.Object details)
Method Detail

getOldState

public Session.State getOldState()

getNewState

public Session.State getNewState()

getDetails

public java.lang.Object getDetails()

getSession

public Session getSession()
Overrides:
getSession in class SessionEvent