Package | Description |
---|---|
org.apache.directory.server.ntp.messages |
Provides message objects for NTP messages.
|
Modifier and Type | Field and Description |
---|---|
static StratumType |
StratumType.PRIMARY_REFERENCE
Constant for the "Primary reference" stratum type.
|
static StratumType |
StratumType.SECONDARY_REFERENCE
Constant for the "Secondary reference" stratum type.
|
static StratumType |
StratumType.UNSPECIFIED
Constant for the "Unspecified or unavailable" stratum type.
|
Modifier and Type | Field and Description |
---|---|
static List<StratumType> |
StratumType.VALUES
A list of all the stratum type constants.
|
Modifier and Type | Method and Description |
---|---|
StratumType |
NtpMessage.getStratum() |
static StratumType |
StratumType.getTypeByOrdinal(int type)
Returns the stratum type when specified by its ordinal.
|
Modifier and Type | Method and Description |
---|---|
int |
StratumType.compareTo(StratumType that) |
void |
NtpMessageModifier.setStratum(StratumType stratumType) |
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-2013 Apache Software Foundation. All Rights Reserved.