public interface MyAuctionReceiver extends OsidReceiver
The auction receiver is the consumer supplied interface for receiving notifications for an agent's participation in an auction.
Modifier and Type | Method and Description |
---|---|
void |
endAuction(Id auctionId)
The callback for notifications for an auction end.
|
void |
newBid(Id bidId)
The callback for notifications for new bids in an auction.
|
void |
outBid(Id bidId)
The callback for notifications for when this bidder has been outbid.
|
void |
requireBid(Id auctionId,
DateTime deadline)
The callback for notifications for when this bidder is required to
bid.
|
void |
startAuction(Id auctionId)
The callback for notifications for an auction start.
|
down, up
void startAuction(Id auctionId)
auctionId
- the Id
of the Auction
mandatory
- This method must be implemented. void newBid(Id bidId)
bidId
- the Id
of the new Bid
mandatory
- This method must be implemented. void outBid(Id bidId)
bidId
- the Id
of the new Bid
mandatory
- This method must be implemented. void requireBid(Id auctionId, DateTime deadline)
auctionId
- the Id
of the Auction
deadline
- the bidding deadlinemandatory
- This method must be implemented. void endAuction(Id auctionId)
auctionId
- the Id
of the Auction
mandatory
- This method must be implemented.