Class BlockTradeClientCloseSentResponder

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

public class BlockTradeClientCloseSentResponder extends FXResponder<BlockTrade>

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

See Also:
  • Constructor Details

    • BlockTradeClientCloseSentResponder

      public BlockTradeClientCloseSentResponder(BlockTrade trade)
  • Method Details

    • sendClientCloseAck

      public void sendClientCloseAck(BlockTradeClientCloseAckEvent event) throws com.caplin.trading.TradeException
      Sends an acknowledgement to the client notifying that it's request to close/cancel the block trade has been received.
      Parameters:
      event - The event to send to the client.
      Throws:
      com.caplin.trading.TradeException - if there was a problem sending the client close ack