|
|||||||||
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 | |
---|---|
java.lang.Object |
clone()
Returns a deep clone of this configuration. |
DatagramSessionConfig |
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.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 configurationMethod Detail |
---|
public DatagramSessionConfig getSessionConfig()
IoServiceConfig
IoSession
s.
getSessionConfig
in interface IoServiceConfig
getSessionConfig
in interface DatagramServiceConfig
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 java.lang.Object clone()
IoServiceConfig
clone
in interface IoServiceConfig
clone
in class BaseIoServiceConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |