Package tigase.push.modules
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, writerFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]tigase.criteria.CriteriavoidnotifyAffiliationChanged(tigase.xmpp.jid.BareJID pushServiceJid, tigase.xmpp.jid.BareJID userJid, String node, tigase.pubsub.Affiliation affiliation) voidprocess(tigase.server.Packet packet) Methods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.component.modules.Module
canHandle
-
Constructor Details
-
AffiliationChangedModule
public AffiliationChangedModule()
-
-
Method Details
-
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.ComponentExceptiontigase.util.stringprep.TigaseStringprepException
-
notifyAffiliationChanged
public void notifyAffiliationChanged(tigase.xmpp.jid.BareJID pushServiceJid, tigase.xmpp.jid.BareJID userJid, String node, tigase.pubsub.Affiliation affiliation)
-