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
-
-
Constructor Summary
Constructors Constructor Description RoomVCardModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(tigase.server.Packet packet)protected java.util.Optional<java.lang.String>getAvatarData(tigase.xmpp.jid.BareJID channelJID)protected java.util.Optional<java.lang.String>getAvatarType(tigase.xmpp.jid.BareJID channelJID)java.lang.String[]getFeatures()tigase.criteria.CriteriagetModuleCriteria()voidprocess(tigase.server.Packet packet)-
Methods inherited from class tigase.stats.StatisticHolderImpl
getStatistics, setStatisticsPrefix, statisticExecutedIn
-
Methods inherited from class tigase.stats.Counter
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecond
-
Methods inherited from class tigase.stats.CounterValue
getLevel, getName, getValue, inc, setName, toString
-
-
-
-
Method Detail
-
canHandle
public boolean canHandle(tigase.server.Packet packet)
- Specified by:
canHandlein interfacetigase.component.modules.Module- Overrides:
canHandlein classtigase.pubsub.AbstractPubSubModule
-
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.ComponentExceptiontigase.util.stringprep.TigaseStringprepException
-
getAvatarData
protected java.util.Optional<java.lang.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 java.util.Optional<java.lang.String> getAvatarType(tigase.xmpp.jid.BareJID channelJID) throws tigase.component.exceptions.RepositoryException, tigase.component.exceptions.ComponentException- Throws:
tigase.component.exceptions.RepositoryExceptiontigase.component.exceptions.ComponentException
-
-