- All Superinterfaces:
EventListener
,SystemEventListener
public interface UserSessionListener extends SystemEventListener
Implementors receive notification when the user session changes.
This notification is useful for discontinuing a costly animation, or indicating that the user is no longer present on a network service.
Some systems may provide a reason of the user session change.
-
Method Summary
Modifier and Type Method Description void
userSessionActivated(UserSessionEvent e)
Called when the user session has been switched to.void
userSessionDeactivated(UserSessionEvent e)
Called when the user session has been switched away.
-
Method Details
-
userSessionDeactivated
Called when the user session has been switched away.- Parameters:
e
- the user session switch event
-
userSessionActivated
Called when the user session has been switched to.- Parameters:
e
- the user session switch event
-