|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.mina.common.support.BaseIoServiceConfig
org.apache.mina.common.support.BaseIoAcceptorConfig
org.apache.mina.transport.socket.nio.SocketAcceptorConfig
public class SocketAcceptorConfig
An IoAcceptorConfig for SocketAcceptor.
| Constructor Summary | |
|---|---|
SocketAcceptorConfig()
Creates a new instance. |
|
| Method Summary | |
|---|---|
int |
getBacklog()
|
SocketSessionConfig |
getSessionConfig()
Resturns the default configuration of the new IoSessions. |
boolean |
isReuseAddress()
|
void |
setBacklog(int backlog)
|
void |
setReuseAddress(boolean reuseAddress)
|
| Methods inherited from class org.apache.mina.common.support.BaseIoAcceptorConfig |
|---|
isDisconnectOnUnbind, setDisconnectOnUnbind |
| Methods inherited from class org.apache.mina.common.support.BaseIoServiceConfig |
|---|
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.mina.common.IoServiceConfig |
|---|
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel |
| Constructor Detail |
|---|
public SocketAcceptorConfig()
RuntimeIOException - if failed to get the default configuration| Method Detail |
|---|
public SocketSessionConfig getSessionConfig()
IoServiceConfigIoSessions.
public boolean isReuseAddress()
ServerSocket.getReuseAddress()public void setReuseAddress(boolean reuseAddress)
ServerSocket.setReuseAddress(boolean)public int getBacklog()
public void setBacklog(int backlog)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||