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 TypeMethodDescriptionvoid
anonymousSessionCreated
(Session session) Notification event indicating that an anonymous user has authenticated with the server.void
anonymousSessionDestroyed
(Session session) An authenticated session of an anonymous user was destroyed.void
resourceBound
(Session session) A session has finished resource binding.void
sessionCreated
(Session session) Notification event indicating that a user has authenticated with the server.void
sessionDestroyed
(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.
-