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