Package PamController.command
Class WatchdogComms
java.lang.Object
PamController.command.WatchdogComms
Class to manage more sophisticated communications with PAMDog.
Currently PAMDog is only thinking along the lines of the four states
of PAMGUARD:
public static final int PAM_IDLE = 0;
public static final int PAM_RUNNING = 1;
public static final int PAM_STALLED = 3;
public static final int PAM_INITIALISING = 4;
and PAMdog will reset the software on anything by PAM_RUNNING.
This class can modify the response, based on a more sophisticated analysis of PAMGuards state, and may even decide to send a PAM_RUNNING response even when it isn't so that we can do a bit more sophisticated stopping starting even when the watchdog is running.
public static final int PAM_IDLE = 0;
public static final int PAM_RUNNING = 1;
public static final int PAM_STALLED = 3;
public static final int PAM_INITIALISING = 4;
and PAMdog will reset the software on anything by PAM_RUNNING.
This class can modify the response, based on a more sophisticated analysis of PAMGuards state, and may even decide to send a PAM_RUNNING response even when it isn't so that we can do a bit more sophisticated stopping starting even when the watchdog is running.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WatchdogComms
-
-
Method Details
-
getModifiedWatchdogState
public int getModifiedWatchdogState(int oldState)
-