public class NtpMessage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private LeapIndicatorType |
leapIndicator |
private ModeType |
mode |
private NtpTimeStamp |
originateTimestamp |
private byte |
pollInterval |
private byte |
precision |
private NtpTimeStamp |
receiveTimestamp |
private ReferenceIdentifier |
referenceIdentifier |
private NtpTimeStamp |
referenceTimestamp |
private int |
rootDelay |
private int |
rootDispersion |
private StratumType |
stratumType |
private NtpTimeStamp |
transmitTimestamp |
private int |
versionNumber |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
LeapIndicatorType |
getLeapIndicator() |
ModeType |
getMode() |
NtpTimeStamp |
getOriginateTimestamp() |
byte |
getPollInterval() |
byte |
getPrecision() |
NtpTimeStamp |
getReceiveTimestamp() |
ReferenceIdentifier |
getReferenceIdentifier() |
NtpTimeStamp |
getReferenceTimestamp() |
int |
getRootDelay() |
int |
getRootDispersion() |
StratumType |
getStratum() |
NtpTimeStamp |
getTransmitTimestamp() |
int |
getVersionNumber() |
private LeapIndicatorType leapIndicator
private int versionNumber
private ModeType mode
private StratumType stratumType
private byte pollInterval
private byte precision
private int rootDelay
private int rootDispersion
private ReferenceIdentifier referenceIdentifier
private NtpTimeStamp referenceTimestamp
private NtpTimeStamp originateTimestamp
private NtpTimeStamp receiveTimestamp
private NtpTimeStamp transmitTimestamp
public 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)
leapIndicator - versionNumber - mode - stratumType - pollInterval - precision - rootDelay - rootDispersion - referenceIdentifier - referenceTimestamp - originateTimestamp - receiveTimestamp - transmitTimestamp - public LeapIndicatorType getLeapIndicator()
public ModeType getMode()
public NtpTimeStamp getOriginateTimestamp()
public byte getPollInterval()
public byte getPrecision()
public NtpTimeStamp getReceiveTimestamp()
public ReferenceIdentifier getReferenceIdentifier()
public NtpTimeStamp getReferenceTimestamp()
public int getRootDelay()
public int getRootDispersion()
public StratumType getStratum()
public NtpTimeStamp getTransmitTimestamp()
public int getVersionNumber()