org.powertac.common.msg
Class VariableRateUpdate

java.lang.Object
  extended by org.powertac.common.TariffMessage
      extended by org.powertac.common.msg.TariffUpdate
          extended by org.powertac.common.msg.VariableRateUpdate

public class VariableRateUpdate
extends TariffUpdate

Conveys an HourlyCharge instance, labeled by its Tariff and Rate. When received by the server, the HourlyCharge simply needs to be added to its Rate.

Author:
jcollins

Field Summary
 
Fields inherited from class org.powertac.common.TariffMessage
broker, id
 
Constructor Summary
VariableRateUpdate(Broker broker, Rate rate, HourlyCharge hourlyCharge)
           
 
Method Summary
 HourlyCharge getHourlyCharge()
           
 long getRateId()
           
 
Methods inherited from class org.powertac.common.msg.TariffUpdate
getTariffId
 
Methods inherited from class org.powertac.common.TariffMessage
getBroker, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableRateUpdate

public VariableRateUpdate(Broker broker,
                          Rate rate,
                          HourlyCharge hourlyCharge)
Method Detail

getHourlyCharge

public HourlyCharge getHourlyCharge()

getRateId

public long getRateId()


Copyright © 2011. All Rights Reserved.