Package org.apache.mina.common
Interface IoConnectorConfig
- All Superinterfaces:
Cloneable,IoServiceConfig
- All Known Implementing Classes:
BaseIoConnectorConfig,DatagramConnectorConfig,SocketConnectorConfig
A configuration which is used to configure
IoConnector.-
Method Summary
Modifier and TypeMethodDescriptionintReturns the connect timeout in seconds.longReturns the connect timeout in milliseconds.voidsetConnectTimeout(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 Details
-
getConnectTimeout
int getConnectTimeout()Returns the connect timeout in seconds. -
getConnectTimeoutMillis
long getConnectTimeoutMillis()Returns the connect timeout in milliseconds. -
setConnectTimeout
void setConnectTimeout(int connectTimeout) Sets the connect timeout in seconds.
-