Package deltix.qsrv.hf.pub.codec.intp
Class FixedBoundExternalDecoderImpl
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.FixedBoundExternalDecoderImpl
-
- All Implemented Interfaces:
BoundExternalDecoder,FixedCodec,FixedExternalDecoder
- Direct Known Subclasses:
FixedBoundDecoderImpl
public class FixedBoundExternalDecoderImpl extends java.lang.Object implements FixedExternalDecoder
Interpreting BoundExternalDecoder
-
-
Field Summary
Fields Modifier and Type Field Description protected RecordLayoutlayout
-
Constructor Summary
Constructors Constructor Description FixedBoundExternalDecoderImpl(RecordLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(DecodingContext external, java.lang.Object msgObject)voiddecode(deltix.util.memory.MemoryDataInput in, java.lang.Object msgObject)Decodes an object, starting at current position of the specified MemoryDataInput.RecordClassInfogetClassInfo()java.lang.Class<?>getTargetClass()voidsetStaticFields(java.lang.Object message)Sets static values into specified message.
-
-
-
Field Detail
-
layout
protected final RecordLayout layout
-
-
Constructor Detail
-
FixedBoundExternalDecoderImpl
public FixedBoundExternalDecoderImpl(RecordLayout layout)
-
-
Method Detail
-
getClassInfo
public RecordClassInfo getClassInfo()
- Specified by:
getClassInfoin interfaceFixedCodec
-
getTargetClass
public java.lang.Class<?> getTargetClass()
-
setStaticFields
public void setStaticFields(java.lang.Object message)
Description copied from interface:BoundExternalDecoderSets static values into specified message.- Specified by:
setStaticFieldsin interfaceBoundExternalDecoder- Parameters:
message- A message object to update.
-
decode
public void decode(DecodingContext external, java.lang.Object msgObject)
-
decode
public void decode(deltix.util.memory.MemoryDataInput in, java.lang.Object msgObject)Description copied from interface:BoundExternalDecoderDecodes an object, starting at current position of the specified MemoryDataInput.- Specified by:
decodein interfaceBoundExternalDecoder- Parameters:
in- A MemoryDataInput to read.msgObject- A message object to decode into.
-
-