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
ConstructorDescriptionPostTradeAllocationListenerFactoryTranslator
(PostTradeAllocationListenerFactory tradeListenerFactory) PostTradeAllocationListenerFactoryTranslator
(PostTradeAllocationListenerFactory tradeListenerFactory, PostTradeAllocationFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreateTradeListener
(com.caplin.trading.Trade trade, ScheduledExecutorService executorService) toString()
-
Constructor Details
-
PostTradeAllocationListenerFactoryTranslator
public PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory) -
PostTradeAllocationListenerFactoryTranslator
public PostTradeAllocationListenerFactoryTranslator(PostTradeAllocationListenerFactory tradeListenerFactory, PostTradeAllocationFactory factory)
-
-
Method Details
-
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
-
toString
-