|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWatchdogService
This interface provides methods for starting, stopping, and updating a hardware watchdog present on the system. Updating the watchdog, once started, prevents the system from rebooting.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
Method Summary | |
---|---|
short |
getDefaultTimeout()
Returns the default timeout value of the hardware watchdog. |
short |
getTimeout()
Returns the timeout value for the hardware watchdog in increments of 100ms. |
void |
setTimeout(short timeout)
Sets the current timeout value for the underlying hardware watchdog. |
void |
startWatchdog()
Starts the hardware watchdog on the device. |
void |
stopWatchdog()
Stops the hardware Watchdog on the device |
void |
updateWatchdog()
Updates the Watchdog to prevent a system reboot by resetting the timer |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Method Detail |
---|
void startWatchdog()
void stopWatchdog()
void updateWatchdog()
short getTimeout()
short getDefaultTimeout()
void setTimeout(short timeout)
timeout
- A short representing the new timeout value in increments of 100ms.
java.lang.Exception
- throws an Exception if the supplied timeout is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |