|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.able.gaugeInfrastructure.Siena.SienaGaugeConsumer
A stub implementation of the a gauge consumer that listens to siena gauges.
Field Summary | |
java.util.Vector |
gaugeMgrs
The gauge managers that this consumer can use to create gauges. |
java.util.Vector |
gauges
The gauges that this consumer is listening to. |
GaugeReportingBus |
reportingBus
The reporting bus that gauges report through. |
Constructor Summary | |
SienaGaugeConsumer()
Creates new SienaGaugeConsumer |
Method Summary | |
void |
onReportConfigured(GaugeControl gauge,
StringPairVector configParams)
The callback invoked when a gauge has been configured. |
void |
onReportCreated(GaugeControl gauge)
The callback invoked when a gauge is created. |
void |
onReportDeleted(GaugeControl gauge)
The callback invoked when a gauge is deleted by (another) consumer. |
void |
onReportMultipleValues(GaugeControl gauge,
GaugeValueVector values)
The callback invoked when a gauge reports multiple values in a single reporting action. |
void |
onReportValue(GaugeControl gauge,
java.lang.String valueName,
java.lang.String propertyName,
java.lang.String value)
The callback invoked when a gauge reports a single value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Vector gauges
public java.util.Vector gaugeMgrs
public GaugeReportingBus reportingBus
Constructor Detail |
public SienaGaugeConsumer()
Method Detail |
public void onReportConfigured(GaugeControl gauge, StringPairVector configParams)
GaugeConsumer
onReportConfigured
in interface GaugeConsumer
gauge
- configParams
- public void onReportCreated(GaugeControl gauge)
GaugeConsumer
onReportCreated
in interface GaugeConsumer
gauge
- public void onReportDeleted(GaugeControl gauge)
GaugeConsumer
onReportDeleted
in interface GaugeConsumer
gauge
- public void onReportMultipleValues(GaugeControl gauge, GaugeValueVector values)
GaugeConsumer
onReportMultipleValues
in interface GaugeConsumer
gauge
- values
- public void onReportValue(GaugeControl gauge, java.lang.String valueName, java.lang.String propertyName, java.lang.String value)
GaugeConsumer
onReportValue
in interface GaugeConsumer
gauge
- valueName
- propertyName
- value
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |