Class DefaultTunChannelConfig

    • Field Summary

      • Fields inherited from class io.netty.channel.DefaultChannelConfig

        channel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMtu()
      Gets the TunChannelOption.TUN_MTU option.
      <T> T getOption​(io.netty.channel.ChannelOption<T> option)  
      TunChannelConfig setMtu​(int mtu)
      Sets the TunChannelOption.TUN_MTU option.
      <T> boolean setOption​(io.netty.channel.ChannelOption<T> option, T value)  
      • Methods inherited from class io.netty.channel.DefaultChannelConfig

        autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, 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 interface io.netty.channel.ChannelConfig

        getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setAllocator, setAutoClose, setAutoRead, setConnectTimeoutMillis, setMaxMessagesPerRead, setMessageSizeEstimator, setOptions, setRecvByteBufAllocator, setWriteBufferHighWaterMark, setWriteBufferLowWaterMark, setWriteBufferWaterMark, setWriteSpinCount
    • Constructor Detail

      • DefaultTunChannelConfig

        public DefaultTunChannelConfig​(TunChannel channel)
    • Method Detail

      • getOption

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

        public <T> boolean setOption​(io.netty.channel.ChannelOption<T> option,
                                     T value)
        Specified by:
        setOption in interface io.netty.channel.ChannelConfig
        Overrides:
        setOption in class io.netty.channel.DefaultChannelConfig