|
|||||||||||
| 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.BaseIoConnectorConfig
org.apache.mina.transport.socket.nio.DatagramConnectorConfig
An IoConnectorConfig for DatagramConnector.
| Constructor Summary | |
DatagramConnectorConfig()
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.BaseIoConnectorConfig |
getConnectTimeout, getConnectTimeoutMillis, setConnectTimeout |
| 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 DatagramConnectorConfig()
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 IoServiceConfig
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||