|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umich.eecs.tac.props.AbstractTransportable
edu.umich.eecs.tac.props.ReserveInfo
public class ReserveInfo
This class contains the auction reserve information released to the user and publisher agents at the begining of the game.
| Constructor Summary | |
|---|---|
ReserveInfo()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks to see if the parameter configuration is the same. |
double |
getPromotedReserve()
Returns the promoted reserve score. |
double |
getRegularReserve()
Returns the regular reserve score. |
int |
hashCode()
Returns the hash code from the reserve parameters. |
protected void |
readWithLock(se.sics.isl.transport.TransportReader reader)
Reads the reserve parameter information from the reader. |
void |
setPromotedReserve(double promotedReserve)
Sets the promoted reserve score. |
void |
setRegularReserve(double regularReserve)
Returns the regular reserve score. |
protected void |
writeWithLock(se.sics.isl.transport.TransportWriter writer)
Writes the reserve parameter information to the writer. |
| Methods inherited from class edu.umich.eecs.tac.props.AbstractTransportable |
|---|
getTransportName, isLocked, lock, lockCheck, read, write |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReserveInfo()
| Method Detail |
|---|
public final double getPromotedReserve()
public final void setPromotedReserve(double promotedReserve)
promotedReserve - the promoted reserve score.public final double getRegularReserve()
public final void setRegularReserve(double regularReserve)
regularReserve - the regular reserve score.
protected final void readWithLock(se.sics.isl.transport.TransportReader reader)
throws java.text.ParseException
readWithLock in class AbstractTransportablereader - the reader to read data from.
java.text.ParseException - if exception occured while reading parameters.protected final void writeWithLock(se.sics.isl.transport.TransportWriter writer)
writeWithLock in class AbstractTransportablewriter - the writer to write data to.public final boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check equality
public final int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||