Class SocketConnectorConfig
- java.lang.Object
-
- org.apache.mina.common.support.BaseIoServiceConfig
-
- org.apache.mina.common.support.BaseIoConnectorConfig
-
- org.apache.mina.transport.socket.nio.SocketConnectorConfig
-
- All Implemented Interfaces:
java.lang.Cloneable
,IoConnectorConfig
,IoServiceConfig
public class SocketConnectorConfig extends BaseIoConnectorConfig
AnIoConnectorConfig
forSocketConnector
.
-
-
Constructor Summary
Constructors Constructor Description SocketConnectorConfig()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketSessionConfig
getSessionConfig()
Resturns the default configuration of the newIoSession
s.-
Methods inherited from class org.apache.mina.common.support.BaseIoConnectorConfig
getConnectTimeout, getConnectTimeoutMillis, setConnectTimeout
-
Methods inherited from class org.apache.mina.common.support.BaseIoServiceConfig
clone, 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
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
-
-
-
-
Constructor Detail
-
SocketConnectorConfig
public SocketConnectorConfig()
Creates a new instance.- Throws:
RuntimeIOException
- if failed to get the default configuration
-
-
Method Detail
-
getSessionConfig
public SocketSessionConfig getSessionConfig()
Description copied from interface:IoServiceConfig
Resturns the default configuration of the newIoSession
s.
-
-