Enum Class NetherConnectionFailure
java.lang.Object
java.lang.Enum<NetherConnectionFailure>
org.cloudburstmc.netty.channel.nethernet.config.NetherConnectionFailure
- All Implemented Interfaces:
Serializable,Comparable<NetherConnectionFailure>,Constable
Why a connection that got as far as a peer connection never carried traffic. A join refused at
signaling never reaches this point, and is reported by
NetherServerMetrics.joinRefused(int).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe peer gave up on its side and said so over signaling.The data channels were not both open in time, which usually means ICE found no path.The peer connection closed before the channel became active.ICE finished its checks without a usable candidate pair. -
Method Summary
Modifier and TypeMethodDescriptionstatic NetherConnectionFailureReturns the enum constant of this class with the specified name.static NetherConnectionFailure[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HANDSHAKE_TIMEOUT
The data channels were not both open in time, which usually means ICE found no path. -
CONNECT_ERROR
The peer gave up on its side and said so over signaling. -
PEER_FAILED
ICE finished its checks without a usable candidate pair. -
PEER_CLOSED
The peer connection closed before the channel became active.
-
-
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
-