Interface DomainDatagramChannelConfig

  • All Superinterfaces:
    io.netty.channel.ChannelConfig

    public interface DomainDatagramChannelConfig
    extends io.netty.channel.ChannelConfig
    A ChannelConfig for a DomainDatagramChannel.

    Available options

    In addition to the options provided by ChannelConfig, DomainDatagramChannelConfig allows the following options in the option map:
    NameAssociated setter method
    ChannelOption.SO_SNDBUFsetSendBufferSize(int)
    • Method Detail

      • setAllocator

        DomainDatagramChannelConfig setAllocator​(io.netty.buffer.ByteBufAllocator allocator)
        Specified by:
        setAllocator in interface io.netty.channel.ChannelConfig
      • setAutoClose

        DomainDatagramChannelConfig setAutoClose​(boolean autoClose)
        Specified by:
        setAutoClose in interface io.netty.channel.ChannelConfig
      • setAutoRead

        DomainDatagramChannelConfig setAutoRead​(boolean autoRead)
        Specified by:
        setAutoRead in interface io.netty.channel.ChannelConfig
      • setConnectTimeoutMillis

        DomainDatagramChannelConfig setConnectTimeoutMillis​(int connectTimeoutMillis)
        Specified by:
        setConnectTimeoutMillis in interface io.netty.channel.ChannelConfig
      • setMaxMessagesPerRead

        @Deprecated
        DomainDatagramChannelConfig setMaxMessagesPerRead​(int maxMessagesPerRead)
        Deprecated.
        Specified by:
        setMaxMessagesPerRead in interface io.netty.channel.ChannelConfig
      • setMessageSizeEstimator

        DomainDatagramChannelConfig setMessageSizeEstimator​(io.netty.channel.MessageSizeEstimator estimator)
        Specified by:
        setMessageSizeEstimator in interface io.netty.channel.ChannelConfig
      • setRecvByteBufAllocator

        DomainDatagramChannelConfig setRecvByteBufAllocator​(io.netty.channel.RecvByteBufAllocator allocator)
        Specified by:
        setRecvByteBufAllocator in interface io.netty.channel.ChannelConfig
      • setWriteBufferWaterMark

        DomainDatagramChannelConfig setWriteBufferWaterMark​(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
        Specified by:
        setWriteBufferWaterMark in interface io.netty.channel.ChannelConfig
      • setWriteSpinCount

        DomainDatagramChannelConfig setWriteSpinCount​(int writeSpinCount)
        Specified by:
        setWriteSpinCount in interface io.netty.channel.ChannelConfig