Class PostTradeAllocationListenerFactoryTranslator
- java.lang.Object
-
- com.caplin.motif.fx.trading.allocation.PostTradeAllocationListenerFactoryTranslator
-
- All Implemented Interfaces:
TradeListenerFactory
public class PostTradeAllocationListenerFactoryTranslator extends java.lang.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, java.util.concurrent.ScheduledExecutorService executorService)
java.lang.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, java.util.concurrent.ScheduledExecutorService executorService) throws com.caplin.trading.TradeException
- Specified by:
createTradeListener
in interfaceTradeListenerFactory
- Throws:
com.caplin.trading.TradeException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-