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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
    protected boolean
    checkIfProcessed(tigase.xml.Element element)
     
    protected void
    forwardPacket(tigase.server.Packet packet, Room room, String senderNickname, tigase.xmpp.jid.JID senderJID, String recipientNickname, boolean isRequest)
     
    protected void
    forwardPacket(tigase.server.Packet packet, tigase.xmpp.jid.BareJID roomJID, String senderNickname, tigase.xmpp.jid.JID recipientJid, String id)
     
    protected static String
    generateJidShortcut(tigase.xmpp.jid.JID jid)
     
     
    tigase.criteria.Criteria
     
    protected boolean
    isRequest(tigase.server.Packet packet)
     
    void
    process(tigase.server.Packet packet)
     

    Methods inherited from class tigase.muc.modules.AbstractMucModule

    createResultIQ, getNicknameFromJid, sendMucMessage

    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
  • 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)