org.apache.directory.server.ntp.messages
Class NtpMessage

java.lang.Object
  extended by org.apache.directory.server.ntp.messages.NtpMessage

public class NtpMessage
extends java.lang.Object


Constructor Summary
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)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NtpMessage

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)
Method Detail

getLeapIndicator

public LeapIndicatorType getLeapIndicator()
Returns:
Returns the Leap Indicator.

getMode

public ModeType getMode()
Returns:
Returns the Mode.

getOriginateTimestamp

public NtpTimeStamp getOriginateTimestamp()
Returns:
Returns the Originate Timestamp.

getPollInterval

public byte getPollInterval()
Returns:
Returns the Poll Interval.

getPrecision

public byte getPrecision()
Returns:
Returns the Precision.

getReceiveTimestamp

public NtpTimeStamp getReceiveTimestamp()
Returns:
Returns the Receive Timestamp.

getReferenceIdentifier

public ReferenceIdentifier getReferenceIdentifier()
Returns:
Returns the Reference Identifier.

getReferenceTimestamp

public NtpTimeStamp getReferenceTimestamp()
Returns:
Returns the Reference Timestamp.

getRootDelay

public int getRootDelay()
Returns:
Returns the Root Delay.

getRootDispersion

public int getRootDispersion()
Returns:
Returns the Root Dispersion.

getStratum

public StratumType getStratum()
Returns:
Returns the Stratum.

getTransmitTimestamp

public NtpTimeStamp getTransmitTimestamp()
Returns:
Returns the Transmit Timestamp.

getVersionNumber

public int getVersionNumber()
Returns:
Returns the Version Number.


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.