|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.FailureRecovery.RecoveryStrategy
|
+--RtjAocsFramework.FailureRecovery.SystemResetOnConfigurationError
This recovery startegy will cause a software reset to be executed if a configuration event is detected in the configuration event repository. Configuration events are assumed to indicate a configuration error. The configuration event repository a settable configuration parameter.
Copyright: see the Copyright Notice.
SystemManager| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
SystemResetOnConfigurationError()
This component should not be used before it is configured by loading the the configuration event repository. |
|
| Method Summary | |
void |
doRecovery()
Calling this method will cause the recovery strategy to be executed. |
ConfigurationEventRepository |
getConfigurationEventRepository()
|
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
boolean |
isConfigured()
Return false if some configuration data are missing. |
void |
resetConfiguration()
Unload the configuration event repository. |
void |
setConfigurationEventRepository(ConfigurationEventRepository r)
|
void |
writeToTelemetry(TelemetryStream tmStream)
Direct the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.FailureRecovery.RecoveryStrategy |
addRecoveryListener, fireModeEvent, getFailureEventRepository, getNextRecoveryStrategy, isEnabled, removeRecoveryListener, reset, setEnabled, setFailureEventRepository, setMaxNumberOfRecoveryListeners, setNextRecoveryStrategy |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemResetOnConfigurationError()
| Method Detail |
public void doRecovery()
RecoveryStrategy
doRecovery in class RecoveryStrategypublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class RecoveryStrategypublic boolean isConfigured()
ConfigurableTypically, a false value indicates that a plug-in component is missing or that the object has not been initialized. This is a negative check only: a return value of true cannot guarantee that the object is correctly configured.
Calls to resetConfiguration on an object A are normally not propagated objects of type AocsObject that are contained or otherwise aggregated to A. The rationale for this policy is that all objects of type AocsObject implement interface configurable and therefore their configuration status should be checked externally (probably through the configuration check service of the system manager).
isConfigured in interface ConfigurableisConfigured in class RecoveryStrategypublic void setConfigurationEventRepository(ConfigurationEventRepository r)
public ConfigurationEventRepository getConfigurationEventRepository()
public void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class RecoveryStrategypublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class RecoveryStrategy
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||