Package | Description |
---|---|
org.pircbotx |
Core PircBotX classes
|
org.pircbotx.exception |
Custom PircBotX exceptions
|
org.pircbotx.hooks |
General Listener classes
|
org.pircbotx.hooks.events |
All supported events of PircBotX
|
org.pircbotx.hooks.managers |
Listener Manager interface and implementations
|
Modifier and Type | Method and Description |
---|---|
static void |
Utils.dispatchEvent(PircBotX bot,
Event event) |
Constructor and Description |
---|
UnknownEventException(Event event) |
UnknownEventException(Event event,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
<E extends GenericEvent> |
WaitForQueue.waitFor(Class<? extends E>... eventClasses)
Wait indefinitely for the one of the specified events to be dispatched
|
<E extends GenericEvent> |
WaitForQueue.waitFor(List<Class<? extends E>> eventClasses)
Wait indefinitely for the one of the specified events to be dispatched
|
<E extends GenericEvent> |
WaitForQueue.waitFor(List<Class<? extends E>> eventClasses,
long timeout,
TimeUnit unit)
Wait for events of the specified event class to appear in the queue.
|
Modifier and Type | Method and Description |
---|---|
int |
Event.compareTo(Event other)
Compare events by
getTimestamp() and then getId() to
order by when they are received. |
void |
TemporaryListener.onEvent(Event event) |
void |
ListenerAdapter.onEvent(Event event) |
void |
Listener.onEvent(Event event) |
Modifier and Type | Class and Description |
---|---|
class |
ActionEvent
Called whenever an ACTION is sent from a user.
|
class |
BanListEvent |
class |
ChannelInfoEvent
After calling the listChannels() method in PircBotX, the server will start to
send us information about each channel on the server.
|
class |
ConnectAttemptFailedEvent |
class |
ConnectEvent
This event is dispatched once we successfully connected to the IRC server.
|
class |
DisconnectEvent
This event is dispatched when we get disconnected.
|
class |
ExceptionEvent
Dispatched when an Exception is encountered
|
class |
FingerEvent
This event is dispatched whenever we receive a FINGER request.
|
class |
HalfOpEvent
Called when a user (possibly us) gets halfop status granted in a channel.
|
class |
IncomingChatRequestEvent
This event will be dispatched whenever a DCC Chat request is received.
|
class |
IncomingFileTransferEvent
This event is dispatched whenever a DCC SEND request is sent to the PircBotX.
|
class |
InviteEvent
Called when we are invited to a channel by a user.
|
class |
JoinEvent
This event is dispatched whenever someone (possibly us) joins a channel which
we are on.
|
class |
KickEvent
This event is dispatched whenever someone (possibly us) is kicked from any of
the channels that we are in.
|
class |
ListenerExceptionEvent
Dispatched when a listener throws an Exception.
|
class |
MessageEvent
Used whenever a message is sent to a channel.
|
class |
ModeEvent
Used when the mode of a channel is set.
|
class |
MotdEvent
This event is dispatched when the Motd is finished being sent.
|
class |
NickAlreadyInUseEvent
A nick is already in use error from server.
|
class |
NickChangeEvent
This event is dispatched whenever someone (possibly us) changes nick on any
of the channels that we are on.
|
class |
NoticeEvent
This event is dispatched whenever we receive a notice.
|
class |
OpEvent
Called when a user (possibly us) gets granted operator status for a channel.
|
class |
OutputEvent
A command sent to the IRC server from PircBotX
|
class |
OwnerEvent
Called when a user (possibly us) gets owner status granted in a channel.
|
class |
PartEvent
This event is dispatched whenever someone (possibly us) parts a channel which
we are on.
|
class |
PingEvent
This event is dispatched whenever we receive a PING request from another
user.
|
class |
PrivateMessageEvent
This event is dispatched whenever a private message is sent to us.
|
class |
QuitEvent
This event is dispatched whenever someone (possibly us) quits from the
server.
|
class |
RemoveChannelBanEvent
Called when a hostmask ban is removed from a channel.
|
class |
RemoveChannelKeyEvent
Called when a channel key is removed.
|
class |
RemoveChannelLimitEvent
Called when the user limit is removed for a channel.
|
class |
RemoveInviteOnlyEvent
Called when a channel has 'invite only' removed.
|
class |
RemoveModeratedEvent
Called when a channel has moderated mode removed.
|
class |
RemoveNoExternalMessagesEvent
Called when a channel is set to allow messages from any user, even if they
are not actually in the channel.
|
class |
RemovePrivateEvent
Called when a channel is marked as not being in private mode.
|
class |
RemoveSecretEvent
Called when a channel has 'secret' mode removed.
|
class |
RemoveTopicProtectionEvent
Called when topic protection is removed for a channel.
|
class |
ServerPingEvent
The actions to perform when a PING request comes from the server.
|
class |
ServerResponseEvent
This is called when we receive a numeric response from the IRC server.
|
class |
SetChannelBanEvent
Called when a user (possibly us) gets banned from a channel.
|
class |
SetChannelKeyEvent
Called when a channel key is set.
|
class |
SetChannelLimitEvent
Called when a user limit is set for a channel.
|
class |
SetInviteOnlyEvent
Called when a channel is set to 'invite only' mode.
|
class |
SetModeratedEvent
Called when a channel is set to 'moderated' mode.
|
class |
SetNoExternalMessagesEvent
Called when a channel is set to only allow messages from users that are in
the channel.
|
class |
SetPrivateEvent
Called when a channel is marked as being in private mode.
|
class |
SetSecretEvent
Called when a channel is set to be in 'secret' mode.
|
class |
SetTopicProtectionEvent
Called when topic protection is enabled for a channel.
|
class |
SocketConnectEvent
This event is dispatched once we successfully connected to the IRC server.
|
class |
SuperOpEvent
Called when a user (possibly us) gets superop status granted in a channel.
|
class |
TimeEvent
This event is dispatched whenever we receive a TIME request.
|
class |
TopicEvent
This event is dispatched whenever a user sets the topic, or when we join a
new channel and discovers its topic.
|
class |
UnknownEvent
This event is dispatched whenever we receive a line from the server that
PircBotX has not been programmed to recognize.
|
class |
UserListEvent
This event is dispatched when we receive a user list from the server after
joining a channel.
|
class |
UserModeEvent
Called when the mode of a user is set.
|
class |
VersionEvent
This event is dispatched whenever we receive a VERSION request.
|
class |
VoiceEvent
Called when a user (possibly us) gets voice status granted in a channel.
|
class |
WhoisEvent
Dispatched when we receive a completed Whois request.
|
Modifier and Type | Method and Description |
---|---|
Event |
ListenerExceptionEvent.getSourceEvent() |
Constructor and Description |
---|
ListenerExceptionEvent(PircBotX bot,
Exception exception,
String message,
Listener listener,
Event sourceEvent) |
Modifier and Type | Method and Description |
---|---|
Event |
ThreadedListenerManager.ManagedFutureTask.getEvent() |
Modifier and Type | Method and Description |
---|---|
void |
SequentialListenerManager.ListenerExecutor.handleEvent(Event event) |
void |
SequentialListenerManager.InlineListenerExecutor.handleEvent(Event event) |
void |
SequentialListenerManager.PooledListenerExecutor.handleEvent(Event event) |
void |
ThreadedListenerManager.onEvent(Event event) |
void |
SequentialListenerManager.onEvent(Event event) |
void |
ListenerManager.onEvent(Event event)
Sends event to all appropriate listeners.
|
void |
GenericListenerManager.onEvent(Event event)
Deprecated.
|
void |
BackgroundListenerManager.onEvent(Event event) |
void |
AbstractListenerManager.onEvent(Event event) |
Constructor and Description |
---|
ManagedFutureTask(Listener listener,
Event event,
Runnable run) |
Copyright © 2010–2020 Leon Blakey. All rights reserved.