Modifier and Type | Method and Description |
---|---|
void |
call(Session session,
SessionState state,
Exception exception)
The function that is called when status of the session changes.
|
void call(Session session, SessionState state, Exception exception)
session
- The session that was updated.state
- The new state of the session.exception
- The exception that is related to state change, may be null.