Package com.ultikits.ultitools.websocket
Enum Class CloudPlayerLinks.Failure
- All Implemented Interfaces:
Serializable,Comparable<CloudPlayerLinks.Failure>,java.lang.constant.Constable
- Enclosing class:
CloudPlayerLinks
Why a link request failed.
- Since:
- 6.3.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe gateway answered with an unexpected error.The gateway refuses to issue links: server suspended, links disabled, or identity banned.This server holds no usable UltiCloud connection; no request was sent.The gateway rate-limited the request; a later attempt may succeed.The gateway did not answer within 30 seconds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudPlayerLinks.FailureReturns the enum constant of this class with the specified name.static CloudPlayerLinks.Failure[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_CONNECTED
This server holds no usable UltiCloud connection; no request was sent. -
RATE_LIMITED
The gateway rate-limited the request; a later attempt may succeed. -
LINK_NOT_PERMITTED
The gateway refuses to issue links: server suspended, links disabled, or identity banned. -
TIMED_OUT
The gateway did not answer within 30 seconds. -
INTERNAL_ERROR
The gateway answered with an unexpected error.
-
-
Constructor Details
-
Failure
private Failure()
-
-
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
-