Class MessageModerationModule
java.lang.Object
tigase.component.modules.AbstractModule
tigase.muc.modules.AbstractMucModule
tigase.muc.modules.MessageModerationModule
- All Implemented Interfaces:
tigase.component.modules.Module
@Bean(name="urn:xmpp:message-moderate:1",
parent=MUCComponent.class,
active=true)
public class MessageModerationModule
extends AbstractMucModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class tigase.component.modules.AbstractModule
eventBus, log, writerFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractMucModule
createResultIQ, getNicknameFromJid, sendMucMessage, validateRTBLMethods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.component.modules.Module
canHandle
-
Field Details
-
XMLNS_0
- See Also:
-
XMLNS_1
- See Also:
-
RETRACT_XMLNS_1
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
MessageModerationModule
public MessageModerationModule()
-
-
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
-
getRoom
protected @NonNull Room getRoom(tigase.xmpp.jid.BareJID roomJID) throws MUCException, tigase.component.exceptions.RepositoryException - Throws:
MUCExceptiontigase.component.exceptions.RepositoryException
-