public class NetworkServerConfig
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
add(ProtocolPort protocolPort) |
void |
addContentProgram(ConfigProgram builder) |
void |
addHttp(TcpPort listener) |
void |
addListen(TcpPort listener) |
void |
addListenDefault(ConfigProgram program)
Adds a listen-default
|
void |
addPortDefault(ContainerProgram program)
Adds a port-default
|
TcpPort |
createClusterPort() |
TcpPort |
createHttp() |
TcpPort |
createListen() |
TcpPort |
createProtocol() |
protected TcpPort |
getClusterListener() |
boolean |
isKeepaliveSelectEnable() |
void |
setBindPortsAfterStart(boolean bindAtEnd)
If true, ports are bound at end.
|
void |
setClusterIdleTime(Period period) |
void |
setClusterSocketTimeout(Period period) |
void |
setKeepaliveSelectEnable(boolean isEnable) |
@Configurable public TcpPort createClusterPort()
protected TcpPort getClusterListener()
@Configurable public void setClusterIdleTime(Period period)
@Configurable public void setClusterSocketTimeout(Period period)
@Configurable public void setKeepaliveSelectEnable(boolean isEnable)
public boolean isKeepaliveSelectEnable()
@Configurable public TcpPort createHttp() throws ConfigException
ConfigException
public void addHttp(TcpPort listener)
@Configurable public TcpPort createProtocol()
@Configurable public TcpPort createListen()
public void addListen(TcpPort listener)
@Configurable public void add(ProtocolPort protocolPort)
@Configurable public void addPortDefault(ContainerProgram program)
@Configurable public void addListenDefault(ConfigProgram program)
@Configurable public void setBindPortsAfterStart(boolean bindAtEnd)
@Configurable public void addContentProgram(ConfigProgram builder)