org.apache.mina.transport.socket.nio
Class DatagramAcceptorConfig
java.lang.Object
org.apache.mina.common.support.BaseIoServiceConfig
org.apache.mina.common.support.BaseIoAcceptorConfig
org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
- All Implemented Interfaces:
- Cloneable, IoAcceptorConfig, IoServiceConfig
public class DatagramAcceptorConfig
- extends org.apache.mina.common.support.BaseIoAcceptorConfig
- implements IoAcceptorConfig
An IoAcceptorConfig
for DatagramAcceptor
.
- Version:
- $Rev: 391231 $, $Date: 2006-04-04 15:21:55 +0900 (Tue, 04 Apr 2006) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
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 |
DatagramAcceptorConfig
public DatagramAcceptorConfig()
- Creates a new instance.
- Throws:
RuntimeIOException
- if failed to get the default configuration
getSessionConfig
public IoSessionConfig getSessionConfig()
- Description copied from interface:
IoServiceConfig
- Resturns the default configuration of the new
IoSession
s.
- Specified by:
getSessionConfig
in interface IoServiceConfig
clone
public Object clone()
- Description copied from interface:
IoServiceConfig
- Returns a deep clone of this configuration.
- Specified by:
clone
in interface IoServiceConfig
- Overrides:
clone
in class org.apache.mina.common.support.BaseIoServiceConfig