|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Classes implementing this interface can trade in round-robin auctions, as implemented by the RoundRobinAuction class.
| Method Summary | |
void |
informOfBuyer(Auction auction,
TradingAgent buyer,
double price,
int quantity)
This method is used by a buyer to notify a seller that one of its bids has been successful. |
void |
informOfSeller(Auction auction,
Shout winningShout,
TradingAgent seller,
double price,
int quantity)
This method is used by an auction to notify a buyer that one of its bids has been successful. |
boolean |
isBuyer()
|
boolean |
isSeller()
|
void |
requestShout(Auction auction)
Request a shout from this trader. |
| Methods inherited from interface uk.ac.liv.util.Resetable |
reset |
| Methods inherited from interface uk.ac.liv.auction.core.AuctionEventListener |
eventOccurred |
| Method Detail |
public void requestShout(Auction auction)
auction - The auction in which to tradepublic boolean isBuyer()
public boolean isSeller()
public void informOfSeller(Auction auction,
Shout winningShout,
TradingAgent seller,
double price,
int quantity)
seller - The seller whose ask has been matchedprice - The price of the goods as determined by the auction
public void informOfBuyer(Auction auction,
TradingAgent buyer,
double price,
int quantity)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||