Class OrderSubmissionTradeListenerAdapter
java.lang.Object
com.caplin.generated.motif.fx.orders.ordersubmission.OrderSubmissionTradeListenerAdapter
- All Implemented Interfaces:
CloseableTradeListener
,com.caplin.trading.TradeListener
Internal generated class.
-
Constructor Summary
ConstructorsConstructorDescriptionOrderSubmissionTradeListenerAdapter
(OrderSubmissionTradeListener listener, OrderSubmissionTrade trade) -
Method Summary
Modifier and TypeMethodDescriptionvoid
receiveEvent
(com.caplin.trading.TradeEvent ev) void
receiveInvalidFieldsEvent
(com.caplin.trading.InvalidFieldsEvent event) void
receiveInvalidTransitionEvent
(com.caplin.trading.InvalidTransitionEvent event) void
tradeClosed
(com.caplin.trading.Trade trade)
-
Constructor Details
-
OrderSubmissionTradeListenerAdapter
public OrderSubmissionTradeListenerAdapter(OrderSubmissionTradeListener listener, OrderSubmissionTrade trade)
-
-
Method Details
-
receiveEvent
public void receiveEvent(com.caplin.trading.TradeEvent ev) throws com.caplin.trading.TradeException - Specified by:
receiveEvent
in interfacecom.caplin.trading.TradeListener
- Throws:
com.caplin.trading.TradeException
-
receiveInvalidTransitionEvent
public void receiveInvalidTransitionEvent(com.caplin.trading.InvalidTransitionEvent event) - Specified by:
receiveInvalidTransitionEvent
in interfacecom.caplin.trading.TradeListener
-
receiveInvalidFieldsEvent
public void receiveInvalidFieldsEvent(com.caplin.trading.InvalidFieldsEvent event) - Specified by:
receiveInvalidFieldsEvent
in interfacecom.caplin.trading.TradeListener
-
tradeClosed
public void tradeClosed(com.caplin.trading.Trade trade) - Specified by:
tradeClosed
in interfaceCloseableTradeListener
-