Class BlockTradeSubmittedResponder

java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<BlockTrade>
com.caplin.motif.fx.trading.block.responder.BlockTradeSubmittedResponder

public class BlockTradeSubmittedResponder extends FXResponder<BlockTrade>

The Responder for block trades that can send messages from the Submitted state.

See Also:
  • Constructor Details

    • BlockTradeSubmittedResponder

      public BlockTradeSubmittedResponder(BlockTrade trade)
      Constructs a Responder that can respond from the Submitted state for the BlockTrade trade model.

      Please use BlockTrade.getSubmittedResponder() to retrieve this instance

      Parameters:
      trade - the Trade this responder will send messages for.
  • Method Details

    • sendSubmitAck

      public void sendSubmitAck(BlockTradeSubmitAckEvent event) throws com.caplin.trading.TradeException
      Sends a message to acknowledge that the clients request to block trade has been received.
      Parameters:
      event - the ack event for the clients request to initiate a block trade.
      Throws:
      com.caplin.trading.TradeException - if there was a problem sending the quote