Package org.apache.mina.common
Interface IoConnectorConfig
-
- All Superinterfaces:
java.lang.Cloneable
,IoServiceConfig
- All Known Implementing Classes:
BaseIoConnectorConfig
,DatagramConnectorConfig
,SocketConnectorConfig
public interface IoConnectorConfig extends IoServiceConfig
A configuration which is used to configureIoConnector
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-