|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.dctl.hardware.watchdog.SimpleWatchdog
Simple watchdog client that allows the watchdog to be used
| Constructor Summary | |
SimpleWatchdog()
Create a new watchdog |
|
| Method Summary | |
int |
getTimeout()
Get the timeout value |
boolean |
isEnabled()
Get the enabled state |
void |
setEnabled(boolean flag)
Enable/disable the watchdog |
void |
setTimeout(int ms)
Set the timeout in milliseconds |
void |
strobe()
Strobe the watchdog |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleWatchdog()
throws SystemException
SystemException - if there is a problem| Method Detail |
public void setEnabled(boolean flag)
throws SystemException
flag - The value to set it to
SystemException - if there is a problempublic boolean isEnabled()
public void strobe()
throws SystemException
SystemException - if there is a problem
public void setTimeout(int ms)
throws SystemException
ms - The timeout
SystemException - if there is a problempublic int getTimeout()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||