Package io.netty.channel.udt
Class DefaultUdtChannelConfig
- java.lang.Object
-
- io.netty.channel.DefaultChannelConfig
-
- io.netty.channel.udt.DefaultUdtChannelConfig
-
- All Implemented Interfaces:
io.netty.channel.ChannelConfig,UdtChannelConfig
- Direct Known Subclasses:
DefaultUdtServerChannelConfig
@Deprecated public class DefaultUdtChannelConfig extends io.netty.channel.DefaultChannelConfig implements UdtChannelConfig
Deprecated.The UDT transport is no longer maintained and will be removed.The defaultUdtChannelConfigimplementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultUdtChannelConfig(UdtChannel channel, com.barchart.udt.nio.ChannelUDT channelUDT, boolean apply)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidapply(com.barchart.udt.nio.ChannelUDT channelUDT)Deprecated.<T> TgetOption(io.netty.channel.ChannelOption<T> option)Deprecated.Map<io.netty.channel.ChannelOption<?>,Object>getOptions()Deprecated.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.<T> booleansetOption(io.netty.channel.ChannelOption<T> option, T value)Deprecated.UdtChannelConfigsetProtocolReceiveBufferSize(int protocolReceiveBufferSize)Deprecated.SetsOptionUDT.Protocol_Receive_Buffer_SizeUdtChannelConfigsetProtocolSendBufferSize(int protocolSendBufferSize)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 systemReceiveBufferSize)Deprecated.SetsOptionUDT.System_Receive_Buffer_SizeUdtChannelConfigsetSystemSendBufferSize(int systemSendBufferSize)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 class io.netty.channel.DefaultChannelConfig
autoReadCleared, getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMaxMessagesPerWrite, getMessageSizeEstimator, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setMaxMessagesPerWrite, setOptions, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.channel.ChannelConfig
getAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOptions
-
-
-
-
Constructor Detail
-
DefaultUdtChannelConfig
public DefaultUdtChannelConfig(UdtChannel channel, com.barchart.udt.nio.ChannelUDT channelUDT, boolean apply) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
apply
protected void apply(com.barchart.udt.nio.ChannelUDT channelUDT) throws IOExceptionDeprecated.- Throws:
IOException
-
getProtocolReceiveBufferSize
public int getProtocolReceiveBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGetsOptionUDT.Protocol_Receive_Buffer_Size- Specified by:
getProtocolReceiveBufferSizein interfaceUdtChannelConfig
-
getOption
public <T> T getOption(io.netty.channel.ChannelOption<T> option)
Deprecated.- Specified by:
getOptionin interfaceio.netty.channel.ChannelConfig- Overrides:
getOptionin classio.netty.channel.DefaultChannelConfig
-
getOptions
public Map<io.netty.channel.ChannelOption<?>,Object> getOptions()
Deprecated.- Specified by:
getOptionsin interfaceio.netty.channel.ChannelConfig- Overrides:
getOptionsin classio.netty.channel.DefaultChannelConfig
-
getReceiveBufferSize
public int getReceiveBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGets theChannelOption.SO_RCVBUFoption.- Specified by:
getReceiveBufferSizein interfaceUdtChannelConfig
-
getSendBufferSize
public int getSendBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGets theChannelOption.SO_SNDBUFoption.- Specified by:
getSendBufferSizein interfaceUdtChannelConfig
-
getSoLinger
public int getSoLinger()
Deprecated.Description copied from interface:UdtChannelConfigGets theChannelOption.SO_LINGERoption.- Specified by:
getSoLingerin interfaceUdtChannelConfig
-
isReuseAddress
public boolean isReuseAddress()
Deprecated.Description copied from interface:UdtChannelConfigGets theChannelOption.SO_REUSEADDRoption.- Specified by:
isReuseAddressin interfaceUdtChannelConfig
-
setProtocolReceiveBufferSize
public UdtChannelConfig setProtocolReceiveBufferSize(int protocolReceiveBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.Protocol_Receive_Buffer_Size- Specified by:
setProtocolReceiveBufferSizein interfaceUdtChannelConfig
-
setOption
public <T> boolean setOption(io.netty.channel.ChannelOption<T> option, T value)Deprecated.- Specified by:
setOptionin interfaceio.netty.channel.ChannelConfig- Overrides:
setOptionin classio.netty.channel.DefaultChannelConfig
-
setReceiveBufferSize
public UdtChannelConfig setReceiveBufferSize(int receiveBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_RCVBUFoption.- Specified by:
setReceiveBufferSizein interfaceUdtChannelConfig
-
setReuseAddress
public UdtChannelConfig setReuseAddress(boolean reuseAddress)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_REUSEADDRoption.- Specified by:
setReuseAddressin interfaceUdtChannelConfig
-
setSendBufferSize
public UdtChannelConfig setSendBufferSize(int sendBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_SNDBUFoption.- Specified by:
setSendBufferSizein interfaceUdtChannelConfig
-
setSoLinger
public UdtChannelConfig setSoLinger(int soLinger)
Deprecated.Description copied from interface:UdtChannelConfigSets theChannelOption.SO_LINGERoption.- Specified by:
setSoLingerin interfaceUdtChannelConfig
-
getSystemReceiveBufferSize
public int getSystemReceiveBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGetsOptionUDT.System_Receive_Buffer_Size- Specified by:
getSystemReceiveBufferSizein interfaceUdtChannelConfig
-
setSystemReceiveBufferSize
public UdtChannelConfig setSystemReceiveBufferSize(int systemReceiveBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.System_Receive_Buffer_Size- Specified by:
setSystemReceiveBufferSizein interfaceUdtChannelConfig
-
getProtocolSendBufferSize
public int getProtocolSendBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGetsOptionUDT.Protocol_Send_Buffer_Size- Specified by:
getProtocolSendBufferSizein interfaceUdtChannelConfig
-
setProtocolSendBufferSize
public UdtChannelConfig setProtocolSendBufferSize(int protocolSendBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.Protocol_Send_Buffer_Size- Specified by:
setProtocolSendBufferSizein interfaceUdtChannelConfig
-
setSystemSendBufferSize
public UdtChannelConfig setSystemSendBufferSize(int systemSendBufferSize)
Deprecated.Description copied from interface:UdtChannelConfigSetsOptionUDT.System_Send_Buffer_Size- Specified by:
setSystemSendBufferSizein interfaceUdtChannelConfig
-
getSystemSendBufferSize
public int getSystemSendBufferSize()
Deprecated.Description copied from interface:UdtChannelConfigGetsOptionUDT.System_Send_Buffer_Size- Specified by:
getSystemSendBufferSizein interfaceUdtChannelConfig
-
setConnectTimeoutMillis
public UdtChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
Deprecated.- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.ChannelConfig- Specified by:
setConnectTimeoutMillisin interfaceUdtChannelConfig- Overrides:
setConnectTimeoutMillisin classio.netty.channel.DefaultChannelConfig
-
setMaxMessagesPerRead
@Deprecated public UdtChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setMaxMessagesPerReadin interfaceUdtChannelConfig- Overrides:
setMaxMessagesPerReadin classio.netty.channel.DefaultChannelConfig
-
setWriteSpinCount
public UdtChannelConfig setWriteSpinCount(int writeSpinCount)
Deprecated.- Specified by:
setWriteSpinCountin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteSpinCountin interfaceUdtChannelConfig- Overrides:
setWriteSpinCountin classio.netty.channel.DefaultChannelConfig
-
setAllocator
public UdtChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
Deprecated.- Specified by:
setAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setAllocatorin interfaceUdtChannelConfig- Overrides:
setAllocatorin classio.netty.channel.DefaultChannelConfig
-
setRecvByteBufAllocator
public UdtChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
Deprecated.- Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setRecvByteBufAllocatorin interfaceUdtChannelConfig- Overrides:
setRecvByteBufAllocatorin classio.netty.channel.DefaultChannelConfig
-
setAutoRead
public UdtChannelConfig setAutoRead(boolean autoRead)
Deprecated.- Specified by:
setAutoReadin interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoReadin interfaceUdtChannelConfig- Overrides:
setAutoReadin classio.netty.channel.DefaultChannelConfig
-
setAutoClose
public UdtChannelConfig setAutoClose(boolean autoClose)
Deprecated.- Specified by:
setAutoClosein interfaceio.netty.channel.ChannelConfig- Specified by:
setAutoClosein interfaceUdtChannelConfig- Overrides:
setAutoClosein classio.netty.channel.DefaultChannelConfig
-
setWriteBufferLowWaterMark
public UdtChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Deprecated.- Specified by:
setWriteBufferLowWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferLowWaterMarkin interfaceUdtChannelConfig- Overrides:
setWriteBufferLowWaterMarkin classio.netty.channel.DefaultChannelConfig
-
setWriteBufferHighWaterMark
public UdtChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Deprecated.- Specified by:
setWriteBufferHighWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferHighWaterMarkin interfaceUdtChannelConfig- Overrides:
setWriteBufferHighWaterMarkin classio.netty.channel.DefaultChannelConfig
-
setWriteBufferWaterMark
public UdtChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
Deprecated.- Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.ChannelConfig- Specified by:
setWriteBufferWaterMarkin interfaceUdtChannelConfig- Overrides:
setWriteBufferWaterMarkin classio.netty.channel.DefaultChannelConfig
-
setMessageSizeEstimator
public UdtChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
Deprecated.- Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.ChannelConfig- Specified by:
setMessageSizeEstimatorin interfaceUdtChannelConfig- Overrides:
setMessageSizeEstimatorin classio.netty.channel.DefaultChannelConfig
-
-