Package com.kristensoft.kdc
Class ServerParameters
- java.lang.Object
-
- com.kristensoft.kdc.Parameters
-
- com.kristensoft.kdc.ServerParameters
-
- Direct Known Subclasses:
KristenHttpServerParameters,TcpServerParameters,WebSocketServerParameters
public abstract class ServerParameters extends Parameters
Provides common configuration parameters for KDC servers.Server-specific parameter classes extend this class to provide additional configuration while inheriting the common server settings defined here.
- Author:
- Charles B. Kozoyed
- See Also:
Parameters,TcpServerParameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerParameters.Builder<T extends ServerParameters.Builder<T>>Base builder for KDC server parameters.-
Nested classes/interfaces inherited from class com.kristensoft.kdc.Parameters
Parameters.Defaults
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBacklog()Returns the server socket backlog used for pending connection requests.-
Methods inherited from class com.kristensoft.kdc.Parameters
getApiMap, getBindAddress, getConnectionQueuePoolSize, getEncryptionKey, getLatencyReportingInterval, getMaxReceiveBufferSize, getMaxSendBufferSize, getProtocol, getProtocolVersion, getSerializationFormat, getWhiteList, isAutoStart, isCompressed, isCrc, isLatencyModeOn
-
-
-
-
Method Detail
-
getBacklog
public final int getBacklog()
Returns the server socket backlog used for pending connection requests.This value controls the maximum number of connection requests that may be queued by the underlying server socket while waiting to be accepted. It is separate from KDC's internal connection queue.
- Returns:
- the server socket connection backlog
-
-