public class GroupchatMessageModule extends AbstractMucModule
| Constructor and Description |
|---|
GroupchatMessageModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMessageToHistory(Room room,
tigase.xml.Element message,
String body,
tigase.xmpp.JID senderJid,
String senderNickname,
Date time) |
protected void |
addSubjectChangeToHistory(Room room,
tigase.xml.Element message,
String subject,
tigase.xmpp.JID senderJid,
String senderNickname,
Date time) |
void |
afterRegistration() |
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) |
void |
sendMessagesToAllOccupants(Room room,
tigase.xmpp.JID fromJID,
String messageId,
tigase.xml.Element... content)
Method description
|
void |
sendMessagesToAllOccupantsJids(Room room,
tigase.xmpp.JID fromJID,
tigase.xml.Element... content) |
void |
sendMessagesToAllOccupantsJids(Room room,
tigase.xmpp.JID fromJID,
String messageId,
tigase.xml.Element... content) |
createResultIQ, getNicknameFromJid, sendMucMessagepublic static final String ID
protected void addMessageToHistory(Room room, tigase.xml.Element message, String body, tigase.xmpp.JID senderJid, String senderNickname, Date time)
room - cData - senderJID - nickName - sendDate - protected void addSubjectChangeToHistory(Room room, tigase.xml.Element message, String subject, tigase.xmpp.JID senderJid, String senderNickname, Date time)
room - cData - senderJID - nickName - sendDate - public void afterRegistration()
afterRegistration in interface tigase.component.modules.InitializingModuleafterRegistration in class tigase.component.modules.AbstractModule<MucContext>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
tigase.util.TigaseStringprepExceptionpublic void sendMessagesToAllOccupants(Room room, tigase.xmpp.JID fromJID, String messageId, tigase.xml.Element... content) throws tigase.util.TigaseStringprepException
room - fromJID - sendDate - content - tigase.util.TigaseStringprepExceptionpublic void sendMessagesToAllOccupantsJids(Room room, tigase.xmpp.JID fromJID, tigase.xml.Element... content) throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionCopyright © 2007–2015 Tigase. All rights reserved.