Package discord4j.gateway.retry
Class ClosingStateChange
- java.lang.Object
-
- discord4j.gateway.retry.GatewayStateChange
-
- discord4j.gateway.retry.ClosingStateChange
-
- All Implemented Interfaces:
discord4j.discordjson.json.gateway.Dispatch,discord4j.discordjson.json.gateway.PayloadData
public class ClosingStateChange extends GatewayStateChange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class discord4j.gateway.retry.GatewayStateChange
GatewayStateChange.State
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClosingStateChange(DisconnectBehavior behavior, CloseStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisconnectBehaviorgetBehavior()CloseStatusgetStatus()-
Methods inherited from class discord4j.gateway.retry.GatewayStateChange
connected, disconnected, disconnectedResume, getBackoff, getCurrentAttempt, getState, retryFailed, retryStarted, retryStartedResume, retrySucceeded, sessionInvalidated, toString
-
-
-
-
Constructor Detail
-
ClosingStateChange
protected ClosingStateChange(DisconnectBehavior behavior, CloseStatus status)
-
-
Method Detail
-
getBehavior
public DisconnectBehavior getBehavior()
-
getStatus
public CloseStatus getStatus()
-
-