Package tigase.muc.modules
Class AbstractMucModule
java.lang.Object
tigase.component.modules.AbstractModule
tigase.muc.modules.AbstractMucModule
- All Implemented Interfaces:
tigase.component.modules.Module
- Direct Known Subclasses:
GroupchatMessageModule
,IqStanzaForwarderModule
,MediatedInvitationModule
,MessageModerationModule
,ModeratorModule
,PresenceModuleImpl
,PrivateMessageModule
,RegisterModule
,RoomConfigurationModule
,UniqueRoomNameModule
,VCardModule
public abstract class AbstractMucModule
extends tigase.component.modules.AbstractModule
- Author:
- bmalkow
-
Field Summary
Fields inherited from class tigase.component.modules.AbstractModule
eventBus, log, writer
Fields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic tigase.xml.Element
createResultIQ
(tigase.xml.Element iq) static String
getNicknameFromJid
(tigase.xmpp.jid.JID jid) protected void
sendMucMessage
(Room room, String recipientNickame, String message) protected void
validateRTBL
(tigase.xmpp.jid.BareJID senderJID, Affiliation affiliation) Methods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.component.modules.Module
canHandle, getFeatures, getModuleCriteria, process
-
Constructor Details
-
AbstractMucModule
public AbstractMucModule()
-
-
Method Details
-
createResultIQ
public static tigase.xml.Element createResultIQ(tigase.xml.Element iq) -
getNicknameFromJid
-
sendMucMessage
protected void sendMucMessage(Room room, String recipientNickame, String message) throws tigase.util.stringprep.TigaseStringprepException - Throws:
tigase.util.stringprep.TigaseStringprepException
-
validateRTBL
protected void validateRTBL(tigase.xmpp.jid.BareJID senderJID, Affiliation affiliation) throws MUCException - Throws:
MUCException
-