Class OrderCancelingResponder
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.OrderCancelingResponder
Deprecated.
A Responder for canceling limit orders that can send messages from the Canceling state
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a Responder that can respond from the Canceling state for the OrderCancel trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Sends the cancel confirm event notifying the client that the cancelation has been successfully processed by the backend trading system,void
Deprecated.Sends the cancel pending message event notifying the client that the cancel request is being processed by the backend trading system.void
Deprecated.Sends the cancel reject message event notifying the client that the cancelation has been rejected by the backend trading system.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
OrderCancelingResponder
Deprecated.Constructs a Responder that can respond from the Canceling state for the OrderCancel trade model.Please use
CancelRequest.getCancelingResponder()
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
-
sendCancelConfirm
public void sendCancelConfirm(OrderCancelConfirmEvent event) throws com.caplin.trading.TradeException Deprecated.Sends the cancel confirm event notifying the client that the cancelation has been successfully processed by the backend trading system,- Parameters:
event
- The confirmation event to send to the client- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-
sendCancelReject
Deprecated.Sends the cancel reject message event notifying the client that the cancelation has been rejected by the backend trading system.- Parameters:
event
- The reject event to send to the client- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-
sendCancelPending
public void sendCancelPending(OrderCancelPendingEvent event) throws com.caplin.trading.TradeException Deprecated.Sends the cancel pending message event notifying the client that the cancel request is being processed by the backend trading system.- Parameters:
event
- The pending event to send to the client.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-