Interface MyAuctionReceiver

All Superinterfaces:
OsidReceiver

public interface MyAuctionReceiver extends OsidReceiver

The auction receiver is the consumer supplied interface for receiving notifications for an agent's participation in an auction.

  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • startAuctions

      void startAuctions(Id notificationId, IdList auctionIds)
      The callback for notifications for an auction start.
      Parameters:
      notificationId - the notification Id
      auctionIds - the Id of the Auctions
      Compliance:
      mandatory - This method must be implemented.
    • newBids

      void newBids(Id notificationId, IdList bidIds)
      The callback for notifications for new bids in an auction.
      Parameters:
      notificationId - the notification Id
      bidIds - the Id of the new Bids
      Compliance:
      mandatory - This method must be implemented.
    • outBids

      void outBids(Id notificationId, IdList bidIds)
      The callback for notifications for when this bidder has been outbid.
      Parameters:
      notificationId - the notification Id
      bidIds - the Id of the new Bids
      Compliance:
      mandatory - This method must be implemented.
    • requireBid

      void requireBid(Id notificationId, Id auctionId, DateTime deadline)
      The callback for notifications for when this bidder is required to bid.
      Parameters:
      notificationId - the notification Id
      auctionId - the Id of the Auction
      deadline - the bidding deadline
      Compliance:
      mandatory - This method must be implemented.
    • endAuctions

      void endAuctions(Id notificationId, IdList auctionIds)
      The callback for notifications for an auction end.
      Parameters:
      notificationId - the notification Id
      auctionIds - the Id of the Auctions
      Compliance:
      mandatory - This method must be implemented.