net.sourceforge.jasa.market.rules
Class AlwaysAcceptPolicy

java.lang.Object
  extended by net.sourceforge.jasa.market.rules.OrderAcceptancePolicy
      extended by net.sourceforge.jasa.market.rules.AlwaysAcceptPolicy
All Implemented Interfaces:
MarketEventListener

public class AlwaysAcceptPolicy
extends OrderAcceptancePolicy

the losest accepting policy under which all shouts are allowed.

 

Field Summary
 
Fields inherited from class net.sourceforge.jasa.market.rules.OrderAcceptancePolicy
auctioneer, P_DEF_BASE
 
Constructor Summary
AlwaysAcceptPolicy()
           
 
Method Summary
 void check(Order shout)
          accepts all shouts.
 
Methods inherited from class net.sourceforge.jasa.market.rules.OrderAcceptancePolicy
eventOccurred, getAuctioneer, initialise, reset, setAuctioneer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlwaysAcceptPolicy

public AlwaysAcceptPolicy()
Method Detail

check

public void check(Order shout)
           throws IllegalOrderException
accepts all shouts.

Specified by:
check in class OrderAcceptancePolicy
Throws:
IllegalOrderException