edu.cmu.cs.able.gauges.RMI
Class RMIBWGauge

java.lang.Object
  |
  +--edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGauge
        |
        +--edu.cmu.cs.able.gauges.RMI.RMIBWGauge
All Implemented Interfaces:
GaugeControl, java.io.Serializable

public class RMIBWGauge
extends RMIGauge

See Also:
Serialized Form

Fields inherited from class edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGauge
configParams, creatorID, gaugeBus, gaugeID, gaugeType, setupParams
 
Constructor Summary
RMIBWGauge(GaugeID gaugeID, java.lang.String creatorID, StringPairVector setupParams)
          Creates new RMIBWGauge
 
Method Summary
static void main(java.lang.String[] args)
          A command-line interface to start the gauge.
 void reportNewValue()
          Reports a new value.
 
Methods inherited from class edu.cmu.cs.able.gaugeInfrastructure.RMI.RMIGauge
configure, delete, getConfigParams, getConfigParamsSize, getGaugeID, init, queryAllValues, queryState, queryValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIBWGauge

public RMIBWGauge(GaugeID gaugeID,
                  java.lang.String creatorID,
                  StringPairVector setupParams)
Creates new RMIBWGauge
Parameters:
gaugeID - The ID of the gauge to create.
creatorID - The ID of the gauge manager that is creating the gauge.
setupParams - The value of the setup params.
Method Detail

reportNewValue

public void reportNewValue()
Description copied from class: RMIGauge
Reports a new value. This should be overridden by extenders of this gauge.
Overrides:
reportNewValue in class RMIGauge

main

public static void main(java.lang.String[] args)
A command-line interface to start the gauge.
Parameters:
args - -gt gauge type
-gn gauge name
-mt model type
-mn model name
[-setup name=value]
[-mappings name=property]
-creator creator ID