Package org.powertac.common
Class TariffMessage
java.lang.Object
org.powertac.common.state.XStreamStateLoggable
org.powertac.common.TariffMessage
- All Implemented Interfaces:
ValidatableMessage
- Direct Known Subclasses:
TariffSpecification,TariffStatus,TariffUpdate
public abstract class TariffMessage extends XStreamStateLoggable implements ValidatableMessage
Supertype of all tariff-related messages that can be processed by
a TariffMessageProcessor.
- Author:
- John Collins
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedTariffMessage()TariffMessage(Broker broker) -
Method Summary
-
Field Details
-
Constructor Details
-
TariffMessage
-
TariffMessage
protected TariffMessage()
-
-
Method Details
-
getId
public long getId() -
getBroker
-
isValid
public boolean isValid()Description copied from interface:ValidatableMessageImplementation should return true just in case the message is internally valid.- Specified by:
isValidin interfaceValidatableMessage
-