|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
Field Summary | |
protected RMIGaugeReportingBus |
gaugeBus
The reporting bus that gauges report through. |
java.lang.String |
gaugeConsumerHost
|
java.lang.String |
gaugeConsumerUID
|
Constructor Summary | |
RMIGaugeConsumer()
Constructor of RMIGaugeConsumer |
Method Summary | |
void |
addGauge(GaugeID theGaugeID)
|
void |
addGauge(GaugeID theGaugeID,
StringPairVector configParams)
|
void |
configureGauge(GaugeID theGaugeID,
StringPairVector configParams)
Configures a gauge. |
void |
createGauge(GaugeID theGaugeID,
StringPairVector setupParams)
Creates a gauge. |
void |
deleteGauge(GaugeID theGaugeID)
Deletes a gauge. |
void |
onReportConfigured(GaugeControl gauge,
StringPairVector configParams)
Called when a configured event is reported |
void |
onReportCreated(GaugeControl gauge)
Called when a created event is reported |
void |
onReportCreated(GaugeID theGaugeID)
Called when a created event is reported |
void |
onReportDeleted(GaugeControl gauge)
Called when a deleted event is reported |
void |
onReportMultipleValues(GaugeControl gauge,
GaugeValueVector values)
Called when multiple values are reported |
void |
onReportValue(GaugeControl gauge,
java.lang.String valueName,
java.lang.String propertyName,
java.lang.String value)
Called when a value is reported |
void |
subscribeInterest(GaugeID theGaugeID,
GaugeEventType gaugeEvent)
Subscribe interest of the gauge consumer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected RMIGaugeReportingBus gaugeBus
public java.lang.String gaugeConsumerUID
public java.lang.String gaugeConsumerHost
Constructor Detail |
public RMIGaugeConsumer()
Method Detail |
public void configureGauge(GaugeID theGaugeID, StringPairVector configParams)
theGaugeID
- The GaugeID of the gauge being configuredconfigParams
- The configuration parameterspublic void createGauge(GaugeID theGaugeID, StringPairVector setupParams)
theGaugeID
- The GaugeID of the gauge being createdsetupParams
- The setup parameterspublic void deleteGauge(GaugeID theGaugeID)
theGaugeID
- The GaugeID of the gauge being deletedpublic void addGauge(GaugeID theGaugeID, StringPairVector configParams)
public void addGauge(GaugeID theGaugeID)
public void subscribeInterest(GaugeID theGaugeID, GaugeEventType gaugeEvent)
theGaugeID
- The GaugeID of the gauge to be observedgaugeEvent
- The gauge events to be observedpublic void onReportValue(GaugeControl gauge, java.lang.String valueName, java.lang.String propertyName, java.lang.String value)
onReportValue
in interface GaugeConsumer
gauge
- The gauge reporting the valuevalueName
- The name of the valuepropertyName
- The property name of the valuevalue
- The content of the valuepublic void onReportMultipleValues(GaugeControl gauge, GaugeValueVector values)
onReportMultipleValues
in interface GaugeConsumer
gauge
- The gauge reporting the valuesvalues
- The valuespublic void onReportConfigured(GaugeControl gauge, StringPairVector configParams)
onReportConfigured
in interface GaugeConsumer
gauge
- The gauge reporting the eventconfigParams
- The configuration parameterspublic void onReportDeleted(GaugeControl gauge)
onReportDeleted
in interface GaugeConsumer
gauge
- The gauge reporting the eventpublic void onReportCreated(GaugeControl gauge)
onReportCreated
in interface GaugeConsumer
gauge
- The gauge reporting the eventpublic void onReportCreated(GaugeID theGaugeID)
theGaugeID
- The GaugeID of the gauge reporting the event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |