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.

See Also:
  • Constructor Details

    • 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 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