Package net.dona.doip.server
Class DoipServerConfig
java.lang.Object
net.dona.doip.server.DoipServerConfig
Configuration for a
DoipServer.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLogging configuration for aDoipServer.static classTLS configuration for aDoipServer. -
Field Summary
FieldsModifier and TypeFieldDescriptionintBacklog to be used for the TCP listener (defaults to 50).IP address to which to bind the listener.IP addresses to which to bind the listener.Logging configuration for aDoipServer.intIdle time in ms for an open DOIP connection while waiting for another request (defaults to 5 minutes).intNumber of request-processing threads (defaults to 200).intPort to which to bind the listener.Class name of aDoipProcessor, which will be automatically instantiated, initialized, and later shut down by aDoipServerwhen constructed usingDoipServer(DoipServerConfig).com.google.gson.JsonObjectJSON used to initialize an automatically constructedDoipProcessor(see {processorClass).TLS configuration for aDoipServer. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
listenAddress
IP address to which to bind the listener. -
listenAddresses
IP addresses to which to bind the listener. -
port
public int portPort to which to bind the listener. -
backlog
public int backlogBacklog to be used for the TCP listener (defaults to 50). -
maxIdleTimeMillis
public int maxIdleTimeMillisIdle time in ms for an open DOIP connection while waiting for another request (defaults to 5 minutes). -
numThreads
public int numThreadsNumber of request-processing threads (defaults to 200). -
processorClass
Class name of aDoipProcessor, which will be automatically instantiated, initialized, and later shut down by aDoipServerwhen constructed usingDoipServer(DoipServerConfig). -
processorConfig
public com.google.gson.JsonObject processorConfigJSON used to initialize an automatically constructedDoipProcessor(see {processorClass). -
logConfig
Logging configuration for aDoipServer. -
tlsConfig
TLS configuration for aDoipServer.
-
-
Constructor Details
-
DoipServerConfig
public DoipServerConfig()
-
-
Method Details