Class SoftwareServerVersionManager
- java.lang.Object
-
- org.jivesoftware.openfire.container.BasicModule
-
- org.jivesoftware.openfire.session.SoftwareServerVersionManager
-
- All Implemented Interfaces:
Module,ServerSessionEventListener
public class SoftwareServerVersionManager extends BasicModule implements ServerSessionEventListener
A SoftwareServerVersionManager is the main responsible for sending query to remote entity and Obtain software information from the remote entity server using XEP-0092 .- Author:
- Manasse Ngudia manasse@mnsuccess.com
-
-
Constructor Summary
Constructors Constructor Description SoftwareServerVersionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsessionCreated(Session session)Notification event indicating that a server has connected with the server.voidsessionDestroyed(Session session)A connected session of a server was destroyed.voidstart()Starts the basic module.voidstop()Stops the basic module.-
Methods inherited from class org.jivesoftware.openfire.container.BasicModule
destroy, getName, initialize
-
-
-
-
Method Detail
-
start
public void start() throws IllegalStateExceptionDescription 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
public void sessionCreated(Session session)
Description copied from interface:ServerSessionEventListenerNotification event indicating that a server has connected with the server.- Specified by:
sessionCreatedin interfaceServerSessionEventListener- Parameters:
session- the connected session of a server
-
sessionDestroyed
public void sessionDestroyed(Session session)
Description copied from interface:ServerSessionEventListenerA connected session of a server was destroyed.- Specified by:
sessionDestroyedin interfaceServerSessionEventListener- Parameters:
session- the connected session of a server.
-
-