Class BaseL2DiffProcessor

  • Direct Known Subclasses:
    UltimateDiffProcessor

    public abstract class BaseL2DiffProcessor
    extends java.lang.Object
    • Field Detail

      • debugModeOn

        protected final boolean debugModeOn
    • Constructor Detail

      • BaseL2DiffProcessor

        protected BaseL2DiffProcessor​(deltix.timebase.api.messages.Level2Message message,
                                      deltix.data.stream.MessageChannel<? super deltix.timebase.api.messages.MarketMessage> receiver,
                                      boolean debugModeOn)
    • Method Detail

      • IsValidSnapshot

        public static final boolean IsValidSnapshot​(IFullSnapshot snapshot,
                                                    int marketDepth)
      • ArrayRealloc

        protected final double[] ArrayRealloc​(double[] array,
                                              int newLength)
      • sendChanges

        protected final void sendChanges​(deltix.timebase.api.messages.BookUpdateAction action,
                                         int depth,
                                         boolean isAsk,
                                         double price,
                                         double size)