public class DefaultUkcpClientChannelConfig extends io.netty.channel.DefaultChannelConfig implements UkcpClientChannelConfig
| Constructor and Description |
|---|
DefaultUkcpClientChannelConfig(UkcpClientChannel channel,
Ukcp ukcp,
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 DefaultUkcpClientChannelConfig(UkcpClientChannel channel, Ukcp ukcp, 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 boolean isNodelay()
isNodelay in interface UkcpChannelConfigpublic UkcpClientChannelConfig setNodelay(boolean nodelay)
setNodelay in interface UkcpChannelConfigsetNodelay in interface UkcpClientChannelConfigpublic int getInterval()
getInterval in interface UkcpChannelConfigpublic UkcpClientChannelConfig setInterval(int interval)
setInterval in interface UkcpChannelConfigsetInterval in interface UkcpClientChannelConfigpublic int getFastResend()
getFastResend in interface UkcpChannelConfigpublic UkcpClientChannelConfig setFastResend(int fastResend)
setFastResend in interface UkcpChannelConfigsetFastResend in interface UkcpClientChannelConfigpublic int getFastLimit()
getFastLimit in interface UkcpChannelConfigpublic UkcpChannelConfig setFastLimit(int fastLimit)
setFastLimit in interface UkcpChannelConfigpublic boolean isNocwnd()
isNocwnd in interface UkcpChannelConfigpublic UkcpClientChannelConfig setNocwnd(boolean nocwnd)
setNocwnd in interface UkcpChannelConfigsetNocwnd in interface UkcpClientChannelConfigpublic int getMinRto()
getMinRto in interface UkcpChannelConfigpublic UkcpClientChannelConfig setMinRto(int minRto)
setMinRto in interface UkcpChannelConfigsetMinRto in interface UkcpClientChannelConfigpublic int getMtu()
getMtu in interface UkcpChannelConfigpublic UkcpClientChannelConfig setMtu(int mtu)
setMtu in interface UkcpChannelConfigsetMtu in interface UkcpClientChannelConfigpublic int getRcvWnd()
getRcvWnd in interface UkcpChannelConfigpublic UkcpClientChannelConfig setRcvWnd(int rcvWnd)
setRcvWnd in interface UkcpChannelConfigsetRcvWnd in interface UkcpClientChannelConfigpublic int getSndWnd()
getSndWnd in interface UkcpChannelConfigpublic UkcpClientChannelConfig setSndWnd(int sndWnd)
setSndWnd in interface UkcpChannelConfigsetSndWnd in interface UkcpClientChannelConfigpublic boolean isStream()
isStream in interface UkcpChannelConfigpublic UkcpClientChannelConfig setStream(boolean stream)
setStream in interface UkcpChannelConfigsetStream in interface UkcpClientChannelConfigpublic int getDeadLink()
getDeadLink in interface UkcpChannelConfigpublic UkcpClientChannelConfig setDeadLink(int deadLink)
setDeadLink in interface UkcpChannelConfigsetDeadLink in interface UkcpClientChannelConfigpublic boolean isAutoSetConv()
isAutoSetConv in interface UkcpChannelConfigpublic UkcpChannelConfig setAutoSetConv(boolean autoSetConv)
setAutoSetConv in interface UkcpChannelConfigpublic boolean isFastFlush()
isFastFlush in interface UkcpChannelConfigpublic UkcpChannelConfig setFastFlush(boolean fastFlush)
setFastFlush in interface UkcpChannelConfigpublic boolean isMergeSegmentBuf()
isMergeSegmentBuf in interface UkcpChannelConfigpublic UkcpChannelConfig setMergeSegmentBuf(boolean mergeSegmentBuf)
setMergeSegmentBuf in interface UkcpChannelConfigpublic int getUdpReceiveBufferSize()
UkcpClientChannelConfigStandardSocketOptions.SO_RCVBUF option.getUdpReceiveBufferSize in interface UkcpClientChannelConfigpublic UkcpClientChannelConfig setUdpReceiveBufferSize(int receiveBufferSize)
UkcpClientChannelConfigStandardSocketOptions.SO_RCVBUF option.setUdpReceiveBufferSize in interface UkcpClientChannelConfigpublic int getUdpSendBufferSize()
UkcpClientChannelConfigStandardSocketOptions.SO_SNDBUF option.getUdpSendBufferSize in interface UkcpClientChannelConfigpublic UkcpClientChannelConfig setUdpSendBufferSize(int sendBufferSize)
UkcpClientChannelConfigStandardSocketOptions.SO_SNDBUF option.setUdpSendBufferSize in interface UkcpClientChannelConfigpublic int getUdpTrafficClass()
UkcpClientChannelConfigStandardSocketOptions.IP_TOS option.getUdpTrafficClass in interface UkcpClientChannelConfigpublic UkcpClientChannelConfig setUdpTrafficClass(int trafficClass)
UkcpClientChannelConfigStandardSocketOptions.IP_TOS option.setUdpTrafficClass in interface UkcpClientChannelConfigpublic boolean isReuseAddress()
UkcpClientChannelConfigStandardSocketOptions.SO_REUSEADDR option.isReuseAddress in interface UkcpClientChannelConfigpublic UkcpClientChannelConfig setReuseAddress(boolean reuseAddress)
UkcpClientChannelConfigStandardSocketOptions.SO_REUSEADDR option.setReuseAddress in interface UkcpClientChannelConfigpublic UkcpClientChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface UkcpClientChannelConfigsetAllocator in interface io.netty.channel.ChannelConfigsetAllocator in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface UkcpClientChannelConfigsetWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface UkcpClientChannelConfigsetConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in class io.netty.channel.DefaultChannelConfig@Deprecated public UkcpClientChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface UkcpClientChannelConfigsetMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface UkcpClientChannelConfigsetRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface UkcpClientChannelConfigsetAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface UkcpClientChannelConfigsetAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface UkcpClientChannelConfigsetWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in class io.netty.channel.DefaultChannelConfigpublic UkcpClientChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface UkcpClientChannelConfigsetMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in class io.netty.channel.DefaultChannelConfigCopyright © 2023. All rights reserved.