@Deprecated public interface UdtServerChannelConfig extends UdtChannelConfig
ChannelConfig for a UdtServerChannel.
Note that TypeUDT.DATAGRAM message oriented channels treat
"receiveBufferSize" and "sendBufferSize" as maximum message
size. If received or sent message does not fit specified sizes,
ChannelException will be thrown.
| Modifier and Type | Method and Description |
|---|---|
int |
getBacklog()
Deprecated.
Gets
KindUDT.ACCEPTOR channel backlog via
ChannelOption.SO_BACKLOG. |
UdtServerChannelConfig |
setAllocator(io.netty.buffer.ByteBufAllocator allocator)
Deprecated.
|
UdtServerChannelConfig |
setAutoClose(boolean autoClose)
Deprecated.
|
UdtServerChannelConfig |
setAutoRead(boolean autoRead)
Deprecated.
|
UdtServerChannelConfig |
setBacklog(int backlog)
Deprecated.
Sets
KindUDT.ACCEPTOR channel backlog via
ChannelOption.SO_BACKLOG. |
UdtServerChannelConfig |
setConnectTimeoutMillis(int connectTimeoutMillis)
Deprecated.
|
UdtServerChannelConfig |
setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
UdtServerChannelConfig |
setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
Deprecated.
|
UdtServerChannelConfig |
setProtocolReceiveBufferSize(int size)
Deprecated.
Sets
OptionUDT.Protocol_Receive_Buffer_Size |
UdtServerChannelConfig |
setProtocolSendBufferSize(int size)
Deprecated.
Sets
OptionUDT.Protocol_Send_Buffer_Size |
UdtServerChannelConfig |
setReceiveBufferSize(int receiveBufferSize)
Deprecated.
Sets the
ChannelOption.SO_RCVBUF option. |
UdtServerChannelConfig |
setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
Deprecated.
|
UdtServerChannelConfig |
setReuseAddress(boolean reuseAddress)
Deprecated.
Sets the
ChannelOption.SO_REUSEADDR option. |
UdtServerChannelConfig |
setSendBufferSize(int sendBufferSize)
Deprecated.
Sets the
ChannelOption.SO_SNDBUF option. |
UdtServerChannelConfig |
setSoLinger(int soLinger)
Deprecated.
Sets the
ChannelOption.SO_LINGER option. |
UdtServerChannelConfig |
setSystemReceiveBufferSize(int size)
Deprecated.
Sets
OptionUDT.System_Receive_Buffer_Size |
UdtServerChannelConfig |
setSystemSendBufferSize(int size)
Deprecated.
Sets
OptionUDT.System_Send_Buffer_Size |
UdtServerChannelConfig |
setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Deprecated.
|
UdtServerChannelConfig |
setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Deprecated.
|
UdtServerChannelConfig |
setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
Deprecated.
|
UdtServerChannelConfig |
setWriteSpinCount(int writeSpinCount)
Deprecated.
|
getProtocolReceiveBufferSize, getProtocolSendBufferSize, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSystemReceiveBufferSize, getSystemSendBufferSize, isReuseAddressgetAllocator, getConnectTimeoutMillis, getMaxMessagesPerRead, getMessageSizeEstimator, getOption, getOptions, getRecvByteBufAllocator, getWriteBufferHighWaterMark, getWriteBufferLowWaterMark, getWriteBufferWaterMark, getWriteSpinCount, isAutoClose, isAutoRead, setOption, setOptionsint getBacklog()
KindUDT.ACCEPTOR channel backlog via
ChannelOption.SO_BACKLOG.UdtServerChannelConfig setBacklog(int backlog)
KindUDT.ACCEPTOR channel backlog via
ChannelOption.SO_BACKLOG.UdtServerChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
setConnectTimeoutMillis in interface io.netty.channel.ChannelConfigsetConnectTimeoutMillis in interface UdtChannelConfig@Deprecated UdtServerChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
setMaxMessagesPerRead in interface io.netty.channel.ChannelConfigsetMaxMessagesPerRead in interface UdtChannelConfigUdtServerChannelConfig setWriteSpinCount(int writeSpinCount)
setWriteSpinCount in interface io.netty.channel.ChannelConfigsetWriteSpinCount in interface UdtChannelConfigUdtServerChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
setAllocator in interface io.netty.channel.ChannelConfigsetAllocator in interface UdtChannelConfigUdtServerChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
setRecvByteBufAllocator in interface io.netty.channel.ChannelConfigsetRecvByteBufAllocator in interface UdtChannelConfigUdtServerChannelConfig setAutoRead(boolean autoRead)
setAutoRead in interface io.netty.channel.ChannelConfigsetAutoRead in interface UdtChannelConfigUdtServerChannelConfig setAutoClose(boolean autoClose)
setAutoClose in interface io.netty.channel.ChannelConfigsetAutoClose in interface UdtChannelConfigUdtServerChannelConfig setProtocolReceiveBufferSize(int size)
UdtChannelConfigOptionUDT.Protocol_Receive_Buffer_SizesetProtocolReceiveBufferSize in interface UdtChannelConfigUdtServerChannelConfig setProtocolSendBufferSize(int size)
UdtChannelConfigOptionUDT.Protocol_Send_Buffer_SizesetProtocolSendBufferSize in interface UdtChannelConfigUdtServerChannelConfig setReceiveBufferSize(int receiveBufferSize)
UdtChannelConfigChannelOption.SO_RCVBUF option.setReceiveBufferSize in interface UdtChannelConfigUdtServerChannelConfig setReuseAddress(boolean reuseAddress)
UdtChannelConfigChannelOption.SO_REUSEADDR option.setReuseAddress in interface UdtChannelConfigUdtServerChannelConfig setSendBufferSize(int sendBufferSize)
UdtChannelConfigChannelOption.SO_SNDBUF option.setSendBufferSize in interface UdtChannelConfigUdtServerChannelConfig setSoLinger(int soLinger)
UdtChannelConfigChannelOption.SO_LINGER option.setSoLinger in interface UdtChannelConfigUdtServerChannelConfig setSystemReceiveBufferSize(int size)
UdtChannelConfigOptionUDT.System_Receive_Buffer_SizesetSystemReceiveBufferSize in interface UdtChannelConfigUdtServerChannelConfig setSystemSendBufferSize(int size)
UdtChannelConfigOptionUDT.System_Send_Buffer_SizesetSystemSendBufferSize in interface UdtChannelConfigUdtServerChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
setWriteBufferHighWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferHighWaterMark in interface UdtChannelConfigUdtServerChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
setWriteBufferLowWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferLowWaterMark in interface UdtChannelConfigUdtServerChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
setWriteBufferWaterMark in interface io.netty.channel.ChannelConfigsetWriteBufferWaterMark in interface UdtChannelConfigUdtServerChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
setMessageSizeEstimator in interface io.netty.channel.ChannelConfigsetMessageSizeEstimator in interface UdtChannelConfigCopyright © 2008–2019 The Netty Project. All rights reserved.