Class OrderQueuedResponder

    • Constructor Detail

      • OrderQueuedResponder

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

      • sendAccepting

        public void sendAccepting​(OrderAcceptingEvent event)
                           throws com.caplin.trading.TradeException
        Deprecated.
        Sends an event to notify the frontend that the order is now accepting.
        Parameters:
        event - The accepting event.
        Throws:
        com.caplin.trading.TradeException - If there was a problem sending the event
      • sendAccept

        public void sendAccept​(OrderAcceptEvent event)
                        throws com.caplin.trading.TradeException
        Deprecated.
        Sends an event to notify the frontend that the order is now accepted.
        Parameters:
        event - The accept event.
        Throws:
        com.caplin.trading.TradeException - If there was a problem sending the event