Class IqStanzaForwarderModule

java.lang.Object
tigase.component.modules.AbstractModule
tigase.muc.modules.AbstractMucModule
tigase.muc.modules.IqStanzaForwarderModule
All Implemented Interfaces:
tigase.component.modules.Module

@Bean(name="iqforwarder", active=true) public class IqStanzaForwarderModule extends AbstractMucModule
Author:
bmalkow
  • Field Details

  • Constructor Details

    • IqStanzaForwarderModule

      public IqStanzaForwarderModule()
  • 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
    • isRequest

      protected boolean isRequest(tigase.server.Packet packet) throws MUCException
      Throws:
      MUCException
    • generateJidShortcut

      protected static String generateJidShortcut(tigase.xmpp.jid.JID jid) throws tigase.component.exceptions.ComponentException
      Throws:
      tigase.component.exceptions.ComponentException
    • forwardPacket

      protected void forwardPacket(tigase.server.Packet packet, Room room, String senderNickname, tigase.xmpp.jid.JID senderJID, String recipientNickname, boolean isRequest) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.util.stringprep.TigaseStringprepException
    • forwardPacket

      protected void forwardPacket(tigase.server.Packet packet, tigase.xmpp.jid.BareJID roomJID, String senderNickname, tigase.xmpp.jid.JID recipientJid, String id) throws tigase.util.stringprep.TigaseStringprepException
      Throws:
      tigase.util.stringprep.TigaseStringprepException
    • checkIfProcessed

      protected boolean checkIfProcessed(tigase.xml.Element element)