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 Details

    • SoftwareServerVersionManager

      public SoftwareServerVersionManager()
  • Method Details

    • 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 interface Module
      Overrides:
      start in class BasicModule
      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 interface Module
      Overrides:
      stop in class BasicModule
    • 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 interface ServerSessionEventListener
      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 interface ServerSessionEventListener
      Parameters:
      session - the connected session of a server.