|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectgridsim.auction.Message
gridsim.auction.MessageAsk
This class represents an ask sent by a seller to the auctioneer
AuctionTags| Field Summary |
| Fields inherited from class gridsim.auction.Message |
TO_ALL_BIDDERS |
| Constructor Summary | |
MessageAsk(int auctionID,
int protocol,
float price)
Constructor |
|
| Method Summary | |
double |
getPrice()
Returns the price of this ask |
boolean |
setPrice(double price)
Sets the price of this ask |
String |
toString()
Converts message to String |
| Methods inherited from class gridsim.auction.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 |
public MessageAsk(int auctionID,
int protocol,
float price)
auctionID - the auction to which this ask belongsprotocol - the auction protocol usedprice - the price of this ask| Method Detail |
public boolean setPrice(double price)
price - the price of the ask
public double getPrice()
public String toString()
toString in class Message
|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||