Uses of Class
org.apache.commons.net.ntp.TimeStamp
-
Packages that use TimeStamp Package Description org.apache.commons.net.ntp NTP - network time protocol -
-
Uses of TimeStamp in org.apache.commons.net.ntp
Methods in org.apache.commons.net.ntp that return TimeStamp Modifier and Type Method Description static TimeStampTimeStamp. getCurrentTime()Constructs a NTP timestamp object and initializes it so that it represents the time at which it was allocated, measured to the nearest millisecond.static TimeStampTimeStamp. getNtpTime(long date)Helper method to convert Java time to NTP timestamp object.TimeStampNtpV3Impl. getOriginateTimeStamp()Returns the originate time as defined in RFC-1305.TimeStampNtpV3Packet. getOriginateTimeStamp()TimeStampNtpV3Impl. getReceiveTimeStamp()Returns receive timestamp as defined in RFC-1305.TimeStampNtpV3Packet. getReceiveTimeStamp()TimeStampNtpV3Impl. getReferenceTimeStamp()Returns the reference time as defined in RFC-1305.TimeStampNtpV3Packet. getReferenceTimeStamp()TimeStampNtpV3Impl. getTransmitTimeStamp()Returns the transmit timestamp as defined in RFC-1305.TimeStampNtpV3Packet. getTransmitTimeStamp()static TimeStampTimeStamp. parseNtpString(java.lang.String s)Parses the string argument as a NTP hexidecimal timestamp representation string (e.g.Methods in org.apache.commons.net.ntp with parameters of type TimeStamp Modifier and Type Method Description intTimeStamp. compareTo(TimeStamp anotherTimeStamp)Compares two Timestamps numerically.voidNtpV3Impl. setOriginateTimeStamp(TimeStamp ts)Set originate timestamp given NTP TimeStamp object.voidNtpV3Packet. setOriginateTimeStamp(TimeStamp ts)Set originate timestamp given NTP TimeStamp object.voidNtpV3Impl. setReceiveTimeStamp(TimeStamp ts)Set receive timestamp given NTP TimeStamp object.voidNtpV3Packet. setReceiveTimeStamp(TimeStamp ts)Set receive timestamp given NTP TimeStamp object.voidNtpV3Impl. setReferenceTime(TimeStamp ts)Set Reference time with NTP timestamp.voidNtpV3Packet. setReferenceTime(TimeStamp ts)Set the reference timestamp given NTP TimeStamp object.voidNtpV3Impl. setTransmitTime(TimeStamp ts)Set transmit time with NTP timestamp.voidNtpV3Packet. setTransmitTime(TimeStamp ts)Set the transmit timestamp given NTP TimeStamp object.
-