|
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.FailureDetection.MonitoringCheck
This class encapsulates the object of a monitoring check action by the failure detection manager. The failure detection manager detects failures by, among others, monitoring the properties of some objects for specific changes. Property monitoring can be performed in several manners but the failure detection manager performs it exclusively through the direct monitoring mechanism.
A monitoring check object packages in a single object a monitorable property to be checked, the change object defining the type of change and the recovery action to be performed in case the change is found to have occurred. The property to be monitored is specified by its property owner (an object of type Monitorable) and by the an integer index that identifies the property within it.
Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
MonitoringCheck()
Default constructor. |
|
MonitoringCheck(Monitorable propertyOwner,
int propertyIndex,
ChangeObject c,
RecoveryAction r)
|
|
| Method Summary | |
ChangeObject |
getChangeObject()
|
int |
getPropertyIndex()
|
Monitorable |
getPropertyOwner()
|
double |
getPropertyValue()
Return the value of the property to be monitored. |
RecoveryAction |
getRecoveryAction()
|
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
void |
setChangeObject(ChangeObject c)
Initialization method to set the change object (to be used in conjunction with the default constructor). |
void |
setPropertyIndex(int n)
Initialization method to set the property index (to be used in conjunction with the default constructor). |
void |
setPropertyOwner(Monitorable m)
Initialization method to set the property owner (to be used in conjunction with the default constructor). |
void |
setRecoveryAction(RecoveryAction r)
Initialization method to set the recovery action (to be used in conjunction with the default constructor). |
void |
writeToTelemetry(TelemetryStream tmStream)
Direct the object to write its own state to the telemetry stream. |
| 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 MonitoringCheck()
public MonitoringCheck(Monitorable propertyOwner,
int propertyIndex,
ChangeObject c,
RecoveryAction r)
| Method Detail |
public void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsObjectpublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsObjectpublic void setPropertyOwner(Monitorable m)
public void setPropertyIndex(int n)
public void setChangeObject(ChangeObject c)
public void setRecoveryAction(RecoveryAction r)
public ChangeObject getChangeObject()
public int getPropertyIndex()
public Monitorable getPropertyOwner()
public RecoveryAction getRecoveryAction()
public double getPropertyValue()
|
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 | ||||||||||