Java io.netty.channel ChannelConfig fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel ChannelConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel ChannelConfig.

The text is from its open source code.

Method

TgetOption(ChannelOption option)
Return the value of the given ChannelOption
Map,Object>getOptions()
Return all set ChannelOption 's.
intgetWriteBufferHighWaterMark()
Returns the high water mark of the write buffer.
intgetWriteBufferLowWaterMark()
Returns the low water mark of the write buffer.
booleanisAutoRead()
Returns true if and only if ChannelHandlerContext#read() will be invoked automatically so that a user application doesn't need to call it at all.
ChannelConfigsetAutoRead(boolean autoRead)
Sets if ChannelHandlerContext#read() will be invoked automatically so that a user application doesn't need to call it at all.
ChannelConfigsetConnectTimeoutMillis(int connectTimeoutMillis)
Sets the connect timeout of the channel in milliseconds.
ChannelConfigsetWriteBufferHighWaterMark(int writeBufferHighWaterMark)

Sets the high water mark of the write buffer.

ChannelConfigsetWriteBufferLowWaterMark(int writeBufferLowWaterMark)

Sets the low water mark of the write buffer.