public interface Observer<T>
Observer
interface is used to observe the session
activity within the session manager. This enables tracking of all
sessions created and destroyed by the session manager. Once the
session is created the observer start
method is
invoked and when the session is canceled the cancel
method is invoked. Observations allow specialized monitoring.SessionManager
void create(Session<T> session)
session
- this is the session instance that was createdvoid cancel(Session<T> session)
session
- this is the session object that is canceled