Uses of Class
top.focess.qq.api.plugin.Plugin
-
-
Uses of Plugin in top.focess.qq
Subclasses of Plugin in top.focess.qq Modifier and Type Class Description static classFocessQQ.MainPluginThe MainPlugin Plugin is a core plugin in Bot.Methods in top.focess.qq that return Plugin Modifier and Type Method Description static PluginFocessQQ. getMainPlugin()static PluginFocessQQ. getPlugin(Class<? extends Plugin> cls)Get the plugin by its classstatic PluginFocessQQ. getPlugin(String name)Get the plugin by its nameMethods in top.focess.qq that return types with arguments of type Plugin Modifier and Type Method Description static List<Plugin>FocessQQ. getPlugins()Get all the loaded pluginsMethod parameters in top.focess.qq with type arguments of type Plugin Modifier and Type Method Description static PluginFocessQQ. getPlugin(Class<? extends Plugin> cls)Get the plugin by its class -
Uses of Plugin in top.focess.qq.api.command
Methods in top.focess.qq.api.command that return Plugin Modifier and Type Method Description PluginCommand. getPlugin()PluginDataCollection. getPlugin()Get Plugin argument in orderMethods in top.focess.qq.api.command that return types with arguments of type Plugin Modifier and Type Method Description Class<? extends Plugin>plugin()Set the plugin the command belongs toMethods in top.focess.qq.api.command with parameters of type Plugin Modifier and Type Method Description static voidCommand. register(Plugin plugin, Command command)Register the commandstatic voidDataCollection. register(Plugin plugin, DataConverter<?> dataConverter, DataCollection.BufferGetter bufferGetter)Register the getter of the bufferstatic voidCommand. unregister(Plugin plugin)Unregister all commands in the pluginstatic voidDataCollection. unregister(Plugin plugin)Unregister the getter of the buffers by pluginvoidDataCollection. writePlugin(Plugin p)Write a Plugin argument -
Uses of Plugin in top.focess.qq.api.command.converter
Methods in top.focess.qq.api.command.converter that return Plugin Modifier and Type Method Description PluginPluginDataConverter. convert(String arg)Methods in top.focess.qq.api.command.converter that return types with arguments of type Plugin Modifier and Type Method Description protected Class<Plugin>PluginDataConverter. getTargetClass()Methods in top.focess.qq.api.command.converter with parameters of type Plugin Modifier and Type Method Description protected voidPluginDataConverter. connect(DataCollection dataCollection, Plugin arg) -
Uses of Plugin in top.focess.qq.api.command.data
Methods in top.focess.qq.api.command.data that return Plugin Modifier and Type Method Description PluginPluginBuffer. get()Methods in top.focess.qq.api.command.data with parameters of type Plugin Modifier and Type Method Description voidPluginBuffer. put(Plugin plugin) -
Uses of Plugin in top.focess.qq.api.event
Methods in top.focess.qq.api.event that return Plugin Modifier and Type Method Description PluginListenerHandler. getPlugin()Get the plugin of the listenerMethods in top.focess.qq.api.event with parameters of type Plugin Modifier and Type Method Description static voidListenerHandler. register(Plugin plugin, Listener listener)Add the listener and bundle to the pluginstatic voidListenerHandler. unregister(Plugin plugin)Unregister all listeners bundle to the plugin -
Uses of Plugin in top.focess.qq.api.event.plugin
Methods in top.focess.qq.api.event.plugin that return Plugin Modifier and Type Method Description PluginPluginEvent. getPlugin()Constructors in top.focess.qq.api.event.plugin with parameters of type Plugin Constructor Description PluginEvent(Plugin plugin)Constructs a PluginEventPluginLoadEvent(Plugin plugin)Constructs a PluginLoadEventPluginUnloadEvent(Plugin plugin)Constructs a PluginUnloadEvent -
Uses of Plugin in top.focess.qq.api.exceptions
Constructor parameters in top.focess.qq.api.exceptions with type arguments of type Plugin Constructor Description PluginLoaderException(Class<? extends Plugin> c)Constructs a PluginLoaderExceptionPluginLoadException(Class<? extends Plugin> c, Exception e)Constructs a PluginLoadException -
Uses of Plugin in top.focess.qq.api.net
Methods in top.focess.qq.api.net with parameters of type Plugin Modifier and Type Method Description <T extends Packet>
voidClientReceiver. registerPackHandler(Plugin plugin, Class<T> c, PackHandler<T> packHandler)Register packet handler for server<T extends Packet>
voidServerReceiver. registerPackHandler(Plugin plugin, String client, Class<T> c, PackHandler<T> packHandler)Register packet handler for special client -
Uses of Plugin in top.focess.qq.api.plugin
Subclasses of Plugin in top.focess.qq.api.plugin Modifier and Type Class Description classLazyPluginThis is lazy version of the plugin.Methods in top.focess.qq.api.plugin that return Plugin Modifier and Type Method Description static PluginPlugin. getPlugin(Class<? extends Plugin> plugin)Get Plugin instance by the class instancestatic PluginPlugin. getPlugin(String name)Get Plugin instance by the namestatic PluginPlugin. thisPlugin()Method parameters in top.focess.qq.api.plugin with type arguments of type Plugin Modifier and Type Method Description static PluginPlugin. getPlugin(Class<? extends Plugin> plugin)Get Plugin instance by the class instance -
Uses of Plugin in top.focess.qq.api.schedule
Methods in top.focess.qq.api.schedule that return Plugin Modifier and Type Method Description PluginScheduler. getPlugin()Get the pluginPluginTask. getPlugin()Get the plugin it belongs toMethods in top.focess.qq.api.schedule with parameters of type Plugin Modifier and Type Method Description static voidSchedulers. close(Plugin plugin)Close all the schedulers belonging to the pluginstatic SchedulerSchedulers. newFocessScheduler(Plugin plugin)New a FocessScheduler, the scheduler will run all tasks in time order.static SchedulerSchedulers. newThreadPoolScheduler(Plugin plugin, int poolSize)New a ThreadPoolScheduler, the scheduler can run tasks in parallel. -
Uses of Plugin in top.focess.qq.api.util.network
Methods in top.focess.qq.api.util.network that return Plugin Modifier and Type Method Description PluginHttpResponse. getPlugin()PluginNetworkHandler. getPlugin()Methods in top.focess.qq.api.util.network with parameters of type Plugin Modifier and Type Method Description static HttpResponseHttpResponse. ofNull(Plugin plugin)Constructors in top.focess.qq.api.util.network with parameters of type Plugin Constructor Description HttpResponse(Plugin plugin, int code, okhttp3.Headers headers, String value)Initialize a HttpResponse without exceptionsHttpResponse(Plugin plugin, Exception e)Initialize an exception thrown HttpResponse with eNetworkHandler(Plugin plugin) -
Uses of Plugin in top.focess.qq.core.commands
Methods in top.focess.qq.core.commands with parameters of type Plugin Modifier and Type Method Description static booleanReloadCommand. reloadPlugin(Plugin plugin) -
Uses of Plugin in top.focess.qq.core.net
Fields in top.focess.qq.core.net with type parameters of type Plugin Modifier and Type Field Description protected Map<Plugin,Map<Class<?>,List<PackHandler>>>AClientReceiver. packHandlersprotected Map<Plugin,Map<String,Map<Class<?>,List<PackHandler>>>>AServerReceiver. packHandlersMethods in top.focess.qq.core.net with parameters of type Plugin Modifier and Type Method Description <T extends Packet>
voidAClientReceiver. registerPackHandler(Plugin plugin, Class<T> c, PackHandler<T> packHandler)<T extends Packet>
voidAServerReceiver. registerPackHandler(Plugin plugin, String name, Class<T> c, PackHandler<T> packHandler) -
Uses of Plugin in top.focess.qq.core.plugin
Methods in top.focess.qq.core.plugin with type parameters of type Plugin Modifier and Type Method Description static <T extends Plugin>
TPluginClassLoader. getPlugin(Class<T> plugin)Get Plugin instance by the class instanceMethods in top.focess.qq.core.plugin that return Plugin Modifier and Type Method Description static PluginPluginCoreClassLoader. getClassLoadedBy(Class<?> clazz)Get the plugin of the loaded classPluginPluginClassLoader. getPlugin()static PluginPluginClassLoader. getPlugin(String name)Get Plugin instance by the nameMethods in top.focess.qq.core.plugin that return types with arguments of type Plugin Modifier and Type Method Description static List<Plugin>PluginClassLoader. getPlugins()Get all plugins registeredMethods in top.focess.qq.core.plugin with parameters of type Plugin Modifier and Type Method Description static FilePluginClassLoader. disablePlugin(Plugin plugin)Used to disable pluginstatic voidPluginClassLoader. enablePlugin(Plugin plugin)Used to enable plugin -
Uses of Plugin in top.focess.qq.core.schedule
Methods in top.focess.qq.core.schedule that return Plugin Modifier and Type Method Description PluginAScheduler. getPlugin()PluginFocessTask. getPlugin()Methods in top.focess.qq.core.schedule with parameters of type Plugin Modifier and Type Method Description static voidAScheduler. close(Plugin plugin)Close all the schedulers belonging to the pluginConstructors in top.focess.qq.core.schedule with parameters of type Plugin Constructor Description AScheduler(Plugin plugin)FocessScheduler(Plugin plugin)ThreadPoolScheduler(Plugin plugin, int poolSize)
-