rero.ircfw
Class ChatFramework

java.lang.Object
  extended byrero.ircfw.ChatFramework

public class ChatFramework
extends Object


Field Summary
protected  ProtocolHandler protocol
           
 
Constructor Summary
ChatFramework()
           
 
Method Summary
 void addChatListener(ChatListener l)
           
 void addTemporaryListener(ChatListener l)
           
 ProtocolDispatcher getProtocolDispatcher()
           
 ProtocolHandler getProtocolHandler()
           
 void injectEvent(String data)
          Injects a string into the data stream as if it came from the server.
 void storeDataStructures(WeakHashMap centralDataRepository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

protected ProtocolHandler protocol
Constructor Detail

ChatFramework

public ChatFramework()
Method Detail

getProtocolHandler

public ProtocolHandler getProtocolHandler()

getProtocolDispatcher

public ProtocolDispatcher getProtocolDispatcher()

storeDataStructures

public void storeDataStructures(WeakHashMap centralDataRepository)

injectEvent

public void injectEvent(String data)
Injects a string into the data stream as if it came from the server. parsed in the same manner. format should be :nick!user@host EVENT_NAME target :parameters just like the irc protocol. Since jIRC handles everything in a generic way, client events will be more uniform with this system


addTemporaryListener

public void addTemporaryListener(ChatListener l)

addChatListener

public void addChatListener(ChatListener l)