Package tigase.muc.modules
Class RegisterModule
java.lang.Object
tigase.component.modules.AbstractModule
tigase.muc.modules.AbstractMucModule
tigase.muc.modules.RegisterModule
- All Implemented Interfaces:
tigase.component.modules.Module
@Bean(name="register",
parent=MUCComponent.class,
active=true)
public class RegisterModule
extends AbstractMucModule
Module provides ability to register nicknames in MUC rooms and use "send to offline" feature allowing users have their
group chat messages delivered to their XMPP server even when they are offline.
-
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 TypeMethodDescriptionprotected void
protected void
checkPermission
(Room room, tigase.xmpp.jid.JID jid) String[]
tigase.criteria.Criteria
protected Room
getRoom
(tigase.xmpp.jid.BareJID roomJID) void
process
(tigase.server.Packet packet) protected void
processGet
(tigase.server.Packet packet) protected void
processSet
(tigase.server.Packet packet) Methods inherited from class tigase.muc.modules.AbstractMucModule
createResultIQ, getNicknameFromJid, sendMucMessage, validateRTBL
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
-
Constructor Details
-
RegisterModule
public RegisterModule()
-
-
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.ComponentException
tigase.util.stringprep.TigaseStringprepException
-
processGet
protected void processGet(tigase.server.Packet packet) throws tigase.component.exceptions.RepositoryException, MUCException - Throws:
tigase.component.exceptions.RepositoryException
MUCException
-
processSet
protected void processSet(tigase.server.Packet packet) throws tigase.component.exceptions.RepositoryException, MUCException - Throws:
tigase.component.exceptions.RepositoryException
MUCException
-
getRoom
protected Room getRoom(tigase.xmpp.jid.BareJID roomJID) throws MUCException, tigase.component.exceptions.RepositoryException - Throws:
MUCException
tigase.component.exceptions.RepositoryException
-
checkPermission
- Throws:
MUCException
-
addForm
-