Class EncoderBase<T extends deltix.qsrv.hf.pub.InstrumentMessage>

    • Constructor Summary

      Constructors 
      Constructor Description
      EncoderBase​(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol)  
      EncoderBase​(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol, boolean combined)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean encode​(T message, deltix.util.memory.MemoryDataOutput out)  
      int getContentOffset()  
      int getTypeIndex()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EncoderBase

        public EncoderBase​(deltix.qsrv.hf.pub.InstrumentType type,
                           java.lang.String symbol,
                           boolean combined)
      • EncoderBase

        public EncoderBase​(deltix.qsrv.hf.pub.InstrumentType type,
                           java.lang.String symbol)
    • Method Detail

      • encode

        public boolean encode​(T message,
                              deltix.util.memory.MemoryDataOutput out)
        Specified by:
        encode in interface MessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>
      • getContentOffset

        public int getContentOffset()
        Specified by:
        getContentOffset in interface MessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>
      • getTypeIndex

        public int getTypeIndex()
        Specified by:
        getTypeIndex in interface MessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>