Package org.jivesoftware.openfire.event
Interface SessionEventListener
- All Known Implementing Classes:
ConnectionMultiplexerManager,SoftwareVersionManager
public interface SessionEventListener
Interface to listen for session events. Use the
SessionEventDispatcher.addListener(SessionEventListener)
method to register for events.- Author:
- Matt Tucker
-
Method Summary
Modifier and TypeMethodDescriptionvoidanonymousSessionCreated(Session session) Notification event indicating that an anonymous user has authenticated with the server.voidanonymousSessionDestroyed(Session session) An authenticated session of an anonymous user was destroyed.voidresourceBound(Session session) A session has finished resource binding.voidsessionCreated(Session session) Notification event indicating that a user has authenticated with the server.voidsessionDestroyed(Session session) An authenticated session of a non anonymous user was destroyed.
-
Method Details
-
sessionCreated
Notification event indicating that a user has authenticated with the server. The authenticated user is not an anonymous user.- Parameters:
session- the authenticated session of a non anonymous user.
-
sessionDestroyed
An authenticated session of a non anonymous user was destroyed.- Parameters:
session- the authenticated session of a non anonymous user.
-
anonymousSessionCreated
Notification event indicating that an anonymous user has authenticated with the server.- Parameters:
session- the authenticated session of an anonymous user.
-
anonymousSessionDestroyed
An authenticated session of an anonymous user was destroyed.- Parameters:
session- the authenticated session of an anonymous user.
-
resourceBound
A session has finished resource binding.- Parameters:
session- the session on which resource binding was performed.
-