Class ValidateTradeListenerFactoryWrapper
- java.lang.Object
-
- com.caplin.generated.motif.fx.trading.validate.ValidateTradeListenerFactoryWrapper
-
- All Implemented Interfaces:
TradeListenerFactory
public class ValidateTradeListenerFactoryWrapper extends java.lang.Object implements TradeListenerFactory
Wrapper utility class for the Validate model.
-
-
Field Summary
Fields Modifier and Type Field Description ValidateTradeListenerFactory
factory
-
Constructor Summary
Constructors Constructor Description ValidateTradeListenerFactoryWrapper(ValidateTradeListenerFactory 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)
-
-
-
Field Detail
-
factory
public final ValidateTradeListenerFactory factory
-
-
Constructor Detail
-
ValidateTradeListenerFactoryWrapper
public ValidateTradeListenerFactoryWrapper(ValidateTradeListenerFactory 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
-
-