Class DoipServerConfig


  • public class DoipServerConfig
    extends java.lang.Object
    Configuration for a DoipServer.
    • Field Detail

      • listenAddress

        public java.lang.String listenAddress
        IP address to which to bind the listener.
      • port

        public int port
        Port to which to bind the listener.
      • backlog

        public int backlog
        Backlog to be used for the TCP listener (defaults to 50).
      • maxIdleTimeMillis

        public int maxIdleTimeMillis
        Idle time in ms for an open DOIP connection while waiting for another request (defaults to 5 minutes).
      • numThreads

        public int numThreads
        Number of request-processing threads (defaults to 200).
      • processorConfig

        public com.google.gson.JsonObject processorConfig
        JSON used to initialize an automatically constructed DoipProcessor (see {processorClass).
    • Constructor Detail

      • DoipServerConfig

        public DoipServerConfig()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object