public abstract class BaseIoConnectorConfig extends BaseIoServiceConfig implements IoConnectorConfig
IoConnectorConfig
.Modifier | Constructor and Description |
---|---|
protected |
BaseIoConnectorConfig() |
Modifier and Type | Method and 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.
|
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getFilterChain, getFilterChainBuilder, getSessionConfig, getThreadModel, setFilterChainBuilder, setThreadModel
public int getConnectTimeout()
IoConnectorConfig
getConnectTimeout
in interface IoConnectorConfig
public long getConnectTimeoutMillis()
IoConnectorConfig
getConnectTimeoutMillis
in interface IoConnectorConfig
public void setConnectTimeout(int connectTimeout)
IoConnectorConfig
setConnectTimeout
in interface IoConnectorConfig
Copyright © 2004–2014 Apache MINA Project. All rights reserved.