java.lang.Cloneable
, IoConnectorConfig
, IoServiceConfig
public class SocketConnectorConfig extends BaseIoConnectorConfig
IoConnectorConfig
for SocketConnector
.Constructor | Description |
---|---|
SocketConnectorConfig() |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
SocketSessionConfig |
getSessionConfig() |
Resturns the default configuration of the new
IoSession s. |
getConnectTimeout, getConnectTimeoutMillis, setConnectTimeout
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
clone, getFilterChain, getFilterChainBuilder, getThreadModel, setFilterChainBuilder, setThreadModel
public SocketConnectorConfig()
RuntimeIOException
- if failed to get the default configurationpublic SocketSessionConfig getSessionConfig()
IoServiceConfig
IoSession
s.