|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umich.eecs.tac.props.AbstractTransportable edu.umich.eecs.tac.props.Auction
public class Auction
Auction contains a Ranking
and a Pricing
for a Query
.
Constructor Summary | |
---|---|
Auction()
|
Method Summary | |
---|---|
Pricing |
getPricing()
Returns the pricing. |
Query |
getQuery()
Returns the query. |
Ranking |
getRanking()
Return the ranking. |
protected void |
readWithLock(se.sics.isl.transport.TransportReader reader)
Reads the ranking and pricing from the reader. |
void |
setPricing(Pricing pricing)
Sets the pricing. |
void |
setQuery(Query query)
Sets the query. |
void |
setRanking(Ranking ranking)
Sets the ranking. |
protected void |
writeWithLock(se.sics.isl.transport.TransportWriter writer)
Writes the ranking and pricing 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Auction()
Method Detail |
---|
public final Ranking getRanking()
public final void setRanking(Ranking ranking)
ranking
- the ranking.public final Pricing getPricing()
public final void setPricing(Pricing pricing)
pricing
- the pricing.public final Query getQuery()
public final void setQuery(Query query)
query
- the query.protected final void readWithLock(se.sics.isl.transport.TransportReader reader) throws java.text.ParseException
readWithLock
in class AbstractTransportable
reader
- the reader to read data from.
java.text.ParseException
- if an exception occurs reading the ranking and pricing.protected final void writeWithLock(se.sics.isl.transport.TransportWriter writer)
writeWithLock
in class AbstractTransportable
writer
- the writer to write data to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |