Class SessionEvent

  • All Implemented Interfaces:
    Serializable

    public final class SessionEvent
    extends EventObject
    General event for notifying listeners of significant changes on a Session.
    Version:
    $Revision: 1.2 $ $Date: 2005/12/08 01:27:20 $
    Author:
    Craig R. McClanahan
    See Also:
    Serialized Form
    • Constructor Detail

      • SessionEvent

        public SessionEvent​(Session session,
                            String type,
                            Object data)
        Construct a new SessionEvent with the specified parameters.
        Parameters:
        session - Session on which this event occurred
        type - Event type
        data - Event data
    • Method Detail

      • getData

        public Object getData()
        Return the event data of this event.
      • getSession

        public Session getSession()
        Return the Session on which this event occurred.
      • getType

        public String getType()
        Return the event type of this event.
      • toString

        public String toString()
        Return a string representation of this event.
        Overrides:
        toString in class EventObject