public class TemporaryListener extends ListenerAdapter
done()
.
Constructor and Description |
---|
TemporaryListener(PircBotX bot)
Create a TemporaryListener for the specified bot
|
Modifier and Type | Method and Description |
---|---|
void |
done()
Remove this listener from the
ListenerManager |
void |
onEvent(Event event) |
onAction, onBanList, onChannelInfo, onConnect, onConnectAttemptFailed, onDisconnect, onException, onFinger, onGenericChannel, onGenericChannelMode, onGenericChannelModeRecipient, onGenericChannelUser, onGenericCTCP, onGenericDCC, onGenericMessage, onGenericUser, onGenericUserMode, onHalfOp, onIncomingChatRequest, onIncomingFileTransfer, onInvite, onJoin, onKick, onListenerException, onMessage, onMode, onMotd, onNickAlreadyInUse, onNickChange, onNotice, onOp, onOutput, onOwner, onPart, onPing, onPrivateMessage, onQuit, onRemoveChannelBan, onRemoveChannelKey, onRemoveChannelLimit, onRemoveInviteOnly, onRemoveModerated, onRemoveNoExternalMessages, onRemovePrivate, onRemoveSecret, onRemoveTopicProtection, onServerPing, onServerResponse, onSetChannelBan, onSetChannelKey, onSetChannelLimit, onSetInviteOnly, onSetModerated, onSetNoExternalMessages, onSetPrivate, onSetSecret, onSetTopicProtection, onSocketConnect, onSuperOp, onTime, onTopic, onUnknown, onUserList, onUserMode, onVersion, onVoice, onWhois
public TemporaryListener(@NonNull PircBotX bot)
bot
- The bot that your interested inpublic void onEvent(Event event) throws Exception
onEvent
in interface Listener
onEvent
in class ListenerAdapter
Exception
public void done()
ListenerManager
Copyright © 2010–2020 Leon Blakey. All rights reserved.