Class 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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReconnectedEvent

        public ReconnectedEvent​(@Nonnull
                                JDA api,
                                long responseNumber)