public class NtpMessage extends Object
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() |
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()
Copyright © 2017. All rights reserved.