Class AbstractMessageReader

    • Field Detail

      • ITYPE_TYPES

        protected static final deltix.qsrv.hf.pub.InstrumentType[] ITYPE_TYPES
      • messages

        protected deltix.qsrv.hf.pub.InstrumentMessage[] messages
      • bytes

        protected byte[] bytes
      • buffer

        protected final deltix.util.memory.MemoryDataInput buffer
      • symbol

        protected final java.lang.StringBuilder symbol
      • curMsg

        protected deltix.qsrv.hf.pub.InstrumentMessage curMsg
      • curTypeCode

        protected int curTypeCode
    • Constructor Detail

      • AbstractMessageReader

        public AbstractMessageReader()
    • Method Detail

      • getMessage

        public deltix.qsrv.hf.pub.InstrumentMessage getMessage()
      • readVersion

        public static byte readVersion​(java.io.InputStream in)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readHeader

        public static MessageFileHeader readHeader​(java.io.InputStream in)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readHeaderWithoutVersion

        public static MessageFileHeader readHeaderWithoutVersion​(java.io.InputStream in,
                                                                 byte v)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • checkBuffer

        protected void checkBuffer​(int length)
      • decode

        protected deltix.qsrv.hf.pub.InstrumentMessage decode​(deltix.util.memory.MemoryDataInput buffer)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException