Class BlockTradeClientCloseTranslator

  • All Implemented Interfaces:
    Consumer<com.caplin.trading.TradeEvent>

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

      • BlockTradeClientCloseTranslator

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

      • 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