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 void
sessionCreated(Session session)
Notification event indicating that a server has connected with the server.void
sessionDestroyed(Session session)
A connected session of a server 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
-
-
-
-
Method Detail
-
start
public void start() throws IllegalStateException
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
public void sessionCreated(Session session)
Description copied from interface:ServerSessionEventListener
Notification event indicating that a server has connected with the server.- Specified by:
sessionCreated
in interfaceServerSessionEventListener
- Parameters:
session
- the connected session of a server
-
sessionDestroyed
public void sessionDestroyed(Session session)
Description copied from interface:ServerSessionEventListener
A connected session of a server was destroyed.- Specified by:
sessionDestroyed
in interfaceServerSessionEventListener
- Parameters:
session
- the connected session of a server.
-
-