| Package | Description |
|---|---|
| org.apache.commons.net.ntp |
NTP - network time protocol
|
| Modifier and Type | Class and Description |
|---|---|
class |
NtpV3Impl
Implements
NtpV3Packet to convert Java objects to and from the Network Time Protocol (NTP) data message header format described in RFC-1305. |
| Modifier and Type | Method and Description |
|---|---|
NtpV3Packet |
TimeInfo.getMessage()
Gets the NTP message packet.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
NtpUtils.getRefAddress(NtpV3Packet packet)
Gets the NTP packet reference identifier as IP address.
|
static String |
NtpUtils.getReferenceClock(NtpV3Packet message)
Gets refId as reference clock string (e.g.
|
| Constructor and Description |
|---|
TimeInfo(NtpV3Packet message,
long returnTimeMillis)
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet msgPacket,
long returnTimeMillis,
boolean doComputeDetails)
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet message,
long returnTimeMillis,
List<String> comments)
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet message,
long returnTimeMillis,
List<String> comments,
boolean doComputeDetails)
Create TimeInfo object with raw packet message and destination time received.
|