Interface SessionLifecycleListener

All Superinterfaces:
EventListener

@Deprecated public interface SessionLifecycleListener extends EventListener
Deprecated.
since 4.0.0. The library has moved from an Observer to a PubSub pattern. See the EventBus.subscribe(Class, boolean, Consumer) method for alternatives to adding listeners.
An interface that defines the methods to be implemented by classes that wish to listen for session lifecycle events.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Deprecated.
    Enumeration of the different events that can trigger the callback.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Invoked when a session lifecycle event occurs.
  • Method Details

    • onEvent

      void onEvent(SessionLifecycleListener.Event evt)
      Deprecated.
      Invoked when a session lifecycle event occurs.
      Parameters:
      evt - the event that occurred