Package com.caplin.motif
Class MotifTradingApplicationListener
- java.lang.Object
-
- com.caplin.motif.MotifTradingApplicationListener
-
- All Implemented Interfaces:
com.caplin.trading.TradingApplicationListener
public class MotifTradingApplicationListener extends Object implements com.caplin.trading.TradingApplicationListener
-
-
Constructor Summary
Constructors Constructor Description MotifTradingApplicationListener(MotifTradeChannelListener tradeChannelListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTradeChannelSessionListener(TradeChannelSessionListener listener)
void
blotterChannelClosed(com.caplin.trading.BlotterChannel blotterChannel)
void
blotterChannelCreated(com.caplin.trading.BlotterChannel blotterChannel)
void
channelClosed(com.caplin.trading.TradeChannel tradeChannel)
void
channelCreated(com.caplin.trading.TradeChannel tradeChannel)
void
peerDown(int peerId)
void
peerUp(int peerId)
void
registerTradeListenerFactory(String protocol, TradeListenerFactory listener)
void
registerUserSessionListener(UserSessionListener listener)
void
removeUserSessionListener(UserSessionListener listener)
-
-
-
Constructor Detail
-
MotifTradingApplicationListener
public MotifTradingApplicationListener(MotifTradeChannelListener tradeChannelListener)
-
-
Method Detail
-
channelCreated
public void channelCreated(com.caplin.trading.TradeChannel tradeChannel)
- Specified by:
channelCreated
in interfacecom.caplin.trading.TradingApplicationListener
-
channelClosed
public void channelClosed(com.caplin.trading.TradeChannel tradeChannel)
- Specified by:
channelClosed
in interfacecom.caplin.trading.TradingApplicationListener
-
addTradeChannelSessionListener
public void addTradeChannelSessionListener(TradeChannelSessionListener listener)
-
registerTradeListenerFactory
public void registerTradeListenerFactory(String protocol, TradeListenerFactory listener)
-
registerUserSessionListener
public void registerUserSessionListener(UserSessionListener listener)
-
removeUserSessionListener
public void removeUserSessionListener(UserSessionListener listener)
-
blotterChannelClosed
public void blotterChannelClosed(com.caplin.trading.BlotterChannel blotterChannel)
- Specified by:
blotterChannelClosed
in interfacecom.caplin.trading.TradingApplicationListener
-
blotterChannelCreated
public void blotterChannelCreated(com.caplin.trading.BlotterChannel blotterChannel)
- Specified by:
blotterChannelCreated
in interfacecom.caplin.trading.TradingApplicationListener
-
peerDown
public void peerDown(int peerId)
- Specified by:
peerDown
in interfacecom.caplin.trading.TradingApplicationListener
-
peerUp
public void peerUp(int peerId)
- Specified by:
peerUp
in interfacecom.caplin.trading.TradingApplicationListener
-
-