Package PamUtils.time
Class NullTimeCorrector
java.lang.Object
PamUtils.time.NullTimeCorrector
- All Implemented Interfaces:
PCTimeCorrector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intA status flag ?intLikely update interval - can return 0 for very frequency updates (e.g.booleanshowDialog(Window frame) show a dialog to configure the systembooleanstart()Start the systemvoidstop()Stop the system
-
Constructor Details
-
NullTimeCorrector
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePCTimeCorrector- Returns:
- Name of the time corrector
-
getSource
- Specified by:
getSourcein interfacePCTimeCorrector- Returns:
- Name of the source for logging (e.g. NMEA string or NTP server name)
-
showDialog
Description copied from interface:PCTimeCorrectorshow a dialog to configure the system- Specified by:
showDialogin interfacePCTimeCorrector- Parameters:
frame-- Returns:
- OK if dialog was OK'd
-
getUpdateInterval
public int getUpdateInterval()Description copied from interface:PCTimeCorrectorLikely update interval - can return 0 for very frequency updates (e.g. NMEA data)- Specified by:
getUpdateIntervalin interfacePCTimeCorrector- Returns:
- update interval in seconds
-
stop
public void stop()Description copied from interface:PCTimeCorrectorStop the system- Specified by:
stopin interfacePCTimeCorrector
-
start
public boolean start()Description copied from interface:PCTimeCorrectorStart the system- Specified by:
startin interfacePCTimeCorrector- Returns:
- true if it seemed to get started OK.
-
getStatus
public int getStatus()Description copied from interface:PCTimeCorrectorA status flag ?- Specified by:
getStatusin interfacePCTimeCorrector- Returns:
-