Class NetherChannelOption<T>

java.lang.Object
io.netty.util.AbstractConstant<io.netty.channel.ChannelOption<T>>
io.netty.channel.ChannelOption<T>
org.cloudburstmc.netty.channel.nethernet.config.NetherChannelOption<T>
All Implemented Interfaces:
io.netty.util.Constant<io.netty.channel.ChannelOption<T>>, Comparable<io.netty.channel.ChannelOption<T>>

public class NetherChannelOption<T> extends io.netty.channel.ChannelOption<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.netty.channel.ChannelOption<Integer>
    The timeout in seconds for completing the WebRTC handshake on the client before retrying.
    static final io.netty.channel.ChannelOption<Integer>
    The maximum number of handshake attempts before giving up on connecting.
    static final io.netty.channel.ChannelOption<Boolean>
    Whether to check the address a peer signaled from when its offer holds nothing routable.
    static final io.netty.channel.ChannelOption<NetherChannelMetrics>
    The NetherChannelMetrics to report per-channel events to.
    static final io.netty.channel.ChannelOption<tel.schich.libdatachannel.PeerConnectionConfiguration>
    The PeerConnectionConfiguration used for the underlying peer connections.
    static final io.netty.channel.ChannelOption<NetherServerMetrics>
    The NetherServerMetrics to report listener wide events to, set on the server channel.
    static final io.netty.channel.ChannelOption<Integer>
    The timeout in seconds for completing the WebRTC handshake on the server side before automatically closing the connection.

    Fields inherited from class io.netty.channel.ChannelOption

    ALLOCATOR, ALLOW_HALF_CLOSURE, AUTO_CLOSE, AUTO_READ, CONNECT_TIMEOUT_MILLIS, DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION, IP_MULTICAST_ADDR, IP_MULTICAST_IF, IP_MULTICAST_LOOP_DISABLED, IP_MULTICAST_TTL, IP_TOS, MAX_MESSAGES_PER_READ, MAX_MESSAGES_PER_WRITE, MESSAGE_SIZE_ESTIMATOR, RCVBUF_ALLOCATOR, SINGLE_EVENTEXECUTOR_PER_GROUP, SO_BACKLOG, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_FASTOPEN, TCP_FASTOPEN_CONNECT, TCP_NODELAY, WRITE_BUFFER_HIGH_WATER_MARK, WRITE_BUFFER_LOW_WATER_MARK, WRITE_BUFFER_WATER_MARK, WRITE_SPIN_COUNT
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Methods inherited from class io.netty.channel.ChannelOption

    exists, newInstance, validate, valueOf, valueOf

    Methods inherited from class io.netty.util.AbstractConstant

    compareTo, equals, hashCode, id, name, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • NETHER_PEER_CONNECTION_CONFIG

      public static final io.netty.channel.ChannelOption<tel.schich.libdatachannel.PeerConnectionConfiguration> NETHER_PEER_CONNECTION_CONFIG
      The PeerConnectionConfiguration used for the underlying peer connections.
    • NETHER_CLIENT_HANDSHAKE_TIMEOUT_MS

      public static final io.netty.channel.ChannelOption<Integer> NETHER_CLIENT_HANDSHAKE_TIMEOUT_MS
      The timeout in seconds for completing the WebRTC handshake on the client before retrying.
    • NETHER_CLIENT_MAX_HANDSHAKE_ATTEMPTS

      public static final io.netty.channel.ChannelOption<Integer> NETHER_CLIENT_MAX_HANDSHAKE_ATTEMPTS
      The maximum number of handshake attempts before giving up on connecting.
    • NETHER_SERVER_RTC_HANDSHAKE_TIMEOUT_SECONDS

      public static final io.netty.channel.ChannelOption<Integer> NETHER_SERVER_RTC_HANDSHAKE_TIMEOUT_SECONDS
      The timeout in seconds for completing the WebRTC handshake on the server side before automatically closing the connection.
    • NETHER_INFER_PEER_CANDIDATES

      public static final io.netty.channel.ChannelOption<Boolean> NETHER_INFER_PEER_CANDIDATES
      Whether to check the address a peer signaled from when its offer holds nothing routable. Defaults to true, and does nothing for a host that gathered a routable candidate of its own.
      See Also:
    • NETHER_METRICS

      public static final io.netty.channel.ChannelOption<NetherChannelMetrics> NETHER_METRICS
      The NetherChannelMetrics to report per-channel events to. Unset by default, in which case nothing is reported.
    • NETHER_SERVER_METRICS

      public static final io.netty.channel.ChannelOption<NetherServerMetrics> NETHER_SERVER_METRICS
      The NetherServerMetrics to report listener wide events to, set on the server channel. Unset by default, in which case nothing is reported.
  • Constructor Details

    • NetherChannelOption

      protected NetherChannelOption(String name)