Class MucControllerModule
java.lang.Object
tigase.workgroupqueues.modules.AbstractModule
tigase.workgroupqueues.modules.muc.MucControllerModule
- All Implemented Interfaces:
Module
@Bean(name="MucControllerModule",
active=true)
public class MucControllerModule
extends AbstractModule
-
Field Summary
FieldsFields inherited from class tigase.workgroupqueues.modules.AbstractModule
writer, XMLNSFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAgent(Queue queue, Room room, Agent agent, AsyncCallback asyncCallback) voidaddUser(Queue queue, Room room, User user, AsyncCallback asyncCallback) voidcreateRoom(Queue queue, Room room, AsyncCallback asyncCallback) voiddestroyRoom(Queue queue, Room room) String[]Returns XMPP features offered by module.Returns critera used by Component to select module to handle incoming stanza.voidProcess incoming stanza.Methods inherited from class tigase.workgroupqueues.modules.AbstractModule
write, write
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
MucControllerModule
public MucControllerModule()
-
-
Method Details
-
addAgent
public void addAgent(Queue queue, Room room, Agent agent, AsyncCallback asyncCallback) throws TigaseStringprepException - Throws:
TigaseStringprepException
-
addUser
public void addUser(Queue queue, Room room, User user, AsyncCallback asyncCallback) throws TigaseStringprepException - Throws:
TigaseStringprepException
-
createRoom
public void createRoom(Queue queue, Room room, AsyncCallback asyncCallback) throws TigaseStringprepException - Throws:
TigaseStringprepException
-
destroyRoom
- Throws:
TigaseStringprepException
-
generateRoomName
-
getFeatures
Description copied from interface:ModuleReturns XMPP features offered by module. Features will be returned by Service Discovery.- Returns:
- array of features or
null.
-
getModuleCriteria
Description copied from interface:ModuleReturns critera used by Component to select module to handle incoming stanza.- Returns:
- criteria of selecting module.
-
process
Description copied from interface:ModuleProcess incoming stanza.- Parameters:
packet- receivedstanza.- Throws:
ComponentException- if stanza can't be processed correctly. ComponentException is converted to error stanza and returned to stanza sender.TigaseStringprepException- if there was an error during stringprep processing.
-