public class PircListener
extends org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
Modifier and Type | Class and Description |
---|---|
static interface |
PircListener.InviteListener |
static interface |
PircListener.JoinListener |
static interface |
PircListener.PartListener |
Modifier and Type | Field and Description |
---|---|
static String |
CHAT_ESTABLISHER |
Constructor and Description |
---|
PircListener(org.pircbotx.PircBotX pircBot,
String nick) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(hudson.plugins.im.IMConnectionListener listener) |
void |
addInviteListener(PircListener.InviteListener listener) |
void |
addJoinListener(PircListener.JoinListener listener) |
void |
addMessageListener(String target,
hudson.plugins.im.IMMessageListener listener) |
void |
addMessageListener(String target,
String sender,
hudson.plugins.im.IMMessageListener listener) |
void |
addPartListener(PircListener.PartListener listener) |
void |
onDisconnect(org.pircbotx.hooks.events.DisconnectEvent<org.pircbotx.PircBotX> event) |
void |
onInvite(org.pircbotx.hooks.events.InviteEvent<org.pircbotx.PircBotX> event) |
void |
onJoin(org.pircbotx.hooks.events.JoinEvent<org.pircbotx.PircBotX> event) |
void |
onKick(org.pircbotx.hooks.events.KickEvent<org.pircbotx.PircBotX> event) |
void |
onMessage(org.pircbotx.hooks.events.MessageEvent<org.pircbotx.PircBotX> event) |
void |
onNickAlreadyInUse(org.pircbotx.hooks.events.NickAlreadyInUseEvent<org.pircbotx.PircBotX> event) |
void |
onNickChange(org.pircbotx.hooks.events.NickChangeEvent<org.pircbotx.PircBotX> event) |
void |
onNotice(org.pircbotx.hooks.events.NoticeEvent<org.pircbotx.PircBotX> event)
Someone send me a notice.
|
void |
onPart(org.pircbotx.hooks.events.PartEvent<org.pircbotx.PircBotX> event) |
void |
onPrivateMessage(org.pircbotx.hooks.events.PrivateMessageEvent<org.pircbotx.PircBotX> event) |
void |
onServerResponse(org.pircbotx.hooks.events.ServerResponseEvent<org.pircbotx.PircBotX> event) |
void |
removeConnectionListener(hudson.plugins.im.IMConnectionListener listener) |
void |
removeInviteListener(PircListener.InviteListener listener) |
void |
removeJoinListener(PircListener.JoinListener listener) |
void |
removeMessageListener(String target,
hudson.plugins.im.IMMessageListener listener) |
void |
removePartListener(PircListener.PartListener listener) |
onAction, onChannelInfo, onConnect, onEvent, onFinger, onGenericChannel, onGenericChannelMode, onGenericChannelUser, onGenericCTCP, onGenericDCC, onGenericMessage, onGenericUser, onGenericUserMode, onHalfOp, onIncomingChatRequest, onIncomingFileTransfer, onMode, onMotd, onOp, onOwner, onPing, onQuit, onRemoveChannelBan, onRemoveChannelKey, onRemoveChannelLimit, onRemoveInviteOnly, onRemoveModerated, onRemoveNoExternalMessages, onRemovePrivate, onRemoveSecret, onRemoveTopicProtection, onServerPing, onSetChannelBan, onSetChannelKey, onSetChannelLimit, onSetInviteOnly, onSetModerated, onSetNoExternalMessages, onSetPrivate, onSetSecret, onSetTopicProtection, onSocketConnect, onSuperOp, onTime, onTopic, onUnknown, onUserList, onUserMode, onVersion, onVoice, onWhois
public static final String CHAT_ESTABLISHER
public PircListener(org.pircbotx.PircBotX pircBot, String nick)
public void onMessage(org.pircbotx.hooks.events.MessageEvent<org.pircbotx.PircBotX> event)
onMessage
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onPrivateMessage(org.pircbotx.hooks.events.PrivateMessageEvent<org.pircbotx.PircBotX> event)
onPrivateMessage
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onNotice(org.pircbotx.hooks.events.NoticeEvent<org.pircbotx.PircBotX> event)
onNotice
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onJoin(org.pircbotx.hooks.events.JoinEvent<org.pircbotx.PircBotX> event)
onJoin
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onPart(org.pircbotx.hooks.events.PartEvent<org.pircbotx.PircBotX> event)
onPart
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onKick(org.pircbotx.hooks.events.KickEvent<org.pircbotx.PircBotX> event)
onKick
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onServerResponse(org.pircbotx.hooks.events.ServerResponseEvent<org.pircbotx.PircBotX> event)
onServerResponse
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onNickChange(org.pircbotx.hooks.events.NickChangeEvent<org.pircbotx.PircBotX> event)
onNickChange
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onNickAlreadyInUse(org.pircbotx.hooks.events.NickAlreadyInUseEvent<org.pircbotx.PircBotX> event)
onNickAlreadyInUse
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onDisconnect(org.pircbotx.hooks.events.DisconnectEvent<org.pircbotx.PircBotX> event)
onDisconnect
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void onInvite(org.pircbotx.hooks.events.InviteEvent<org.pircbotx.PircBotX> event)
onInvite
in class org.pircbotx.hooks.ListenerAdapter<org.pircbotx.PircBotX>
public void addConnectionListener(hudson.plugins.im.IMConnectionListener listener)
public void removeConnectionListener(hudson.plugins.im.IMConnectionListener listener)
public void addMessageListener(String target, hudson.plugins.im.IMMessageListener listener)
public void addMessageListener(String target, String sender, hudson.plugins.im.IMMessageListener listener)
public void removeMessageListener(String target, hudson.plugins.im.IMMessageListener listener)
public void addJoinListener(PircListener.JoinListener listener)
public void removeJoinListener(PircListener.JoinListener listener)
public void addInviteListener(PircListener.InviteListener listener)
public void removeInviteListener(PircListener.InviteListener listener)
public void addPartListener(PircListener.PartListener listener)
public void removePartListener(PircListener.PartListener listener)
Copyright © 2016–2020. All rights reserved.