Package cgl.narada.service.time.ntptime

This package includes interfaces and classes which pertain to the NTP based implementation of NaradaBrokering's time service.

See:
          Description

Interface Summary
Stratum Stratum constants
 

Class Summary
DefaultParams Provides default vaules for the TimeService.
NTP This class implements NTP algorithms described in rfc 1305.
NtpConnection This class provides some methods to make UDP connection, send/receive NTP packets
NtpDatagramPacket This class encapsulates a NtpDatagram.
NtpHeader This class encapsulates the header of a NtpDatagram.
NtpInfo This class represents a data structure describing the useful information that can be extracted from a NtpDatagramPacket.
NtpOffset Ntp Packet field information
NtpTimeService This is the thread that computes time according to NTP and adjust the time in NtpTimeserviceImpl class.
NtpTimestamp 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Seconds Fraction (0-padded) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ This class encapsulates the notion of a timestamp as in rfc2030.
TimeServiceImpl This class is a singleton class and should be used to retun the adjusted time value.
 

Package cgl.narada.service.time.ntptime Description

This package includes interfaces and classes which pertain to the NTP based implementation of NaradaBrokering's time service. Specifically this service will be used by all entities within the system to timestamp events. The service is meant to guarantee that all entities will have their timestamp initializers synchronized within a few milliseconds of each other.



For comments and suggestions please send e-mail to The NaradaBrokering Project