Class SoftwareVersionManager
java.lang.Object
org.jivesoftware.openfire.container.BasicModule
org.jivesoftware.openfire.session.SoftwareVersionManager
- All Implemented Interfaces:
Module,SessionEventListener
A SoftwareVersionManager is the main responsible for sending query to remote entity and
Obtain software information from the remote entity using XEP-0092 .
- Author:
- Manasse Ngudia
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SystemProperty<Duration>static final SystemProperty<Boolean> -
Constructor Summary
Constructors -
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.voidstart()Starts the basic module.voidstop()Stops the basic module.Methods inherited from class org.jivesoftware.openfire.container.BasicModule
destroy, getName, initialize
-
Field Details
-
VERSION_QUERY_ENABLED
-
VERSION_QUERY_DELAY
-
-
Constructor Details
-
SoftwareVersionManager
public SoftwareVersionManager()
-
-
Method Details
-
start
Description copied from class:BasicModuleStarts the basic module.
Inheriting classes that choose to override this method MUST call this start() method before accessing BasicModule resources.
- Specified by:
startin interfaceModule- Overrides:
startin classBasicModule- Throws:
IllegalStateException- If start is called before initialize successfully returns
-
stop
public void stop()Description copied from class:BasicModuleStops the basic module.
Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.
- Specified by:
stopin interfaceModule- Overrides:
stopin classBasicModule
-
sessionCreated
Description copied from interface:SessionEventListenerNotification event indicating that a user has authenticated with the server. The authenticated user is not an anonymous user.- Specified by:
sessionCreatedin interfaceSessionEventListener- Parameters:
session- the authenticated session of a non anonymous user.
-
sessionDestroyed
Description copied from interface:SessionEventListenerAn authenticated session of a non anonymous user was destroyed.- Specified by:
sessionDestroyedin interfaceSessionEventListener- Parameters:
session- the authenticated session of a non anonymous user.
-
anonymousSessionCreated
Description copied from interface:SessionEventListenerNotification event indicating that an anonymous user has authenticated with the server.- Specified by:
anonymousSessionCreatedin interfaceSessionEventListener- Parameters:
session- the authenticated session of an anonymous user.
-
anonymousSessionDestroyed
Description copied from interface:SessionEventListenerAn authenticated session of an anonymous user was destroyed.- Specified by:
anonymousSessionDestroyedin interfaceSessionEventListener- Parameters:
session- the authenticated session of an anonymous user.
-
resourceBound
Description copied from interface:SessionEventListenerA session has finished resource binding.- Specified by:
resourceBoundin interfaceSessionEventListener- Parameters:
session- the session on which resource binding was performed.
-