|
||||||||||
| 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.DatagramAcceptorConfig
public class DatagramAcceptorConfig
An IoAcceptorConfig for DatagramAcceptor.
| Constructor Summary | |
|---|---|
DatagramAcceptorConfig()
Creates a new instance. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a deep clone of this configuration. |
IoSessionConfig |
getSessionConfig()
Resturns the default configuration of the new IoSessions. |
IoSessionRecycler |
getSessionRecycler()
Returns the IoSessionRecycler for this service. |
void |
setSessionRecycler(IoSessionRecycler sessionRecycler)
Sets the IoSessionRecycler for this service. |
| Methods inherited from class org.apache.mina.common.support.BaseIoAcceptorConfig |
|---|
isDisconnectOnUnbind, setDisconnectOnUnbind |
| Methods inherited from class org.apache.mina.common.support.BaseIoServiceConfig |
|---|
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 |
|---|
getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel |
| Constructor Detail |
|---|
public DatagramAcceptorConfig()
RuntimeIOException - if failed to get the default configuration| Method Detail |
|---|
public IoSessionConfig getSessionConfig()
IoServiceConfigIoSessions.
getSessionConfig in interface IoServiceConfigpublic IoSessionRecycler getSessionRecycler()
DatagramServiceConfigIoSessionRecycler for this service.
getSessionRecycler in interface DatagramServiceConfigpublic void setSessionRecycler(IoSessionRecycler sessionRecycler)
DatagramServiceConfigIoSessionRecycler for this service.
setSessionRecycler in interface DatagramServiceConfigsessionRecycler - null to use the default recyclerpublic Object clone()
IoServiceConfig
clone in interface IoServiceConfigclone in class org.apache.mina.common.support.BaseIoServiceConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||