|
||||||||||
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.PublisherInfo
public class PublisherInfo
This class contains the publisher information released to the advertisers at the beginning of the game.
Constructor Summary | |
---|---|
PublisherInfo()
|
Method Summary | |
---|---|
double |
getSquashingParameter()
Returns the squashing parameter value used in the simulation. |
protected void |
readWithLock(se.sics.isl.transport.TransportReader reader)
Reads the squashing parameter value from the reader. |
void |
setSquashingParameter(double squashingParameter)
Sets the squashing parameter value used in the simulation. |
protected void |
writeWithLock(se.sics.isl.transport.TransportWriter writer)
Writes the squashing parameter value 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 PublisherInfo()
Method Detail |
---|
public final double getSquashingParameter()
public final void setSquashingParameter(double squashingParameter)
squashingParameter
- the squashing parameter value used in the simulation.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 is thrown when reading the attributeprotected 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 |