Class MessageInfoBuffer

    • Field Detail

      • currentMessage

        public deltix.qsrv.hf.pub.InstrumentMessage currentMessage
      • currentTypeIdx

        public int currentTypeIdx
      • currentStreamIdx

        public int currentStreamIdx
      • currentEntityIdx

        public int currentEntityIdx
    • Constructor Detail

      • MessageInfoBuffer

        public MessageInfoBuffer()
    • Method Detail

      • setMessageNoCopy

        public void setMessageNoCopy​(deltix.qsrv.hf.pub.InstrumentMessage msg)
      • setUpNoCopy

        public void setUpNoCopy​(MessageInfo delegate,
                                deltix.qsrv.hf.pub.InstrumentMessage msg)
      • copyFrom

        public void copyFrom​(MessageInfo delegate)
      • getMessage

        public deltix.qsrv.hf.pub.InstrumentMessage getMessage()
        Description copied from interface: MessageInfo
        Returns the current message.
        Specified by:
        getMessage in interface MessageInfo
      • getCurrentStreamKey

        public java.lang.String getCurrentStreamKey()
        Description copied from interface: MessageInfo
        Return the key of the stream that is the source of the current message.
        Specified by:
        getCurrentStreamKey in interface MessageInfo
        Returns:
        The source stream key.
      • getCurrentStreamIndex

        public int getCurrentStreamIndex()
        Description copied from interface: MessageInfo
        Return the index of the stream that is the source of the current message.
        Specified by:
        getCurrentStreamIndex in interface MessageInfo
        Returns:
        The current message source stream's index.
      • getCurrentStream

        public TickStream getCurrentStream()
        Description copied from interface: MessageInfo
        Return the current stream instance, unless it has been removed, in which case null is returned.
        Specified by:
        getCurrentStream in interface MessageInfo
      • getCurrentEntityIndex

        public int getCurrentEntityIndex()
        Description copied from interface: MessageInfo
        Return a small number identifying the returned entity. This number is unique throughout the life of the message source. Removing entities from subscription does not create reusable holes in the "space" of entity indexes.
        Specified by:
        getCurrentEntityIndex in interface MessageInfo
        See Also:
        EntitySubscriptionController