Class RegisterModule

  • All Implemented Interfaces:
    tigase.component.modules.Module

    @Bean(name="register",
          parent=MUCComponent.class,
          active=true)
    public class RegisterModule
    extends AbstractMucModule
    Module provides ability to register nicknames in MUC rooms and use "send to offline" feature allowing users have their group chat messages delivered to their XMPP server even when they are offline.
    • Field Summary

      • 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
      RegisterModule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addForm​(tigase.xml.Element parent, Room room, tigase.xmpp.jid.JID sender)  
      protected void checkPermission​(Room room, tigase.xmpp.jid.JID jid)  
      java.lang.String[] getFeatures()  
      tigase.criteria.Criteria getModuleCriteria()  
      protected Room getRoom​(tigase.xmpp.jid.BareJID roomJID)  
      void process​(tigase.server.Packet packet)  
      protected void processGet​(tigase.server.Packet packet)  
      protected void processSet​(tigase.server.Packet packet)  
      • 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
      • Methods inherited from interface tigase.component.modules.Module

        canHandle
    • Constructor Detail

      • RegisterModule

        public RegisterModule()
    • Method Detail

      • getFeatures

        public java.lang.String[] getFeatures()
      • getModuleCriteria

        public tigase.criteria.Criteria getModuleCriteria()
      • process

        public void process​(tigase.server.Packet packet)
                     throws tigase.component.exceptions.ComponentException,
                            tigase.util.stringprep.TigaseStringprepException
        Throws:
        tigase.component.exceptions.ComponentException
        tigase.util.stringprep.TigaseStringprepException
      • processGet

        protected void processGet​(tigase.server.Packet packet)
                           throws tigase.component.exceptions.RepositoryException,
                                  MUCException
        Throws:
        tigase.component.exceptions.RepositoryException
        MUCException
      • processSet

        protected void processSet​(tigase.server.Packet packet)
                           throws tigase.component.exceptions.RepositoryException,
                                  MUCException
        Throws:
        tigase.component.exceptions.RepositoryException
        MUCException
      • getRoom

        protected Room getRoom​(tigase.xmpp.jid.BareJID roomJID)
                        throws MUCException,
                               tigase.component.exceptions.RepositoryException
        Throws:
        MUCException
        tigase.component.exceptions.RepositoryException
      • addForm

        protected void addForm​(tigase.xml.Element parent,
                               Room room,
                               tigase.xmpp.jid.JID sender)