Package io.netty.channel.udt
Interface UdtServerChannelConfig
-
- All Superinterfaces:
io.netty.channel.ChannelConfig,UdtChannelConfig
- All Known Implementing Classes:
DefaultUdtServerChannelConfig
@Deprecated public interface UdtServerChannelConfig extends UdtChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.AChannelConfigfor aUdtServerChannel.Note that
TypeUDT.DATAGRAMmessage oriented channels treat"receiveBufferSize"and"sendBufferSize"as maximum message size. If received or sent message does not fit specified sizes,ChannelExceptionwill be thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetBacklog()Deprecated.GetsKindUDT.ACCEPTORchannel backlog viaChannelOption.SO_BACKLOG.UdtServerChannelConfigsetAllocator(io.netty.buffer.ByteBufAllocator allocator)Deprecated.UdtServerChannelConfigsetAutoClose(boolean autoClose)Deprecated.UdtServerChannelConfigsetAutoRead(boolean autoRead)Deprecated.UdtServerChannelConfigsetBacklog(int backlog)Deprecated.SetsKindUDT.ACCEPTORchannel backlog viaChannelOption.SO_BACKLOG.UdtServerChannelConfigsetConnectTimeoutMillis(int connectTimeoutMillis)Deprecated.UdtServerChannelConfigsetMaxMessagesPerRead(int maxMessagesPerRead)Deprecated.UdtServerChannelConfigsetMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)Deprecated.UdtServerChannelConfigsetProtocolReceiveBufferSize(int size)Deprecated.SetsOptionUDT.Protocol_Receive_Buffer_SizeUdtServerChannelConfigsetProtocolSendBufferSize(int size)Deprecated.SetsOptionUDT.Protocol_Send_Buffer_SizeUdtServerChannelConfigsetReceiveBufferSize(int receiveBufferSize)Deprecated.Sets theChannelOption.SO_RCVBUFoption.UdtServerChannelConfigsetRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)Deprecated.UdtServerChannelConfigsetReuseAddress(boolean reuseAddress)Deprecated.Sets theChannelOption.SO_REUSEADDRoption.UdtServerChannelConfigsetSendBufferSize(int sendBufferSize)Deprecated.Sets theChannelOption.SO_SNDBUFoption.UdtServerChannelConfigsetSoLinger(int soLinger)Deprecated.Sets theChannelOption.SO_LINGERoption.UdtServerChannelConfigsetSystemReceiveBufferSize(int size)Deprecated.SetsOptionUDT.System_Receive_Buffer_SizeUdtServerChannelConfigsetSystemSendBufferSize(int size)Deprecated.SetsOptionUDT.System_Send_Buffer_SizeUdtServerChannelConfigsetWriteBufferHighWaterMark(int writeBufferHighWaterMark)Deprecated.UdtServerChannelConfigsetWriteBufferLowWaterMark(int writeBufferLowWaterMark)Deprecated.UdtServerChannelConfigsetWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)Deprecated.UdtServerChannelConfigsetWriteSpinCount(int writeSpinCount)Deprecated.-
Methods inherited from interface io.netty.channel.ChannelConfig
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOption, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOption, setOptions
-
Methods inherited from interface io.netty.channel.udt.UdtChannelConfig
getProtocolReceiveBufferSize, getProtocolSendBufferSize, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSystemReceiveBufferSize, getSystemSendBufferSize, isReuseAddress
-
-
-
-
Method Detail
-
getBacklog
int getBacklog()
Deprecated.GetsKindUDT.ACCEPTORchannel backlog viaChannelOption.SO_BACKLOG.
-
setBacklog
UdtServerChannelConfig setBacklog(int backlog)
Deprecated.SetsKindUDT.ACCEPTORchannel backlog viaChannelOption.SO_BACKLOG.
-
setConnectTimeoutMillis
UdtServerChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
Deprecated.- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.ChannelConfig- Specified by:
setConnectTimeoutMillisin interfaceUdtChannelConfig
-
setMaxMessagesPerRead
@Deprecated UdtServerChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setMaxMessagesPerReadin interfaceUdtChannelConfig
-
setWriteSpinCount
UdtServerChannelConfig setWriteSpinCount(int writeSpinCount)
Deprecated.- Specified by:
setWriteSpinCountin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteSpinCountin interfaceUdtChannelConfig
-
setAllocator
UdtServerChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
Deprecated.- Specified by:
setAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setAllocatorin interfaceUdtChannelConfig
-
setRecvByteBufAllocator
UdtServerChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
Deprecated.- Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setRecvByteBufAllocatorin interfaceUdtChannelConfig
-
setAutoRead
UdtServerChannelConfig setAutoRead(boolean autoRead)
Deprecated.- Specified by:
setAutoReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoReadin interfaceUdtChannelConfig
-
setAutoClose
UdtServerChannelConfig setAutoClose(boolean autoClose)
Deprecated.- Specified by:
setAutoClosein interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoClosein interfaceUdtChannelConfig
-
setProtocolReceiveBufferSize
UdtServerChannelConfig setProtocolReceiveBufferSize(int size)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.Protocol_Receive_Buffer_Size- Specified by:
setProtocolReceiveBufferSizein interfaceUdtChannelConfig
-
setProtocolSendBufferSize
UdtServerChannelConfig setProtocolSendBufferSize(int size)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.Protocol_Send_Buffer_Size- Specified by:
setProtocolSendBufferSizein interfaceUdtChannelConfig
-
setReceiveBufferSize
UdtServerChannelConfig setReceiveBufferSize(int receiveBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_RCVBUFoption.- Specified by:
setReceiveBufferSizein interfaceUdtChannelConfig
-
setReuseAddress
UdtServerChannelConfig setReuseAddress(boolean reuseAddress)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_REUSEADDRoption.- Specified by:
setReuseAddressin interfaceUdtChannelConfig
-
setSendBufferSize
UdtServerChannelConfig setSendBufferSize(int sendBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_SNDBUFoption.- Specified by:
setSendBufferSizein interfaceUdtChannelConfig
-
setSoLinger
UdtServerChannelConfig setSoLinger(int soLinger)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_LINGERoption.- Specified by:
setSoLingerin interfaceUdtChannelConfig
-
setSystemReceiveBufferSize
UdtServerChannelConfig setSystemReceiveBufferSize(int size)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.System_Receive_Buffer_Size- Specified by:
setSystemReceiveBufferSizein interfaceUdtChannelConfig
-
setSystemSendBufferSize
UdtServerChannelConfig setSystemSendBufferSize(int size)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.System_Send_Buffer_Size- Specified by:
setSystemSendBufferSizein interfaceUdtChannelConfig
-
setWriteBufferHighWaterMark
UdtServerChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Deprecated.- Specified by:
setWriteBufferHighWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferHighWaterMarkin interfaceUdtChannelConfig
-
setWriteBufferLowWaterMark
UdtServerChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Deprecated.- Specified by:
setWriteBufferLowWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferLowWaterMarkin interfaceUdtChannelConfig
-
setWriteBufferWaterMark
UdtServerChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
Deprecated.- Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferWaterMarkin interfaceUdtChannelConfig
-
setMessageSizeEstimator
UdtServerChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
Deprecated.- Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setMessageSizeEstimatorin interfaceUdtChannelConfig
-
-