Class InternalSessionEvent

    • 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