Class DefaultNetherClientChannelConfig

java.lang.Object
io.netty.channel.DefaultChannelConfig
org.cloudburstmc.netty.channel.nethernet.config.DefaultNetherChannelConfig
org.cloudburstmc.netty.channel.nethernet.config.DefaultNetherClientChannelConfig
All Implemented Interfaces:
io.netty.channel.ChannelConfig

public class DefaultNetherClientChannelConfig extends DefaultNetherChannelConfig
  • Field Summary

    Fields inherited from class io.netty.channel.DefaultChannelConfig

    channel
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultNetherClientChannelConfig(io.netty.channel.Channel channel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getOption(io.netty.channel.ChannelOption<T> option)
     
    Map<io.netty.channel.ChannelOption<?>,Object>
     
    <T> boolean
    setOption(io.netty.channel.ChannelOption<T> option, T value)
    Accepts the transport's own options and Netty's, and refuses the rest, so a socket option or one meant for the other side is reported rather than kept without effect.

    Methods inherited from class org.cloudburstmc.netty.channel.nethernet.config.DefaultNetherChannelConfig

    getMetrics, setMetrics

    Methods inherited from class io.netty.channel.DefaultChannelConfig

    autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAllocator, setAutoClose, setAutoRead, setConnectTimeoutMillis, setMaxMessagesPerRead, setMaxMessagesPerWrite, setMessageSizeEstimator, setOptions, setRecvByteBufAllocator, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, setWriteBufferWaterMark, setWriteSpinCount, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultNetherClientChannelConfig

      public DefaultNetherClientChannelConfig(io.netty.channel.Channel channel)
  • Method Details

    • getOptions

      public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
      Specified by:
      getOptions in interface io.netty.channel.ChannelConfig
      Overrides:
      getOptions in class DefaultNetherChannelConfig
    • getOption

      public <T> T getOption(io.netty.channel.ChannelOption<T> option)
      Specified by:
      getOption in interface io.netty.channel.ChannelConfig
      Overrides:
      getOption in class DefaultNetherChannelConfig
    • setOption

      public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value)
      Description copied from class: DefaultNetherChannelConfig
      Accepts the transport's own options and Netty's, and refuses the rest, so a socket option or one meant for the other side is reported rather than kept without effect. Null clears the metrics.
      Specified by:
      setOption in interface io.netty.channel.ChannelConfig
      Overrides:
      setOption in class DefaultNetherChannelConfig