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
-
Constructor Summary
Constructors Modifier Constructor Description protectedTariffUpdate()TariffUpdate(Broker broker, long tariffId)TariffUpdate(Broker broker, TariffSpecification tariff) -
Method Summary
Modifier and Type Method Description longgetTariffId()
-
Constructor Details
-
TariffUpdate
-
TariffUpdate
-
TariffUpdate
protected TariffUpdate()
-
-
Method Details
-
getTariffId
public long getTariffId()
-