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
 
Constructor Summary
GroupchatMessageModule(MucConfig config, IMucRepository mucRepository, IChatRoomLogger chatRoomLogger)
           
 
Method Summary
 java.lang.String[] getFeatures()
           
 tigase.criteria.Criteria getModuleCriteria()
           
 java.util.List<tigase.xml.Element> process(tigase.xml.Element element)
           
 java.util.List<tigase.xml.Element> sendMessagesToAllOccupants(Room room, java.lang.String fromJid, tigase.xml.Element... content)
           
 
Methods inherited from class tigase.muc.modules.AbstractModule
createResultIQ, getNicknameFromJid, getRoomId, isProcessedByModule, makeArray, prepateMucMessage
 
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,
                              IMucRepository mucRepository,
                              IChatRoomLogger chatRoomLogger)
Method Detail

getFeatures

public java.lang.String[] getFeatures()

getModuleCriteria

public tigase.criteria.Criteria getModuleCriteria()

process

public java.util.List<tigase.xml.Element> process(tigase.xml.Element element)
                                           throws MUCException
Throws:
MUCException

sendMessagesToAllOccupants

public java.util.List<tigase.xml.Element> sendMessagesToAllOccupants(Room room,
                                                                     java.lang.String fromJid,
                                                                     tigase.xml.Element... content)


Copyright © 2007-2008 Tigase. All Rights Reserved.