|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jackofalltrades.irc.event.IrcCommandAdapter
net.jackofalltrades.irc.impl.PrefixCacheCleaner
Provides mechanism to clean out the IrcPrefix
cache when a user
quits IRC.
// presuming an IrcConnection has already been created named 'connection'. connection.addIrcCommandListener(IrcConstants.QUIT, new PrefixCacheCleaner());
Constructor Summary | |
PrefixCacheCleaner()
Creates a new PrefixCacheCleaner . |
Method Summary | |
void |
commandReceived(IrcCommandEvent event)
Listens for the "QUIT" command and removes the prefix associated with the command from the prefix cache. |
Methods inherited from class net.jackofalltrades.irc.event.IrcCommandAdapter |
commandPrepared |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrefixCacheCleaner()
PrefixCacheCleaner
.
Method Detail |
public void commandReceived(IrcCommandEvent event)
commandReceived
in interface IrcCommandListener
commandReceived
in class IrcCommandAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |