Class DisconnectEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.lifecycle.GatewayLifecycleEvent
discord4j.core.event.domain.lifecycle.DisconnectEvent
Indicates that a gateway connection is disconnected.
This event is dispatched by Discord4J.
-
Constructor Summary
ConstructorDescriptionDisconnectEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, CloseStatus status, Throwable cause) -
Method Summary
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
DisconnectEvent
public DisconnectEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, CloseStatus status, @Nullable Throwable cause)
-
-
Method Details