Package jadex.bdi.planlib.protocols
Class AuctionInfo
- java.lang.Object
-
- jadex.bdi.planlib.protocols.AuctionInfo
-
public class AuctionInfo extends java.lang.ObjectInformation about an auction.
-
-
Field Summary
Fields Modifier and Type Field Description protected longroundtimeoutThe auction round timeout.protected longstarttimeThe auction starttime.protected java.lang.ObjecttopicThe auction content.
-
Constructor Summary
Constructors Constructor Description AuctionInfo()Create a new auction info.AuctionInfo(long starttime, long roundtimeout, java.lang.Object topic)Create a new auction info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetRoundTimeout()Get the round timeout.longgetStarttime()Get the start time.java.lang.ObjectgetTopic()Get the auction topic.voidsetRoundTimeout(long roundtimeout)Set the round timeout.voidsetStarttime(long starttime)Set the start time.voidsetTopic(java.lang.Object topic)Set the auction topic.
-
-
-
Constructor Detail
-
AuctionInfo
public AuctionInfo()
Create a new auction info.
-
AuctionInfo
public AuctionInfo(long starttime, long roundtimeout, java.lang.Object topic)Create a new auction info.- Parameters:
starttime- The start time.roundtimeout- The timeout of a single auction round.topic- The auction topic.
-
-
Method Detail
-
getRoundTimeout
public long getRoundTimeout()
Get the round timeout.- Returns:
- The round timeout.
-
setRoundTimeout
public void setRoundTimeout(long roundtimeout)
Set the round timeout.- Parameters:
roundtimeout- The round timeout to set.
-
getStarttime
public long getStarttime()
Get the start time.- Returns:
- The start time.
-
setStarttime
public void setStarttime(long starttime)
Set the start time.- Parameters:
starttime- The starttime to set.
-
getTopic
public java.lang.Object getTopic()
Get the auction topic.- Returns:
- The topic.
-
setTopic
public void setTopic(java.lang.Object topic)
Set the auction topic.- Parameters:
topic- The topic to set.
-
-