Class OrderCancelSentResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<UserTrade>
com.caplin.motif.fx.trading.orders.cancelation.responder.OrderCancelSentResponder
Deprecated.
A Responder for canceling limit orders that can send messages from the CancelSent state.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a Responder that can respond from the CancelSent state for the OrderCancel trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendCancelAck
(OrderCancelAckEvent event) Deprecated.Sends an acknowledgement message to notify the client that the request to cancel the trade has been received by the backend.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
OrderCancelSentResponder
Deprecated.Constructs a Responder that can respond from the CancelSent state for the OrderCancel trade model.Please use
CancelRequest.getCancelSentResponder()
to retrieve an instance.- Parameters:
trade
- The object representing the trade that the client wants to cancel, which this responder can send messages for.
-
-
Method Details
-
sendCancelAck
Deprecated.Sends an acknowledgement message to notify the client that the request to cancel the trade has been received by the backend.Typically an acknowledgement is sent back immediately after receiving the request.
- Parameters:
event
- The acknowledgement event to send to the client.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-