public abstract class ListenerAdapter extends Object implements Listener
To use, simply override the method that has the event you want to capture.
WARNING: If you are going to be implementing Listener
's
Listener.onEvent(org.pircbotx.hooks.Event)
method, you must call
super.onEvent(event)
, otherwise none of the Adapter hook methods
will be called!
Constructor and Description |
---|
ListenerAdapter() |
public void onAction(ActionEvent event) throws Exception
Exception
public void onBanList(BanListEvent event) throws Exception
Exception
public void onChannelInfo(ChannelInfoEvent event) throws Exception
Exception
public void onConnect(ConnectEvent event) throws Exception
Exception
public void onConnectAttemptFailed(ConnectAttemptFailedEvent event) throws Exception
Exception
public void onDisconnect(DisconnectEvent event) throws Exception
Exception
public void onException(ExceptionEvent event) throws Exception
Exception
public void onFinger(FingerEvent event) throws Exception
Exception
public void onHalfOp(HalfOpEvent event) throws Exception
Exception
public void onIncomingChatRequest(IncomingChatRequestEvent event) throws Exception
Exception
public void onIncomingFileTransfer(IncomingFileTransferEvent event) throws Exception
Exception
public void onInvite(InviteEvent event) throws Exception
Exception
public void onListenerException(ListenerExceptionEvent event) throws Exception
Exception
public void onMessage(MessageEvent event) throws Exception
Exception
public void onNickAlreadyInUse(NickAlreadyInUseEvent event) throws Exception
Exception
public void onNickChange(NickChangeEvent event) throws Exception
Exception
public void onNotice(NoticeEvent event) throws Exception
Exception
public void onOutput(OutputEvent event) throws Exception
Exception
public void onOwner(OwnerEvent event) throws Exception
Exception
public void onPrivateMessage(PrivateMessageEvent event) throws Exception
Exception
public void onRemoveChannelBan(RemoveChannelBanEvent event) throws Exception
Exception
public void onRemoveChannelKey(RemoveChannelKeyEvent event) throws Exception
Exception
public void onRemoveChannelLimit(RemoveChannelLimitEvent event) throws Exception
Exception
public void onRemoveInviteOnly(RemoveInviteOnlyEvent event) throws Exception
Exception
public void onRemoveModerated(RemoveModeratedEvent event) throws Exception
Exception
public void onRemoveNoExternalMessages(RemoveNoExternalMessagesEvent event) throws Exception
Exception
public void onRemovePrivate(RemovePrivateEvent event) throws Exception
Exception
public void onRemoveSecret(RemoveSecretEvent event) throws Exception
Exception
public void onRemoveTopicProtection(RemoveTopicProtectionEvent event) throws Exception
Exception
public void onServerPing(ServerPingEvent event) throws Exception
Exception
public void onServerResponse(ServerResponseEvent event) throws Exception
Exception
public void onSetChannelBan(SetChannelBanEvent event) throws Exception
Exception
public void onSetChannelKey(SetChannelKeyEvent event) throws Exception
Exception
public void onSetChannelLimit(SetChannelLimitEvent event) throws Exception
Exception
public void onSetInviteOnly(SetInviteOnlyEvent event) throws Exception
Exception
public void onSetModerated(SetModeratedEvent event) throws Exception
Exception
public void onSetNoExternalMessages(SetNoExternalMessagesEvent event) throws Exception
Exception
public void onSetPrivate(SetPrivateEvent event) throws Exception
Exception
public void onSetSecret(SetSecretEvent event) throws Exception
Exception
public void onSetTopicProtection(SetTopicProtectionEvent event) throws Exception
Exception
public void onSocketConnect(SocketConnectEvent event) throws Exception
Exception
public void onSuperOp(SuperOpEvent event) throws Exception
Exception
public void onTopic(TopicEvent event) throws Exception
Exception
public void onUnknown(UnknownEvent event) throws Exception
Exception
public void onUserList(UserListEvent event) throws Exception
Exception
public void onUserMode(UserModeEvent event) throws Exception
Exception
public void onVersion(VersionEvent event) throws Exception
Exception
public void onVoice(VoiceEvent event) throws Exception
Exception
public void onWhois(WhoisEvent event) throws Exception
Exception
public void onGenericCTCP(GenericCTCPEvent event) throws Exception
Exception
public void onGenericUserMode(GenericUserModeEvent event) throws Exception
Exception
public void onGenericChannelMode(GenericChannelModeEvent event) throws Exception
Exception
public void onGenericChannelModeRecipient(GenericChannelModeRecipientEvent event) throws Exception
Exception
public void onGenericDCC(GenericDCCEvent event) throws Exception
Exception
public void onGenericMessage(GenericMessageEvent event) throws Exception
Exception
public void onGenericChannel(GenericChannelEvent event) throws Exception
Exception
public void onGenericUser(GenericUserEvent event) throws Exception
Exception
public void onGenericChannelUser(GenericChannelUserEvent event) throws Exception
Exception
Copyright © 2010–2020 Leon Blakey. All rights reserved.