org.apache.mina.transport.socket.nio

Class SocketConnectorConfig

Implemented Interfaces:
Cloneable, IoConnectorConfig, IoServiceConfig

public class SocketConnectorConfig
extends BaseIoConnectorConfig

An IoConnectorConfig for SocketConnector.

Constructor Summary

SocketConnectorConfig()
Creates a new instance.

Method Summary

SocketSessionConfig
getSessionConfig()
Resturns the default configuration of the new IoSessions.

Methods inherited from class org.apache.mina.common.support.BaseIoConnectorConfig

getConnectTimeout, getConnectTimeoutMillis, setConnectTimeout

Methods inherited from class org.apache.mina.common.support.BaseIoServiceConfig

Object clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel

Constructor Details

SocketConnectorConfig

public SocketConnectorConfig()
Creates a new instance.

Method Details

getSessionConfig

public SocketSessionConfig getSessionConfig()
Resturns the default configuration of the new IoSessions.
Specified by:
getSessionConfig in interface IoServiceConfig