|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServerSocketChannelConfig

A ChannelConfig for a ServerSocketChannel.
ChannelConfig,
ServerSocketChannelConfig allows the following options in the
option map:
| Name | Associated setter method |
|---|---|
"backlog" | setBacklog(int) |
"reuseAddress" | setReuseAddress(boolean) |
"receiveBufferSize" | setReceiveBufferSize(int) |
| Method Summary | |
|---|---|
int |
getBacklog()
Gets the backlog value to specify when the channel binds to a local address. |
int |
getReceiveBufferSize()
Gets the SO_RCVBUF option. |
boolean |
isReuseAddress()
Gets the SO_REUSEADDR option. |
void |
setBacklog(int backlog)
Sets the backlog value to specify when the channel binds to a local address. |
void |
setPerformancePreferences(int connectionTime,
int latency,
int bandwidth)
Sets the performance preferences as specified in ServerSocket.setPerformancePreferences(int, int, int). |
void |
setReceiveBufferSize(int receiveBufferSize)
Sets the SO_RCVBUF option. |
void |
setReuseAddress(boolean reuseAddress)
Sets the SO_REUSEADDR option. |
| Methods inherited from interface org.jboss.netty.channel.ChannelConfig |
|---|
getConnectTimeoutMillis, getPipelineFactory, getWriteTimeoutMillis, setConnectTimeoutMillis, setOptions, setPipelineFactory, setWriteTimeoutMillis |
| Method Detail |
|---|
int getBacklog()
void setBacklog(int backlog)
boolean isReuseAddress()
SO_REUSEADDR option.
void setReuseAddress(boolean reuseAddress)
SO_REUSEADDR option.
int getReceiveBufferSize()
SO_RCVBUF option.
void setReceiveBufferSize(int receiveBufferSize)
SO_RCVBUF option.
void setPerformancePreferences(int connectionTime,
int latency,
int bandwidth)
ServerSocket.setPerformancePreferences(int, int, int).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||