Package | Description |
---|---|
org.apache.directory.server.ntp.messages |
Provides message objects for NTP messages.
|
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.
|
static LeapIndicatorType |
LeapIndicatorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeapIndicatorType[] |
LeapIndicatorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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–2020 The Apache Software Foundation. All rights reserved.