public class GroupchatMessageModule extends AbstractModule
config, log, repository, writer| Constructor and Description |
|---|
GroupchatMessageModule(MucConfig config,
ElementWriter writer,
IMucRepository mucRepository,
HistoryProvider historyProvider,
MucLogger mucLogger)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFeatures()
Method description
|
tigase.criteria.Criteria |
getModuleCriteria()
Method description
|
boolean |
isChatStateAllowed()
Method description
|
void |
process(tigase.server.Packet packet)
Method description
|
void |
sendMessagesToAllOccupants(Room room,
tigase.xmpp.JID fromJID,
tigase.xml.Element... content)
Method description
|
void |
setChatStateAllowed(Boolean allowed)
Method description
|
createResultIQ, getNicknameFromJid, sendMucMessagepublic GroupchatMessageModule(MucConfig config, ElementWriter writer, IMucRepository mucRepository, HistoryProvider historyProvider, MucLogger mucLogger)
config - writer - mucRepository - historyProvider - mucLogger - public String[] getFeatures()
public tigase.criteria.Criteria getModuleCriteria()
public boolean isChatStateAllowed()
public void process(tigase.server.Packet packet)
throws MUCException
packet - MUCExceptionpublic void sendMessagesToAllOccupants(Room room, tigase.xmpp.JID fromJID, tigase.xml.Element... content) throws tigase.util.TigaseStringprepException
room - fromJID - content - tigase.util.TigaseStringprepExceptionpublic void setChatStateAllowed(Boolean allowed)
allowed - Copyright © 2007–2014 Tigase. All rights reserved.