edu.cmu.cs.able.gaugeInfrastructure.RMI
Class RMIGaugeConsumer
java.lang.Object
|
+--edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGaugeConsumer
- All Implemented Interfaces:
- GaugeConsumer, java.io.Serializable
- public class RMIGaugeConsumer
- extends java.lang.Object
- implements GaugeConsumer, java.io.Serializable
A stub implementation of the a gauge consumer that listens to
rmi gauges.
- Since:
- JDK1.3.1
- See Also:
- Serialized Form
Constructor Summary |
RMIGaugeConsumer(java.lang.String host)
Constructor of RMIGaugeConsumer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gaugeBus
protected RMIGaugeReportingBus gaugeBus
- The reporting bus that gauges report through.
gaugeMgr
protected RMIGaugeManagerHandle gaugeMgr
gaugeConsumerUID
public java.lang.String gaugeConsumerUID
gaugeConsumerHost
public java.lang.String gaugeConsumerHost
busHost
public java.lang.String busHost
RMIGaugeConsumer
public RMIGaugeConsumer(java.lang.String host)
- Constructor of RMIGaugeConsumer
onReportValue
public void onReportValue(GaugeControl gauge,
java.lang.String valueName,
java.lang.String propertyName,
java.lang.String value)
- Called when a value is reported
- Specified by:
onReportValue
in interface GaugeConsumer
- Parameters:
gauge
- The gauge reporting the valuevalueName
- The name of the valuepropertyName
- The property name of the valuevalue
- The content of the value
onReportMultipleValues
public void onReportMultipleValues(GaugeControl gauge,
GaugeValueVector values)
- Called when multiple values are reported
- Specified by:
onReportMultipleValues
in interface GaugeConsumer
- Parameters:
gauge
- The gauge reporting the valuesvalues
- The values
onReportConfigured
public void onReportConfigured(GaugeControl gauge,
StringPairVector configParams)
- Called when a configured event is reported
- Specified by:
onReportConfigured
in interface GaugeConsumer
- Parameters:
gauge
- The gauge reporting the eventconfigParams
- The configuration parameters
onReportDeleted
public void onReportDeleted(GaugeControl gauge)
- Called when a deleted event is reported
- Specified by:
onReportDeleted
in interface GaugeConsumer
- Parameters:
gauge
- The gauge reporting the event
onReportCreated
public void onReportCreated(GaugeControl gauge)
- Called when a created event is reported
- Specified by:
onReportCreated
in interface GaugeConsumer
- Parameters:
gauge
- The gauge reporting the event