Package | Description |
---|---|
org.apache.directory.server.ntp.messages |
Provides message objects for NTP messages.
|
Modifier and Type | Field and Description |
---|---|
static LeapIndicatorType |
LeapIndicatorType.ALARM_CONDITION
Constant for the "Alarm condition (clock not synchronized)" leap indicator type.
|
static LeapIndicatorType |
LeapIndicatorType.NEGATIVE_LEAP_SECOND
Constant for the "Last minute has 59 seconds" leap indicator type.
|
static LeapIndicatorType |
LeapIndicatorType.NO_WARNING
Constant for the "No leap second warning" leap indicator type.
|
static LeapIndicatorType |
LeapIndicatorType.POSITIVE_LEAP_SECOND
Constant for the "Last minute has 61 seconds" leap indicator type.
|
Modifier and Type | Field and Description |
---|---|
static List<LeapIndicatorType> |
LeapIndicatorType.VALUES
A list of all the leap indicator type constants.
|
Modifier and Type | Method and Description |
---|---|
LeapIndicatorType |
NtpMessage.getLeapIndicator() |
static LeapIndicatorType |
LeapIndicatorType.getTypeByOrdinal(int type)
Returns the leap indicator type when specified by its ordinal.
|
Modifier and Type | Method and Description |
---|---|
int |
LeapIndicatorType.compareTo(LeapIndicatorType that) |
void |
NtpMessageModifier.setLeapIndicator(LeapIndicatorType leapIndicator) |
Constructor and Description |
---|
NtpMessage(LeapIndicatorType leapIndicator,
int versionNumber,
ModeType mode,
StratumType stratumType,
byte pollInterval,
byte precision,
int rootDelay,
int rootDispersion,
ReferenceIdentifier referenceIdentifier,
NtpTimeStamp referenceTimestamp,
NtpTimeStamp originateTimestamp,
NtpTimeStamp receiveTimestamp,
NtpTimeStamp transmitTimestamp)
Creates a new instance of NtpMessage.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.