public static class Session.Listener.Default extends Object implements Session.Listener
Session.Listener
implementation which simply logs events at
debug level.Session.Listener.Default
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
onSessionStateChanged(Session session,
Session.State oldState,
Session.State newState)
Called whenever the state of a session changes.
|
public void onSessionStateChanged(Session session, Session.State oldState, Session.State newState)
Session.Listener
onSessionStateChanged
in interface Session.Listener
session
- the sessionoldState
- the old statenewState
- the new stateCopyright © 2022 Push Technology Ltd. All Rights Reserved.