Package PamUtils.time

Class NullTimeCorrector

java.lang.Object
PamUtils.time.NullTimeCorrector
All Implemented Interfaces:
PCTimeCorrector

public class NullTimeCorrector extends Object implements PCTimeCorrector
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface PCTimeCorrector
      Returns:
      Name of the time corrector
    • getSource

      public String getSource()
      Specified by:
      getSource in interface PCTimeCorrector
      Returns:
      Name of the source for logging (e.g. NMEA string or NTP server name)
    • showDialog

      public boolean showDialog(Window frame)
      Description copied from interface: PCTimeCorrector
      show a dialog to configure the system
      Specified by:
      showDialog in interface PCTimeCorrector
      Returns:
      OK if dialog was OK'd
    • getUpdateInterval

      public int getUpdateInterval()
      Description copied from interface: PCTimeCorrector
      Likely update interval - can return 0 for very frequency updates (e.g. NMEA data)
      Specified by:
      getUpdateInterval in interface PCTimeCorrector
      Returns:
      update interval in seconds
    • stop

      public void stop()
      Description copied from interface: PCTimeCorrector
      Stop the system
      Specified by:
      stop in interface PCTimeCorrector
    • start

      public boolean start()
      Description copied from interface: PCTimeCorrector
      Start the system
      Specified by:
      start in interface PCTimeCorrector
      Returns:
      true if it seemed to get started OK.
    • getStatus

      public int getStatus()
      Description copied from interface: PCTimeCorrector
      A status flag ?
      Specified by:
      getStatus in interface PCTimeCorrector
      Returns: