|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Classes implementing this interface can serve the role of auctioneer in a round-robin auction.
| Method Summary | |
java.util.Iterator |
askIterator()
|
java.util.Iterator |
bidIterator()
|
void |
clear()
Perform the clearing operation for the auction; match buyers with sellers and inform the auction of any deals. |
void |
endOfAuctionProcessing()
|
void |
endOfDayProcessing()
|
void |
endOfRoundProcessing()
|
Auction |
getAuction()
Find out which auction we are the auctioneer for. |
void |
newShout(Shout shout)
Code for handling a new shout in the auction. |
void |
printState()
Log the current state of the auction. |
void |
removeShout(Shout shout)
Handle a request to retract a shout. |
void |
setAuction(Auction auction)
Specify which auction we are the auctioneer for. |
boolean |
shoutsVisible()
Return true if the shouts of others are visible. |
| Methods inherited from interface uk.ac.liv.auction.core.QuoteProvider |
getQuote |
| Method Detail |
public void clear()
public void newShout(Shout shout)
throws IllegalShoutException
shout - The new shout to be processed
IllegalShoutException - Thrown if the shout is invalid in some way.public void removeShout(Shout shout)
public void printState()
public void setAuction(Auction auction)
public Auction getAuction()
public java.util.Iterator askIterator()
public java.util.Iterator bidIterator()
public boolean shoutsVisible()
public void endOfRoundProcessing()
public void endOfAuctionProcessing()
public void endOfDayProcessing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||