Class OrderCancelingResponder

    • Constructor Detail

      • OrderCancelingResponder

        public OrderCancelingResponder​(CancelRequest trade)
        Deprecated.
        Constructs a Responder that can respond from the Canceling state for the OrderCancel trade model.

        Please use CancelRequest.getCancelingResponder() to retrieve an instance.

        Parameters:
        trade - The object representing the trade that the client wants to cancel, which this responder can send messages for.
    • Method Detail

      • sendCancelConfirm

        public void sendCancelConfirm​(OrderCancelConfirmEvent event)
                               throws com.caplin.trading.TradeException
        Deprecated.
        Sends the cancel confirm event notifying the client that the cancelation has been successfully processed by the backend trading system,
        Parameters:
        event - The confirmation event to send to the client
        Throws:
        com.caplin.trading.TradeException - If there was a problem sending the event
      • sendCancelReject

        public void sendCancelReject​(OrderCancelRejectEvent event)
                              throws com.caplin.trading.TradeException
        Deprecated.
        Sends the cancel reject message event notifying the client that the cancelation has been rejected by the backend trading system.
        Parameters:
        event - The reject event to send to the client
        Throws:
        com.caplin.trading.TradeException - If there was a problem sending the event
      • sendCancelPending

        public void sendCancelPending​(OrderCancelPendingEvent event)
                               throws com.caplin.trading.TradeException
        Deprecated.
        Sends the cancel pending message event notifying the client that the cancel request is being processed by the backend trading system.
        Parameters:
        event - The pending event to send to the client.
        Throws:
        com.caplin.trading.TradeException - If there was a problem sending the event