Class DiscoveryModule

java.lang.Object
tigase.component.modules.AbstractModule
tigase.component.modules.impl.DiscoveryModule
tigase.pubsub.modules.DiscoveryModule
tigase.mix.modules.DiscoveryModule
All Implemented Interfaces:
tigase.component.modules.Module

@Bean(name="disco", parent=IMixComponent.class, active=true) public class DiscoveryModule extends tigase.pubsub.modules.DiscoveryModule
  • Field Summary

    Fields inherited from class tigase.pubsub.modules.DiscoveryModule

    PUBSUB_FEATURE_METADATA

    Fields inherited from class tigase.component.modules.impl.DiscoveryModule

    component, DISCO_INFO_XMLNS, DISCO_ITEMS_XMLNS, ID

    Fields inherited from class tigase.component.modules.AbstractModule

    eventBus, log, writer

    Fields inherited from interface tigase.component.modules.Module

    EMPTY_FEATURES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getAvailableFeatures(tigase.xmpp.jid.BareJID serviceJID, String node, tigase.xmpp.jid.BareJID senderJID)
     
    protected tigase.server.Packet
    prepareDiscoInfoResponse(tigase.server.Packet packet, tigase.xmpp.jid.JID jid, String node, tigase.xmpp.jid.JID senderJID)
     
    protected List<tigase.xml.Element>
    prepareDiscoItems(tigase.xmpp.jid.JID serviceJID, String nodeName, tigase.xmpp.jid.JID senderJID, tigase.xmpp.rsm.RSM rsm)
     
    protected void
    processDiscoInfo(tigase.server.Packet packet, tigase.xmpp.jid.JID jid, String node, tigase.xmpp.jid.JID senderJID)
     

    Methods inherited from class tigase.pubsub.modules.DiscoveryModule

    canHandle, getFeatures, getRepository, prefilterNodesWithRSM

    Methods inherited from class tigase.component.modules.impl.DiscoveryModule

    getAdHocCommandModule, getAvailableFeatures, getModuleCriteria, getModules, prepareDiscoInfoReponse, process, processAdHocCommandItems, processDiscoItems, setAdHocCommandModule, setModules

    Methods inherited from class tigase.component.modules.AbstractModule

    fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DiscoveryModule

      public DiscoveryModule()
  • Method Details

    • getAvailableFeatures

      public Set<String> getAvailableFeatures(tigase.xmpp.jid.BareJID serviceJID, String node, tigase.xmpp.jid.BareJID senderJID)
      Overrides:
      getAvailableFeatures in class tigase.component.modules.impl.DiscoveryModule
    • processDiscoInfo

      protected void processDiscoInfo(tigase.server.Packet packet, tigase.xmpp.jid.JID jid, String node, tigase.xmpp.jid.JID senderJID) throws tigase.component.exceptions.ComponentException, tigase.component.exceptions.RepositoryException
      Overrides:
      processDiscoInfo in class tigase.pubsub.modules.DiscoveryModule
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.component.exceptions.RepositoryException
    • prepareDiscoInfoResponse

      protected tigase.server.Packet prepareDiscoInfoResponse(tigase.server.Packet packet, tigase.xmpp.jid.JID jid, String node, tigase.xmpp.jid.JID senderJID)
      Overrides:
      prepareDiscoInfoResponse in class tigase.pubsub.modules.DiscoveryModule
    • prepareDiscoItems

      protected List<tigase.xml.Element> prepareDiscoItems(tigase.xmpp.jid.JID serviceJID, String nodeName, tigase.xmpp.jid.JID senderJID, tigase.xmpp.rsm.RSM rsm) throws tigase.component.exceptions.ComponentException, tigase.component.exceptions.RepositoryException
      Overrides:
      prepareDiscoItems in class tigase.pubsub.modules.DiscoveryModule
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.component.exceptions.RepositoryException