org.powertac.visualizer.services.handlers
Class GencoMessageHandler
java.lang.Object
org.powertac.visualizer.services.handlers.GencoMessageHandler
- All Implemented Interfaces:
- Initializable
@Service
public class GencoMessageHandler
- extends Object
- implements Initializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GencoMessageHandler
public GencoMessageHandler()
initialize
public void initialize()
- Specified by:
initialize in interface Initializable
handleMessage
public void handleMessage(org.powertac.common.CashPosition position)
- Responsible for updating genco's cash balance. This is the only method
that will create genco if it can't be found.
- Parameters:
position -
handleMessage
public void handleMessage(org.powertac.common.MarketTransaction transaction)
handleMessage
public void handleMessage(org.powertac.common.MarketPosition position)
getTournamentMode
public Boolean getTournamentMode()
setTournamentMode
public void setTournamentMode(Boolean tournamentMode)
Copyright © 2012 Power TAC. All Rights Reserved.