Package deltix.qsrv.hf.tickdb.impl
Class PolyRecordMessageEncoder
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.impl.EncoderBase<deltix.qsrv.hf.pub.InstrumentMessage>
-
- deltix.qsrv.hf.tickdb.impl.PolyRecordMessageEncoder
-
- All Implemented Interfaces:
MessageEncoder<deltix.qsrv.hf.pub.InstrumentMessage>
public class PolyRecordMessageEncoder extends EncoderBase<deltix.qsrv.hf.pub.InstrumentMessage>
-
-
Constructor Summary
Constructors Constructor Description PolyRecordMessageEncoder(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol, TypeLoader loader, CodecFactory factory, RecordClassDescriptor[] types)
PolyRecordMessageEncoder(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol, TypeLoader loader, CodecFactory factory, RecordClassDescriptor[] types, boolean combined)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
encode(deltix.qsrv.hf.pub.InstrumentMessage message, deltix.util.memory.MemoryDataOutput out)
int
getTypeIndex()
-
Methods inherited from class deltix.qsrv.hf.tickdb.impl.EncoderBase
getContentOffset
-
-
-
-
Constructor Detail
-
PolyRecordMessageEncoder
public PolyRecordMessageEncoder(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol, TypeLoader loader, CodecFactory factory, RecordClassDescriptor[] types, boolean combined)
-
PolyRecordMessageEncoder
public PolyRecordMessageEncoder(deltix.qsrv.hf.pub.InstrumentType type, java.lang.String symbol, TypeLoader loader, CodecFactory factory, RecordClassDescriptor[] types)
-
-
Method Detail
-
encode
public boolean encode(deltix.qsrv.hf.pub.InstrumentMessage message, deltix.util.memory.MemoryDataOutput out)
- Specified by:
encode
in interfaceMessageEncoder<deltix.qsrv.hf.pub.InstrumentMessage>
- Overrides:
encode
in classEncoderBase<deltix.qsrv.hf.pub.InstrumentMessage>
-
getTypeIndex
public int getTypeIndex()
- Specified by:
getTypeIndex
in interfaceMessageEncoder<deltix.qsrv.hf.pub.InstrumentMessage>
- Overrides:
getTypeIndex
in classEncoderBase<deltix.qsrv.hf.pub.InstrumentMessage>
-
-