|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ISensor defines the basic Sensor implementation requirements. A Sensor reads data from some source that is to be processed by other components in the context.
| Method Summary | |
|---|---|
java.lang.Object[] |
flush()
Method flush() This method will be called by the context when it is stopping. |
java.lang.Object[] |
getNext()
Method getNext Gets the next set of data from the source being sensed. |
java.lang.String |
getType()
Method getType Returns the sensor type. |
void |
setType(java.lang.String newType)
Method setType. |
java.lang.Object[] |
testGetNext()
Method testGetNext In order to avoid runtime failures a context should invoke this test method. |
| Methods inherited from interface org.eclipse.hyades.logging.adapter.IProcessUnit |
|---|
flushEventItems, processEventItems, testProcessEventItems |
| Method Detail |
public java.lang.Object[] getNext()
public java.lang.Object[] testGetNext()
public java.lang.Object[] flush()
public void setType(java.lang.String newType)
newType - - the type of the sensor as a String namepublic java.lang.String getType()
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||