Package org.powertac.common.msg
Class TariffUpdate
- java.lang.Object
- 
- org.powertac.common.state.XStreamStateLoggable
- 
- org.powertac.common.TariffMessage
- 
- org.powertac.common.msg.TariffUpdate
 
 
 
- 
- All Implemented Interfaces:
- ValidatableMessage
 - Direct Known Subclasses:
- BalancingOrder,- ControlEvent,- TariffExpire,- TariffRevoke,- VariableRateUpdate
 
 public abstract class TariffUpdate extends TariffMessage Command object that represents a broker's request to update a tariff, either to change its expiration date or to revoke it.Note: Revoking a tariff causes all existing subscriptions to be switched either to the superseding tariff (if any) or to the default tariff. - Author:
- Carsten Block, John Collins
 
- 
- 
Field Summary- 
Fields inherited from class org.powertac.common.TariffMessagebroker, id
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedTariffUpdate()TariffUpdate(Broker broker, long tariffId)TariffUpdate(Broker broker, TariffSpecification tariff)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTariffId()- 
Methods inherited from class org.powertac.common.TariffMessagegetBroker, getId, isValid
 - 
Methods inherited from class org.powertac.common.state.XStreamStateLoggablereadResolve
 
- 
 
- 
- 
- 
Constructor Detail- 
TariffUpdatepublic TariffUpdate(Broker broker, TariffSpecification tariff) 
 - 
TariffUpdatepublic TariffUpdate(Broker broker, long tariffId) 
 - 
TariffUpdateprotected TariffUpdate() 
 
- 
 
-