public class DefaultUkcpServerChannelConfig extends io.netty.channel.DefaultChannelConfig implements UkcpServerChannelConfig
| Constructor and Description |
|---|
DefaultUkcpServerChannelConfig(UkcpServerChannel channel,
DatagramSocket javaSocket) |
autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setMaxMessagesPerWrite, setOptions, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptionspublic DefaultUkcpServerChannelConfig(UkcpServerChannel channel, DatagramSocket javaSocket)
public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
getOptions in interface io.netty.channel.ChannelConfiggetOptions in class io.netty.channel.DefaultChannelConfigpublic <T> T getOption(io.netty.channel.ChannelOption<T> option)
getOption in interface io.netty.channel.ChannelConfiggetOption in class io.netty.channel.DefaultChannelConfigpublic <T> boolean setOption(io.netty.channel.ChannelOption<T> option,
T value)
setOption in interface io.netty.channel.ChannelConfigsetOption in class io.netty.channel.DefaultChannelConfigpublic int getUdpReceiveBufferSize()
UkcpServerChannelConfigStandardSocketOptions.SO_RCVBUF option.getUdpReceiveBufferSize in interface UkcpServerChannelConfigpublic UkcpServerChannelConfig setUdpReceiveBufferSize(int receiveBufferSize)
UkcpServerChannelConfigStandardSocketOptions.SO_RCVBUF option.setUdpReceiveBufferSize in interface UkcpServerChannelConfigpublic int getUdpSendBufferSize()
UkcpServerChannelConfigStandardSocketOptions.SO_SNDBUF option.getUdpSendBufferSize in interface UkcpServerChannelConfigpublic UkcpServerChannelConfig setUdpSendBufferSize(int sendBufferSize)
UkcpServerChannelConfigStandardSocketOptions.SO_SNDBUF option.setUdpSendBufferSize in interface UkcpServerChannelConfigpublic int getUdpTrafficClass()
UkcpServerChannelConfigStandardSocketOptions.IP_TOS option.getUdpTrafficClass in interface UkcpServerChannelConfigpublic UkcpServerChannelConfig setUdpTrafficClass(int trafficClass)
UkcpServerChannelConfigStandardSocketOptions.IP_TOS option.setUdpTrafficClass in interface UkcpServerChannelConfigpublic boolean isReuseAddress()
UkcpServerChannelConfigStandardSocketOptions.SO_REUSEADDR option.isReuseAddress in interface UkcpServerChannelConfigpublic UkcpServerChannelConfig setReuseAddress(boolean reuseAddress)
UkcpServerChannelConfigStandardSocketOptions.SO_REUSEADDR option.setReuseAddress in interface UkcpServerChannelConfigpublic UkcpServerChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface UkcpServerChannelConfigsetWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface UkcpServerChannelConfigsetConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in class io.netty.channel.DefaultChannelConfig@Deprecated public UkcpServerChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface UkcpServerChannelConfigsetMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface UkcpServerChannelConfigsetAllocator in interface io.netty.channel.ChannelConfigsetAllocator in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface UkcpServerChannelConfigsetRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface UkcpServerChannelConfigsetAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface UkcpServerChannelConfigsetAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface UkcpServerChannelConfigsetWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpServerChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface UkcpServerChannelConfigsetMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in class io.netty.channel.DefaultChannelConfigCopyright © 2023. All rights reserved.