Package discord4j.core.event.domain.lifecycle
Domain model for gateway lifecycle events.
-
Class Summary Class Description ConnectEvent Indicates that a gateway connection is successful.DisconnectEvent Indicates that a gateway connection is disconnected.GatewayLifecycleEvent Represents a lifecycle status change for a gateway connection.ReadyEvent Dispatched when an initial connection to the Discord gateway has been established.ReadyEvent.Guild An incomplete Guild provided by Discord upon the ready event.ReconnectEvent Indicates that a gateway connection has correctly reconnected.ReconnectFailEvent Indicates that a reconnection attempt has failed and a new attempt should be scheduled, in that case, this event will be followed by aReconnectStartEvent
.ReconnectStartEvent Indicates that a gateway connection is starting a reconnect attempt.ResumeEvent Dispatched when the gateway connection is successfully resumed.