Enum Class NetherConnectionFailure

java.lang.Object
java.lang.Enum<NetherConnectionFailure>
org.cloudburstmc.netty.channel.nethernet.config.NetherConnectionFailure
All Implemented Interfaces:
Serializable, Comparable<NetherConnectionFailure>, Constable

public enum NetherConnectionFailure extends Enum<NetherConnectionFailure>
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).
  • Enum Constant Details

    • HANDSHAKE_TIMEOUT

      public static final NetherConnectionFailure HANDSHAKE_TIMEOUT
      The data channels were not both open in time, which usually means ICE found no path.
    • CONNECT_ERROR

      public static final NetherConnectionFailure CONNECT_ERROR
      The peer gave up on its side and said so over signaling.
    • PEER_FAILED

      public static final NetherConnectionFailure PEER_FAILED
      ICE finished its checks without a usable candidate pair.
    • PEER_CLOSED

      public static final NetherConnectionFailure PEER_CLOSED
      The peer connection closed before the channel became active.
  • Method Details

    • values

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