A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes All Packages

A

accept() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Accept this request
accept() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
Accept the request
accept(String) - Method in class top.focess.qq.api.command.converter.ExceptionDataConverter
 
accept(String) - Method in class top.focess.qq.api.command.converter.NullDataConverter
 
accept(String) - Method in class top.focess.qq.api.command.DataConverter
Indicate whether this String argument is this target type or not
accept(String) - Method in class top.focess.qq.core.util.option.type.ExceptionOptionType
 
accept(String) - Method in class top.focess.qq.core.util.option.type.OptionType
 
addExecutor(int, CommandExecutor, String...) - Method in class top.focess.qq.api.command.Command
Add default executor to define how to execute this command.
ADMINISTRATOR - top.focess.qq.api.command.CommandPermission
 
aliases() - Method in annotation type top.focess.qq.api.command.CommandType
Set the aliases of the command
ALL - top.focess.qq.api.command.CommandResult
It includes all CommandResult
allocate(int) - Static method in class top.focess.qq.api.command.data.BooleanBuffer
Allocate a BooleanBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.CommandBuffer
 
allocate(int) - Static method in class top.focess.qq.api.command.data.DoubleBuffer
Allocate a DoubleBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.IntBuffer
Allocate a IntBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.LongBuffer
Allocate a LongBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.ObjectBuffer
Allocate a ObjectBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.PluginBuffer
Allocate a PluginBuffer with fixed size
allocate(int) - Static method in class top.focess.qq.api.command.data.StringBuffer
Allocate a StringBuffer with fixed size
ALLOW - top.focess.qq.api.command.CommandResult
It is accepted by the CommandExecutor
ALPHA_VERSION - Static variable in class top.focess.qq.api.util.version.Version
Represents an alpha version of a plugin.
AnnotationHandler - Interface in top.focess.qq.core.plugin
 
ARGS - top.focess.qq.api.command.CommandResult
It indicates that print help information to the receiver
AScheduler - Class in top.focess.qq.core.schedule
 
AScheduler(Plugin) - Constructor for class top.focess.qq.core.schedule.AScheduler
 
author() - Method in annotation type top.focess.qq.api.plugin.PluginType
Set the author of this plugin

B

Base64 - Class in top.focess.qq.api.util
This is a Base64 util class.
Base64() - Constructor for class top.focess.qq.api.util.Base64
 
base64Decode(String) - Static method in class top.focess.qq.api.util.Base64
Used to decode the data with base64
base64Encode(byte[]) - Static method in class top.focess.qq.api.util.Base64
Used to encode the data with base64 and StandardCharsets.ISO_8859_1 coded
BETA_VERSION - Static variable in class top.focess.qq.api.util.version.Version
Represents a beta version of a plugin.
BOOLEAN_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.DataConverter
Convert the String argument to Boolean argument
BooleanBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Boolean.
Bot - Interface in top.focess.qq.api.bot
This class is used to define a Mirai Bot Instance
BotCommand - Class in top.focess.qq.core.commands
 
BotCommand() - Constructor for class top.focess.qq.core.commands.BotCommand
 
BotEvent - Class in top.focess.qq.api.event.bot
Called when an event is relative with a bot
BotEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotEvent
Constructs a BotEvent
BotLoginEvent - Class in top.focess.qq.api.event.bot
Called when bot login
BotLoginEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotLoginEvent
Constructs a BotLoginEvent
BotLoginException - Exception in top.focess.qq.api.exceptions
Thrown to indicate a bot login failed
BotLoginException(long) - Constructor for exception top.focess.qq.api.exceptions.BotLoginException
Constructs a BotLoginException
BotLoginException(long, Exception) - Constructor for exception top.focess.qq.api.exceptions.BotLoginException
Constructs a BotLoginException
BotLoginException(long, String) - Constructor for exception top.focess.qq.api.exceptions.BotLoginException
 
BotLogoutEvent - Class in top.focess.qq.api.event.bot
Called when bot logout
BotLogoutEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotLogoutEvent
Constructs a BotLogoutEvent
BotManager - Interface in top.focess.qq.api.bot
This class is used to manage all the bots.
BotReloginEvent - Class in top.focess.qq.api.event.bot
Called when bot relogin
BotReloginEvent(Bot) - Constructor for class top.focess.qq.api.event.bot.BotReloginEvent
Constructs a BotReloginEvent

C

call() - Method in interface top.focess.qq.api.schedule.Callback
Call the target value
call() - Method in class top.focess.qq.core.schedule.FocessCallback
 
Callback<V> - Interface in top.focess.qq.api.schedule
The warped task.
cancel() - Method in interface top.focess.qq.api.schedule.Task
Cancel this task
cancel() - Method in class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
cancel(boolean) - Method in interface top.focess.qq.api.schedule.Task
Cancel this task
cancel(boolean) - Method in class top.focess.qq.api.util.CombinedFuture
 
cancel(boolean) - Method in class top.focess.qq.core.schedule.ComparableTask
 
cancel(boolean) - Method in class top.focess.qq.core.schedule.FocessCallback
 
cancel(boolean) - Method in class top.focess.qq.core.schedule.FocessTask
 
cancel(ITask) - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
cancelAll() - Method in interface top.focess.qq.api.schedule.Scheduler
Cancel all the tasks
cancelAll() - Method in class top.focess.qq.core.schedule.FocessScheduler
 
cancelAll() - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
Cancellable - Interface in top.focess.qq.api.event
This class indicates that the implemented event class is cancellable
ChatConstants - Class in top.focess.qq.core.commands.util
 
ChatConstants() - Constructor for class top.focess.qq.core.commands.util.ChatConstants
 
ChatEvent - Class in top.focess.qq.api.event.chat
Called when a friend chat with bot or a member chat in a group the bot is in
ChatEvent(Bot, MessageChain) - Constructor for class top.focess.qq.api.event.chat.ChatEvent
Constructs a ChatEvent
ChatListener - Class in top.focess.qq.core.listener
 
ChatListener() - Constructor for class top.focess.qq.core.listener.ChatListener
 
CLASS_PLUGIN_MAP - Static variable in class top.focess.qq.core.plugin.PluginClassLoader
 
clear() - Method in class top.focess.qq.core.schedule.FocessCallback
 
clear() - Method in class top.focess.qq.core.schedule.FocessTask
 
Client - Interface in top.focess.qq.api.net
Represents a Client connected to a server.
ClientPacket - Class in top.focess.qq.api.net.packet
The class indicates that this packet is for client side.
ClientPacket(int, String) - Constructor for class top.focess.qq.api.net.packet.ClientPacket
Constructs a ClientPacket
ClientPackPacket - Class in top.focess.qq.api.net.packet
Used to pack package sent by client.
ClientPackPacket(int, String, Packet) - Constructor for class top.focess.qq.api.net.packet.ClientPackPacket
Constructs a ClientPackPacket
ClientPackPacketCodec - Class in top.focess.qq.api.net.packet
Codec for ClientPackPacket.
ClientPackPacketCodec() - Constructor for class top.focess.qq.api.net.packet.ClientPackPacketCodec
 
ClientReceiver - Interface in top.focess.qq.api.net
The socket receiver for client.
close() - Method in interface top.focess.qq.api.net.Receiver
Close the receiver.
close() - Method in interface top.focess.qq.api.net.Socket
Close the socket
close() - Method in interface top.focess.qq.api.schedule.Scheduler
Close this scheduler
close() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
close() - Method in class top.focess.qq.core.net.FocessReceiver
 
close() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
close() - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
close() - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
close() - Method in class top.focess.qq.core.net.FocessSidedSocket
 
close() - Method in class top.focess.qq.core.net.FocessSocket
 
close() - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
close() - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
close() - Method in class top.focess.qq.core.net.FocessUDPSocket
 
close() - Method in class top.focess.qq.core.schedule.AScheduler
 
close() - Method in class top.focess.qq.core.schedule.FocessScheduler
 
close() - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
close() - Method in class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
close(Plugin) - Static method in class top.focess.qq.api.schedule.Schedulers
Close all the schedulers belonging to the plugin
close(Plugin) - Static method in class top.focess.qq.core.schedule.AScheduler
Close all the schedulers belonging to the plugin
closeAll() - Static method in class top.focess.qq.api.schedule.Schedulers
Close all the schedulers
closeAll() - Static method in class top.focess.qq.core.schedule.AScheduler
Close all the schedulers
combine(Future<Boolean>) - Method in class top.focess.qq.api.util.CombinedFuture
Combine a Future of Boolean
CombinedFuture - Class in top.focess.qq.api.util
Represent a Future of Boolean instance
CombinedFuture() - Constructor for class top.focess.qq.api.util.CombinedFuture
 
Command - Class in top.focess.qq.api.command
Represent a Plugin class that can execute.
Command() - Constructor for class top.focess.qq.api.command.Command
Provide a constructor to help PluginType design.
Command(String, String...) - Constructor for class top.focess.qq.api.command.Command
Instance a Command Class with special name and aliases.
COMMAND_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.converter.CommandDataConverter
Convert the String argument to Command argument
Command.Executor - Class in top.focess.qq.api.command
This class is used to help define the executor of certain command.
CommandBuffer - Class in top.focess.qq.api.command.data
 
CommandBuffer(int) - Constructor for class top.focess.qq.api.command.data.CommandBuffer
 
CommandCommand - Class in top.focess.qq.core.commands
 
CommandCommand() - Constructor for class top.focess.qq.core.commands.CommandCommand
 
CommandDataConverter - Class in top.focess.qq.api.command.converter
Convert the String argument to Command argument
CommandDataConverter() - Constructor for class top.focess.qq.api.command.converter.CommandDataConverter
 
CommandDuplicateException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is an existed command named this name
CommandDuplicateException(String) - Constructor for exception top.focess.qq.api.exceptions.CommandDuplicateException
Constructs a CommandDuplicateException
CommandExecutedEvent - Class in top.focess.qq.api.event.command
Called after command executed
CommandExecutedEvent(Command.Executor, String[], IOHandler, CommandSender, CommandResult) - Constructor for class top.focess.qq.api.event.command.CommandExecutedEvent
Constructs a CommandExecutedEvent
CommandExecutor - Interface in top.focess.qq.api.command
Represents a command executor to define how to execute command.
CommandLine() - Constructor for class top.focess.qq.FocessQQ.CommandLine
 
CommandLoadException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is any exception thrown in the initializing process
CommandLoadException(Class<? extends Command>, Exception) - Constructor for exception top.focess.qq.api.exceptions.CommandLoadException
Constructs a CommandLoadException
CommandPermission - Enum in top.focess.qq.api.command
 
CommandPrepostEvent - Class in top.focess.qq.api.event.command
Called before command executing
CommandPrepostEvent(CommandSender, Command, String[], IOHandler) - Constructor for class top.focess.qq.api.event.command.CommandPrepostEvent
Constructs a CommandPrepostEvent
CommandResult - Enum in top.focess.qq.api.command
The result after executing a Command.
CommandResultExecutor - Interface in top.focess.qq.api.command
Represents a CommandResult executor to define how to execute the CommandResult after executing a special CommandExecutor.
CommandSender - Class in top.focess.qq.api.command
This class present an executor to execute command.
CommandSender(Friend) - Constructor for class top.focess.qq.api.command.CommandSender
Present Friend
CommandSender(Member) - Constructor for class top.focess.qq.api.command.CommandSender
Present Member in Group
CommandSender(Stranger) - Constructor for class top.focess.qq.api.command.CommandSender
Present Stranger
CommandType - Annotation Type in top.focess.qq.api.command
Represent this class is a Command.
ComparableTask - Class in top.focess.qq.core.schedule
 
ComparableTask(long, ITask) - Constructor for class top.focess.qq.core.schedule.ComparableTask
 
compareTo(ComparableTask) - Method in class top.focess.qq.core.schedule.ComparableTask
 
Config - Class in top.focess.qq.api.util.config
 
Config(File) - Constructor for class top.focess.qq.api.util.config.Config
 
connect(DataCollection, T) - Method in class top.focess.qq.api.command.DataConverter
Used to put data into the dataCollection
connect(DataCollection, Command) - Method in class top.focess.qq.api.command.converter.CommandDataConverter
 
connect(DataCollection, Plugin) - Method in class top.focess.qq.api.command.converter.PluginDataConverter
 
ConnectedPacket - Class in top.focess.qq.api.net.packet
Used to tell client the id and the token
ConnectedPacket(int, String) - Constructor for class top.focess.qq.api.net.packet.ConnectedPacket
Constructs a ConnectedPacket
ConnectedPacketCodec - Class in top.focess.qq.api.net.packet
Codec for ConnectedPacket.
ConnectedPacketCodec() - Constructor for class top.focess.qq.api.net.packet.ConnectedPacketCodec
 
ConnectPacket - Class in top.focess.qq.api.net.packet
Used to connect to the server.
ConnectPacket(String, int, String) - Constructor for class top.focess.qq.api.net.packet.ConnectPacket
Constructs a ConnectPacket
ConnectPacketCodec - Class in top.focess.qq.api.net.packet
Codec for ConnectPacket.
ConnectPacketCodec() - Constructor for class top.focess.qq.api.net.packet.ConnectPacketCodec
 
CONSOLE - Static variable in class top.focess.qq.api.command.CommandSender
Present CONSOLE or we call it Terminate
CONSOLE_DEBUG_HEADER - Static variable in class top.focess.qq.core.commands.util.ChatConstants
 
CONSOLE_FATAL_HEADER - Static variable in class top.focess.qq.core.commands.util.ChatConstants
 
CONSOLE_INPUT_HEADER - Static variable in class top.focess.qq.core.commands.util.ChatConstants
 
CONSOLE_OUTPUT_HEADER - Static variable in class top.focess.qq.core.commands.util.ChatConstants
 
ConsoleChatEvent - Class in top.focess.qq.api.event.chat
Called when Console input a String
ConsoleChatEvent(String) - Constructor for class top.focess.qq.api.event.chat.ConsoleChatEvent
Constructs a ConsoleInputEvent
consoleInput(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message inputted by console with DEBUG level
ConsoleListener - Class in top.focess.qq.core.listener
 
ConsoleListener() - Constructor for class top.focess.qq.core.listener.ConsoleListener
 
ConsoleMessageEvent - Class in top.focess.qq.api.event.message
Called when Console input a String (this does not execute any commands)
ConsoleMessageEvent(String) - Constructor for class top.focess.qq.api.event.message.ConsoleMessageEvent
 
contains(String) - Method in interface top.focess.qq.api.util.SectionMap
Indicate there is a key-value pair named key
containsClientSide() - Method in interface top.focess.qq.api.net.Socket
Indicate this socket contains client side receiver
containsClientSide() - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
containsClientSide() - Method in class top.focess.qq.core.net.FocessSidedSocket
 
containsClientSide() - Method in class top.focess.qq.core.net.FocessSocket
 
containsClientSide() - Method in class top.focess.qq.core.net.FocessUDPSocket
 
containsServerSide() - Method in interface top.focess.qq.api.net.Socket
Indicate this socket contains server side receiver
containsServerSide() - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
containsServerSide() - Method in class top.focess.qq.core.net.FocessSidedSocket
 
containsServerSide() - Method in class top.focess.qq.core.net.FocessSocket
 
containsServerSide() - Method in class top.focess.qq.core.net.FocessUDPSocket
 
convert(String) - Method in class top.focess.qq.api.command.converter.CommandDataConverter
 
convert(String) - Method in class top.focess.qq.api.command.converter.PluginDataConverter
 
convert(String) - Method in class top.focess.qq.api.command.DataConverter
Convert String argument to target argument
createOption(String[]) - Method in class top.focess.qq.core.util.option.OptionParserClassifier
 
createSection(String) - Method in class top.focess.qq.api.util.json.JSON
 
createSection(String) - Method in interface top.focess.qq.api.util.SectionMap
Create the section named key
createSection(String) - Method in class top.focess.qq.api.util.session.Session
 
createSection(String) - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 

D

DataBuffer<T> - Class in top.focess.qq.api.command.data
A buffer which stores data
DataBuffer() - Constructor for class top.focess.qq.api.command.data.DataBuffer
 
DataCollection - Class in top.focess.qq.api.command
Store and parser arguments for better CommandExecutor usage.
DataCollection(DataConverter<?>[]) - Constructor for class top.focess.qq.api.command.DataCollection
Initialize the DataCollection with fixed size.
DataCollection.BufferGetter - Interface in top.focess.qq.api.command
Represents a getter for buffer.
DataConverter<T> - Class in top.focess.qq.api.command
This class used to convert String data to target T type data.
DataConverter() - Constructor for class top.focess.qq.api.command.DataConverter
 
debug(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with DEBUG level
debugLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with DEBUG level
DEFAULT_CLASS_LOADER - Static variable in class top.focess.qq.core.plugin.PluginCoreClassLoader
 
DEFAULT_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.DataConverter
Never convert it! Put them into DataCollection with their original values.
DEFAULT_OPTION_TYPE - Static variable in class top.focess.qq.core.util.option.type.OptionType
 
DEFAULT_VERSION - Static variable in class top.focess.qq.api.util.version.Version
Represents a default release version of a plugin.
DefaultConfig - Class in top.focess.qq.api.util.config
 
DefaultConfig(File) - Constructor for class top.focess.qq.api.util.config.DefaultConfig
 
depend() - Method in annotation type top.focess.qq.api.plugin.PluginType
Set the dependent plugins for the plugin
disable() - Method in class top.focess.qq.api.plugin.LazyPlugin
 
disable() - Method in class top.focess.qq.api.plugin.Plugin
Used to save some data of the plugin
disable() - Method in class top.focess.qq.FocessQQ.MainPlugin
 
disablePlugin(Plugin) - Static method in class top.focess.qq.core.plugin.PluginClassLoader
Used to disable plugin
DisconnectedPacket - Class in top.focess.qq.api.net.packet
Used to tell client the connection has lost.
DisconnectedPacket() - Constructor for class top.focess.qq.api.net.packet.DisconnectedPacket
Constructs a DisconnectedPacket
DisconnectedPacketCodec - Class in top.focess.qq.api.net.packet
Codec for DisconnectedPacket.
DisconnectedPacketCodec() - Constructor for class top.focess.qq.api.net.packet.DisconnectedPacketCodec
 
DisconnectPacket - Class in top.focess.qq.api.net.packet
Used to tell server the connection has lost.
DisconnectPacket(int, String) - Constructor for class top.focess.qq.api.net.packet.DisconnectPacket
Constructs a DisconnectedPacket
DisconnectPacketCodec - Class in top.focess.qq.api.net.packet
Codec for DisconnectPacket.
DisconnectPacketCodec() - Constructor for class top.focess.qq.api.net.packet.DisconnectPacketCodec
 
DOUBLE_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.DataConverter
Convert the String argument to Double argument
DOUBLE_PREDICATE - Static variable in class top.focess.qq.api.command.DataConverter
It is a Predicate used to predicate a String is a Double
DoubleBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Double.

E

enable() - Method in class top.focess.qq.api.plugin.LazyPlugin
 
enable() - Method in class top.focess.qq.api.plugin.Plugin
Used to initialize the plugin
enable() - Method in class top.focess.qq.FocessQQ.MainPlugin
 
enablePlugin(Plugin) - Static method in class top.focess.qq.core.plugin.PluginClassLoader
Used to enable plugin
equals(Object) - Method in class top.focess.qq.api.command.CommandSender
 
equals(Object) - Method in class top.focess.qq.api.plugin.Plugin
 
equals(Object) - Method in class top.focess.qq.core.bot.SimpleBot
 
Event - Class in top.focess.qq.api.event
This is the base class of Event Chain.
Event() - Constructor for class top.focess.qq.api.event.Event
 
EventHandler - Annotation Type in top.focess.qq.api.event
Represent an event listener method.
EventManager - Class in top.focess.qq.api.event
This class is used to submit Event for developers.
EventManager() - Constructor for class top.focess.qq.api.event.EventManager
 
EventPriority - Enum in top.focess.qq.api.event
This class is used to define the priority of the event listener to better define the whole event chain
EventSubmitException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is any invalid section in Event Submit Chain
EventSubmitException(Event) - Constructor for exception top.focess.qq.api.exceptions.EventSubmitException
Constructs a EventSubmitException
EventSubmitException(Event, String) - Constructor for exception top.focess.qq.api.exceptions.EventSubmitException
Constructs a EventSubmitException
EXCEPTION - Static variable in class top.focess.qq.api.util.network.HttpResponse
Exception thrown error code
ExceptionDataConverter<T> - Class in top.focess.qq.api.command.converter
Simplify the DataConverter class.
ExceptionDataConverter() - Constructor for class top.focess.qq.api.command.converter.ExceptionDataConverter
 
ExceptionOptionType<T> - Class in top.focess.qq.core.util.option.type
 
ExceptionOptionType() - Constructor for class top.focess.qq.core.util.option.type.ExceptionOptionType
 
exec(String) - Method in class top.focess.qq.api.command.CommandSender
Execute command with this CommandSender
exec(String) - Static method in class top.focess.qq.FocessQQ.CommandLine
Execute command using CommandSender.CONSOLE
exec(CommandSender, String) - Static method in class top.focess.qq.FocessQQ.CommandLine
Execute command with sender
exec(CommandSender, String, IOHandler) - Static method in class top.focess.qq.FocessQQ.CommandLine
Execute command with sender executing and ioHandler receiving
execute(CommandResult) - Method in interface top.focess.qq.api.command.CommandResultExecutor
Used to have response to CommandResult after executing a special CommandExecutor
execute(CommandSender, String[], IOHandler) - Method in class top.focess.qq.api.command.Command
Execute the command with special arguments
execute(CommandSender, DataCollection, IOHandler) - Method in interface top.focess.qq.api.command.CommandExecutor
Used to execute the command under certain conditions
exit() - Static method in class top.focess.qq.FocessQQ
Exit Bot

F

fatal(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with ERROR level
fatalLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with ERROR level
findClass(String, boolean) - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
flag - Variable in class top.focess.qq.api.util.IOHandler
 
flip() - Method in class top.focess.qq.api.command.data.BooleanBuffer
 
flip() - Method in class top.focess.qq.api.command.data.CommandBuffer
 
flip() - Method in class top.focess.qq.api.command.data.DataBuffer
Flip all the buffers.
flip() - Method in class top.focess.qq.api.command.data.DoubleBuffer
 
flip() - Method in class top.focess.qq.api.command.data.IntBuffer
 
flip() - Method in class top.focess.qq.api.command.data.LongBuffer
 
flip() - Method in class top.focess.qq.api.command.data.ObjectBuffer
 
flip() - Method in class top.focess.qq.api.command.data.PluginBuffer
 
flip() - Method in class top.focess.qq.api.command.data.StringBuffer
 
FocessCallback<V> - Class in top.focess.qq.core.schedule
 
FocessClientReceiver - Class in top.focess.qq.core.net
 
FocessClientReceiver(FocessSocket, String, String, int, String) - Constructor for class top.focess.qq.core.net.FocessClientReceiver
 
FocessLogger - Class in top.focess.qq.api.util.logger
This is a logger util class.
FocessLogger() - Constructor for class top.focess.qq.api.util.logger.FocessLogger
Initialize a logger for this framework.
FocessQQ - Class in top.focess.qq
 
FocessQQ() - Constructor for class top.focess.qq.FocessQQ
 
FocessQQ.CommandLine - Class in top.focess.qq
The CommandLine Tool Class can be used to exec command with customize executor, arguments and receiver.
FocessQQ.MainPlugin - Class in top.focess.qq
The MainPlugin Plugin is a core plugin in Bot.
FocessReceiver - Class in top.focess.qq.core.net
 
FocessReceiver(FocessSocket) - Constructor for class top.focess.qq.core.net.FocessReceiver
 
FocessScheduler - Class in top.focess.qq.core.schedule
 
FocessScheduler(Plugin) - Constructor for class top.focess.qq.core.schedule.FocessScheduler
 
FocessSidedClientReceiver - Class in top.focess.qq.core.net
 
FocessSidedClientReceiver(FocessSidedClientSocket, String) - Constructor for class top.focess.qq.core.net.FocessSidedClientReceiver
 
FocessSidedClientSocket - Class in top.focess.qq.core.net
 
FocessSidedClientSocket(String, int) - Constructor for class top.focess.qq.core.net.FocessSidedClientSocket
 
FocessSidedReceiver - Class in top.focess.qq.core.net
 
FocessSidedReceiver() - Constructor for class top.focess.qq.core.net.FocessSidedReceiver
 
FocessSidedSocket - Class in top.focess.qq.core.net
 
FocessSidedSocket(int) - Constructor for class top.focess.qq.core.net.FocessSidedSocket
 
FocessSocket - Class in top.focess.qq.core.net
 
FocessSocket(int) - Constructor for class top.focess.qq.core.net.FocessSocket
 
FocessTask - Class in top.focess.qq.core.schedule
 
FocessUDPMultiReceiver - Class in top.focess.qq.core.net
 
FocessUDPMultiReceiver(FocessUDPSocket) - Constructor for class top.focess.qq.core.net.FocessUDPMultiReceiver
 
FocessUDPReceiver - Class in top.focess.qq.core.net
 
FocessUDPReceiver(FocessUDPSocket) - Constructor for class top.focess.qq.core.net.FocessUDPReceiver
 
FocessUDPSocket - Class in top.focess.qq.core.net
 
FocessUDPSocket(int) - Constructor for class top.focess.qq.core.net.FocessUDPSocket
 
forName(String) - Static method in class top.focess.qq.core.plugin.PluginCoreClassLoader
 
FRIEND - top.focess.qq.api.command.CommandPermission
 
FriendChatEvent - Class in top.focess.qq.api.event.chat
Called when a friend chat with bot
FriendChatEvent(Bot, Friend, MessageChain, OnlineMessageSource.Incoming.FromFriend) - Constructor for class top.focess.qq.api.event.chat.FriendChatEvent
Constructs a FriendChatEvent
FriendCommand - Class in top.focess.qq.core.commands
 
FriendCommand() - Constructor for class top.focess.qq.core.commands.FriendCommand
 
FriendInputStatusEvent - Class in top.focess.qq.api.event.bot
Called when friend input status is changed
FriendInputStatusEvent(Bot, Friend, boolean) - Constructor for class top.focess.qq.api.event.bot.FriendInputStatusEvent
Constructs a FriendInputStatusEvent
FriendMessageEvent - Class in top.focess.qq.api.event.message
Called when a friend chat with bot (this does not execute any commands)
FriendMessageEvent(Bot, Friend, MessageChain) - Constructor for class top.focess.qq.api.event.message.FriendMessageEvent
Constructs a FriendMessageEvent
FriendRecallEvent - Class in top.focess.qq.api.event.recall
Called when a Friend recall a message
FriendRecallEvent(Bot, Friend, int[]) - Constructor for class top.focess.qq.api.event.recall.FriendRecallEvent
Constructs a FriendRecallEvent
FriendRequestEvent - Class in top.focess.qq.api.event.request
Called when a friend-request comes
FriendRequestEvent(Bot, long, String, Group, String) - Constructor for class top.focess.qq.api.event.request.FriendRequestEvent
Constructs a FriendRequestEvent

G

get() - Method in class top.focess.qq.api.command.data.BooleanBuffer
 
get() - Method in class top.focess.qq.api.command.data.CommandBuffer
 
get() - Method in class top.focess.qq.api.command.data.DataBuffer
Get element in the buffer in order
get() - Method in class top.focess.qq.api.command.data.DoubleBuffer
 
get() - Method in class top.focess.qq.api.command.data.IntBuffer
 
get() - Method in class top.focess.qq.api.command.data.LongBuffer
 
get() - Method in class top.focess.qq.api.command.data.ObjectBuffer
 
get() - Method in class top.focess.qq.api.command.data.PluginBuffer
 
get() - Method in class top.focess.qq.api.command.data.StringBuffer
 
get() - Method in class top.focess.qq.api.command.DataCollection
Get String argument in order
get() - Method in interface top.focess.qq.api.schedule.Callback
Wait for this task finished and call the target value
get() - Method in class top.focess.qq.api.util.CombinedFuture
 
get(long, TimeUnit) - Method in interface top.focess.qq.api.schedule.Callback
This method is not supported
get(long, TimeUnit) - Method in class top.focess.qq.api.util.CombinedFuture
 
get(long, TimeUnit) - Method in class top.focess.qq.core.schedule.FocessCallback
 
get(Class<T>) - Method in class top.focess.qq.api.command.DataCollection
Get customize buffer element
get(String) - Method in class top.focess.qq.api.util.config.Config
 
get(String) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
get(String) - Method in class top.focess.qq.api.util.config.LangConfig
 
get(String) - Static method in class top.focess.qq.api.util.Property
Get the value of the key in the properties
get(String) - Method in interface top.focess.qq.api.util.SectionMap
Get the value of the key-value pair
get(String) - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
get(String) - Method in class top.focess.qq.core.util.option.Options
 
get(String, Map<String, Object>, Map<String, String>) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a GET http-request
get(OptionType<T>) - Method in class top.focess.qq.core.util.option.Option
 
GET - top.focess.qq.api.util.network.NetworkHandler.RequestType
HTTP GET Request Method
getAccept() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getAccept() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getAdministrator() - Static method in class top.focess.qq.FocessQQ
Get Administrator as a Friend
getAdministratorId() - Static method in class top.focess.qq.FocessQQ
 
getAliases() - Method in class top.focess.qq.api.command.Command
 
getArgs() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getArgs() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getAsFriend() - Method in interface top.focess.qq.api.bot.Bot
Get the bot itself as a friend
getAsFriend() - Method in class top.focess.qq.core.bot.SimpleBot
 
getAsJSON() - Method in class top.focess.qq.api.util.network.HttpResponse
Get the values as JSON instance
getAuthor() - Method in class top.focess.qq.api.plugin.Plugin
 
getAuthor() - Static method in class top.focess.qq.FocessQQ
Deprecated.
getAuthorId() - Static method in class top.focess.qq.FocessQQ
Deprecated.
getBoolean() - Method in class top.focess.qq.api.command.DataCollection
Get boolean argument in order
getBot() - Method in class top.focess.qq.api.command.CommandSender
Get the bot
getBot() - Method in class top.focess.qq.api.event.bot.BotEvent
 
getBot() - Static method in class top.focess.qq.FocessQQ
 
getBot(long) - Method in interface top.focess.qq.api.bot.BotManager
Get the bot with special id
getBot(long) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
getBotManager() - Static method in class top.focess.qq.FocessQQ
 
getBots() - Method in interface top.focess.qq.api.bot.BotManager
Get the list of bots
getBots() - Method in class top.focess.qq.core.bot.SimpleBotManager
 
getBuild() - Method in class top.focess.qq.api.util.version.Version
 
getBytes() - Method in class top.focess.qq.api.net.PacketPreCodec
Get all bytes of the packet
getCallerClass() - Static method in class top.focess.qq.core.util.MethodCaller
 
getClassLoadedBy(Class<?>) - Static method in class top.focess.qq.core.plugin.PluginCoreClassLoader
Get the plugin of the loaded class
getClient(String) - Method in interface top.focess.qq.api.net.ServerMultiReceiver
 
getClient(String) - Method in interface top.focess.qq.api.net.ServerReceiver
Get the client by given name
getClient(String) - Method in class top.focess.qq.core.net.FocessReceiver
 
getClient(String) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
getClient(String) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
getClientId() - Method in interface top.focess.qq.api.net.ClientReceiver
Get the client id
getClientId() - Method in class top.focess.qq.api.net.packet.ClientPacket
 
getClientId() - Method in class top.focess.qq.api.net.packet.ConnectedPacket
 
getClientId() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
getClientId() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
getClientReceiver() - Static method in class top.focess.qq.FocessQQ
 
getClients(String) - Method in interface top.focess.qq.api.net.ServerMultiReceiver
Get the list of the clients with given name
getClients(String) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
getClientToken() - Method in interface top.focess.qq.api.net.ClientReceiver
Get the client token
getClientToken() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
getClientToken() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
getCode() - Method in class top.focess.qq.api.util.network.HttpResponse
 
getCommand() - Method in class top.focess.qq.api.command.Command.Executor
Get the command this Executor belongs to
getCommand() - Method in class top.focess.qq.api.command.DataCollection
Get Command argument in order
getCommand() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getCommands() - Static method in class top.focess.qq.api.command.Command
Get all commands
getConfig() - Method in class top.focess.qq.api.plugin.Plugin
Deprecated.
getConfigFile() - Method in class top.focess.qq.api.plugin.Plugin
Deprecated.
getConsoleIoHandler() - Static method in class top.focess.qq.api.util.IOHandler
 
getDefaultConfig() - Method in class top.focess.qq.api.plugin.Plugin
 
getDefaultFolder() - Method in class top.focess.qq.api.plugin.Plugin
 
getDouble() - Method in class top.focess.qq.api.command.DataCollection
Get double argument in order
getException() - Method in class top.focess.qq.api.util.network.HttpResponse
 
getExecutor() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getExecutorPermission() - Method in class top.focess.qq.api.command.Command
 
getFile() - Method in class top.focess.qq.api.util.config.Config
 
getFile() - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
getFirst() - Method in class top.focess.qq.api.util.Pair
 
getFriend() - Method in class top.focess.qq.api.command.CommandSender
Get the Mirai Friend instance, or null if this CommandSender does not present a Mirai Friend instance.
getFriend() - Method in class top.focess.qq.api.event.bot.FriendInputStatusEvent
 
getFriend() - Method in class top.focess.qq.api.event.chat.FriendChatEvent
 
getFriend() - Method in class top.focess.qq.api.event.message.FriendMessageEvent
 
getFriend() - Method in class top.focess.qq.api.event.recall.FriendRecallEvent
 
getFriend(long) - Method in interface top.focess.qq.api.bot.Bot
Get the friend with special id
getFriend(long) - Method in class top.focess.qq.core.bot.SimpleBot
 
getFriend(long) - Static method in class top.focess.qq.FocessQQ
Get the Friend Mirai instance by its id
getFriendOrFail(long) - Method in interface top.focess.qq.api.bot.Bot
Get the friend with special id
getFriendOrFail(long) - Method in class top.focess.qq.core.bot.SimpleBot
 
getFriends() - Method in interface top.focess.qq.api.bot.Bot
Get all the friends
getFriends() - Method in class top.focess.qq.core.bot.SimpleBot
 
getGroup() - Method in class top.focess.qq.api.event.chat.GroupChatEvent
Get the Group Mirai instance of the member
getGroup() - Method in class top.focess.qq.api.event.message.GroupMessageEvent
Get the Group Mirai instance of the member
getGroup() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
Get the Group where the member recalls the message
getGroup() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getGroup(long) - Method in interface top.focess.qq.api.bot.Bot
Get the group with special id
getGroup(long) - Method in class top.focess.qq.core.bot.SimpleBot
 
getGroup(long) - Static method in class top.focess.qq.FocessQQ
Get the Group Mirai instance by its id
getGroups() - Method in interface top.focess.qq.api.bot.Bot
Get all the groups
getGroups() - Method in class top.focess.qq.core.bot.SimpleBot
 
getHeaders() - Method in class top.focess.qq.api.util.network.HttpResponse
 
getHost() - Method in interface top.focess.qq.api.net.ClientReceiver
Get the target host of the client
getHost() - Method in class top.focess.qq.api.net.packet.ConnectPacket
 
getHost() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
getHost() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
getHost() - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
getHost() - Method in class top.focess.qq.core.net.SimpleClient
 
getId() - Method in interface top.focess.qq.api.bot.Bot
Get the id of the bot
getId() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getId() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getId() - Method in interface top.focess.qq.api.net.Client
Get the client id
getId() - Method in class top.focess.qq.api.net.packet.ClientPackPacket
 
getId() - Method in class top.focess.qq.api.net.packet.ConnectedPacket
 
getId() - Method in class top.focess.qq.api.net.packet.ConnectPacket
 
getId() - Method in class top.focess.qq.api.net.packet.DisconnectedPacket
 
getId() - Method in class top.focess.qq.api.net.packet.DisconnectPacket
 
getId() - Method in class top.focess.qq.api.net.packet.HeartPacket
 
getId() - Method in class top.focess.qq.api.net.packet.MessagePacket
 
getId() - Method in class top.focess.qq.api.net.packet.Packet
Get the packet id
getId() - Method in class top.focess.qq.api.net.packet.ServerPackPacket
 
getId() - Method in class top.focess.qq.api.net.packet.SidedConnectPacket
 
getId() - Method in class top.focess.qq.api.net.packet.WaitPacket
 
getId() - Method in class top.focess.qq.core.bot.SimpleBot
 
getId() - Method in class top.focess.qq.core.net.SimpleClient
 
getInt() - Method in class top.focess.qq.api.command.DataCollection
Get int argument in order
getInvitor() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getIoHandler() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getIoHandler() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getIOHandler() - Method in class top.focess.qq.api.command.CommandSender
Get the receiver by this CommandSender
getKey() - Method in class top.focess.qq.api.util.Pair
 
getLangConfig() - Method in class top.focess.qq.api.plugin.Plugin
 
getLangConfig() - Static method in class top.focess.qq.FocessQQ
 
getLeft() - Method in class top.focess.qq.api.util.Pair
 
getList(String) - Method in class top.focess.qq.api.util.json.JSON
Get the list named key
getLoadedClasses() - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
getLocalPort() - Method in class top.focess.qq.core.net.FocessSidedSocket
 
getLocalPort() - Method in class top.focess.qq.core.net.FocessSocket
 
getLogger() - Static method in class top.focess.qq.FocessQQ
 
getLong() - Method in class top.focess.qq.api.command.DataCollection
Get long argument in order
getMain() - Method in class top.focess.qq.api.plugin.PluginDescription
 
getMainPlugin() - Static method in class top.focess.qq.FocessQQ
 
getMajor() - Method in class top.focess.qq.api.util.version.Version
 
getMember() - Method in class top.focess.qq.api.command.CommandSender
Get the Mirai Member instance, or null if this CommandSender does not present a Mirai Member instance.
getMember() - Method in class top.focess.qq.api.event.chat.GroupChatEvent
 
getMember() - Method in class top.focess.qq.api.event.message.GroupMessageEvent
 
getMember() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getMessage() - Method in class top.focess.qq.api.event.chat.ChatEvent
 
getMessage() - Method in class top.focess.qq.api.event.chat.ConsoleChatEvent
 
getMessage() - Method in class top.focess.qq.api.event.message.ConsoleMessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.message.MessageEvent
 
getMessage() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getMessage() - Method in class top.focess.qq.api.net.packet.MessagePacket
 
getMessageIds() - Method in class top.focess.qq.api.event.recall.FriendRecallEvent
 
getMessageIds() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getMinor() - Method in class top.focess.qq.api.util.version.Version
 
getName() - Method in class top.focess.qq.api.command.Command
 
getName() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
 
getName() - Method in interface top.focess.qq.api.net.Client
Get the client name
getName() - Method in interface top.focess.qq.api.net.ClientReceiver
Get the name of the client
getName() - Method in class top.focess.qq.api.net.packet.ConnectPacket
 
getName() - Method in class top.focess.qq.api.net.packet.SidedConnectPacket
 
getName() - Method in class top.focess.qq.api.plugin.Plugin
 
getName() - Method in interface top.focess.qq.api.schedule.Scheduler
Get the name of the scheduler
getName() - Method in interface top.focess.qq.api.schedule.Task
Get the name of the task
getName() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
getName() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
getName() - Method in class top.focess.qq.core.net.SimpleClient
 
getName() - Method in class top.focess.qq.core.schedule.FocessCallback
 
getName() - Method in class top.focess.qq.core.schedule.FocessScheduler
 
getName() - Method in class top.focess.qq.core.schedule.FocessTask
 
getName() - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
getName() - Method in class top.focess.qq.core.util.option.Option
 
getName() - Method in class top.focess.qq.core.util.option.OptionParserClassifier
 
getNativeBot() - Method in interface top.focess.qq.api.bot.Bot
Get the Mirai Bot Instance
getNativeBot() - Method in class top.focess.qq.core.bot.SimpleBot
 
getNick() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
 
getOperator() - Method in class top.focess.qq.api.event.recall.GroupRecallEvent
 
getOptionTypes() - Method in class top.focess.qq.core.util.option.OptionParserClassifier
 
getPacket() - Method in class top.focess.qq.api.net.packet.ClientPackPacket
 
getPacket() - Method in class top.focess.qq.api.net.packet.ServerPackPacket
 
getParent() - Method in class top.focess.qq.api.util.json.JSONSection
Get the parent section
getParent() - Method in class top.focess.qq.api.util.session.SessionSection
Get the parent section
getParent() - Method in class top.focess.qq.api.util.yaml.YamlConfigurationSection
Get the parent section
getPassword() - Method in class top.focess.qq.core.bot.SimpleBot
 
getPeriod() - Method in class top.focess.qq.core.schedule.FocessCallback
 
getPeriod() - Method in class top.focess.qq.core.schedule.FocessTask
 
getPermission() - Method in class top.focess.qq.api.command.Command
 
getPermission() - Method in class top.focess.qq.api.command.CommandSender
Get permission
getPlugin() - Method in class top.focess.qq.api.command.Command
 
getPlugin() - Method in class top.focess.qq.api.command.DataCollection
Get Plugin argument in order
getPlugin() - Method in class top.focess.qq.api.event.ListenerHandler
Get the plugin of the listener
getPlugin() - Method in class top.focess.qq.api.event.plugin.PluginEvent
 
getPlugin() - Method in interface top.focess.qq.api.schedule.Scheduler
Get the plugin
getPlugin() - Method in interface top.focess.qq.api.schedule.Task
Get the plugin it belongs to
getPlugin() - Method in class top.focess.qq.api.util.network.HttpResponse
 
getPlugin() - Method in class top.focess.qq.api.util.network.NetworkHandler
 
getPlugin() - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
getPlugin() - Method in class top.focess.qq.core.schedule.AScheduler
 
getPlugin() - Method in class top.focess.qq.core.schedule.FocessCallback
 
getPlugin() - Method in class top.focess.qq.core.schedule.FocessTask
 
getPlugin(Class<? extends Plugin>) - Static method in class top.focess.qq.api.plugin.Plugin
Get Plugin instance by the class instance
getPlugin(Class<? extends Plugin>) - Static method in class top.focess.qq.FocessQQ
Get the plugin by its class
getPlugin(Class<T>) - Static method in class top.focess.qq.core.plugin.PluginClassLoader
Get Plugin instance by the class instance
getPlugin(String) - Static method in class top.focess.qq.api.plugin.Plugin
Get Plugin instance by the name
getPlugin(String) - Static method in class top.focess.qq.core.plugin.PluginClassLoader
Get Plugin instance by the name
getPlugin(String) - Static method in class top.focess.qq.FocessQQ
Get the plugin by its name
getPluginDescription() - Method in class top.focess.qq.api.plugin.Plugin
 
getPluginDescription() - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
getPlugins() - Static method in class top.focess.qq.core.plugin.PluginClassLoader
Get all plugins registered
getPlugins() - Static method in class top.focess.qq.FocessQQ
Get all the loaded plugins
getPort() - Method in interface top.focess.qq.api.net.ClientReceiver
Get the target port of the client
getPort() - Method in class top.focess.qq.api.net.packet.ConnectPacket
 
getPort() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
getPort() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
getPort() - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
getPort() - Method in class top.focess.qq.core.net.SimpleClient
 
getPriority() - Method in enum top.focess.qq.api.event.EventPriority
 
getProperties() - Static method in class top.focess.qq.FocessQQ.MainPlugin
 
getResponse() - Method in class top.focess.qq.api.util.network.HttpResponse
 
getResult() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getRevision() - Method in class top.focess.qq.api.util.version.Version
 
getRight() - Method in class top.focess.qq.api.util.Pair
 
getScheduler() - Method in interface top.focess.qq.api.schedule.Task
Get the scheduler it belongs to
getScheduler() - Method in class top.focess.qq.core.schedule.FocessCallback
 
getScheduler() - Method in class top.focess.qq.core.schedule.FocessTask
 
getSecond() - Method in class top.focess.qq.api.util.Pair
 
getSection(String) - Method in class top.focess.qq.api.util.json.JSON
 
getSection(String) - Method in interface top.focess.qq.api.util.SectionMap
Get the section named key
getSection(String) - Method in class top.focess.qq.api.util.session.Session
 
getSection(String) - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
getSender() - Method in class top.focess.qq.api.event.command.CommandExecutedEvent
 
getSender() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
getServerReceiver() - Static method in class top.focess.qq.FocessQQ
 
getSession() - Method in class top.focess.qq.api.command.CommandSender
Get Session of a special CommandSender.
getSocket() - Static method in class top.focess.qq.FocessQQ
 
getSource() - Method in class top.focess.qq.api.event.chat.FriendChatEvent
 
getSource() - Method in class top.focess.qq.api.event.chat.GroupChatEvent
 
getSource() - Method in class top.focess.qq.api.event.chat.StrangerChatEvent
 
getSource() - Method in class top.focess.qq.api.event.message.GroupMessageEvent
 
getStranger() - Method in class top.focess.qq.api.event.chat.StrangerChatEvent
 
getStranger() - Method in class top.focess.qq.api.event.message.StrangerMessageEvent
 
getTargetClass() - Method in class top.focess.qq.api.command.converter.CommandDataConverter
 
getTargetClass() - Method in class top.focess.qq.api.command.converter.PluginDataConverter
 
getTargetClass() - Method in class top.focess.qq.api.command.DataConverter
 
getTime() - Method in class top.focess.qq.api.net.packet.HeartPacket
 
getToken() - Method in class top.focess.qq.api.net.packet.ClientPacket
 
getToken() - Method in class top.focess.qq.api.net.packet.ConnectedPacket
 
getToken() - Method in class top.focess.qq.core.net.SimpleClient
 
getUdpServerMultiReceiver() - Static method in class top.focess.qq.FocessQQ
 
getUdpServerReceiver() - Static method in class top.focess.qq.FocessQQ
 
getUdpSocket() - Static method in class top.focess.qq.FocessQQ
 
getUsername() - Method in class top.focess.qq.core.bot.SimpleBot
 
getUsername() - Static method in class top.focess.qq.FocessQQ
 
getValue() - Method in enum top.focess.qq.api.command.CommandResult
 
getValue() - Method in class top.focess.qq.api.util.Pair
 
getValues() - Method in class top.focess.qq.api.util.config.Config
 
getValues() - Method in class top.focess.qq.api.util.config.DefaultConfig
 
getValues() - Method in class top.focess.qq.api.util.json.JSON
 
getValues() - Method in class top.focess.qq.api.util.json.JSONList
 
getValues() - Method in interface top.focess.qq.api.util.SectionMap
Get all the key-value pairs
getValues() - Method in class top.focess.qq.api.util.session.Session
 
getValues() - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
getVersion() - Method in class top.focess.qq.api.plugin.Plugin
 
getVersion() - Static method in class top.focess.qq.FocessQQ
 
GroupChatEvent - Class in top.focess.qq.api.event.chat
Called when a member who chats in the group the bot is in
GroupChatEvent(Bot, Member, MessageChain, OnlineMessageSource.Incoming.FromGroup) - Constructor for class top.focess.qq.api.event.chat.GroupChatEvent
Constructs a GroupChatEvent
GroupCommand - Class in top.focess.qq.core.commands
 
GroupCommand() - Constructor for class top.focess.qq.core.commands.GroupCommand
 
GroupMessageEvent - Class in top.focess.qq.api.event.message
Called when a member who chats in the group the bot is in (this does not execute any commands)
GroupMessageEvent(Bot, Member, MessageChain, OnlineMessageSource.Incoming.FromGroup) - Constructor for class top.focess.qq.api.event.message.GroupMessageEvent
Constructs a GroupMessageEvent
GroupRecallEvent - Class in top.focess.qq.api.event.recall
Called when a Member recall a message in a Group
GroupRecallEvent(Bot, Member, int[], Member) - Constructor for class top.focess.qq.api.event.recall.GroupRecallEvent
Constructs a GroupRecallEvent
GroupRequestEvent - Class in top.focess.qq.api.event.request
Called when a group-request comes
GroupRequestEvent(Bot, long, String, Friend) - Constructor for class top.focess.qq.api.event.request.GroupRequestEvent
Constructs a GroupRecallEvent

H

handle(Class<?>, Annotation, PluginClassLoader) - Method in interface top.focess.qq.core.plugin.AnnotationHandler
 
handle(String, InputStream, PluginClassLoader) - Method in interface top.focess.qq.core.plugin.ResourceHandler
 
handle(T) - Method in interface top.focess.qq.api.net.PackHandler
Used to handle the packet
hashCode() - Method in class top.focess.qq.api.command.CommandSender
 
hashCode() - Method in class top.focess.qq.api.plugin.Plugin
 
hashCode() - Method in class top.focess.qq.core.bot.SimpleBot
 
hasInput() - Method in class top.focess.qq.api.util.IOHandler
Indicate there needs the MiraiCode of this input if it is a Mirai Message, or the string value of this input.
hasInput(boolean) - Method in class top.focess.qq.api.util.IOHandler
Indicate there needs an input String.
hasKey(String) - Static method in class top.focess.qq.api.util.Property
Indicate whether it has the key or not
hasPermission(MemberPermission) - Method in class top.focess.qq.api.command.CommandSender
Deprecated.
hasPermission(CommandPermission) - Method in enum top.focess.qq.api.command.CommandPermission
 
hasPermission(CommandPermission) - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this CommandSender owns the permission
HEADER - Static variable in class top.focess.qq.core.commands.util.ChatConstants
 
HeartPacket - Class in top.focess.qq.api.net.packet
Used to tell server the connection is not lost.
HeartPacket(int, String, long) - Constructor for class top.focess.qq.api.net.packet.HeartPacket
Constructs a HeartPacket
HeartPacketCodec - Class in top.focess.qq.api.net.packet
Codec for HeartPacket.
HeartPacketCodec() - Constructor for class top.focess.qq.api.net.packet.HeartPacketCodec
 
HIGH - top.focess.qq.api.event.EventPriority
 
HIGHER - top.focess.qq.api.event.EventPriority
 
HIGHEST - top.focess.qq.api.event.EventPriority
 
HttpResponse - Class in top.focess.qq.api.util.network
This class is used to define a response to a http-request
HttpResponse(Plugin, int, Headers, String) - Constructor for class top.focess.qq.api.util.network.HttpResponse
Initialize a HttpResponse without exceptions
HttpResponse(Plugin, Exception) - Constructor for class top.focess.qq.api.util.network.HttpResponse
Initialize an exception thrown HttpResponse with e
HttpResponseException - Exception in top.focess.qq.api.exceptions
Thrown to indicate that the request was not successful
HttpResponseException() - Constructor for exception top.focess.qq.api.exceptions.HttpResponseException
Constructs a HttpResponseException

I

ignore() - Method in class top.focess.qq.api.event.request.GroupRequestEvent
Ignore the request
IllegalCommandClassException - Exception in top.focess.qq.api.exceptions
Thrown to indicate this class is not an illegal Command class
IllegalCommandClassException(Class<?>) - Constructor for exception top.focess.qq.api.exceptions.IllegalCommandClassException
Constructs a IllegalCommandClassException
IllegalOptionException - Exception in top.focess.qq.core.exceptions
 
IllegalOptionException(String, String) - Constructor for exception top.focess.qq.core.exceptions.IllegalOptionException
 
IllegalPluginClassException - Exception in top.focess.qq.api.exceptions
Thrown to indicate this class is not an illegal Plugin class
IllegalPluginClassException(Class<?>) - Constructor for exception top.focess.qq.api.exceptions.IllegalPluginClassException
Constructs a IllegalPluginClassException
IllegalPortException - Exception in top.focess.qq.api.exceptions
Thrown to indicate this port is not available
IllegalPortException(int) - Constructor for exception top.focess.qq.api.exceptions.IllegalPortException
Constructs a IllegalPortException
info(String) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with INFO level
infoLang(String, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message with INFO level
init() - Method in class top.focess.qq.api.command.Command
Used to initialize the command (the primary goal is to define the default executors)
init() - Method in class top.focess.qq.core.commands.BotCommand
 
init() - Method in class top.focess.qq.core.commands.CommandCommand
 
init() - Method in class top.focess.qq.core.commands.FriendCommand
 
init() - Method in class top.focess.qq.core.commands.GroupCommand
 
init() - Method in class top.focess.qq.core.commands.LoadCommand
 
init() - Method in class top.focess.qq.core.commands.PluginCommand
 
init() - Method in class top.focess.qq.core.commands.ReloadCommand
 
init() - Method in class top.focess.qq.core.commands.StopCommand
 
init() - Method in class top.focess.qq.core.commands.UnloadCommand
 
input() - Method in class top.focess.qq.api.util.IOHandler
Used to get input String
input(String) - Method in class top.focess.qq.api.util.IOHandler
Used to input String
InputTimeoutException - Exception in top.focess.qq.api.exceptions
Thrown to indicate IOHandler has waited for more than 10 minutes to get input String
InputTimeoutException() - Constructor for exception top.focess.qq.api.exceptions.InputTimeoutException
Constructs a InputTimeoutException
IntBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Int.
INTEGER_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.DataConverter
Convert the String argument to Integer argument
INTEGER_OPTION_TYPE - Static variable in class top.focess.qq.core.util.option.type.IntegerOptionType
 
INTEGER_PREDICATE - Static variable in class top.focess.qq.api.command.DataConverter
It is a Predicate used to predicate a String is an Integer
IntegerOptionType - Class in top.focess.qq.core.util.option.type
 
IntegerOptionType() - Constructor for class top.focess.qq.core.util.option.type.IntegerOptionType
 
IOHandler - Class in top.focess.qq.api.util
This class is used to handle input and output when executing Command.
IOHandler() - Constructor for class top.focess.qq.api.util.IOHandler
 
isAdministrator() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this is an Administrator
isAuthor() - Method in class top.focess.qq.api.command.CommandSender
Deprecated.
isAvailable() - Method in class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
isBlackList() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Indicate add this stranger to blacklist
isCancelled() - Method in interface top.focess.qq.api.event.Cancellable
Indicate this event is cancelled
isCancelled() - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
isCancelled() - Method in interface top.focess.qq.api.schedule.Task
Indicate whether this task is cancelled or not
isCancelled() - Method in class top.focess.qq.api.util.CombinedFuture
 
isCancelled() - Method in class top.focess.qq.core.schedule.ComparableTask
 
isCancelled() - Method in class top.focess.qq.core.schedule.FocessCallback
 
isCancelled() - Method in class top.focess.qq.core.schedule.FocessTask
 
isClosed() - Method in interface top.focess.qq.api.schedule.Scheduler
Indicate whether this scheduler is closed or not
isClosed() - Method in class top.focess.qq.core.schedule.FocessScheduler
 
isClosed() - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
isConnected() - Method in interface top.focess.qq.api.net.ClientReceiver
Indicate this client has connected to a server
isConnected() - Method in class top.focess.qq.core.net.FocessClientReceiver
 
isConnected() - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
isConnected(String) - Method in interface top.focess.qq.api.net.ServerReceiver
Indicate the client is connected to server
isConnected(String) - Method in class top.focess.qq.core.net.FocessReceiver
 
isConnected(String) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
isConnected(String) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
isConnected(String) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
isConsole() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether it is CONSOLE
isDefaultBot() - Method in interface top.focess.qq.api.bot.Bot
Indicate this is the default bot
isDefaultBot() - Method in class top.focess.qq.core.bot.SimpleBot
 
isDone() - Method in interface top.focess.qq.api.schedule.Callback
Indicate whether this task is done or not
isDone() - Method in class top.focess.qq.api.util.CombinedFuture
 
isEnabled() - Method in class top.focess.qq.api.plugin.Plugin
 
isError() - Method in class top.focess.qq.api.util.network.HttpResponse
Indicate this is an exception thrown HttpResponse
isFinished() - Method in interface top.focess.qq.api.schedule.Task
Indicate whether this task is finished or not
isFinished() - Method in class top.focess.qq.core.schedule.FocessCallback
 
isFinished() - Method in class top.focess.qq.core.schedule.FocessTask
 
isFriend() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this is a Mirai Friend instance
isInitialize() - Method in class top.focess.qq.api.command.Command
 
isInput() - Method in class top.focess.qq.api.event.bot.FriendInputStatusEvent
 
isMember() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this is a Mirai Member instance
isOnline() - Method in interface top.focess.qq.api.bot.Bot
Indicate the bot is online
isOnline() - Method in class top.focess.qq.core.bot.SimpleBot
 
isPeriod() - Method in interface top.focess.qq.api.schedule.Task
Indicate whether this task is a period-task or not
isPeriod() - Method in class top.focess.qq.core.schedule.FocessCallback
 
isPeriod() - Method in class top.focess.qq.core.schedule.FocessTask
 
isPrevent() - Method in class top.focess.qq.api.event.Event
 
isRegistered() - Method in class top.focess.qq.api.command.Command
 
isRunning() - Method in interface top.focess.qq.api.schedule.Task
Indicate whether this task is running or not
isRunning() - Method in class top.focess.qq.core.schedule.FocessCallback
 
isRunning() - Method in class top.focess.qq.core.schedule.FocessTask
 
isRunning() - Static method in class top.focess.qq.FocessQQ
 
isSingleThread() - Method in class top.focess.qq.core.schedule.FocessCallback
 
isSingleThread() - Method in class top.focess.qq.core.schedule.FocessTask
 
isStranger() - Method in class top.focess.qq.api.command.CommandSender
Indicate whether this is a Mirai Stranger instance

J

JSON - Class in top.focess.qq.api.util.json
This class is used to define a JSON object as Map.
JSON - Static variable in class top.focess.qq.api.util.network.NetworkHandler
Used to indicate this http-request accepts JSON
JSON(String) - Constructor for class top.focess.qq.api.util.json.JSON
 
JSON(Map<String, Object>) - Constructor for class top.focess.qq.api.util.json.JSON
 
JSONList - Class in top.focess.qq.api.util.json
This class is used to define a JSON object as List.
JSONList(String) - Constructor for class top.focess.qq.api.util.json.JSONList
 
JSONList(List<?>) - Constructor for class top.focess.qq.api.util.json.JSONList
 
JSONParseException - Exception in top.focess.qq.api.exceptions
Thrown to indicate JSON parsing error
JSONParseException(String) - Constructor for exception top.focess.qq.api.exceptions.JSONParseException
Constructs a new JSONParseException
JSONSection - Class in top.focess.qq.api.util.json
Section of JSON.
JSONSection(JSON, Map<String, Object>) - Constructor for class top.focess.qq.api.util.json.JSONSection
 

K

keys() - Method in interface top.focess.qq.api.util.SectionMap
Get all the keys in set

L

LangConfig - Class in top.focess.qq.api.util.config
 
LangConfig(File) - Constructor for class top.focess.qq.api.util.config.LangConfig
 
LangConfig(InputStream) - Constructor for class top.focess.qq.api.util.config.LangConfig
 
LazyPlugin - Class in top.focess.qq.api.plugin
This is lazy version of the plugin.
LazyPlugin() - Constructor for class top.focess.qq.api.plugin.LazyPlugin
Provide a constructor to help PluginType design.
LazyPlugin(String, String, Version) - Constructor for class top.focess.qq.api.plugin.LazyPlugin
Initialize a Plugin instance by its name.
Listener - Interface in top.focess.qq.api.event
This class is used to indicate this is an event listener
ListenerHandler - Class in top.focess.qq.api.event
This class is used to help invoke listener methods
ListenerHandler() - Constructor for class top.focess.qq.api.event.ListenerHandler
 
load() - Method in class top.focess.qq.core.plugin.PluginClassLoader
 
load(InputStream) - Static method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
loadClass(String, boolean) - Method in class top.focess.qq.core.plugin.PluginCoreClassLoader
 
LoadCommand - Class in top.focess.qq.core.commands
 
LoadCommand() - Constructor for class top.focess.qq.core.commands.LoadCommand
 
LOADERS - Static variable in class top.focess.qq.core.plugin.PluginCoreClassLoader
 
loadFile(File) - Static method in class top.focess.qq.api.util.yaml.YamlConfiguration
Load the file as a YAML configuration
loadResource(String) - Method in class top.focess.qq.api.plugin.Plugin
 
login() - Method in interface top.focess.qq.api.bot.Bot
Login the bot
login() - Method in class top.focess.qq.core.bot.SimpleBot
 
login(long, String) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password
login(long, String) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
login(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Login the bot
login(Bot) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
loginDirectly(long, String) - Method in interface top.focess.qq.api.bot.BotManager
Login and get the bot with id and password This is a blocking method
loginDirectly(long, String) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
logout() - Method in interface top.focess.qq.api.bot.Bot
Logout the bot
logout() - Method in class top.focess.qq.core.bot.SimpleBot
 
logout(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Logout the bot
logout(Bot) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
LONG_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.DataConverter
Convert the String argument to Long argument
LONG_OPTION_TYPE - Static variable in class top.focess.qq.core.util.option.type.LongOptionType
 
LONG_PREDICATE - Static variable in class top.focess.qq.api.command.DataConverter
It is a Predicate used to predicate a String is a Long
LongBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Long.
LongOptionType - Class in top.focess.qq.core.util.option.type
 
LongOptionType() - Constructor for class top.focess.qq.core.util.option.type.LongOptionType
 
LOW - top.focess.qq.api.event.EventPriority
 
LOWER - top.focess.qq.api.event.EventPriority
 
LOWEST - top.focess.qq.api.event.EventPriority
 

M

main(String[]) - Static method in class top.focess.qq.api.util.version.Version
 
main(String[]) - Static method in class top.focess.qq.FocessQQ
 
MainPlugin() - Constructor for class top.focess.qq.FocessQQ.MainPlugin
 
MEMBER - top.focess.qq.api.command.CommandPermission
 
MESSAGE - top.focess.qq.api.command.CommandResult
 
MessageEvent - Class in top.focess.qq.api.event.message
Called when a friend chat with bot or a member chat in a group the bot is in (this does not execute any commands)
MessageEvent(Bot, MessageChain) - Constructor for class top.focess.qq.api.event.message.MessageEvent
Constructs a MessageEvent
MessagePacket - Class in top.focess.qq.api.net.packet
Used to send String message.
MessagePacket(String) - Constructor for class top.focess.qq.api.net.packet.MessagePacket
Constructs a MessagePacket
MessagePacketCodec - Class in top.focess.qq.api.net.packet
Codec for MessagePacket.
MessagePacketCodec() - Constructor for class top.focess.qq.api.net.packet.MessagePacketCodec
 
MethodCaller - Class in top.focess.qq.core.util
 
MethodCaller() - Constructor for class top.focess.qq.core.util.MethodCaller
 

N

name() - Method in annotation type top.focess.qq.api.command.CommandType
Set the name of the command
name() - Method in annotation type top.focess.qq.api.plugin.PluginType
Set the name of this plugin
NAME_PLUGIN_MAP - Static variable in class top.focess.qq.core.plugin.PluginClassLoader
 
NetworkHandler - Class in top.focess.qq.api.util.network
This is a network util class.
NetworkHandler(Plugin) - Constructor for class top.focess.qq.api.util.network.NetworkHandler
 
NetworkHandler.RequestType - Enum in top.focess.qq.api.util.network
 
newBuffer(int) - Method in interface top.focess.qq.api.command.DataCollection.BufferGetter
Instance a buffer with fixed size
newFocessScheduler(Plugin) - Static method in class top.focess.qq.api.schedule.Schedulers
New a FocessScheduler
newThreadPoolScheduler(Plugin, int) - Static method in class top.focess.qq.api.schedule.Schedulers
New a ThreadPoolScheduler
NONE - top.focess.qq.api.command.CommandResult
No signal
NORMAL - top.focess.qq.api.event.EventPriority
 
notCallIfCancelled() - Method in annotation type top.focess.qq.api.event.EventHandler
Set whether this method should be called when the event is cancelled
notCallIfPrevented() - Method in annotation type top.focess.qq.api.event.EventHandler
Set whether this method should be called when the event is prevented
NullDataConverter<T> - Class in top.focess.qq.api.command.converter
Simplify the DataConverter class.
NullDataConverter() - Constructor for class top.focess.qq.api.command.converter.NullDataConverter
 

O

ObjectBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Object.
ObjectInputCoreStream - Class in top.focess.qq.core.plugin
 
ObjectInputCoreStream(InputStream) - Constructor for class top.focess.qq.core.plugin.ObjectInputCoreStream
 
of(K, V) - Static method in class top.focess.qq.api.util.Pair
Constructs a new Pair with static method
ofNull(Plugin) - Static method in class top.focess.qq.api.util.network.HttpResponse
 
onClientPacket(ClientPackPacket) - Method in class top.focess.qq.core.net.FocessReceiver
 
onClientPacket(ClientPackPacket) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
onClientPacket(ClientPackPacket) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
onClientPacket(ClientPackPacket) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
onConnect(ConnectPacket) - Method in class top.focess.qq.core.net.FocessReceiver
 
onConnect(ConnectPacket) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
onConnect(ConnectPacket) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
onConnect(SidedConnectPacket) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
onConnected(ConnectedPacket) - Method in class top.focess.qq.core.net.FocessClientReceiver
 
onConnected(ConnectedPacket) - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
onConsoleChat(ConsoleChatEvent) - Method in class top.focess.qq.core.listener.ConsoleListener
 
onDisable() - Method in class top.focess.qq.api.plugin.Plugin
 
onDisconnect(DisconnectPacket) - Method in class top.focess.qq.core.net.FocessReceiver
 
onDisconnect(DisconnectPacket) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
onDisconnect(DisconnectPacket) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
onDisconnect(DisconnectPacket) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
onDisconnected(DisconnectedPacket) - Method in class top.focess.qq.core.net.FocessClientReceiver
 
onDisconnected(DisconnectedPacket) - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
onEnable() - Method in class top.focess.qq.api.plugin.Plugin
 
onFriendChat(FriendChatEvent) - Method in class top.focess.qq.core.listener.ChatListener
 
onGroupChat(GroupChatEvent) - Method in class top.focess.qq.core.listener.ChatListener
 
onHeart(HeartPacket) - Method in class top.focess.qq.core.net.FocessReceiver
 
onHeart(HeartPacket) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
onHeart(HeartPacket) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
onHeart(HeartPacket) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
onPluginLoad(PluginLoadEvent) - Method in class top.focess.qq.core.listener.PluginListener
 
onPluginUnload(PluginUnloadEvent) - Method in class top.focess.qq.core.listener.PluginListener
 
onServerPacket(ServerPackPacket) - Method in class top.focess.qq.core.net.FocessClientReceiver
 
onServerPacket(ServerPackPacket) - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
onStrangerChat(StrangerChatEvent) - Method in class top.focess.qq.core.listener.ChatListener
 
onWait(WaitPacket) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
Option - Class in top.focess.qq.core.util.option
 
Option(OptionParserClassifier) - Constructor for class top.focess.qq.core.util.option.Option
 
OptionParserClassifier - Class in top.focess.qq.core.util.option
 
OptionParserClassifier(String, OptionType<?>...) - Constructor for class top.focess.qq.core.util.option.OptionParserClassifier
 
Options - Class in top.focess.qq.core.util.option
 
Options() - Constructor for class top.focess.qq.core.util.option.Options
 
OptionType<T> - Class in top.focess.qq.core.util.option.type
 
OptionType() - Constructor for class top.focess.qq.core.util.option.type.OptionType
 
output(String) - Method in class top.focess.qq.api.util.IOHandler
Used to output String
outputLang(String, Object...) - Method in class top.focess.qq.api.util.IOHandler
Used to output formatted language key
overrideExecutorPermission(Predicate<CommandSender>) - Method in class top.focess.qq.api.command.Command.Executor
Set the executor permission check for this Executor When execute this Executor, it will only check the executorPermission
OWNER - top.focess.qq.api.command.CommandPermission
 

P

Packet - Class in top.focess.qq.api.net.packet
This is the base class of all packets.
Packet() - Constructor for class top.focess.qq.api.net.packet.Packet
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.ClientPackPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.ConnectedPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.ConnectPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.DisconnectedPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.DisconnectPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.HeartPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.MessagePacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.ServerPackPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.SidedConnectPacket
 
PACKET_ID - Static variable in class top.focess.qq.api.net.packet.WaitPacket
 
PacketCodec<T extends Packet> - Class in top.focess.qq.api.net.packet
The codec for special packet type.
PacketCodec() - Constructor for class top.focess.qq.api.net.packet.PacketCodec
 
PacketHandler - Annotation Type in top.focess.qq.core.net
Represent a packet receiver method.
PacketPreCodec - Class in top.focess.qq.api.net
This class is used to prehandle the packet.
PacketPreCodec() - Constructor for class top.focess.qq.api.net.PacketPreCodec
 
PackHandler<T extends Packet> - Interface in top.focess.qq.api.net
Represents a packet handler to define how to handle packet.
Pair<K,​V> - Class in top.focess.qq.api.util
This is an Easy Util Class to store two Instances.
Pair(K, V) - Constructor for class top.focess.qq.api.util.Pair
 
parse(String) - Method in class top.focess.qq.core.util.option.type.IntegerOptionType
 
parse(String) - Method in class top.focess.qq.core.util.option.type.LongOptionType
 
parse(String) - Method in class top.focess.qq.core.util.option.type.OptionType
 
parse(String[], OptionParserClassifier...) - Static method in class top.focess.qq.core.util.option.Options
 
plugin() - Method in annotation type top.focess.qq.api.command.CommandType
Set the plugin the command belongs to
Plugin - Class in top.focess.qq.api.plugin
Represent a Plugin class that can be load, enable and disable.
Plugin() - Constructor for class top.focess.qq.api.plugin.Plugin
Provide a constructor to help PluginType design.
Plugin(String, String, Version) - Constructor for class top.focess.qq.api.plugin.Plugin
Initialize a Plugin instance by its name.
PLUGIN_DATA_CONVERTER - Static variable in class top.focess.qq.api.command.converter.PluginDataConverter
Convert the String argument to Plugin argument
PluginBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of Plugin.
PluginClassLoader - Class in top.focess.qq.core.plugin
 
PluginClassLoader(File) - Constructor for class top.focess.qq.core.plugin.PluginClassLoader
 
PluginCommand - Class in top.focess.qq.core.commands
 
PluginCommand() - Constructor for class top.focess.qq.core.commands.PluginCommand
 
PluginCoreClassLoader - Class in top.focess.qq.core.plugin
 
PluginCoreClassLoader(ClassLoader) - Constructor for class top.focess.qq.core.plugin.PluginCoreClassLoader
 
PluginDataConverter - Class in top.focess.qq.api.command.converter
Convert the String argument to Plugin argument
PluginDataConverter() - Constructor for class top.focess.qq.api.command.converter.PluginDataConverter
 
PluginDescription - Class in top.focess.qq.api.plugin
 
PluginDescription(YamlConfiguration) - Constructor for class top.focess.qq.api.plugin.PluginDescription
 
PluginDuplicateException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is an existed plugin named this name
PluginDuplicateException(String) - Constructor for exception top.focess.qq.api.exceptions.PluginDuplicateException
Constructs a PluginDuplicateException
PluginDuplicateException(String, String) - Constructor for exception top.focess.qq.api.exceptions.PluginDuplicateException
Constructs a PluginDuplicateException
PluginEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin triggers a special action
PluginEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginEvent
Constructs a PluginEvent
PluginListener - Class in top.focess.qq.core.listener
 
PluginListener() - Constructor for class top.focess.qq.core.listener.PluginListener
 
PluginLoaderException - Exception in top.focess.qq.api.exceptions
Thrown to indicate none-MainPlugin plugin is not loaded by PluginClassLoader
PluginLoaderException(Class<? extends Plugin>) - Constructor for exception top.focess.qq.api.exceptions.PluginLoaderException
Constructs a PluginLoaderException
PluginLoaderException(String) - Constructor for exception top.focess.qq.api.exceptions.PluginLoaderException
Constructs a PluginLoaderException
PluginLoadEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin is loaded
PluginLoadEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginLoadEvent
Constructs a PluginLoadEvent
PluginLoadException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is any exception thrown in the initializing process
PluginLoadException(Class<? extends Plugin>, Exception) - Constructor for exception top.focess.qq.api.exceptions.PluginLoadException
Constructs a PluginLoadException
PluginType - Annotation Type in top.focess.qq.api.plugin
Represent this class is a Plugin.
PluginUnloadEvent - Class in top.focess.qq.api.event.plugin
Called when a plugin is unloaded
PluginUnloadEvent(Plugin) - Constructor for class top.focess.qq.api.event.plugin.PluginUnloadEvent
Constructs a PluginUnloadEvent
POSITIVE - top.focess.qq.api.command.CommandResult
It includes all positive CommandResult
post(String, Map<String, Object>, Map<String, String>, MediaType) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a POST http-request
POST - top.focess.qq.api.util.network.NetworkHandler.RequestType
HTTP POST Request Method
priority() - Method in annotation type top.focess.qq.api.event.EventHandler
Set the priority of this event listener method
Property - Class in top.focess.qq.api.util
Store some default properties of this framework.
push(byte[], int) - Method in class top.focess.qq.api.net.PacketPreCodec
Push the data to the precodec
push(byte[], int, int) - Method in class top.focess.qq.api.net.PacketPreCodec
Push the data to the precodec
put(Boolean) - Method in class top.focess.qq.api.command.data.BooleanBuffer
 
put(Double) - Method in class top.focess.qq.api.command.data.DoubleBuffer
 
put(Integer) - Method in class top.focess.qq.api.command.data.IntBuffer
 
put(Long) - Method in class top.focess.qq.api.command.data.LongBuffer
 
put(Object) - Method in class top.focess.qq.api.command.data.ObjectBuffer
 
put(String) - Method in class top.focess.qq.api.command.data.StringBuffer
 
put(String, Object) - Static method in class top.focess.qq.api.util.Property
Set the property
put(String, Map<String, Object>, Map<String, String>, MediaType) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a PUT http-request
put(T) - Method in class top.focess.qq.api.command.data.DataBuffer
Put the element into the buffer
put(Command) - Method in class top.focess.qq.api.command.data.CommandBuffer
 
put(Plugin) - Method in class top.focess.qq.api.command.data.PluginBuffer
 
put(OptionType<?>, String) - Method in class top.focess.qq.core.util.option.Option
 
PUT - top.focess.qq.api.util.network.NetworkHandler.RequestType
HTTP PUT Request Method

Q

QUESTS - Static variable in class top.focess.qq.core.listener.ChatListener
 
QUESTS - Static variable in class top.focess.qq.core.listener.ConsoleListener
 

R

readByte() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a byte
readDouble() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a double
readFloat() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a float
readInt() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a integer
readLong() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a long
readPacket() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a packet
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ClientPackPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ConnectedPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ConnectPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.DisconnectedPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.DisconnectPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.HeartPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.MessagePacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.PacketCodec
Read the special packet from precodec
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ServerPackPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.SidedConnectPacketCodec
 
readPacket(PacketPreCodec) - Method in class top.focess.qq.api.net.packet.WaitPacketCodec
 
readShort() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a short
readString() - Method in class top.focess.qq.api.net.PacketPreCodec
Read a string
Receiver - Interface in top.focess.qq.api.net
The class is used to handle packet.
recreate(String) - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
refuse() - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Refuse this request
refuse(boolean) - Method in class top.focess.qq.api.event.request.FriendRequestEvent
Refuse this request and add blacklist to it or not
REFUSE - top.focess.qq.api.command.CommandResult
It is not accepted by the CommandExecutor or the Command
register(Listener, Method, EventHandler) - Method in class top.focess.qq.api.event.ListenerHandler
Register the listener
register(Plugin, Command) - Static method in class top.focess.qq.api.command.Command
Register the command
register(Plugin, DataConverter<?>, DataCollection.BufferGetter) - Static method in class top.focess.qq.api.command.DataCollection
Register the getter of the buffer
register(Plugin, Listener) - Static method in class top.focess.qq.api.event.ListenerHandler
Add the listener and bundle to the plugin
registerBuffer(DataConverter<?>, DataCollection.BufferGetter) - Method in class top.focess.qq.api.plugin.Plugin
Register the getter of the buffer
registerCommand(Command) - Method in class top.focess.qq.api.plugin.Plugin
Register the command
REGISTERED_PLUGINS - Static variable in class top.focess.qq.core.plugin.PluginClassLoader
 
registerInputListener(IOHandler) - Static method in class top.focess.qq.core.listener.ConsoleListener
Register input String listener.
registerInputListener(IOHandler, CommandSender, boolean) - Static method in class top.focess.qq.core.listener.ChatListener
Register input String listener.
registerListener(Listener) - Method in class top.focess.qq.api.plugin.Plugin
Register the listener into the Event chain
registerPacketCodec(int, PacketCodec<T>) - Static method in class top.focess.qq.api.net.PacketPreCodec
Register the packet codec for the special packet id
registerPackHandler(Class<T>, PackHandler<T>) - Method in interface top.focess.qq.api.net.ClientReceiver
Register packet handler for server
registerPackHandler(Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessClientReceiver
 
registerPackHandler(Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
registerPackHandler(String, Class<T>, PackHandler<T>) - Method in interface top.focess.qq.api.net.ServerReceiver
Register packet handler for special client
registerPackHandler(String, Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessReceiver
 
registerPackHandler(String, Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
registerPackHandler(String, Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
registerPackHandler(String, Class<T>, PackHandler<T>) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
registerReceiver(Receiver) - Method in interface top.focess.qq.api.net.Socket
Register packet receiver for this socket
registerReceiver(Receiver) - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
registerReceiver(Receiver) - Method in class top.focess.qq.core.net.FocessSidedSocket
 
registerReceiver(Receiver) - Method in class top.focess.qq.core.net.FocessSocket
 
registerReceiver(Receiver) - Method in class top.focess.qq.core.net.FocessUDPSocket
 
ReloadCommand - Class in top.focess.qq.core.commands
 
ReloadCommand() - Constructor for class top.focess.qq.core.commands.ReloadCommand
 
reloadPlugin(Plugin) - Static method in class top.focess.qq.core.commands.ReloadCommand
 
relogin() - Method in interface top.focess.qq.api.bot.Bot
Relogin the bot
relogin() - Method in class top.focess.qq.core.bot.SimpleBot
 
relogin(Bot) - Method in interface top.focess.qq.api.bot.BotManager
Relogin the bot
relogin(Bot) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
remove(long) - Method in interface top.focess.qq.api.bot.BotManager
Remove the bot
remove(long) - Method in class top.focess.qq.core.bot.SimpleBotManager
 
remove(String) - Static method in class top.focess.qq.api.util.Property
Remove the property
remove(String) - Method in interface top.focess.qq.api.util.SectionMap
Remove the key-value pair named key
removeAll() - Static method in class top.focess.qq.core.bot.SimpleBotManager
 
removeExecutorPermission() - Method in class top.focess.qq.api.command.Command.Executor
Remove the executor permission check for this Executor
request(String, Map<String, Object>, Map<String, String>, MediaType, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a http-request
request(String, Map<String, Object>, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a http-request
request(String, NetworkHandler.RequestType) - Method in class top.focess.qq.api.util.network.NetworkHandler
Send a http-request
resolveClass(ObjectStreamClass) - Method in class top.focess.qq.core.plugin.ObjectInputCoreStream
 
ResourceHandler - Interface in top.focess.qq.core.plugin
 
run() - Method in class top.focess.qq.core.schedule.FocessCallback
 
run() - Method in class top.focess.qq.core.schedule.FocessTask
 
run() - Method in class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
run(Runnable) - Method in interface top.focess.qq.api.schedule.Scheduler
Run a task now
run(Runnable, Duration) - Method in interface top.focess.qq.api.schedule.Scheduler
Run a task later
run(Runnable, Duration) - Method in class top.focess.qq.core.schedule.FocessScheduler
 
run(Runnable, Duration) - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
runTimer(Runnable, Duration, Duration) - Method in interface top.focess.qq.api.schedule.Scheduler
Run a task timer
runTimer(Runnable, Duration, Duration) - Method in class top.focess.qq.core.schedule.FocessScheduler
 
runTimer(Runnable, Duration, Duration) - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 

S

save() - Method in class top.focess.qq.api.util.config.Config
 
save() - Method in class top.focess.qq.api.util.config.DefaultConfig
 
save(File) - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
Save the YAML configuration as a file
Scheduler - Interface in top.focess.qq.api.schedule
Used to schedule task
SchedulerClosedException - Exception in top.focess.qq.api.exceptions
Thrown to indicate a scheduler is closed
SchedulerClosedException(Scheduler) - Constructor for exception top.focess.qq.api.exceptions.SchedulerClosedException
Constructs a SchedulerClosedException
Schedulers - Class in top.focess.qq.api.schedule
Used to create Scheduler.
Section - Class in top.focess.qq.core.debug
 
Section() - Constructor for class top.focess.qq.core.debug.Section
 
SectionMap - Interface in top.focess.qq.api.util
This is an util class to define basic access to the data.
SectionStartException - Exception in top.focess.qq.api.exceptions
Thrown to indicate that the section is already started
SectionStartException(String) - Constructor for exception top.focess.qq.api.exceptions.SectionStartException
Constructs a SectionStartException
sendPacket(int, Packet) - Method in interface top.focess.qq.api.net.ServerMultiReceiver
Send packet to the special client
sendPacket(int, Packet) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
sendPacket(String, int, T) - Method in class top.focess.qq.core.net.FocessSocket
 
sendPacket(String, int, Packet) - Method in class top.focess.qq.core.net.FocessUDPSocket
 
sendPacket(String, Packet) - Method in interface top.focess.qq.api.net.ServerReceiver
Send packet to the special client
sendPacket(String, Packet) - Method in class top.focess.qq.core.net.FocessReceiver
 
sendPacket(String, Packet) - Method in class top.focess.qq.core.net.FocessSidedReceiver
 
sendPacket(String, Packet) - Method in class top.focess.qq.core.net.FocessUDPMultiReceiver
 
sendPacket(String, Packet) - Method in class top.focess.qq.core.net.FocessUDPReceiver
 
sendPacket(T) - Method in class top.focess.qq.core.net.FocessSidedClientSocket
 
sendPacket(Packet) - Method in interface top.focess.qq.api.net.ClientReceiver
Send the packet to the server
sendPacket(Packet) - Method in class top.focess.qq.core.net.FocessClientReceiver
 
sendPacket(Packet) - Method in class top.focess.qq.core.net.FocessSidedClientReceiver
 
ServerMultiReceiver - Interface in top.focess.qq.api.net
The socket multi receiver for server.
ServerPacket - Class in top.focess.qq.api.net.packet
The class indicates that this packet is for server side.
ServerPacket() - Constructor for class top.focess.qq.api.net.packet.ServerPacket
 
ServerPackPacket - Class in top.focess.qq.api.net.packet
Used to pack package sent by server.
ServerPackPacket(Packet) - Constructor for class top.focess.qq.api.net.packet.ServerPackPacket
Constructs a ServerPackPacket
ServerPackPacketCodec - Class in top.focess.qq.api.net.packet
Codec for ServerPackPacket.
ServerPackPacketCodec() - Constructor for class top.focess.qq.api.net.packet.ServerPackPacketCodec
 
ServerReceiver - Interface in top.focess.qq.api.net
The socket receiver for server.
ServerStartEvent - Class in top.focess.qq.api.event.server
Called when MainPlugin is loaded completely
ServerStartEvent() - Constructor for class top.focess.qq.api.event.server.ServerStartEvent
 
Session - Class in top.focess.qq.api.util.session
This class is used to build better communication between Command and CommandSender.
Session(Map<String, Object>) - Constructor for class top.focess.qq.api.util.session.Session
Initialize the YamlConfiguration with existed key-value pairs or not (usually not)
SessionSection - Class in top.focess.qq.api.util.session
Section of Session.
SessionSection(Session, Map<String, Object>) - Constructor for class top.focess.qq.api.util.session.SessionSection
 
set(String, Object) - Method in class top.focess.qq.api.util.config.Config
 
set(String, Object) - Method in class top.focess.qq.api.util.config.DefaultConfig
 
set(String, Object) - Method in interface top.focess.qq.api.util.SectionMap
Store the key-value pair
set(String, Object) - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
setCancelled(boolean) - Method in interface top.focess.qq.api.event.Cancellable
Set whether this event is cancelled or not
setCancelled(boolean) - Method in class top.focess.qq.api.event.command.CommandPrepostEvent
 
setCommandResultExecutors(CommandResult, CommandResultExecutor) - Method in class top.focess.qq.api.command.Command.Executor
Set the executor of the special CommandResult after executing this Executor
setConsoleIoHandler(IOHandler) - Static method in class top.focess.qq.api.util.IOHandler
 
setDataConverters(DataConverter<?>...) - Method in class top.focess.qq.api.command.Command.Executor
Set the DataConverters for the arguments.
setExecutorPermission(Predicate<CommandSender>) - Method in class top.focess.qq.api.command.Command.Executor
Set the executor permission check for this Executor When execute this Executor, it will check Command.executorPermission and the executorPermission
setExecutorPermission(Predicate<CommandSender>) - Method in class top.focess.qq.api.command.Command
 
setNativeTask(ComparableTask) - Method in class top.focess.qq.core.schedule.FocessCallback
 
setNativeTask(ComparableTask) - Method in class top.focess.qq.core.schedule.FocessTask
 
setPermission(MemberPermission) - Method in class top.focess.qq.api.command.Command.Executor
Deprecated.
setPermission(MemberPermission) - Method in class top.focess.qq.api.command.Command
Deprecated.
setPermission(CommandPermission) - Method in class top.focess.qq.api.command.Command.Executor
Set the executor Mirai Permission (Only if the CommandSender has the command that this executor belongs to and this executor's permissions, this executor runs)
setPermission(CommandPermission) - Method in class top.focess.qq.api.command.Command
Set the default permission
setPrevent(boolean) - Method in class top.focess.qq.api.event.Event
 
setUseDefaultConverter(boolean) - Method in class top.focess.qq.api.command.Command.Executor
Set whether force use the DataConverter.DEFAULT_DATA_CONVERTER or not.
SidedConnectPacket - Class in top.focess.qq.api.net.packet
Used to connect to the server.
SidedConnectPacket(String) - Constructor for class top.focess.qq.api.net.packet.SidedConnectPacket
Constructs a SidedConnectPacket
SidedConnectPacketCodec - Class in top.focess.qq.api.net.packet
Codec for SidedConnectPacket.
SidedConnectPacketCodec() - Constructor for class top.focess.qq.api.net.packet.SidedConnectPacketCodec
 
SimpleBot - Class in top.focess.qq.core.bot
 
SimpleBot(long, String, Bot) - Constructor for class top.focess.qq.core.bot.SimpleBot
 
SimpleBotManager - Class in top.focess.qq.core.bot
 
SimpleBotManager() - Constructor for class top.focess.qq.core.bot.SimpleBotManager
 
SimpleClient - Class in top.focess.qq.core.net
 
SimpleClient(int, String, String) - Constructor for class top.focess.qq.core.net.SimpleClient
 
SimpleClient(String, int, int, String, String) - Constructor for class top.focess.qq.core.net.SimpleClient
 
Socket - Interface in top.focess.qq.api.net
Represents a FocessSocket.
startSection(String, Task) - Static method in class top.focess.qq.core.debug.Section
 
startSection(String, Task, Duration) - Static method in class top.focess.qq.core.debug.Section
 
startTask(ITask) - Method in class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
StopCommand - Class in top.focess.qq.core.commands
 
StopCommand() - Constructor for class top.focess.qq.core.commands.StopCommand
 
stopSection(String) - Static method in class top.focess.qq.core.debug.Section
 
StrangerChatEvent - Class in top.focess.qq.api.event.chat
Called when a stranger chat with bot
StrangerChatEvent(Bot, MessageChain, Stranger, OnlineMessageSource.Incoming.FromStranger) - Constructor for class top.focess.qq.api.event.chat.StrangerChatEvent
Constructs a ChatEvent
StrangerMessageEvent - Class in top.focess.qq.api.event.message
Called when a stranger chat with bot (this does not execute any commands)
StrangerMessageEvent(Bot, MessageChain, Stranger) - Constructor for class top.focess.qq.api.event.message.StrangerMessageEvent
Constructs a StrangerMessageEvent
StringBuffer - Class in top.focess.qq.api.command.data
Represent a buffer of String.
submit(Class<T>, T) - Static method in class top.focess.qq.api.event.EventManager
Submit the event to cls and all of cls 's implemented super event class
submit(Callable<V>) - Method in interface top.focess.qq.api.schedule.Scheduler
Submit a task now
submit(Callable<V>, Duration) - Method in interface top.focess.qq.api.schedule.Scheduler
Submit a task later
submit(Callable<V>, Duration) - Method in class top.focess.qq.core.schedule.FocessScheduler
 
submit(Callable<V>, Duration) - Method in class top.focess.qq.core.schedule.ThreadPoolScheduler
 
submit(T) - Static method in class top.focess.qq.api.event.EventManager
Submit the event to all of its implemented super event class
submit(T) - Method in class top.focess.qq.api.event.ListenerHandler
Submit the event to this listener handler
submitOnce(Class<T>, T) - Static method in class top.focess.qq.api.event.EventManager
Submit the event only to cls event class

T

Task - Interface in top.focess.qq.api.schedule
The warped task.
TaskNotFinishedException - Exception in top.focess.qq.api.exceptions
Thrown to indicate the task is not finished
TaskNotFinishedException(Callback<V>) - Constructor for exception top.focess.qq.api.exceptions.TaskNotFinishedException
Constructs a TaskNotFinishedException
TaskNotFoundException - Exception in top.focess.qq.api.exceptions
Thrown to indicate that the task is not found
TaskNotFoundException(Task) - Constructor for exception top.focess.qq.api.exceptions.TaskNotFoundException
Constructs a TaskNotFoundException
TEXT - Static variable in class top.focess.qq.api.util.network.NetworkHandler
Used to indicate this http-request accepts normal String
thisPlugin() - Static method in class top.focess.qq.api.plugin.Plugin
 
thr(String, Throwable) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with ERROR level
ThreadPoolScheduler - Class in top.focess.qq.core.schedule
 
ThreadPoolScheduler(Plugin, int) - Constructor for class top.focess.qq.core.schedule.ThreadPoolScheduler
 
ThreadPoolSchedulerThread - Class in top.focess.qq.core.schedule
 
ThreadPoolSchedulerThread(ThreadPoolScheduler, String) - Constructor for class top.focess.qq.core.schedule.ThreadPoolSchedulerThread
 
thrLang(String, Throwable, Object...) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with ERROR level
toCommandPermission(MemberPermission) - Static method in enum top.focess.qq.api.command.CommandPermission
 
toJson() - Method in class top.focess.qq.api.util.json.JSON
Translate this JSON instance into json String
toJson() - Method in class top.focess.qq.api.util.json.JSONList
Translate this JSON instance into json String
top.focess.qq - package top.focess.qq
 
top.focess.qq.api.bot - package top.focess.qq.api.bot
 
top.focess.qq.api.command - package top.focess.qq.api.command
 
top.focess.qq.api.command.converter - package top.focess.qq.api.command.converter
 
top.focess.qq.api.command.data - package top.focess.qq.api.command.data
 
top.focess.qq.api.event - package top.focess.qq.api.event
 
top.focess.qq.api.event.bot - package top.focess.qq.api.event.bot
 
top.focess.qq.api.event.chat - package top.focess.qq.api.event.chat
 
top.focess.qq.api.event.command - package top.focess.qq.api.event.command
 
top.focess.qq.api.event.message - package top.focess.qq.api.event.message
 
top.focess.qq.api.event.plugin - package top.focess.qq.api.event.plugin
 
top.focess.qq.api.event.recall - package top.focess.qq.api.event.recall
 
top.focess.qq.api.event.request - package top.focess.qq.api.event.request
 
top.focess.qq.api.event.server - package top.focess.qq.api.event.server
 
top.focess.qq.api.exceptions - package top.focess.qq.api.exceptions
 
top.focess.qq.api.net - package top.focess.qq.api.net
 
top.focess.qq.api.net.packet - package top.focess.qq.api.net.packet
 
top.focess.qq.api.plugin - package top.focess.qq.api.plugin
 
top.focess.qq.api.schedule - package top.focess.qq.api.schedule
 
top.focess.qq.api.util - package top.focess.qq.api.util
 
top.focess.qq.api.util.config - package top.focess.qq.api.util.config
 
top.focess.qq.api.util.json - package top.focess.qq.api.util.json
 
top.focess.qq.api.util.logger - package top.focess.qq.api.util.logger
 
top.focess.qq.api.util.network - package top.focess.qq.api.util.network
 
top.focess.qq.api.util.session - package top.focess.qq.api.util.session
 
top.focess.qq.api.util.version - package top.focess.qq.api.util.version
 
top.focess.qq.api.util.yaml - package top.focess.qq.api.util.yaml
 
top.focess.qq.core.bot - package top.focess.qq.core.bot
 
top.focess.qq.core.commands - package top.focess.qq.core.commands
 
top.focess.qq.core.commands.util - package top.focess.qq.core.commands.util
 
top.focess.qq.core.debug - package top.focess.qq.core.debug
 
top.focess.qq.core.exceptions - package top.focess.qq.core.exceptions
 
top.focess.qq.core.listener - package top.focess.qq.core.listener
 
top.focess.qq.core.net - package top.focess.qq.core.net
 
top.focess.qq.core.plugin - package top.focess.qq.core.plugin
 
top.focess.qq.core.schedule - package top.focess.qq.core.schedule
 
top.focess.qq.core.util - package top.focess.qq.core.util
 
top.focess.qq.core.util.option - package top.focess.qq.core.util.option
 
top.focess.qq.core.util.option.type - package top.focess.qq.core.util.option.type
 
toString() - Method in class top.focess.qq.api.command.CommandSender
 
toString() - Method in class top.focess.qq.api.util.json.JSON
 
toString() - Method in class top.focess.qq.api.util.json.JSONList
 
toString() - Method in class top.focess.qq.api.util.Pair
 
toString() - Method in class top.focess.qq.api.util.session.Session
 
toString() - Method in class top.focess.qq.api.util.version.Version
 
toString() - Method in class top.focess.qq.api.util.yaml.YamlConfiguration
 
toString() - Method in class top.focess.qq.core.util.option.Option
 
toString() - Method in class top.focess.qq.core.util.option.Options
 
toString() - Method in class top.focess.qq.core.util.option.type.IntegerOptionType
 
toString() - Method in class top.focess.qq.core.util.option.type.LongOptionType
 
trace(String, Throwable) - Method in class top.focess.qq.api.util.logger.FocessLogger
Log a message and a throwable (or exception) with TRACE level
trySubmitOnce(Class<T>, T) - Static method in class top.focess.qq.api.event.EventManager
Submit the event only to itself and no exception throws

U

UNKNOWN_REQUEST - Static variable in class top.focess.qq.api.util.network.HttpResponse
Unknown request type error code
UnloadCommand - Class in top.focess.qq.core.commands
 
UnloadCommand() - Constructor for class top.focess.qq.core.commands.UnloadCommand
 
unregister() - Method in class top.focess.qq.api.command.Command
Unregister this command
unregister(Listener) - Method in class top.focess.qq.api.event.ListenerHandler
Unregister the listener
unregister(Plugin) - Static method in class top.focess.qq.api.command.Command
Unregister all commands in the plugin
unregister(Plugin) - Static method in class top.focess.qq.api.command.DataCollection
Unregister the getter of the buffers by plugin
unregister(Plugin) - Static method in class top.focess.qq.api.event.ListenerHandler
Unregister all listeners bundle to the plugin
unregisterAll() - Static method in class top.focess.qq.api.command.Command
Unregister all commands
unregisterAll() - Static method in class top.focess.qq.api.command.DataCollection
Unregister all the getter of the buffers
unregisterAll() - Static method in class top.focess.qq.api.event.ListenerHandler
Unregister all listeners
UnsupportedOptionException - Exception in top.focess.qq.core.exceptions
 
UnsupportedOptionException(String) - Constructor for exception top.focess.qq.core.exceptions.UnsupportedOptionException
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.api.command.Command
Used to print help information when execute this command with wrong arguments or the executor returns CommandResult.ARGS
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.BotCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.CommandCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.FriendCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.GroupCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.LoadCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.PluginCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.ReloadCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.StopCommand
 
usage(CommandSender, IOHandler) - Method in class top.focess.qq.core.commands.UnloadCommand
 

V

value - Variable in class top.focess.qq.api.util.IOHandler
 
valueOf(String) - Static method in enum top.focess.qq.api.command.CommandPermission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.focess.qq.api.command.CommandResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.focess.qq.api.event.EventPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.focess.qq.api.util.network.NetworkHandler.RequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum top.focess.qq.api.command.CommandPermission
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.focess.qq.api.command.CommandResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.focess.qq.api.event.EventPriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.focess.qq.api.util.network.NetworkHandler.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in annotation type top.focess.qq.api.plugin.PluginType
Set the version of this plugin
Version - Class in top.focess.qq.api.util.version
Represents a version of a plugin.
Version(int, int) - Constructor for class top.focess.qq.api.util.version.Version
Constructs a new version with the specified version numbers.
Version(int, int, int) - Constructor for class top.focess.qq.api.util.version.Version
Constructs a new version with the specified version numbers.
Version(int, int, int, String) - Constructor for class top.focess.qq.api.util.version.Version
Constructs a new version with the specified version numbers and build.
Version(String) - Constructor for class top.focess.qq.api.util.version.Version
Constructs a new version with the specified version.
VersionFormatException - Exception in top.focess.qq.api.exceptions
Thrown to indicate that a version string is not in the correct format.
VersionFormatException(String) - Constructor for exception top.focess.qq.api.exceptions.VersionFormatException
Constructs a VersionFormatException

W

waitCall() - Method in interface top.focess.qq.api.schedule.Callback
Wait for this task finished and call the target value
WaitPacket - Class in top.focess.qq.api.net.packet
Used to create receive-packet time for client and send-packet time for server.
WaitPacket(int, String) - Constructor for class top.focess.qq.api.net.packet.WaitPacket
Constructs a WaitPacket
WaitPacketCodec - Class in top.focess.qq.api.net.packet
Codec for WaitPacket.
WaitPacketCodec() - Constructor for class top.focess.qq.api.net.packet.WaitPacketCodec
 
write(Class<T>, T) - Method in class top.focess.qq.api.command.DataCollection
Write customize buffer element
writeByte(byte) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a byte
writeCommand(Command) - Method in class top.focess.qq.api.command.DataCollection
Write a Command argument
writeDouble(double) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a double
writeFloat(float) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a float
writeInt(int) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a integer
writeLong(long) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a long
writePacket(T) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a packet
writePacket(ClientPackPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ClientPackPacketCodec
 
writePacket(ConnectedPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ConnectedPacketCodec
 
writePacket(ConnectPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ConnectPacketCodec
 
writePacket(DisconnectedPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.DisconnectedPacketCodec
 
writePacket(DisconnectPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.DisconnectPacketCodec
 
writePacket(HeartPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.HeartPacketCodec
 
writePacket(MessagePacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.MessagePacketCodec
 
writePacket(ServerPackPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.ServerPackPacketCodec
 
writePacket(SidedConnectPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.SidedConnectPacketCodec
 
writePacket(WaitPacket, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.WaitPacketCodec
 
writePacket(T, PacketPreCodec) - Method in class top.focess.qq.api.net.packet.PacketCodec
Write the packet to the precodec
writePlugin(Plugin) - Method in class top.focess.qq.api.command.DataCollection
Write a Plugin argument
writeShort(short) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a short
writeString(String) - Method in class top.focess.qq.api.net.PacketPreCodec
Write a string

Y

yaml - Variable in class top.focess.qq.api.util.config.Config
 
YamlConfiguration - Class in top.focess.qq.api.util.yaml
This class is used to define a YAML configuration.
YamlConfiguration(Map<String, Object>) - Constructor for class top.focess.qq.api.util.yaml.YamlConfiguration
Initialize the YamlConfiguration with existed key-value pairs or not
YamlConfigurationSection - Class in top.focess.qq.api.util.yaml
Section of YamlConfiguration.
YamlConfigurationSection(YamlConfiguration, Map<String, Object>) - Constructor for class top.focess.qq.api.util.yaml.YamlConfigurationSection
 
YamlLoadException - Exception in top.focess.qq.api.exceptions
Thrown to indicate there is any exception thrown in the yaml loading process
YamlLoadException(Exception) - Constructor for exception top.focess.qq.api.exceptions.YamlLoadException
Constructs a YamlLoadException
A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes All Packages