Package net.dv8tion.jda.api.events
Class ReconnectedEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.ReconnectedEvent
-
- All Implemented Interfaces:
GenericEvent
public class ReconnectedEvent extends Event
Indicates if JDA successfully re-established its connection to the gateway.
All Objects have been replaced when this is fired and events were likely missed in the downtime.Can be used to mark the continuation of event flow which was stopped by the
DisconnectEvent
. User should replace any cached Objects (like User/Guild objects).
-
-
Constructor Summary
Constructors Constructor Description ReconnectedEvent(JDA api, long responseNumber)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
ReconnectedEvent
public ReconnectedEvent(@Nonnull JDA api, long responseNumber)
-
-