Class OrderPendingAcceptResponder

java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<UserTrade>
com.caplin.motif.fx.trading.orders.submission.responder.OrderPendingAcceptResponder

@Deprecated public class OrderPendingAcceptResponder extends FXResponder<UserTrade>
Deprecated.
Responder that can respond from the PendingAccept state.
See Also:
  • Constructor Details

    • OrderPendingAcceptResponder

      public OrderPendingAcceptResponder(UserTrade trade)
      Deprecated.
      Constructs a Responder that can respond from the PendingAccept state for the Order Submission trade model. Please use MotifOrderStrategy.getPendingAcceptResponder() to retrieve an instance.
      Parameters:
      trade - The trade this responder should respond for.
  • Method Details

    • sendAccept

      public void sendAccept(OrderAcceptEvent event) throws com.caplin.trading.TradeException
      Deprecated.
      Sends an event to notify the frontend that order has been submitted into the OMS.
      Parameters:
      event - The activated event.
      Throws:
      com.caplin.trading.TradeException - If there was a problem sending the event