org.powertac.factoredcustomer
Class FactoredCustomerService
java.lang.Object
org.powertac.common.interfaces.TimeslotPhaseProcessor
org.powertac.factoredcustomer.FactoredCustomerService
- All Implemented Interfaces:
- org.powertac.common.interfaces.BrokerMessageListener, org.powertac.common.interfaces.NewTariffListener
@Service
public class FactoredCustomerService
- extends org.powertac.common.interfaces.TimeslotPhaseProcessor
- implements org.powertac.common.interfaces.BrokerMessageListener, org.powertac.common.interfaces.NewTariffListener
- Author:
- Prashant Reddy
|
Field Summary |
protected org.powertac.common.repo.RandomSeedRepo |
randomSeedRepo
|
| Methods inherited from class org.powertac.common.interfaces.TimeslotPhaseProcessor |
init, setTimeslotPhase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
randomSeedRepo
protected org.powertac.common.repo.RandomSeedRepo randomSeedRepo
FactoredCustomerService
public FactoredCustomerService()
loadCustomerProfiles
protected void loadCustomerProfiles(String configResource)
publishNewTariffs
public void publishNewTariffs(List<org.powertac.common.Tariff> tariffs)
- Specified by:
publishNewTariffs in interface org.powertac.common.interfaces.NewTariffListener
activate
public void activate(org.joda.time.Instant now,
int phase)
- Specified by:
activate in class org.powertac.common.interfaces.TimeslotPhaseProcessor
receiveMessage
public void receiveMessage(Object msg)
- Specified by:
receiveMessage in interface org.powertac.common.interfaces.BrokerMessageListener
getConfigResource
public String getConfigResource()
setConfigResource
public void setConfigResource(String resource)
getCustomers
public List<org.powertac.factoredcustomer.FactoredCustomer> getCustomers()
Copyright © 2011 Power TAC. All Rights Reserved.