Package deltix.qsrv.hf.tickdb.impl
Class EncoderBase<T extends deltix.qsrv.hf.pub.InstrumentMessage>
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.impl.EncoderBase<T>
-
- All Implemented Interfaces:
MessageEncoder<T>
- Direct Known Subclasses:
PolyRawMessageEncoder
,PolyRecordMessageEncoder
,RawMessageEncoder
,RecordMessageEncoder
public class EncoderBase<T extends deltix.qsrv.hf.pub.InstrumentMessage> extends java.lang.Object implements MessageEncoder<T>
-
-
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()
-
-
-
Method Detail
-
encode
public boolean encode(T message, deltix.util.memory.MemoryDataOutput out)
- Specified by:
encode
in interfaceMessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>
-
getContentOffset
public int getContentOffset()
- Specified by:
getContentOffset
in interfaceMessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>
-
getTypeIndex
public int getTypeIndex()
- Specified by:
getTypeIndex
in interfaceMessageEncoder<T extends deltix.qsrv.hf.pub.InstrumentMessage>
-
-