Class RegisterModule

java.lang.Object
tigase.component.modules.AbstractModule
tigase.muc.modules.AbstractMucModule
tigase.muc.modules.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.
  • Constructor Details

    • RegisterModule

      public RegisterModule()
  • Method Details

    • getFeatures

      public 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
    • checkPermission

      protected void checkPermission(Room room, tigase.xmpp.jid.JID jid) throws MUCException
      Throws:
      MUCException
    • addForm

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