hudson.plugins.ircbot.v2
Class PircListener
java.lang.Object
org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
hudson.plugins.ircbot.v2.PircListener
- All Implemented Interfaces:
- org.pircbotx.hooks.Listener<org.pircbotx.PircBotX>
public class PircListener
- extends org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
PircBot listener to react to certain IRC events.
- Author:
- kutzi (original), $Author: kutzi $ (last change)
| Fields inherited from class org.pircbotx.hooks.ListenerAdapter |
eventToMethod |
|
Constructor Summary |
PircListener(org.pircbotx.PircBotX pircBot,
java.lang.String nick)
|
| Methods inherited from class org.pircbotx.hooks.ListenerAdapter |
onAction, onChannelInfo, onConnect, onEvent, onFileTransferFinished, onFinger, onGenericChannelMode, onGenericCTCPCommand, onGenericDCC, onGenericMessage, onGenericUserMode, onHalfOp, onIncomingChatRequest, onIncomingFileTransfer, onMode, onMotd, onNickChange, onOp, onOwner, onPing, onQuit, onRemoveChannelBan, onRemoveChannelKey, onRemoveChannelLimit, onRemoveInviteOnly, onRemoveModerated, onRemoveNoExternalMessages, onRemovePrivate, onRemoveSecret, onRemoveTopicProtection, onServerPing, onSetChannelBan, onSetChannelKey, onSetChannelLimit, onSetInviteOnly, onSetModerated, onSetNoExternalMessages, onSetPrivate, onSetSecret, onSetTopicProtection, onSuperOp, onTime, onTopic, onUnknown, onUserList, onUserMode, onVersion, onVoice |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHAT_ESTABLISHER
public static final java.lang.String CHAT_ESTABLISHER
PircListener
public PircListener(org.pircbotx.PircBotX pircBot,
java.lang.String nick)
onMessage
public void onMessage(org.pircbotx.hooks.events.MessageEvent<org.pircbotx.PircBotX> event)
-
- Overrides:
onMessage in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onPrivateMessage
public void onPrivateMessage(org.pircbotx.hooks.events.PrivateMessageEvent<org.pircbotx.PircBotX> event)
-
- Overrides:
onPrivateMessage in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onNotice
public void onNotice(org.pircbotx.hooks.events.NoticeEvent<org.pircbotx.PircBotX> event)
- Someone send me a notice. Possibly NickServ after identifying.
- Overrides:
onNotice in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onJoin
public void onJoin(org.pircbotx.hooks.events.JoinEvent<org.pircbotx.PircBotX> event)
-
- Overrides:
onJoin in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onPart
public void onPart(org.pircbotx.hooks.events.PartEvent<org.pircbotx.PircBotX> event)
- Overrides:
onPart in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onKick
public void onKick(org.pircbotx.hooks.events.KickEvent<org.pircbotx.PircBotX> event)
- Overrides:
onKick in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onServerResponse
public void onServerResponse(org.pircbotx.hooks.events.ServerResponseEvent<org.pircbotx.PircBotX> event)
- Overrides:
onServerResponse in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onDisconnect
public void onDisconnect(org.pircbotx.hooks.events.DisconnectEvent<org.pircbotx.PircBotX> event)
- Overrides:
onDisconnect in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
onInvite
public void onInvite(org.pircbotx.hooks.events.InviteEvent<org.pircbotx.PircBotX> event)
- Overrides:
onInvite in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
addConnectionListener
public void addConnectionListener(hudson.plugins.im.IMConnectionListener listener)
removeConnectionListener
public void removeConnectionListener(hudson.plugins.im.IMConnectionListener listener)
addMessageListener
public void addMessageListener(java.lang.String target,
hudson.plugins.im.IMMessageListener listener)
addMessageListener
public void addMessageListener(java.lang.String target,
java.lang.String sender,
hudson.plugins.im.IMMessageListener listener)
removeMessageListener
public void removeMessageListener(java.lang.String target,
hudson.plugins.im.IMMessageListener listener)
addJoinListener
public void addJoinListener(PircListener.JoinListener listener)
removeJoinListener
public void removeJoinListener(PircListener.JoinListener listener)
addInviteListener
public void addInviteListener(PircListener.InviteListener listener)
removeInviteListener
public void removeInviteListener(PircListener.InviteListener listener)
addPartListener
public void addPartListener(PircListener.PartListener listener)
removePartListener
public void removePartListener(PircListener.PartListener listener)
Copyright © 2011. All Rights Reserved.