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 RecordLayout
layout
-
Constructor Summary
Constructors Constructor Description FixedBoundExternalDecoderImpl(RecordLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(DecodingContext external, java.lang.Object msgObject)
void
decode(deltix.util.memory.MemoryDataInput in, java.lang.Object msgObject)
Decodes an object, starting at current position of the specified MemoryDataInput.RecordClassInfo
getClassInfo()
java.lang.Class<?>
getTargetClass()
void
setStaticFields(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:
getClassInfo
in interfaceFixedCodec
-
getTargetClass
public java.lang.Class<?> getTargetClass()
-
setStaticFields
public void setStaticFields(java.lang.Object message)
Description copied from interface:BoundExternalDecoder
Sets static values into specified message.- Specified by:
setStaticFields
in 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:BoundExternalDecoder
Decodes an object, starting at current position of the specified MemoryDataInput.- Specified by:
decode
in interfaceBoundExternalDecoder
- Parameters:
in
- A MemoryDataInput to read.msgObject
- A message object to decode into.
-
-