org.littleshoot.mina.common.support
Class BaseIoConnectorConfig
java.lang.Object
org.littleshoot.mina.common.support.BaseIoServiceConfig
org.littleshoot.mina.common.support.BaseIoConnectorConfig
- All Implemented Interfaces:
- Cloneable, IoConnectorConfig, IoServiceConfig
- Direct Known Subclasses:
- DatagramConnectorConfig, SocketConnectorConfig
public abstract class BaseIoConnectorConfig
- extends BaseIoServiceConfig
- implements IoConnectorConfig
A base implementation of IoConnectorConfig.
- Version:
- $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (Fri, 13 Jul 2007) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
BaseIoConnectorConfig
protected BaseIoConnectorConfig()
getConnectTimeout
public int getConnectTimeout()
- Description copied from interface:
IoConnectorConfig
- Returns the connect timeout in seconds.
- Specified by:
getConnectTimeout in interface IoConnectorConfig
getConnectTimeoutMillis
public long getConnectTimeoutMillis()
- Description copied from interface:
IoConnectorConfig
- Returns the connect timeout in milliseconds.
- Specified by:
getConnectTimeoutMillis in interface IoConnectorConfig
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
- Description copied from interface:
IoConnectorConfig
- Sets the connect timeout in seconds.
- Specified by:
setConnectTimeout in interface IoConnectorConfig
Copyright © 2011 LittleShoot. All Rights Reserved.