cgl.narada.service.time
Interface TimeService

All Known Implementing Classes:
TimeServiceImpl

public interface TimeService

This class provides a set of core functions that service implementations need to satisfy. All services within the system need to conform to this interface.


Method Summary
 long getOffset()
          Gets offset value between the local computer's time and the computed time from NTP protocol.
 long getTimestamp()
          This method returns the timestamp in millisecond based on the ntp implementation
 

Method Detail

getTimestamp

long getTimestamp()
                  throws ServiceException
This method returns the timestamp in millisecond based on the ntp implementation

Throws:
ServiceException

getOffset

long getOffset()
Gets offset value between the local computer's time and the computed time from NTP protocol.

Returns:
long - offset value


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