Package | Description |
---|---|
org.apache.commons.net.ntp |
NTP - network time protocol
|
Modifier and Type | Class and 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 and Description |
---|---|
NtpV3Packet |
TimeInfo.getMessage()
Returns NTP message packet.
|
Modifier and Type | Method and Description |
---|---|
static String |
NtpUtils.getRefAddress(NtpV3Packet packet)
Returns NTP packet reference identifier as IP address.
|
static String |
NtpUtils.getReferenceClock(NtpV3Packet message)
Get refId as reference clock string (e.g.
|
Constructor and 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,
List<String> comments)
Create TimeInfo object with raw packet message and destination time received.
|
TimeInfo(NtpV3Packet message,
long returnTime,
List<String> comments,
boolean doComputeDetails)
Create TimeInfo object with raw packet message and destination time received.
|
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.