tigase.muc.modules
Class GroupchatMessageModule

java.lang.Object
  extended by tigase.muc.modules.AbstractModule
      extended by tigase.muc.modules.GroupchatMessageModule
All Implemented Interfaces:
Module

public class GroupchatMessageModule
extends AbstractModule

Author:
bmalkow

Field Summary
 
Fields inherited from class tigase.muc.modules.AbstractModule
config, log, repository, writer
 
Constructor Summary
GroupchatMessageModule(MucConfig config, ElementWriter writer, IMucRepository mucRepository, HistoryProvider historyProvider, MucLogger mucLogger)
           
 
Method Summary
 String[] getFeatures()
           
 tigase.criteria.Criteria getModuleCriteria()
           
 boolean isChatStateAllowed()
           
 void process(tigase.server.Packet packet)
           
 void sendMessagesToAllOccupants(Room room, tigase.xmpp.JID fromJID, tigase.xml.Element... content)
           
 void setChatStateAllowed(Boolean allowed)
           
 
Methods inherited from class tigase.muc.modules.AbstractModule
createResultIQ, getNicknameFromJid, isProcessedByModule, sendMucMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupchatMessageModule

public GroupchatMessageModule(MucConfig config,
                              ElementWriter writer,
                              IMucRepository mucRepository,
                              HistoryProvider historyProvider,
                              MucLogger mucLogger)
Method Detail

getFeatures

public String[] getFeatures()

getModuleCriteria

public tigase.criteria.Criteria getModuleCriteria()

isChatStateAllowed

public boolean isChatStateAllowed()

process

public void process(tigase.server.Packet packet)
             throws MUCException
Throws:
MUCException

sendMessagesToAllOccupants

public void sendMessagesToAllOccupants(Room room,
                                       tigase.xmpp.JID fromJID,
                                       tigase.xml.Element... content)
                                throws tigase.util.TigaseStringprepException
Throws:
tigase.util.TigaseStringprepException

setChatStateAllowed

public void setChatStateAllowed(Boolean allowed)


Copyright © 2007-2012 Tigase. All Rights Reserved.