net.commerce.zocalo.ajax.events
Class BestAsk

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.PriceAction
              extended by net.commerce.zocalo.ajax.events.BestAsk
All Implemented Interfaces:
java.io.Serializable

public class BestAsk
extends PriceAction

An Action representing the fact that there's a new best offer to sell.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.commerce.zocalo.ajax.events.PriceAction
PriceAction.TimeComparator
 
Field Summary
 
Fields inherited from class org.apache.log4j.spi.LoggingEvent
categoryName, fqnOfCategoryClass, level, timeStamp
 
Constructor Summary
BestAsk()
          Deprecated.  
BestAsk(java.lang.String owner, Price price, Quantity quantity, Position pos, org.apache.log4j.Logger logger)
           
 
Method Summary
protected  java.lang.String actionString()
           
static BestAsk newBest(java.lang.String owner, Price price, Quantity quantity, Position pos)
           
 
Methods inherited from class net.commerce.zocalo.ajax.events.PriceAction
getActionLogger, getGID, getNaturalPrice, getOwner, getPos, getPosition, getPrice, getQuantity, getTime, setPos, setTime, timeAndPrice, timeAndPriceInverted, timeAndVolume, 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

BestAsk

public BestAsk(java.lang.String owner,
               Price price,
               Quantity quantity,
               Position pos,
               org.apache.log4j.Logger logger)

BestAsk

public BestAsk()
Deprecated. 

Method Detail

newBest

public static BestAsk newBest(java.lang.String owner,
                              Price price,
                              Quantity quantity,
                              Position pos)

actionString

protected java.lang.String actionString()
Specified by:
actionString in class PriceAction