Package tigase.mix.modules
Class RoomVCardModule
java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.pubsub.AbstractPubSubModule
tigase.mix.modules.RoomVCardModule
- All Implemented Interfaces:
tigase.component.modules.Module,tigase.stats.StatisticHolder
@Bean(name="roomVCardModule",
parent=IMixComponent.class,
active=true)
public class RoomVCardModule
extends tigase.pubsub.AbstractPubSubModule
-
Field Summary
Fields inherited from class tigase.pubsub.AbstractPubSubModule
config, log, 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 TypeMethodDescriptionbooleancanHandle(tigase.server.Packet packet) getAvatarData(tigase.xmpp.jid.BareJID channelJID) getAvatarType(tigase.xmpp.jid.BareJID channelJID) String[]tigase.criteria.Criteriavoidprocess(tigase.server.Packet packet) 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.stats.StatisticHolder
everyHour, everyMinute, everySecond
-
Constructor Details
-
RoomVCardModule
public RoomVCardModule()
-
-
Method Details
-
canHandle
public boolean canHandle(tigase.server.Packet packet) - Specified by:
canHandlein interfacetigase.component.modules.Module- Overrides:
canHandlein classtigase.pubsub.AbstractPubSubModule
-
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
-
getAvatarData
protected Optional<String> getAvatarData(tigase.xmpp.jid.BareJID channelJID) throws tigase.component.exceptions.RepositoryException, tigase.component.exceptions.ComponentException - Throws:
tigase.component.exceptions.RepositoryExceptiontigase.component.exceptions.ComponentException
-
getAvatarType
protected Optional<String> getAvatarType(tigase.xmpp.jid.BareJID channelJID) throws tigase.component.exceptions.RepositoryException, tigase.component.exceptions.ComponentException - Throws:
tigase.component.exceptions.RepositoryExceptiontigase.component.exceptions.ComponentException
-