@Bean(name="MucControllerModule", active=true) public class MucControllerModule extends AbstractModule
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
writer, XMLNSEMPTY_FEATURES| Constructor and Description |
|---|
MucControllerModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
generateRoomName() |
String[] |
getFeatures()
Returns XMPP features offered by module.
|
Criteria |
getModuleCriteria()
Returns critera used by Component to select module to handle incoming stanza.
|
void |
process(Packet packet)
Process incoming stanza.
|
write, writepublic static final String ID
public void addAgent(Queue queue, Room room, Agent agent, AsyncCallback asyncCallback) throws TigaseStringprepException
TigaseStringprepExceptionpublic void addUser(Queue queue, Room room, User user, AsyncCallback asyncCallback) throws TigaseStringprepException
TigaseStringprepExceptionpublic void createRoom(Queue queue, Room room, AsyncCallback asyncCallback) throws TigaseStringprepException
TigaseStringprepExceptionpublic void destroyRoom(Queue queue, Room room) throws TigaseStringprepException
TigaseStringprepExceptionpublic String generateRoomName()
public String[] getFeatures()
Modulenull.public Criteria getModuleCriteria()
Modulepublic void process(Packet packet) throws ComponentException, TigaseStringprepException
Modulepacket - received stanza.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.Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.