Package PamUtils.time

Interface PCTimeCorrector

All Known Implementing Classes:
NullTimeCorrector, PamNMEATime, PamNTPTime

public interface PCTimeCorrector
Interface for anything that is capable of making estimates of PC time corrections e.g. from NMEA and NTP server data.
Author:
Doug
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    int
    A status flag ?
    int
    Likely update interval - can return 0 for very frequency updates (e.g.
    boolean
    show a dialog to configure the system
    boolean
    Start the system
    void
    Stop the system
  • Method Details

    • getName

      String getName()
      Returns:
      Name of the time corrector
    • getSource

      String getSource()
      Returns:
      Name of the source for logging (e.g. NMEA string or NTP server name)
    • showDialog

      boolean showDialog(Window frame)
      show a dialog to configure the system
      Parameters:
      frame -
      Returns:
      OK if dialog was OK'd
    • getUpdateInterval

      int getUpdateInterval()
      Likely update interval - can return 0 for very frequency updates (e.g. NMEA data)
      Returns:
      update interval in seconds
    • stop

      void stop()
      Stop the system
    • start

      boolean start()
      Start the system
      Returns:
      true if it seemed to get started OK.
    • getStatus

      int getStatus()
      A status flag ?
      Returns: