public void onPrivmsg(String chan, IRCUser u, String msg) { Set<LelyFeedListener> listeners = channelListeners.get(chan); if (listeners != null) { LelyFeedEvent event = new LelyFeedEvent(System.currentTimeMillis(), chan, u.getNick(), msg); for (LelyFeedListener listener : listeners) { listener.onEvent(event); } } log.debug(chan + "> " + u.getNick() + ": " + msg); }
public void onTopic(String chan, IRCUser u, String topic) { log.info(chan + "> " + u.getNick() + " changes topic into: " + topic); }
public void onQuit(IRCUser u, String msg) { log.info("Quit: " + u.getNick()); }
public void onPart(String chan, IRCUser u, String msg) { log.info(chan + "> " + u.getNick() + " parts"); }
public void onNick(IRCUser u, String nickNew) { log.info("Nick: " + u.getNick() + " is now known as " + nickNew); }
public void onNotice(String target, IRCUser u, String msg) { log.info(target + "> " + u.getNick() + " (notice): " + msg); }
public void onMode(String chan, IRCUser u, IRCModeParser mp) { log.info(chan + "> " + u.getNick() + " sets mode: " + mp.getLine()); }
public void onMode(IRCUser u, String nickPass, String mode) { log.info("Mode: " + u.getNick() + " sets modes " + mode + " " + nickPass); }
public void onKick(String chan, IRCUser u, String nickPass, String msg) { log.info(chan + "> " + u.getNick() + " kicks " + nickPass); }
public void onJoin(String chan, IRCUser u) { log.info(chan + "> " + u.getNick() + " joins"); }
public void onInvite(String chan, IRCUser u, String nickPass) { log.info(chan + "> " + u.getNick() + " invites " + nickPass); }