public class SessionEvent extends Object
If this is a new session, the event object contains all session information of this new session; otherwise, only the changed information of the session is contained in the event.
Session
,
SessionEventType
Constructor and Description |
---|
SessionEvent(Session session,
SessionEventType eventType,
long eventTime)
Creates a new session event.
|
Modifier and Type | Method and Description |
---|---|
Session |
getSession()
Gets the session object which emitted this event.
|
long |
getTime()
Gets the time of this event.
|
SessionEventType |
getType()
Gets the type of event that has occurred.
|
public SessionEvent(Session session, SessionEventType eventType, long eventTime)
session
- The session object which emitted this event.eventType
- The event which has occurred.eventTime
- The event time as UTC milliseconds from the epoch.public Session getSession()
public SessionEventType getType()
public long getTime()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.