GridSim 5.0 beta

gridsim.auction
Class MessageRejectBid

Object
  extended by Message
      extended by MessageRejectBid

public class MessageRejectBid
extends Message

This class represents a reject of a bid sent by the auctioneer to a bidder

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

Field Summary
 
Fields inherited from class Message
TO_ALL_BIDDERS
 
Constructor Summary
MessageRejectBid(int cfpID, int bidID, int auctionID, int protocol, int round)
          Constructor
 
Method Summary
 int getBidID()
          Returns the bid's ID
 int getCfpID()
          Returns the CFP's ID
 int getRound()
          Returns the round
 String toString()
          Converts message to String
 
Methods inherited from class Message
getAttribute, getAttributes, getAuctionID, getDestinationID, getMessageID, getProtocol, getScheduleTime, getSourceID, scheduleToBeSent, setAttribute, setAttributes, setAuctionID, setDestinationID, setMessageID, setProtocol, setSourceID
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageRejectBid

public MessageRejectBid(int cfpID,
                        int bidID,
                        int auctionID,
                        int protocol,
                        int round)
Constructor

Parameters:
cfpID - the call for proposal to which the bid refers
bidID - the bid ID
auctionID - the auction this message belongs to
protocol - the auction protocol in use
round - the round this message refers to
Method Detail

getBidID

public int getBidID()
Returns the bid's ID

Returns:
the bids ID

getCfpID

public int getCfpID()
Returns the CFP's ID

Returns:
the CFP's ID

getRound

public int getRound()
Returns the round

Returns:
the round

toString

public String toString()
Converts message to String

Overrides:
toString in class Message
Returns:
the string representation of the message

GridSim 5.0 beta

The University of Melbourne, Australia, 2009