Package | Description |
---|---|
org.pircbotx |
Core PircBotX classes
|
org.pircbotx.cap | |
org.pircbotx.dcc | |
org.pircbotx.hooks |
General Listener classes
|
org.pircbotx.hooks.events |
All supported events of PircBotX
|
org.pircbotx.hooks.managers |
Listener Manager interface and implementations
|
org.pircbotx.hooks.types |
Generic Interfaces for groups of events that do generally the same thing
|
org.pircbotx.output | |
org.pircbotx.snapshot |
Modifier and Type | Method and Description |
---|---|
<T extends PircBotX> |
UserHostmask.getBot() |
<T extends PircBotX> |
ServerInfo.getBot() |
<T extends PircBotX> |
Channel.getBot() |
<B extends PircBotX> |
MultiBotManager.getBotById(int id)
Lookup a managed bot by id.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSortedSet<PircBotX> |
MultiBotManager.getBots()
Get all the bots that this MultiBotManager is managing.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiBotManager.addBot(PircBotX bot)
|
static void |
Utils.addBotToMDC(PircBotX bot) |
void |
MultiBotManager.addNetwork(PircBotX bot)
Adds a bot to be managed.
|
int |
PircBotX.compareTo(PircBotX other)
Compare
bot id's . |
Channel |
Configuration.BotFactory.createChannel(PircBotX bot,
String name) |
DccHandler |
Configuration.BotFactory.createDccHandler(PircBotX bot) |
InputParser |
Configuration.BotFactory.createInputParser(PircBotX bot) |
OutputCAP |
Configuration.BotFactory.createOutputCAP(PircBotX bot) |
OutputChannel |
Configuration.BotFactory.createOutputChannel(PircBotX bot,
Channel channel) |
OutputDCC |
Configuration.BotFactory.createOutputDCC(PircBotX bot) |
OutputIRC |
Configuration.BotFactory.createOutputIRC(PircBotX bot) |
OutputRaw |
Configuration.BotFactory.createOutputRaw(PircBotX bot) |
OutputUser |
Configuration.BotFactory.createOutputUser(PircBotX bot,
UserHostmask user) |
ReceiveChat |
Configuration.BotFactory.createReceiveChat(PircBotX bot,
User user,
Socket socket) |
ReceiveFileTransfer |
Configuration.BotFactory.createReceiveFileTransfer(PircBotX bot,
Socket socket,
User user,
File file,
long startPosition,
long fileSize) |
SendChat |
Configuration.BotFactory.createSendChat(PircBotX bot,
User user,
Socket socket) |
SendFileTransfer |
Configuration.BotFactory.createSendFileTransfer(PircBotX bot,
Socket socket,
User user,
File file,
long startPosition) |
ServerInfo |
Configuration.BotFactory.createServerInfo(PircBotX bot) |
UserChannelDao |
Configuration.BotFactory.createUserChannelDao(PircBotX bot) |
UserHostmask |
Configuration.BotFactory.createUserHostmask(PircBotX bot,
String hostmask) |
UserHostmask |
Configuration.BotFactory.createUserHostmask(PircBotX bot,
String extbanPrefix,
String nick,
String login,
String hostname) |
static void |
Utils.dispatchEvent(PircBotX bot,
Event event) |
abstract void |
ChannelModeHandler.handleMode(PircBotX bot,
Channel channel,
UserHostmask sourceHostmask,
User sourceUser,
com.google.common.collect.PeekingIterator<String> params,
boolean adding,
boolean dispatchEvent) |
static void |
Utils.sendRawLineToServer(PircBotX bot,
String rawLine)
Sends a raw line to the server.
|
static void |
Utils.setNickServIdentified(PircBotX bot)
Sets bot as identified to nickserv.
|
Constructor and Description |
---|
InputParser(Configuration configuration,
PircBotX bot) |
InputParser(PircBotX bot) |
ServerInfo(PircBotX bot) |
Modifier and Type | Method and Description |
---|---|
boolean |
TLSCapHandler.handleACK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
SASLCapHandler.handleACK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
EnableCapHandler.handleACK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
CapHandler.handleACK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
EnableCapHandler.handleLS(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
CapHandler.handleLS(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
EnableCapHandler.handleNAK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
CapHandler.handleNAK(PircBotX bot,
com.google.common.collect.ImmutableList<String> capabilities) |
boolean |
TLSCapHandler.handleUnknown(PircBotX bot,
String rawLine) |
boolean |
SASLCapHandler.handleUnknown(PircBotX bot,
String rawLine) |
boolean |
EnableCapHandler.handleUnknown(PircBotX bot,
String rawLine) |
boolean |
CapHandler.handleUnknown(PircBotX bot,
String rawLine) |
Constructor and Description |
---|
DccHandler(PircBotX bot) |
Modifier and Type | Method and Description |
---|---|
<T extends PircBotX> |
Event.getBot() |
Constructor and Description |
---|
Event(PircBotX bot) |
TemporaryListener(PircBotX bot)
Create a TemporaryListener for the specified bot
|
WaitForQueue(PircBotX bot)
Create and store a queue listener in the specified bot's ListenerManager.
|
Modifier and Type | Method and Description |
---|---|
WhoisEvent |
WhoisEvent.Builder.generateEvent(PircBotX bot) |
Constructor and Description |
---|
ActionEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
Channel channel,
String channelSource,
String action,
com.google.common.collect.ImmutableMap<String,String> tags) |
BanListEvent(PircBotX bot,
Channel channel,
com.google.common.collect.ImmutableList<BanListEvent.Entry> entries) |
ChannelInfoEvent(PircBotX bot,
com.google.common.collect.ImmutableList<ChannelListEntry> list) |
ConnectAttemptFailedEvent(PircBotX bot,
int remainingAttempts,
com.google.common.collect.ImmutableMap<InetSocketAddress,Exception> connectExceptions) |
ConnectEvent(PircBotX bot)
Default constructor to setup object.
|
DisconnectEvent(PircBotX bot,
UserChannelDaoSnapshot userChannelDaoSnapshot,
Exception disconnectException) |
ExceptionEvent(PircBotX bot,
Exception exception,
String message) |
FingerEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
Channel channel) |
HalfOpEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
boolean isHalfOp) |
IncomingChatRequestEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
InetAddress address,
int port,
String token,
boolean passive) |
IncomingFileTransferEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
String rawFilename,
String safeFilename,
InetAddress address,
int port,
long filesize,
String token,
boolean passive) |
InviteEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
String channel) |
JoinEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
KickEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
String reason) |
ListenerExceptionEvent(PircBotX bot,
Exception exception,
String message,
Listener listener,
Event sourceEvent) |
MessageEvent(PircBotX bot,
Channel channel,
String channelSource,
UserHostmask userHostmask,
User user,
String message,
com.google.common.collect.ImmutableMap<String,String> tags) |
ModeEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
String mode,
com.google.common.collect.ImmutableList<String> modeParsed) |
MotdEvent(PircBotX bot,
String motd) |
NickAlreadyInUseEvent(PircBotX bot,
String usedNick,
String autoNewNick,
boolean autoNickChange) |
NickChangeEvent(PircBotX bot,
String oldNick,
String newNick,
UserHostmask userHostmask,
User user) |
NoticeEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
Channel channel,
String channelSource,
String notice,
com.google.common.collect.ImmutableMap<String,String> tags) |
OpEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
boolean isOp) |
OutputEvent(PircBotX bot,
String rawLine,
List<String> lineParsed) |
OwnerEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
boolean isOwner) |
PartEvent(PircBotX bot,
UserChannelDaoSnapshot daoSnapshot,
ChannelSnapshot channel,
String channelName,
UserHostmask userHostmask,
UserSnapshot user,
String reason) |
PingEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
Channel channel,
String pingValue) |
PrivateMessageEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
String message,
com.google.common.collect.ImmutableMap<String,String> tags) |
QuitEvent(PircBotX bot,
UserChannelDaoSnapshot userChannelDaoSnapshot,
UserHostmask userHostmask,
UserSnapshot user,
String reason) |
RemoveChannelBanEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask hostmask) |
RemoveChannelKeyEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
String key) |
RemoveChannelLimitEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemoveInviteOnlyEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemoveModeratedEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemoveNoExternalMessagesEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemovePrivateEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemoveSecretEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
RemoveTopicProtectionEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
ServerPingEvent(PircBotX bot,
String response) |
ServerResponseEvent(PircBotX bot,
int code,
String rawLine,
com.google.common.collect.ImmutableList<String> parsedResponse) |
SetChannelBanEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask banHostmask) |
SetChannelKeyEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
String key) |
SetChannelLimitEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
int limit) |
SetInviteOnlyEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SetModeratedEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SetNoExternalMessagesEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SetPrivateEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SetSecretEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SetTopicProtectionEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
SocketConnectEvent(PircBotX bot)
Default constructor to setup object.
|
SuperOpEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
boolean isSuperOp) |
TimeEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user) |
TopicEvent(PircBotX bot,
Channel channel,
String oldTopic,
String topic,
UserHostmask user,
long date,
boolean changed) |
UnknownEvent(PircBotX bot,
String target,
String nick,
String command,
String line,
List<String> parsedLine,
com.google.common.collect.ImmutableMap<String,String> tags) |
UserListEvent(PircBotX bot,
Channel channel,
com.google.common.collect.ImmutableSortedSet<User> users,
boolean complete) |
UserModeEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
String mode) |
VersionEvent(PircBotX bot,
UserHostmask userHostmask,
User user,
Channel channel) |
VoiceEvent(PircBotX bot,
Channel channel,
UserHostmask userHostmask,
User user,
UserHostmask recipientHostmask,
User recipient,
boolean hasVoice) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadedListenerManager.shutdown(PircBotX bot) |
void |
SequentialListenerManager.shutdown(PircBotX bot) |
void |
ListenerManager.shutdown(PircBotX bot) |
void |
GenericListenerManager.shutdown(PircBotX bot)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends PircBotX> |
GenericEvent.getBot()
The
PircBotX instance that this event originally came from |
Constructor and Description |
---|
OutputCAP(PircBotX bot) |
OutputChannel(PircBotX bot,
Channel channel) |
OutputDCC(PircBotX bot) |
OutputIRC(PircBotX bot) |
OutputRaw(PircBotX bot) |
OutputUser(PircBotX bot,
UserHostmask serverUser) |
Constructor and Description |
---|
UserChannelDaoSnapshot(PircBotX bot,
Locale locale,
UserChannelMapSnapshot mainMap,
EnumMap<UserLevel,UserChannelMap<UserSnapshot,ChannelSnapshot>> levelsMap,
com.google.common.collect.ImmutableMap<String,UserSnapshot> userNickMap,
com.google.common.collect.ImmutableMap<String,ChannelSnapshot> channelNameMap,
com.google.common.collect.ImmutableMap<String,UserSnapshot> privateUsers) |
Copyright © 2010–2020 Leon Blakey. All rights reserved.