| Package | Description |
|---|---|
| org.apache.directory.server.ntp.io |
Provides the encoder and decoder for NTP message conversions.
|
| org.apache.directory.server.ntp.messages |
Provides message objects for NTP messages.
|
| Modifier and Type | Method and Description |
|---|---|
private LeapIndicatorType |
NtpMessageDecoder.parseLeapIndicator(byte header) |
| Modifier and Type | Method and Description |
|---|---|
private byte |
NtpMessageEncoder.encodeLeapIndicator(LeapIndicatorType leapIndicator,
byte header) |
| Modifier and Type | Field and Description |
|---|---|
private LeapIndicatorType |
NtpMessage.leapIndicator |
private LeapIndicatorType |
NtpMessageModifier.leapIndicator |
| 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(java.lang.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.
|