...
With such a configuration, the NTP server will listen to port 60123, with UDP and TCP transports selected.
Common Service Configuration Parameters
Here is the list of parameters you can set. The bold parameters are mandatory.
Parameter | Default value | Description | Optionnal |
---|---|---|---|
id | "ntpServer" | Do not change thois this value : it is used internally to identify the NTP servcer server instance | NA |
serviceName | Apache NTP Service | The friendly name of this service. | |
enabled | true | Tells if the server is enabled or not. | yes |
ipAddress | localhost | The IP address for this service. | yes |
ipBacklog | 50 | The backlog size for both UDP and TCP transport | yes |
ipPort | 123 | The IP port for this service. It is valid for both UDP and TCP transports. | yes |
tcpPort nbThreads | 123 2 | The number of thread used by the service IoProcessor | yes |
tcpBacklog | 50 | The backlog size for the TCP transport TCP port for this service. It is valid for UDP only. | yes |
udpPort tcpPort | 123 | The UDP TCP port for this service. It is valid for TCP only. | yes |
nbTcpThreads | 2 | The number of thread used by the TCP service IoProcessor | yes |
ipAddress udpBacklog | localhost 50 | The IP address for this service. backlog size for the UDP transport | yes |
serviceName udpPort | Apache NTP Service 123 | The friendly name of UDP port for this service. | yes |
nbThreads nbUdpThreads | 2 | The number of thread used by the UDP service IoProcessor | yes |
Note |
---|
The last six parameters should be used only if one want to set up only a single transport, or when UDP and TCP transport don't share the same port. |
More Information
For help with more advanced configurations, check out our Interoperability Guide.