org.powertac.common
Interface ValidatableMessage

All Known Implementing Classes:
BalancingControlEvent, BalancingOrder, ControlEvent, EconomicControlEvent, TariffExpire, TariffMessage, TariffRevoke, TariffSpecification, TariffStatus, TariffUpdate, VariableRateUpdate

public interface ValidatableMessage

Classes of this type may implement the isValid() method to perform a local validation of the contents of a message. Messages sent by brokers to the simulation server are expected to override this method to check local constraints on field values.

Author:
John Collins

Method Summary
 boolean isValid()
          Implementation should return true just in case the message is internally valid.
 

Method Detail

isValid

boolean isValid()
Implementation should return true just in case the message is internally valid.



Copyright © 2013. All Rights Reserved.