org.powertac.common.interfaces
Interface Auctioneer


public interface Auctioneer

Interface that defines the publicly accessible methods a Power TAC auctioneer has to implement.

Author:
Carsten Block, John Collins

Method Summary
 void clearMarket()
          Clears the market by matching all Orders that have arrived since the last market clearing.
 void processOrder(org.powertac.common.Order order)
          Processes an incoming order, typically by saving it on a list for the next market clearing.
 

Method Detail

processOrder

void processOrder(org.powertac.common.Order order)
Processes an incoming order, typically by saving it on a list for the next market clearing.


clearMarket

void clearMarket()
Clears the market by matching all Orders that have arrived since the last market clearing. Resulting transactions are created by calling addMarketTransaction() on the Accounting service. Orderbooks and ClearedTrade instances are also created and broadcast to brokers.



Copyright © 2011 Power TAC. All Rights Reserved.