Package com.iplanet.dpro.session.service
Class InternalSessionEvent
- java.lang.Object
-
- com.iplanet.dpro.session.service.InternalSessionEvent
-
public class InternalSessionEvent extends Object
This class represents a session event.- See Also:
InternalSession,SessionEventType
-
-
Constructor Summary
Constructors Constructor Description InternalSessionEvent(InternalSession internalSession, SessionEventType eventType, long eventTime)Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalSessiongetInternalSession()Gets the session object which emitted this event.longgetTime()Gets the time of this event.SessionEventTypegetType()Gets the type of event that has occurred.
-
-
-
Constructor Detail
-
InternalSessionEvent
public InternalSessionEvent(InternalSession internalSession, SessionEventType eventType, long eventTime)
Creates a new event.- Parameters:
internalSession- The session object which emitted this event.eventType- The event which has occurred.eventTime- The event time as UTC milliseconds from the epoch.
-
-
Method Detail
-
getInternalSession
public InternalSession getInternalSession()
Gets the session object which emitted this event.- Returns:
- The session object which emitted this event.
-
getType
public SessionEventType getType()
Gets the type of event that has occurred.- Returns:
- The type of this event.
-
getTime
public long getTime()
Gets the time of this event.- Returns:
- The event time as UTC milliseconds from the epoch
-
-