edu.umich.eecs.tac.props
Class PublisherInfo

java.lang.Object
  extended by edu.umich.eecs.tac.props.AbstractTransportable
      extended by edu.umich.eecs.tac.props.PublisherInfo
All Implemented Interfaces:
java.io.Serializable, se.sics.isl.transport.Transportable

public class PublisherInfo
extends AbstractTransportable

This class contains the publisher information released to the advertisers at the beginning of the game.

Author:
Patrick Jordan
See Also:
Serialized Form

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

PublisherInfo

public PublisherInfo()
Method Detail

getSquashingParameter

public final double getSquashingParameter()
Returns the squashing parameter value used in the simulation.

Returns:
the squashing parameter value used in the simulation.

setSquashingParameter

public final void setSquashingParameter(double squashingParameter)
Sets the squashing parameter value used in the simulation.

Parameters:
squashingParameter - the squashing parameter value used in the simulation.

readWithLock

protected final void readWithLock(se.sics.isl.transport.TransportReader reader)
                           throws java.text.ParseException
Reads the squashing parameter value from the reader.

Specified by:
readWithLock in class AbstractTransportable
Parameters:
reader - the reader to read data from.
Throws:
java.text.ParseException - if an exception is thrown when reading the attribute

writeWithLock

protected final void writeWithLock(se.sics.isl.transport.TransportWriter writer)
Writes the squashing parameter value to the writer.

Specified by:
writeWithLock in class AbstractTransportable
Parameters:
writer - the writer to write data to.


Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.