Class PresencePerNodeExtension
java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.pubsub.AbstractPubSubModule
tigase.pubsub.modules.ext.presence.PresencePerNodeExtension
- All Implemented Interfaces:
tigase.component.modules.Module,tigase.kernel.beans.Initializable,tigase.kernel.beans.UnregisterAware,tigase.stats.StatisticHolder
@Bean(name="presencePerNodeExtension",
parent=PubSubComponent.class,
active=false)
public class PresencePerNodeExtension
extends AbstractPubSubModule
implements tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsFields inherited from class tigase.pubsub.AbstractPubSubModule
config, packetWriter, pubSubLogicFields inherited from class tigase.stats.CounterValue
counter, level, nameFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancanHandle(tigase.server.Packet packet) tigase.eventbus.EventBustigase.criteria.CriteriaCollection<tigase.xmpp.jid.JID> getNodeOccupants(tigase.xmpp.jid.BareJID serviceJID, String nodeName) getNodes(tigase.xmpp.jid.BareJID serviceJID, tigase.xmpp.jid.JID occupantJID) Collection<tigase.server.Packet> getPresence(tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xmpp.jid.BareJID occupantJID) tigase.server.PacketgetPresence(tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xmpp.jid.JID occupantJID) voidvoidprocess(tigase.server.Packet packet) voidsetEventBus(tigase.eventbus.EventBus eventBus) Methods inherited from class tigase.pubsub.AbstractPubSubModule
getRepository, makeArray, makeArrayMethods inherited from class tigase.stats.StatisticHolderImpl
getStatistics, setStatisticsPrefix, statisticExecutedInMethods inherited from class tigase.stats.Counter
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondMethods inherited from class tigase.stats.CounterValue
getLevel, getName, getValue, inc, setName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tigase.component.modules.Module
getFeaturesMethods inherited from interface tigase.stats.StatisticHolder
everyHour, everyMinute, everySecond
-
Field Details
-
XMLNS_EXTENSION
- See Also:
-
log
-
-
Constructor Details
-
PresencePerNodeExtension
public PresencePerNodeExtension()
-
-
Method Details
-
getEventBus
public tigase.eventbus.EventBus getEventBus() -
setEventBus
public void setEventBus(tigase.eventbus.EventBus eventBus) -
getNodeOccupants
public Collection<tigase.xmpp.jid.JID> getNodeOccupants(tigase.xmpp.jid.BareJID serviceJID, String nodeName) -
getNodes
public Collection<String> getNodes(tigase.xmpp.jid.BareJID serviceJID, tigase.xmpp.jid.JID occupantJID) -
getPresence
public Collection<tigase.server.Packet> getPresence(tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xmpp.jid.BareJID occupantJID) -
getPresence
public tigase.server.Packet getPresence(tigase.xmpp.jid.BareJID serviceJID, String nodeName, tigase.xmpp.jid.JID occupantJID) -
initialize
public void initialize()- Specified by:
initializein interfacetigase.kernel.beans.Initializable
-
beforeUnregister
public void beforeUnregister()- Specified by:
beforeUnregisterin interfacetigase.kernel.beans.UnregisterAware
-
canHandle
public boolean canHandle(tigase.server.Packet packet) - Specified by:
canHandlein interfacetigase.component.modules.Module- Overrides:
canHandlein classAbstractPubSubModule
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria()- Specified by:
getModuleCriteriain interfacetigase.component.modules.Module
-
process
public void process(tigase.server.Packet packet) - Specified by:
processin interfacetigase.component.modules.Module
-