org.powertac.visualizer.services.handlers
Class GencoMessageHandler

java.lang.Object
  extended by org.powertac.visualizer.services.handlers.GencoMessageHandler
All Implemented Interfaces:
Initializable

@Service
public class GencoMessageHandler
extends Object
implements Initializable


Constructor Summary
GencoMessageHandler()
           
 
Method Summary
 Boolean getTournamentMode()
           
 void handleMessage(org.powertac.common.CashPosition position)
          Responsible for updating genco's cash balance.
 void handleMessage(org.powertac.common.MarketPosition position)
           
 void handleMessage(org.powertac.common.MarketTransaction transaction)
           
 void initialize()
           
 void setTournamentMode(Boolean tournamentMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GencoMessageHandler

public GencoMessageHandler()
Method Detail

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.