public final class KQueueDatagramChannelConfig extends KQueueChannelConfig implements io.netty.channel.socket.DatagramChannelConfig
autoReadCleared, getRcvAllocTransportProvidesGuessgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptionspublic Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
getOptions in interface io.netty.channel.ChannelConfiggetOptions in class KQueueChannelConfigpublic <T> T getOption(io.netty.channel.ChannelOption<T> option)
getOption in interface io.netty.channel.ChannelConfiggetOption in class KQueueChannelConfigpublic <T> boolean setOption(io.netty.channel.ChannelOption<T> option,
T value)
setOption in interface io.netty.channel.ChannelConfigsetOption in class KQueueChannelConfigpublic boolean isReusePort()
true if the SO_REUSEPORT option is set.public KQueueDatagramChannelConfig setReusePort(boolean reusePort)
KQueueSocketChannels to the same port and so accept connections with multiple threads.
Be aware this method needs be called before AbstractChannel.bind(java.net.SocketAddress) to have
any affect.public KQueueDatagramChannelConfig setRcvAllocTransportProvidesGuess(boolean transportProvidesGuess)
KQueueChannelConfigtrue then the RecvByteBufAllocator.Handle#guess() will be overridden to always attempt
to read as many bytes as kqueue says are available.setRcvAllocTransportProvidesGuess in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface io.netty.channel.socket.DatagramChannelConfigsetMessageSizeEstimator in class KQueueChannelConfig@Deprecated public KQueueDatagramChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in class KQueueChannelConfig@Deprecated public KQueueDatagramChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in interface io.netty.channel.socket.DatagramChannelConfigsetWriteBufferWaterMark in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface io.netty.channel.socket.DatagramChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic KQueueDatagramChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface io.netty.channel.socket.DatagramChannelConfigsetAutoRead in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface io.netty.channel.socket.DatagramChannelConfigsetRecvByteBufAllocator in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface io.netty.channel.socket.DatagramChannelConfigsetWriteSpinCount in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface io.netty.channel.socket.DatagramChannelConfigsetAllocator in class KQueueChannelConfigpublic KQueueDatagramChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface io.netty.channel.socket.DatagramChannelConfigsetConnectTimeoutMillis in class KQueueChannelConfig@Deprecated public KQueueDatagramChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface io.netty.channel.socket.DatagramChannelConfigsetMaxMessagesPerRead in class KQueueChannelConfigpublic int getSendBufferSize()
getSendBufferSize in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setSendBufferSize(int sendBufferSize)
setSendBufferSize in interface io.netty.channel.socket.DatagramChannelConfigpublic int getReceiveBufferSize()
getReceiveBufferSize in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setReceiveBufferSize(int receiveBufferSize)
setReceiveBufferSize in interface io.netty.channel.socket.DatagramChannelConfigpublic int getTrafficClass()
getTrafficClass in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setTrafficClass(int trafficClass)
setTrafficClass in interface io.netty.channel.socket.DatagramChannelConfigpublic boolean isReuseAddress()
isReuseAddress in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setReuseAddress(boolean reuseAddress)
setReuseAddress in interface io.netty.channel.socket.DatagramChannelConfigpublic boolean isBroadcast()
isBroadcast in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setBroadcast(boolean broadcast)
setBroadcast in interface io.netty.channel.socket.DatagramChannelConfigpublic boolean isLoopbackModeDisabled()
isLoopbackModeDisabled in interface io.netty.channel.socket.DatagramChannelConfigpublic io.netty.channel.socket.DatagramChannelConfig setLoopbackModeDisabled(boolean loopbackModeDisabled)
setLoopbackModeDisabled in interface io.netty.channel.socket.DatagramChannelConfigpublic int getTimeToLive()
getTimeToLive in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setTimeToLive(int ttl)
setTimeToLive in interface io.netty.channel.socket.DatagramChannelConfigpublic InetAddress getInterface()
getInterface in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setInterface(InetAddress interfaceAddress)
setInterface in interface io.netty.channel.socket.DatagramChannelConfigpublic NetworkInterface getNetworkInterface()
getNetworkInterface in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setNetworkInterface(NetworkInterface networkInterface)
setNetworkInterface in interface io.netty.channel.socket.DatagramChannelConfigpublic KQueueDatagramChannelConfig setMaxMessagesPerWrite(int maxMessagesPerWrite)
setMaxMessagesPerWrite in class io.netty.channel.DefaultChannelConfigCopyright © 2008–2025 The Netty Project. All rights reserved.