Class SessionListenerAdapter

  • All Implemented Interfaces:
    SessionListener

    public class SessionListenerAdapter
    extends Object
    implements SessionListener
    Simple adapter implementation of the SessionListener interface, effectively providing no-op implementations of all methods.
    Since:
    1.0
    • Constructor Detail

      • SessionListenerAdapter

        public SessionListenerAdapter()
    • Method Detail

      • onStart

        public void onStart​(Session session)
        Adapter no-op implementation - does nothing and returns immediately.
        Specified by:
        onStart in interface SessionListener
        Parameters:
        session - the session that has started.
      • onStop

        public void onStop​(Session session)
        Adapter no-op implementation - does nothing and returns immediately.
        Specified by:
        onStop in interface SessionListener
        Parameters:
        session - the session that has stopped.
      • onExpiration

        public void onExpiration​(Session session)
        Adapter no-op implementation - does nothing and returns immediately.
        Specified by:
        onExpiration in interface SessionListener
        Parameters:
        session - the session that has expired.