Class BlockTradeExecuteTranslator

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

    public class BlockTradeExecuteTranslator
    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 trade 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

      • BlockTradeExecuteTranslator

        public BlockTradeExecuteTranslator​(BlockTradeListener listener)
        Instantiates a Block Trade Execute Translator
        Parameters:
        listener - the BlockTrade listener
    • Method Detail

      • accept

        public void accept​(com.caplin.trading.TradeEvent event)
        Triggered on trade event
        Specified by:
        accept in interface java.util.function.Consumer<com.caplin.trading.TradeEvent>
        Parameters:
        event - the trade event