public final class SessionEvent
extends java.util.EventObject
Constructor and Description |
---|
SessionEvent(Session session,
java.lang.String type,
java.lang.Object data)
Construct a new SessionEvent with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData()
Return the event data of this event.
|
Session |
getSession()
Return the Session on which this event occurred.
|
java.lang.String |
getType()
Return the event type of this event.
|
java.lang.String |
toString()
Return a string representation of this event.
|
public SessionEvent(Session session, java.lang.String type, java.lang.Object data)
session
- Session on which this event occurredtype
- Event typedata
- Event datapublic java.lang.Object getData()
public Session getSession()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.util.EventObject
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.