rero.bridges.event
Class EventChatListener

java.lang.Object
  extended byrero.bridges.event.EventChatListener
All Implemented Interfaces:
ChatListener
Direct Known Subclasses:
FilterChatListener, GeneralChatListener, PredicateChatListener, PrivateChatListener, PublicChatListener

public abstract class EventChatListener
extends Object
implements ChatListener


Field Summary
protected  List listeners
           
protected  int storedFlags
           
 
Fields inherited from interface rero.ircfw.interfaces.ChatListener
EVENT_DONE, EVENT_HALT, REMOVE_LISTENER
 
Constructor Summary
EventChatListener()
           
 
Method Summary
 void addListener(CodeSnippet code)
           
 int fireChatEvent(HashMap eventDescription)
           
abstract  boolean isChatEvent(String eventId, HashMap eventDescription)
           
 void setFlags(int flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

protected List listeners

storedFlags

protected int storedFlags
Constructor Detail

EventChatListener

public EventChatListener()
Method Detail

setFlags

public void setFlags(int flag)

addListener

public void addListener(CodeSnippet code)

fireChatEvent

public int fireChatEvent(HashMap eventDescription)
Specified by:
fireChatEvent in interface ChatListener

isChatEvent

public abstract boolean isChatEvent(String eventId,
                                    HashMap eventDescription)
Specified by:
isChatEvent in interface ChatListener