Class BlockTradeClientCloseTranslator

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

    public class BlockTradeClientCloseTranslator
    extends java.lang.Object
    implements java.util.function.Consumer<com.caplin.trading.TradeEvent>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(com.caplin.trading.TradeEvent event)
      Triggered on a client close event
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • 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 java.util.function.Consumer<com.caplin.trading.TradeEvent>
        Parameters:
        event - the client close event