Class Session.Listener.Default
java.lang.Object
com.pushtechnology.diffusion.client.session.Session.Listener.Default
- All Implemented Interfaces:
Session.Listener
- Enclosing interface:
- Session.Listener
Default
Session.Listener implementation which simply logs events at
debug level.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pushtechnology.diffusion.client.session.Session.Listener
Session.Listener.Default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSessionStateChanged(Session session, Session.State oldState, Session.State newState) Called whenever the state of a session changes.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
onSessionStateChanged
Description copied from interface:Session.ListenerCalled whenever the state of a session changes.- Specified by:
onSessionStateChangedin interfaceSession.Listener- Parameters:
session- the sessionoldState- the old statenewState- the new state
-