Class PostTradeAllocationListenerFactoryTranslator
- java.lang.Object
-
- com.caplin.motif.fx.trading.allocation.PostTradeAllocationListenerFactoryTranslator
-
- All Implemented Interfaces:
TradeListenerFactory
public class PostTradeAllocationListenerFactoryTranslator extends Object implements TradeListenerFactory
-
-
Constructor Summary
Constructors Constructor Description PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory)
PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory, PostTradeAllocationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseableTradeListener
createTradeListener(com.caplin.trading.Trade trade, ScheduledExecutorService executorService)
String
toString()
-
-
-
Constructor Detail
-
PostTradeAllocationListenerFactoryTranslator
public PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory)
-
PostTradeAllocationListenerFactoryTranslator
public PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory, PostTradeAllocationFactory factory)
-
-
Method Detail
-
createTradeListener
public CloseableTradeListener createTradeListener(com.caplin.trading.Trade trade, ScheduledExecutorService executorService) throws com.caplin.trading.TradeException
- Specified by:
createTradeListener
in interfaceTradeListenerFactory
- Throws:
com.caplin.trading.TradeException
-
-