Package io.netty.channel.unix
Interface DomainSocketChannelConfig
-
- All Superinterfaces:
io.netty.channel.ChannelConfig
public interface DomainSocketChannelConfig extends io.netty.channel.ChannelConfigSpecialChannelConfigforDomainSocketChannels.
-
-
Method Summary
-
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
-
setMaxMessagesPerRead
@Deprecated DomainSocketChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.- Specified by:
setMaxMessagesPerReadin interfaceio.netty.channel.ChannelConfig
-
setConnectTimeoutMillis
DomainSocketChannelConfig setConnectTimeoutMillis(int connectTimeoutMillis)
- Specified by:
setConnectTimeoutMillisin interfaceio.netty.channel.ChannelConfig
-
setWriteSpinCount
DomainSocketChannelConfig setWriteSpinCount(int writeSpinCount)
- Specified by:
setWriteSpinCountin interfaceio.netty.channel.ChannelConfig
-
setAllocator
DomainSocketChannelConfig setAllocator(io.netty.buffer.ByteBufAllocator allocator)
- Specified by:
setAllocatorin interfaceio.netty.channel.ChannelConfig
-
setRecvByteBufAllocator
DomainSocketChannelConfig setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator)
- Specified by:
setRecvByteBufAllocatorin interfaceio.netty.channel.ChannelConfig
-
setAutoRead
DomainSocketChannelConfig setAutoRead(boolean autoRead)
- Specified by:
setAutoReadin interfaceio.netty.channel.ChannelConfig
-
setAutoClose
DomainSocketChannelConfig setAutoClose(boolean autoClose)
- Specified by:
setAutoClosein interfaceio.netty.channel.ChannelConfig
-
setWriteBufferHighWaterMark
@Deprecated DomainSocketChannelConfig setWriteBufferHighWaterMark(int writeBufferHighWaterMark)
Deprecated.- Specified by:
setWriteBufferHighWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setWriteBufferLowWaterMark
@Deprecated DomainSocketChannelConfig setWriteBufferLowWaterMark(int writeBufferLowWaterMark)
Deprecated.- Specified by:
setWriteBufferLowWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setWriteBufferWaterMark
DomainSocketChannelConfig setWriteBufferWaterMark(io.netty.channel.WriteBufferWaterMark writeBufferWaterMark)
- Specified by:
setWriteBufferWaterMarkin interfaceio.netty.channel.ChannelConfig
-
setMessageSizeEstimator
DomainSocketChannelConfig setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator)
- Specified by:
setMessageSizeEstimatorin interfaceio.netty.channel.ChannelConfig
-
setReadMode
DomainSocketChannelConfig setReadMode(DomainSocketReadMode mode)
Change theDomainSocketReadModefor the channel. The default isDomainSocketReadMode.BYTESwhich means bytes will be read from theChanneland passed through the pipeline. IfDomainSocketReadMode.FILE_DESCRIPTORSis usedFileDescriptors will be passed through theChannelPipeline. This setting can be modified on the fly if needed.
-
getReadMode
DomainSocketReadMode getReadMode()
Return theDomainSocketReadModefor the channel.
-
-