Class OrderChangeStateSentResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<UserTrade>
com.caplin.motif.fx.trading.orders.activestatechange.responder.OrderChangeStateSentResponder
Deprecated.
A Responder for the OrderChangeState trade model that can respond from the ChangeStateSent state.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a Responder that can respond from the ChangeStateSent state for the OrderChangeState trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Sends a acknowledgement to the client informing it that has received the order change state request.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
OrderChangeStateSentResponder
Deprecated.Constructs a Responder that can respond from the ChangeStateSent state for the OrderChangeState trade model.Please use
ChangeActiveState.getChangeStateSentResponder()
to retrieve an instance.- Parameters:
trade
- The object representing the trade that the client wants to change the state of, which this responder can send messages for.
-
-
Method Details
-
sendChangeStateAck
public void sendChangeStateAck(OrderChangeStateAckEvent event) throws com.caplin.trading.TradeException Deprecated.Sends a acknowledgement to the client informing it that has received the order change state request.- Parameters:
event
- The event sent to acknowledge to the client that the request has been received.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-