public enum ServerLauncherParameters extends Enum<ServerLauncherParameters>
Enum Constant and Description |
---|
INSTANCE |
public static final ServerLauncherParameters INSTANCE
public static ServerLauncherParameters[] values()
for (ServerLauncherParameters c : ServerLauncherParameters.values()) System.out.println(c);
public static ServerLauncherParameters valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getPort()
public Integer getMaxThreads()
public String getBindAddress()
public Integer getMaxConnections()
public Integer getMaxMessageCount()
public Integer getSocketBufferSize()
public Integer getMessageTimeToLive()
public String getHostnameForClients()
public Boolean isDisableDefaultServer()
public ServerLauncherParameters withPort(Integer port)
public ServerLauncherParameters withMaxThreads(Integer maxThreads)
public ServerLauncherParameters withBindAddress(String bindAddress)
public ServerLauncherParameters withMaxConnections(Integer maxConnections)
public ServerLauncherParameters withMaxMessageCount(Integer maxMessageCount)
public ServerLauncherParameters withSocketBufferSize(Integer socketBufferSize)
public ServerLauncherParameters withMessageTimeToLive(Integer messageTimeToLive)
public ServerLauncherParameters withHostnameForClients(String hostnameForClients)
public ServerLauncherParameters withDisableDefaultServer(Boolean disableDefaultServer)
public void clear()