net.commerce.zocalo.ajax.dispatch
Class TradeEventDispatcher

java.lang.Object
  extended by net.commerce.zocalo.ajax.dispatch.Dispatcher
      extended by net.commerce.zocalo.ajax.dispatch.TradeEventDispatcher

public class TradeEventDispatcher
extends Dispatcher

marshalls events that represent trades that have taken place. They will be used to update the historical section of the stripchart.


Field Summary
static java.lang.String TRADE_EVENT_TOPIC_SUFFIX
           
 
Constructor Summary
TradeEventDispatcher(org.mortbay.cometd.AbstractBayeux bayeux, TimingUpdater timingUpdater)
           
 
Method Summary
 void publish(PriceAction action)
           
 
Methods inherited from class net.commerce.zocalo.ajax.dispatch.Dispatcher
buildChannelName, getClient, publishEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRADE_EVENT_TOPIC_SUFFIX

public static final java.lang.String TRADE_EVENT_TOPIC_SUFFIX
See Also:
Constant Field Values
Constructor Detail

TradeEventDispatcher

public TradeEventDispatcher(org.mortbay.cometd.AbstractBayeux bayeux,
                            TimingUpdater timingUpdater)
Method Detail

publish

public void publish(PriceAction action)