Package | Description |
---|---|
org.apache.directory.server.ntp.messages |
Provides message objects for NTP messages.
|
Modifier and Type | Field and Description |
---|---|
static ModeType |
ModeType.BROADCAST
Constant for the "Broadcast mode" mode type.
|
static ModeType |
ModeType.CLIENT
Constant for the "Client mode" mode type.
|
static ModeType |
ModeType.RESERVED
Constant for the "Reserved mode" mode type.
|
static ModeType |
ModeType.RESERVED_FOR_NTP_CONTROL
Constant for the "Reserved for NTP control message" mode type.
|
static ModeType |
ModeType.RESERVED_FOR_PRIVATE_USE
Constant for the "Reserved for private use" mode type.
|
static ModeType |
ModeType.RESERVED_PASSIVE
Constant for the "Symmetric passive mode" mode type.
|
static ModeType |
ModeType.SERVER
Constant for the "Server mode" mode type.
|
static ModeType |
ModeType.SYMMETRIC_ACTIVE
Constant for the "Symmetric active mode" mode type.
|
Modifier and Type | Field and Description |
---|---|
static List<ModeType> |
ModeType.VALUES
A list of all the mode type constants.
|
Modifier and Type | Method and Description |
---|---|
ModeType |
NtpMessage.getMode() |
static ModeType |
ModeType.getTypeByOrdinal(int type)
Returns the mode type when specified by its ordinal.
|
Modifier and Type | Method and Description |
---|---|
int |
ModeType.compareTo(ModeType that) |
void |
NtpMessageModifier.setMode(ModeType mode) |
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 The Apache Software Foundation. All rights reserved.