Class AffiliationChangedModule

java.lang.Object
tigase.component.modules.AbstractModule
tigase.push.modules.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    tigase.criteria.Criteria
     
    void
    notifyAffiliationChanged(tigase.xmpp.jid.BareJID pushServiceJid, tigase.xmpp.jid.BareJID userJid, 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 Details

    • AffiliationChangedModule

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

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