Interface MessageProcessorWithContext<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MessageProcessorWithContext<T>
    Interface for code that processes single InstrumentMessage.
    • Method Detail

      • process

        void process​(deltix.qsrv.hf.pub.InstrumentMessage message,
                     T context)
        Process single message. Method implementations should not block.
        Parameters:
        message - message to process
        context - additional context