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, XMLNS
Fields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAgent
(Queue queue, Room room, Agent agent, AsyncCallback asyncCallback) void
addUser
(Queue queue, Room room, User user, AsyncCallback asyncCallback) void
createRoom
(Queue queue, Room room, AsyncCallback asyncCallback) void
destroyRoom
(Queue queue, Room room) String[]
Returns XMPP features offered by module.Returns critera used by Component to select module to handle incoming stanza.void
Process 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:Module
Returns XMPP features offered by module. Features will be returned by Service Discovery.- Returns:
- array of features or
null
.
-
getModuleCriteria
Description copied from interface:Module
Returns critera used by Component to select module to handle incoming stanza.- Returns:
- criteria of selecting module.
-
process
Description copied from interface:Module
Process 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.
-