net.commerce.zocalo.ajax.events
Class PriceChange

java.lang.Object
  extended by org.apache.log4j.spi.LoggingEvent
      extended by net.commerce.zocalo.ajax.events.Action
          extended by net.commerce.zocalo.ajax.events.PriceChange
All Implemented Interfaces:
java.io.Serializable

public class PriceChange
extends Action

Event used to notify web pages of new prices in a market.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.log4j.spi.LoggingEvent
categoryName, fqnOfCategoryClass, level, timeStamp
 
Constructor Summary
PriceChange(java.lang.String marketName, java.util.Dictionary<Position,Probability> probabilities)
           
 
Method Summary
static org.apache.log4j.Logger getPriceChangeLogger()
           
 void publishTo(PriceChangeDispatcher dispatcher)
           
 java.lang.String toLogString()
           
 
Methods inherited from class net.commerce.zocalo.ajax.events.Action
callBackPublish, getRenderedMessage, toString
 
Methods inherited from class org.apache.log4j.spi.LoggingEvent
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getStartTime, getThreadName, getThrowableInformation, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PriceChange

public PriceChange(java.lang.String marketName,
                   java.util.Dictionary<Position,Probability> probabilities)
Method Detail

getPriceChangeLogger

public static org.apache.log4j.Logger getPriceChangeLogger()

toLogString

public java.lang.String toLogString()
Specified by:
toLogString in class Action

publishTo

public void publishTo(PriceChangeDispatcher dispatcher)