GridSim 5.0 beta

gridsim.auction
Interface Responder


public interface Responder

This interface must be implemented by the class responsible for defining the other side of an auction (ie. not the auctioneer's side)

Since:
GridSim Toolkit 4.0
Author:
Marcos Dias de Assuncao
See Also:
AuctionTags, Message

Method Summary
 Message onReceiveCfb(MessageCallForBids msg)
          This method is invoked by the observer when a Call for Bids is received
 Message onReceiveInformOutcome(MessageInformOutcome msg)
          This method is invoked by the observer when a message informing the outcome is received
 Message onReceiveRejectProposal(MessageRejectBid msg)
          This message is invoked when the observer receives a message rejecting a proposal previously sent
 Message onReceiveStartAuction(MessageInformStart inform)
          This message is invoked when the observer receives a message informing about the start of an auction
 

Method Detail

onReceiveCfb

Message onReceiveCfb(MessageCallForBids msg)
This method is invoked by the observer when a Call for Bids is received

Parameters:
msg - the Call for Bids
Returns:
the message to be sent back to the auctioneer by the observer

onReceiveInformOutcome

Message onReceiveInformOutcome(MessageInformOutcome msg)
This method is invoked by the observer when a message informing the outcome is received

Parameters:
msg - the message informing the outcome
Returns:
the message to be sent back to the auctioneer by the observer

onReceiveRejectProposal

Message onReceiveRejectProposal(MessageRejectBid msg)
This message is invoked when the observer receives a message rejecting a proposal previously sent

Parameters:
msg - the reject message
Returns:
the message to be sent back to the auctioneer by the observer

onReceiveStartAuction

Message onReceiveStartAuction(MessageInformStart inform)
This message is invoked when the observer receives a message informing about the start of an auction

Parameters:
inform - the message informing the start of the auction
Returns:
the message to be sent back to the auctioneer by the observer

GridSim 5.0 beta

The University of Melbourne, Australia, 2009