Interface Module

All Superinterfaces:
tigase.stats.StatisticHolder
All Known Implementing Classes:
AbstractBareModule, AbstractModule, AdminModule, DnsWebServiceModule, IndexModule, RestModule, ServerInfoModule, SetupModeRedirectModule, SetupModule, UIModule, UserStatusEndpointModule, WebModule, WellKnownModule

public interface Module extends tigase.stats.StatisticHolder
  • Field Details

  • Method Details

    • getName

      String getName()
    • getDescription

      String getDescription()
    • getDiscoInfo

      tigase.xml.Element getDiscoInfo(String node, boolean isAdmin)
    • getDiscoItems

      List<tigase.xml.Element> getDiscoItems(String node, tigase.xmpp.jid.JID jid, tigase.xmpp.jid.JID from)
    • getJid

      tigase.xmpp.jid.JID getJid()
    • addOutPacket

      boolean addOutPacket(tigase.server.Packet packet)
    • addOutPacket

      boolean addOutPacket(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback)
    • getFeatures

      String[] getFeatures()
    • initBindings

      void initBindings(Bindings binds)
    • processPacket

      boolean processPacket(tigase.server.Packet packet)
    • init

      void init(tigase.xmpp.jid.JID jid, String componentName, PacketWriter writer)
    • isRequestAllowed

      boolean isRequestAllowed(String key, String domain, String path)
    • isAdmin

      boolean isAdmin(tigase.xmpp.jid.BareJID user)
    • start

      void start()
    • stop

      void stop()
    • getUserRepository

      tigase.db.UserRepository getUserRepository()
    • getAuthRepository

      tigase.db.AuthRepository getAuthRepository()