|
|||||||||||
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 IoSession s. |
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 configurationMethod Detail |
public IoSessionConfig getSessionConfig()
IoServiceConfig
IoSession
s.
getSessionConfig
in interface IoServiceConfig
public IoSessionRecycler getSessionRecycler()
DatagramServiceConfig
IoSessionRecycler
for this service.
getSessionRecycler
in interface DatagramServiceConfig
public void setSessionRecycler(IoSessionRecycler sessionRecycler)
DatagramServiceConfig
IoSessionRecycler
for this service.
setSessionRecycler
in interface DatagramServiceConfig
sessionRecycler
- 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 |