Package | Description |
---|---|
org.apache.commons.net.ntp |
Modifier and Type | Class | Description |
---|---|---|
class |
NtpV3Impl |
Implementation of NtpV3Packet with methods converting Java objects to/from
the Network Time Protocol (NTP) data message header format described in RFC-1305.
|
Modifier and Type | Method | Description |
---|---|---|
NtpV3Packet |
TimeInfo.getMessage() |
Returns NTP message packet.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
NtpUtils.getRefAddress(NtpV3Packet packet) |
Returns NTP packet reference identifier as IP address.
|
static java.lang.String |
NtpUtils.getReferenceClock(NtpV3Packet message) |
Get refId as reference clock string (e.g.
|
Constructor | Description |
---|---|
TimeInfo(NtpV3Packet message,
long returnTime) |
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet msgPacket,
long returnTime,
boolean doComputeDetails) |
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet message,
long returnTime,
java.util.List comments) |
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet message,
long returnTime,
java.util.List comments,
boolean doComputeDetails) |
Create TimeInfo object with raw packet message and destination time received.
|