Package com.caplin.motif
Class MotifTradeChannelListener
- java.lang.Object
-
- com.caplin.motif.MotifTradeChannelListener
-
- All Implemented Interfaces:
com.caplin.trading.TradeChannelListener
public class MotifTradeChannelListener extends Object implements com.caplin.trading.TradeChannelListener
-
-
Constructor Summary
Constructors Constructor Description MotifTradeChannelListener(ThreadMode threadMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerTradeListenerFactory(String protocol, TradeListenerFactory listener)
void
tradeChannelClosed(com.caplin.trading.TradeChannel tradeChannel)
void
tradeChannelCreated(com.caplin.trading.TradeChannel tradeChannel)
void
tradeClosed(com.caplin.trading.Trade trade)
void
tradeCreated(com.caplin.trading.Trade trade)
-
-
-
Constructor Detail
-
MotifTradeChannelListener
public MotifTradeChannelListener(ThreadMode threadMode)
-
-
Method Detail
-
registerTradeListenerFactory
public void registerTradeListenerFactory(String protocol, TradeListenerFactory listener)
-
tradeClosed
public void tradeClosed(com.caplin.trading.Trade trade)
- Specified by:
tradeClosed
in interfacecom.caplin.trading.TradeChannelListener
-
tradeCreated
public void tradeCreated(com.caplin.trading.Trade trade)
- Specified by:
tradeCreated
in interfacecom.caplin.trading.TradeChannelListener
-
tradeChannelClosed
public void tradeChannelClosed(com.caplin.trading.TradeChannel tradeChannel)
-
tradeChannelCreated
public void tradeChannelCreated(com.caplin.trading.TradeChannel tradeChannel)
-
-