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 public class OrderChangeStateSentResponder extends FXResponder<UserTrade>
Deprecated.A Responder for the OrderChangeState trade model that can respond from the ChangeStateSent state.
-
-
Constructor Summary
Constructors Constructor Description OrderChangeStateSentResponder(ChangeActiveState trade)
Deprecated.Constructs a Responder that can respond from the ChangeStateSent state for the OrderChangeState trade model.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
sendChangeStateAck(OrderChangeStateAckEvent event)
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 Detail
-
OrderChangeStateSentResponder
public OrderChangeStateSentResponder(ChangeActiveState trade)
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 Detail
-
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
-
-