[
https://issues.apache.org/jira/browse/NET-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jason mathews updated NET-527:
------------------------------
Description:
I've implemented a minimal NTP server that doesn't actually adjust the time but
responds to NTP datagram requests with info filled out using the current clock
time to be be used for debugging and testing. At minimum it can be used as a
test harness to test the NTPClient class. Added appropriate junit test.
The SimpleNTPServer class complements the existing NtpClient class.
Implementation and test provided in attached patch file.
was:
I've implemented a Simple UDP NTP server that can be used for debugging and
testing. At minimum it can be used as a test harness to test the NTPClient
class. Added appropriate junit test.
The SimpleNTPServer class complements the existing NtpClient class.
Implementation and test provided in attached patch file.
> Add SimpleNTPServer as example and for testing
> ----------------------------------------------
>
> Key: NET-527
> URL: https://issues.apache.org/jira/browse/NET-527
> Project: Commons Net
> Issue Type: Improvement
> Affects Versions: 3.3
> Reporter: jason mathews
> Labels: ntp
> Attachments: ntpServer.patch.txt
>
>
> I've implemented a minimal NTP server that doesn't actually adjust the time
> but responds to NTP datagram requests with info filled out using the current
> clock time to be be used for debugging and testing. At minimum it can be used
> as a test harness to test the NTPClient class. Added appropriate junit test.
> The SimpleNTPServer class complements the existing NtpClient class.
> Implementation and test provided in attached patch file.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)