org.powertac.visualizer.services.handlers
Class WholesaleMessageHandler

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

@Service
public class WholesaleMessageHandler
extends Object
implements Initializable


Constructor Summary
WholesaleMessageHandler()
           
 
Method Summary
 void handleMessage(org.powertac.common.ClearedTrade ct)
           
 void handleMessage(org.powertac.common.MarketPosition marketPosition)
           
 void handleMessage(org.powertac.common.MarketTransaction msg)
          Handles message received when wholesale market transaction has been made.
 void handleMessage(org.powertac.common.Order order)
           
 void handleMessage(org.powertac.common.Orderbook orderbook)
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WholesaleMessageHandler

public WholesaleMessageHandler()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface Initializable

handleMessage

public void handleMessage(org.powertac.common.MarketTransaction msg)
Handles message received when wholesale market transaction has been made. Updates timeslot in marketTxs with received data, and adds received transaction to list of transactions.


handleMessage

public void handleMessage(org.powertac.common.MarketPosition marketPosition)

handleMessage

public void handleMessage(org.powertac.common.Order order)

handleMessage

public void handleMessage(org.powertac.common.Orderbook orderbook)

handleMessage

public void handleMessage(org.powertac.common.ClearedTrade ct)


Copyright © 2013 Power TAC. All Rights Reserved.