public class MotifTradeChannelListener extends Object implements com.caplin.trading.TradeChannelListener
Constructor and Description |
---|
MotifTradeChannelListener(ThreadMode threadMode) |
Modifier and Type | Method and 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) |
public MotifTradeChannelListener(ThreadMode threadMode)
public void registerTradeListenerFactory(String protocol, TradeListenerFactory listener)
public void tradeClosed(com.caplin.trading.Trade trade)
tradeClosed
in interface com.caplin.trading.TradeChannelListener
public void tradeCreated(com.caplin.trading.Trade trade)
tradeCreated
in interface com.caplin.trading.TradeChannelListener
public void tradeChannelClosed(com.caplin.trading.TradeChannel tradeChannel)
public void tradeChannelCreated(com.caplin.trading.TradeChannel tradeChannel)
Copyright © 2020 Caplin Systems.