org.apache.mina.common
Interface IoConnectorConfig

All Superinterfaces:
IoServiceConfig
All Known Implementing Classes:
org.apache.mina.common.support.BaseIoConnectorConfig

public interface IoConnectorConfig
extends IoServiceConfig

A configuration which is used to configure IoConnector.

Version:
$Rev: 436993 $, $Date: 2006-08-26 00:36:56 +0200 (Sat, 26 Aug 2006) $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)

Method Summary
 int getConnectTimeout()
          Returns the connect timeout in seconds.
 long getConnectTimeoutMillis()
          Returns the connect timeout in milliseconds.
 void setConnectTimeout(int connectTimeout)
          Sets the connect timeout in seconds.
 
Methods inherited from interface org.apache.mina.common.IoServiceConfig
clone, getFilterChain, getFilterChainBuilder, getSessionConfig, getThreadModel, setFilterChainBuilder, setThreadModel
 

Method Detail

getConnectTimeout

public int getConnectTimeout()
Returns the connect timeout in seconds.


getConnectTimeoutMillis

public long getConnectTimeoutMillis()
Returns the connect timeout in milliseconds.


setConnectTimeout

public void setConnectTimeout(int connectTimeout)
Sets the connect timeout in seconds.