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 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.void
start()
Starts the basic module.void
stop()
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:BasicModule
Starts the basic module.
Inheriting classes that choose to override this method MUST call this start() method before accessing BasicModule resources.
- Specified by:
start
in interfaceModule
- Overrides:
start
in classBasicModule
- Throws:
IllegalStateException
- If start is called before initialize successfully returns
-
stop
public void stop()Description copied from class:BasicModule
Stops the basic module.
Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.
- Specified by:
stop
in interfaceModule
- Overrides:
stop
in classBasicModule
-
sessionCreated
Description copied from interface:SessionEventListener
Notification event indicating that a user has authenticated with the server. The authenticated user is not an anonymous user.- Specified by:
sessionCreated
in interfaceSessionEventListener
- Parameters:
session
- the authenticated session of a non anonymous user.
-
sessionDestroyed
Description copied from interface:SessionEventListener
An authenticated session of a non anonymous user was destroyed.- Specified by:
sessionDestroyed
in interfaceSessionEventListener
- Parameters:
session
- the authenticated session of a non anonymous user.
-
anonymousSessionCreated
Description copied from interface:SessionEventListener
Notification event indicating that an anonymous user has authenticated with the server.- Specified by:
anonymousSessionCreated
in interfaceSessionEventListener
- Parameters:
session
- the authenticated session of an anonymous user.
-
anonymousSessionDestroyed
Description copied from interface:SessionEventListener
An authenticated session of an anonymous user was destroyed.- Specified by:
anonymousSessionDestroyed
in interfaceSessionEventListener
- Parameters:
session
- the authenticated session of an anonymous user.
-
resourceBound
Description copied from interface:SessionEventListener
A session has finished resource binding.- Specified by:
resourceBound
in interfaceSessionEventListener
- Parameters:
session
- the session on which resource binding was performed.
-