Class OrderSubmittedResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<UserTrade>
com.caplin.motif.fx.trading.orders.submission.responder.OrderSubmittedResponder
Deprecated.
Responder that can respond from the Submitted state.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOrderSubmittedResponder
(UserTrade trade) Deprecated.Constructs a Responder that can respond from the Submitted state for the Order Submission trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendSubmitAck
(OrderSubmitAckEvent event) Deprecated.Sends an event to notify the frontend that Submit message has been acknowledged.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
OrderSubmittedResponder
Deprecated.Constructs a Responder that can respond from the Submitted state for the Order Submission trade model. Please useMotifOrderStrategy.getSubmittedResponder()
to retrieve an instance.- Parameters:
trade
- The trade this responder should respond for.
-
-
Method Details
-
sendSubmitAck
Deprecated.Sends an event to notify the frontend that Submit message has been acknowledged.- Parameters:
event
- The SubmitAck event.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-