|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--uk.org.ogsadai.sessions.SessionEvent
An event representing some kind of interaction involving an
InternalSession
object.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private SessionParticipant |
mParticipant
The session participant involved in the event, if one was involved |
private static long |
serialVersionUID
Required to get rid of Java serialization warning |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SessionEvent(InternalSession source)
Constructs a SessionEvent representing an interaction
with a session. |
|
SessionEvent(InternalSession source,
SessionParticipant participant)
Constructs a SessionEvent representing an interaction
between a session and a session participant. |
Method Summary | |
InternalSession |
getInternalSession()
Returns the InternalSession that originated the
event. |
SessionParticipant |
getSessionParticipant()
Returns the SessionParticipant that was involved
in the event, or null if no participant was
involved. |
boolean |
hasParticipant()
Indicates whether or not the session event involved an interaction between a session and session participant. |
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 |
private static final java.lang.String COPYRIGHT_NOTICE
private static final long serialVersionUID
private SessionParticipant mParticipant
Constructor Detail |
public SessionEvent(InternalSession source)
SessionEvent
representing an interaction
with a session.
source
- The Session
object that originated the event.public SessionEvent(InternalSession source, SessionParticipant participant)
SessionEvent
representing an interaction
between a session and a session participant.
source
- The Session
object that originated the event.participant
- The SessionParticipant
involved in the event.Method Detail |
public InternalSession getInternalSession()
InternalSession
that originated the
event.
public SessionParticipant getSessionParticipant()
SessionParticipant
that was involved
in the event, or null
if no participant was
involved.
public boolean hasParticipant()
true
if so, otherwise false
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |