Enum Class ShardStatus

java.lang.Object
java.lang.Enum<ShardStatus>
com.github.twitch4j.eventsub.ShardStatus
All Implemented Interfaces:
Serializable, Comparable<ShardStatus>, Constable

public enum ShardStatus extends Enum<ShardStatus>
  • Enum Constant Details

    • ENABLED

      public static final ShardStatus ENABLED
      The shard is enabled.
    • WEBHOOK_CALLBACK_VERIFICATION_PENDING

      public static final ShardStatus WEBHOOK_CALLBACK_VERIFICATION_PENDING
      The shard is pending verification of the specified callback URL.
    • WEBHOOK_CALLBACK_VERIFICATION_FAILED

      public static final ShardStatus WEBHOOK_CALLBACK_VERIFICATION_FAILED
      The specified callback URL failed verification.
    • NOTIFICATION_FAILURES_EXCEEDED

      public static final ShardStatus NOTIFICATION_FAILURES_EXCEEDED
      The notification delivery failure rate was too high.
    • WEBSOCKET_DISCONNECTED

      public static final ShardStatus WEBSOCKET_DISCONNECTED
      The client closed the connection.s
    • WEBSOCKET_FAILED_PING_PONG

      public static final ShardStatus WEBSOCKET_FAILED_PING_PONG
      The client failed to respond to a ping message.
    • WEBSOCKET_FAILED_TO_RECONNECT

      public static final ShardStatus 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

      public static final ShardStatus WEBSOCKET_RECEIVED_INBOUND_TRAFFIC
      The client sent a non-pong message.
    • WEBSOCKET_INTERNAL_ERROR

      public static final ShardStatus WEBSOCKET_INTERNAL_ERROR
      The Twitch WebSocket server experienced an unexpected error.
    • WEBSOCKET_NETWORK_TIMEOUT

      public static final ShardStatus WEBSOCKET_NETWORK_TIMEOUT
      The Twitch WebSocket server timed out writing the message to the client.
    • WEBSOCKET_NETWORK_ERROR

      public static final ShardStatus WEBSOCKET_NETWORK_ERROR
      The Twitch WebSocket server experienced a network error writing the message to the client.
    • UNKNOWN

      public static final ShardStatus UNKNOWN
      Twitch assigned the shard an undocumented status; please report to our issue tracker!
  • Method Details

    • values

      public static ShardStatus[] 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

      public static ShardStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null