Class AffiliationChangedModule

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

    @Bean(name="affiliation-changed",
          parent=PushNotificationsComponent.class,
          active=true)
    public class AffiliationChangedModule
    extends tigase.component.modules.AbstractModule
    Created by andrzej on 04.01.2017.
    • Field Summary

      • Fields inherited from class tigase.component.modules.AbstractModule

        eventBus, log, writer
      • Fields inherited from interface tigase.component.modules.Module

        EMPTY_FEATURES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getFeatures()  
      tigase.criteria.Criteria getModuleCriteria()  
      void notifyAffiliationChanged​(tigase.xmpp.jid.BareJID pushServiceJid, tigase.xmpp.jid.BareJID userJid, java.lang.String node, tigase.pubsub.Affiliation affiliation)  
      void process​(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

      • AffiliationChangedModule

        public AffiliationChangedModule()
    • 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
      • notifyAffiliationChanged

        public void notifyAffiliationChanged​(tigase.xmpp.jid.BareJID pushServiceJid,
                                             tigase.xmpp.jid.BareJID userJid,
                                             java.lang.String node,
                                             tigase.pubsub.Affiliation affiliation)