Package net.dv8tion.jda.api.hooks
package net.dv8tion.jda.api.hooks
EventManager and EventListener implementations and interfaces.
Every JDA instance has an EventManager implementation
that deals with the handling and forwarding of Events.
The default manager is the InterfacedEventManager
which uses the EventListener to listen for events.
The ListenerAdapter is an implementation which provides
methods for each event of net.dv8tion.jda.api.events
The AnnotatedEventManager
can forward events directly to methods that have the SubscribeEvent annotation.
Note: All of the standard EventManager implementations are single-threaded
-
ClassDescriptionImplementation for
IEventManagerwhich checks forSubscribeEventannotations on both static and member methods.JDA pushesGenericEventsto the registered EventListeners.An interface for JDA's EventManager system.AnIEventManagerimplementation that uses theEventListenerinterface for event listeners.An abstract implementation ofEventListenerwhich dividesEventsfor you.Annotation used by theAnnotatedEventManagerthis is only picked up if the event manager implementation has been set to use theAnnotatedEventManagerviaJDABuilder.setEventManager(IEventManager)Interceptor used to handle critical voice dispatches.Wrapper for a Voice Server UpdateWrapper for a Voice State UpdateAbstraction for all relevant voice updates