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 |
endAuctions(Id notificationId,
IdList auctionIds)
The callback for notifications for an auction end.
|
void |
newBids(Id notificationId,
IdList bidIds)
The callback for notifications for new bids in an auction.
|
void |
outBids(Id notificationId,
IdList bidIds)
The callback for notifications for when this bidder has been outbid.
|
void |
requireBid(Id notificationId,
Id auctionId,
DateTime deadline)
The callback for notifications for when this bidder is required to
bid.
|
void |
startAuctions(Id notificationId,
IdList auctionIds)
The callback for notifications for an auction start.
|
down, up
void startAuctions(Id notificationId, IdList auctionIds)
notificationId
- the notification Id
auctionIds
- the Id
of the Auctions
mandatory
- This method must be implemented. void newBids(Id notificationId, IdList bidIds)
notificationId
- the notification Id
bidIds
- the Id
of the new Bids
mandatory
- This method must be implemented. void outBids(Id notificationId, IdList bidIds)
notificationId
- the notification Id
bidIds
- the Id
of the new Bids
mandatory
- This method must be implemented. void requireBid(Id notificationId, Id auctionId, DateTime deadline)
notificationId
- the notification Id
auctionId
- the Id
of the Auction
deadline
- the bidding deadlinemandatory
- This method must be implemented.