Package com.github.twitch4j.eventsub
Enum Class ShardStatus
- All Implemented Interfaces:
Serializable
,Comparable<ShardStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe shard is enabled.The notification delivery failure rate was too high.Twitch assigned the shard an undocumented status; please report to our issue tracker!The specified callback URL failed verification.The shard is pending verification of the specified callback URL.The client closed the connection.sThe client failed to respond to a ping message.The client failed to reconnect to the Twitch WebSocket server within the required time after a Reconnect Message..The Twitch WebSocket server experienced an unexpected error.The Twitch WebSocket server experienced a network error writing the message to the client.The Twitch WebSocket server timed out writing the message to the client.The client sent a non-pong message. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardStatus
Returns the enum constant of this class with the specified name.static ShardStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
The shard is enabled. -
WEBHOOK_CALLBACK_VERIFICATION_PENDING
The shard is pending verification of the specified callback URL. -
WEBHOOK_CALLBACK_VERIFICATION_FAILED
The specified callback URL failed verification. -
NOTIFICATION_FAILURES_EXCEEDED
The notification delivery failure rate was too high. -
WEBSOCKET_DISCONNECTED
The client closed the connection.s -
WEBSOCKET_FAILED_PING_PONG
The client failed to respond to a ping message. -
WEBSOCKET_FAILED_TO_RECONNECT
The client failed to reconnect to the Twitch WebSocket server within the required time after a Reconnect Message.. -
WEBSOCKET_RECEIVED_INBOUND_TRAFFIC
The client sent a non-pong message. -
WEBSOCKET_INTERNAL_ERROR
The Twitch WebSocket server experienced an unexpected error. -
WEBSOCKET_NETWORK_TIMEOUT
The Twitch WebSocket server timed out writing the message to the client. -
WEBSOCKET_NETWORK_ERROR
The Twitch WebSocket server experienced a network error writing the message to the client. -
UNKNOWN
Twitch assigned the shard an undocumented status; please report to our issue tracker!
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-