|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectMessage
MessageAsk
public class MessageAsk
This class represents an ask sent by a seller to the auctioneer
AuctionTags| Field Summary |
|---|
| Fields inherited from class 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 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 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||