Package org.jboss.netty.channel.socket
Interface ServerSocketChannelConfig
-
- All Superinterfaces:
ChannelConfig
- All Known Implementing Classes:
DefaultServerSocketChannelConfig
public interface ServerSocketChannelConfig extends ChannelConfig
AChannelConfigfor aServerSocketChannel.Available options
In addition to the options provided byChannelConfig,ServerSocketChannelConfigallows the following options in the option map:Name Associated setter method "backlog"setBacklog(int)"reuseAddress"setReuseAddress(boolean)"receiveBufferSize"setReceiveBufferSize(int)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBacklog()Gets the backlog value to specify when the channel binds to a local address.intgetReceiveBufferSize()Gets theStandardSocketOptions.SO_RCVBUFoption.booleanisReuseAddress()Gets theStandardSocketOptions.SO_REUSEADDRoption.voidsetBacklog(int backlog)Sets the backlog value to specify when the channel binds to a local address.voidsetPerformancePreferences(int connectionTime, int latency, int bandwidth)Sets the performance preferences as specified inServerSocket.setPerformancePreferences(int, int, int).voidsetReceiveBufferSize(int receiveBufferSize)Sets theStandardSocketOptions.SO_RCVBUFoption.voidsetReuseAddress(boolean reuseAddress)Sets theStandardSocketOptions.SO_REUSEADDRoption.-
Methods inherited from interface org.jboss.netty.channel.ChannelConfig
getBufferFactory, getConnectTimeoutMillis, getPipelineFactory, setBufferFactory, setConnectTimeoutMillis, setOption, setOptions, setPipelineFactory
-
-
-
-
Method Detail
-
getBacklog
int getBacklog()
Gets the backlog value to specify when the channel binds to a local address.
-
setBacklog
void setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local address.
-
isReuseAddress
boolean isReuseAddress()
Gets theStandardSocketOptions.SO_REUSEADDRoption.
-
setReuseAddress
void setReuseAddress(boolean reuseAddress)
Sets theStandardSocketOptions.SO_REUSEADDRoption.
-
getReceiveBufferSize
int getReceiveBufferSize()
Gets theStandardSocketOptions.SO_RCVBUFoption.
-
setReceiveBufferSize
void setReceiveBufferSize(int receiveBufferSize)
Sets theStandardSocketOptions.SO_RCVBUFoption.
-
setPerformancePreferences
void setPerformancePreferences(int connectionTime, int latency, int bandwidth)Sets the performance preferences as specified inServerSocket.setPerformancePreferences(int, int, int).
-
-