Class BlockTradeClientCloseTranslator

java.lang.Object
com.caplin.motif.fx.trading.block.BlockTradeClientCloseTranslator
All Implemented Interfaces:
Consumer<com.caplin.trading.TradeEvent>

public class BlockTradeClientCloseTranslator extends Object implements Consumer<com.caplin.trading.TradeEvent>
  • Constructor Details

    • BlockTradeClientCloseTranslator

      public BlockTradeClientCloseTranslator(BlockTradeListener listener)
      Creates a BlockTrade client close translator
      Parameters:
      listener - the BlockTrade listener
  • Method Details

    • accept

      public void accept(com.caplin.trading.TradeEvent event)
      Triggered on a client close event
      Specified by:
      accept in interface Consumer<com.caplin.trading.TradeEvent>
      Parameters:
      event - the client close event