org.powertac.common.msg
Class TariffUpdate
java.lang.Object
org.powertac.common.TariffMessage
org.powertac.common.msg.TariffUpdate
- Direct Known Subclasses:
- 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TariffUpdate
public TariffUpdate(Broker broker,
TariffSpecification tariff)
TariffUpdate
public TariffUpdate(Broker broker,
long tariffId)
getTariffId
public long getTariffId()
Copyright © 2011. All Rights Reserved.