Class OrderQueuedResponder
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.OrderQueuedResponder
Deprecated.
Responder that can respond from the Queued state.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOrderQueuedResponder
(UserTrade trade) Deprecated.Constructs a Responder that can respond from the Queued state for the Order Submission trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendAccept
(OrderAcceptEvent event) Deprecated.Sends an event to notify the frontend that the order is now accepted.void
sendAccepting
(OrderAcceptingEvent event) Deprecated.Sends an event to notify the frontend that the order is now accepting.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
OrderQueuedResponder
Deprecated.Constructs a Responder that can respond from the Queued state for the Order Submission trade model. Please useMotifOrderStrategy.getQueuedResponder()
to retrieve an instance.- Parameters:
trade
- The trade this responder should respond for.
-
-
Method Details
-
sendAccepting
Deprecated.Sends an event to notify the frontend that the order is now accepting.- Parameters:
event
- The accepting event.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-
sendAccept
Deprecated.Sends an event to notify the frontend that the order is now accepted.- Parameters:
event
- The accept event.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-