Package io.netty.channel.udt
Interface UdtChannelConfig
-
- All Superinterfaces:
io.netty.channel.ChannelConfig
- All Known Subinterfaces:
UdtServerChannelConfig
- All Known Implementing Classes:
DefaultUdtChannelConfig,DefaultUdtServerChannelConfig
@Deprecated public interface UdtChannelConfig extends io.netty.channel.ChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.AChannelConfigfor aUdtChannel.Available options
In addition to the options provided byChannelConfig,UdtChannelConfigallows the following options in the option map:Name Associated setter method ChannelOption.SO_REUSEADDRsetReuseAddress(boolean)ChannelOption.SO_RCVBUFsetReceiveBufferSize(int)ChannelOption.SO_SNDBUFsetSendBufferSize(int)ChannelOption.SO_REUSEADDRsetReuseAddress(boolean)ChannelOption.SO_LINGERsetSoLinger(int)ChannelOption.SO_RCVBUFsetReceiveBufferSize(int)ChannelOption.SO_SNDBUFsetSendBufferSize(int)UdtChannelOption.PROTOCOL_RECEIVE_BUFFER_SIZEsetProtocolReceiveBufferSize(int)UdtChannelOption.PROTOCOL_SEND_BUFFER_SIZEsetProtocolSendBufferSize(int)UdtChannelOption.SYSTEM_RECEIVE_BUFFER_SIZEsetSystemReceiveBufferSize(int)UdtChannelOption.SYSTEM_SEND_BUFFER_SIZEsetSystemSendBufferSize(int)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 intgetProtocolReceiveBufferSize()Deprecated.GetsOptionUDT.Protocol_Receive_Buffer_SizeintgetProtocolSendBufferSize()Deprecated.GetsOptionUDT.Protocol_Send_Buffer_SizeintgetReceiveBufferSize()Deprecated.Gets theChannelOption.SO_RCVBUFoption.intgetSendBufferSize()Deprecated.Gets theChannelOption.SO_SNDBUFoption.intgetSoLinger()Deprecated.Gets theChannelOption.SO_LINGERoption.intgetSystemReceiveBufferSize()Deprecated.GetsOptionUDT.System_Receive_Buffer_SizeintgetSystemSendBufferSize()Deprecated.GetsOptionUDT.System_Send_Buffer_SizebooleanisReuseAddress()Deprecated.Gets theChannelOption.SO_REUSEADDRoption.UdtChannelConfigsetAllocator(io.netty.buffer.ByteBufAllocator allocator)Deprecated.UdtChannelConfigsetAutoClose(boolean autoClose)Deprecated.UdtChannelConfigsetAutoRead(boolean autoRead)Deprecated.UdtChannelConfigsetConnectTimeoutMillis(int connectTimeoutMillis)Deprecated.UdtChannelConfigsetMaxMessagesPerRead(int maxMessagesPerRead)Deprecated.UdtChannelConfigsetMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)Deprecated.UdtChannelConfigsetProtocolReceiveBufferSize(int size)Deprecated.SetsOptionUDT.Protocol_Receive_Buffer_SizeUdtChannelConfigsetProtocolSendBufferSize(int size)Deprecated.SetsOptionUDT.Protocol_Send_Buffer_SizeUdtChannelConfigsetReceiveBufferSize(int receiveBufferSize)Deprecated.Sets theChannelOption.SO_RCVBUFoption.UdtChannelConfigsetRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)Deprecated.UdtChannelConfigsetReuseAddress(boolean reuseAddress)Deprecated.Sets theChannelOption.SO_REUSEADDRoption.UdtChannelConfigsetSendBufferSize(int sendBufferSize)Deprecated.Sets theChannelOption.SO_SNDBUFoption.UdtChannelConfigsetSoLinger(int soLinger)Deprecated.Sets theChannelOption.SO_LINGERoption.UdtChannelConfigsetSystemReceiveBufferSize(int size)Deprecated.SetsOptionUDT.System_Receive_Buffer_SizeUdtChannelConfigsetSystemSendBufferSize(int size)Deprecated.SetsOptionUDT.System_Send_Buffer_SizeUdtChannelConfigsetWriteBufferHighWaterMark(int writeBufferHighWaterMark)Deprecated.UdtChannelConfigsetWriteBufferLowWaterMark(int writeBufferLowWaterMark)Deprecated.UdtChannelConfigsetWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)Deprecated.UdtChannelConfigsetWriteSpinCount(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
-
-
-
-
Method Detail
-
getProtocolReceiveBufferSize
int getProtocolReceiveBufferSize()
Deprecated.GetsOptionUDT.Protocol_Receive_Buffer_Size
-
getProtocolSendBufferSize
int getProtocolSendBufferSize()
Deprecated.GetsOptionUDT.Protocol_Send_Buffer_Size
-
getReceiveBufferSize
int getReceiveBufferSize()
Deprecated.Gets theChannelOption.SO_RCVBUFoption.
-
getSendBufferSize
int getSendBufferSize()
Deprecated.Gets theChannelOption.SO_SNDBUFoption.
-
getSoLinger
int getSoLinger()
Deprecated.Gets theChannelOption.SO_LINGERoption.
-
getSystemReceiveBufferSize
int getSystemReceiveBufferSize()
Deprecated.GetsOptionUDT.System_Receive_Buffer_Size
-
getSystemSendBufferSize
int getSystemSendBufferSize()
Deprecated.GetsOptionUDT.System_Send_Buffer_Size
-
isReuseAddress
boolean isReuseAddress()
Deprecated.Gets theChannelOption.SO_REUSEADDRoption.
-
setConnectTimeoutMillis
UdtChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
Deprecated.- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.ChannelConfig
-
setMaxMessagesPerRead
@Deprecated UdtChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.ChannelConfig
-
setWriteSpinCount
UdtChannelConfig setWriteSpinCount(int writeSpinCount)
Deprecated.- Specified by:
setWriteSpinCountin interfaceio.netty.channel.ChannelConfig
-
setAllocator
UdtChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
Deprecated.- Specified by:
setAllocatorin interfaceio.netty.channel.ChannelConfig
-
setRecvByteBufAllocator
UdtChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
Deprecated.- Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.ChannelConfig
-
setAutoRead
UdtChannelConfig setAutoRead(boolean autoRead)
Deprecated.- Specified by:
setAutoReadin interfaceio.netty.channel.ChannelConfig
-
setAutoClose
UdtChannelConfig setAutoClose(boolean autoClose)
Deprecated.- Specified by:
setAutoClosein interfaceio.netty.channel.ChannelConfig
-
setWriteBufferHighWaterMark
UdtChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Deprecated.- Specified by:
setWriteBufferHighWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setWriteBufferLowWaterMark
UdtChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Deprecated.- Specified by:
setWriteBufferLowWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setWriteBufferWaterMark
UdtChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
Deprecated.- Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setMessageSizeEstimator
UdtChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
Deprecated.- Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.ChannelConfig
-
setProtocolReceiveBufferSize
UdtChannelConfig setProtocolReceiveBufferSize(int size)
Deprecated.SetsOptionUDT.Protocol_Receive_Buffer_Size
-
setProtocolSendBufferSize
UdtChannelConfig setProtocolSendBufferSize(int size)
Deprecated.SetsOptionUDT.Protocol_Send_Buffer_Size
-
setReceiveBufferSize
UdtChannelConfig setReceiveBufferSize(int receiveBufferSize)
Deprecated.Sets theChannelOption.SO_RCVBUFoption.
-
setReuseAddress
UdtChannelConfig setReuseAddress(boolean reuseAddress)
Deprecated.Sets theChannelOption.SO_REUSEADDRoption.
-
setSendBufferSize
UdtChannelConfig setSendBufferSize(int sendBufferSize)
Deprecated.Sets theChannelOption.SO_SNDBUFoption.
-
setSoLinger
UdtChannelConfig setSoLinger(int soLinger)
Deprecated.Sets theChannelOption.SO_LINGERoption.
-
setSystemReceiveBufferSize
UdtChannelConfig setSystemReceiveBufferSize(int size)
Deprecated.SetsOptionUDT.System_Receive_Buffer_Size
-
setSystemSendBufferSize
UdtChannelConfig setSystemSendBufferSize(int size)
Deprecated.SetsOptionUDT.System_Send_Buffer_Size
-
-