edu.cmu.cs.able.examples.RMI
Class RMIAcmeGaugeConsumer
java.lang.Object
|
+--edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
|
+--edu.cmu.cs.able.examples.RMI.RMIAcmeGaugeConsumer
- All Implemented Interfaces:
- GaugeConsumer, java.io.Serializable
- public class RMIAcmeGaugeConsumer
- extends RMIGaugeConsumer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIAcmeGaugeConsumer
public RMIAcmeGaugeConsumer()
main
public static void main(java.lang.String[] args)
addGauge
public void addGauge(GaugeID theGaugeID,
StringPairVector configParams)
- Overrides:
addGauge
in class RMIGaugeConsumer
addGauge
public void addGauge(GaugeID theGaugeID)
- Overrides:
addGauge
in class RMIGaugeConsumer
onReportValue
public void onReportValue(GaugeControl gauge,
java.lang.String valueName,
java.lang.String propertyName,
java.lang.String value)
- Description copied from class:
RMIGaugeConsumer
- Called when a value is reported
- Overrides:
onReportValue
in class RMIGaugeConsumer
- Following copied from class:
edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
- Parameters:
gauge
- The gauge reporting the valuevalueName
- The name of the valuepropertyName
- The property name of the valuevalue
- The content of the value
onReportConfigured
public void onReportConfigured(GaugeControl gauge,
StringPairVector configParams)
- Description copied from class:
RMIGaugeConsumer
- Called when a configured event is reported
- Overrides:
onReportConfigured
in class RMIGaugeConsumer
- Following copied from class:
edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
- Parameters:
gauge
- The gauge reporting the eventconfigParams
- The configuration parameters
onReportDeleted
public void onReportDeleted(GaugeControl gauge)
- Description copied from class:
RMIGaugeConsumer
- Called when a deleted event is reported
- Overrides:
onReportDeleted
in class RMIGaugeConsumer
- Following copied from class:
edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
- Parameters:
gauge
- The gauge reporting the event