Package deltix.qsrv.hf.pub.codec.intp
Class CompoundDecoderImpl
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.CompoundDecoderImpl
-
- All Implemented Interfaces:
BoundDecoder
,BoundExternalDecoder
public class CompoundDecoderImpl extends java.lang.Object implements BoundDecoder
-
-
Constructor Summary
Constructors Constructor Description CompoundDecoderImpl(FixedExternalDecoder[] decoders, boolean polymorphic, ObjectManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
decode(deltix.util.memory.MemoryDataInput in)
Decodes an object, starting at current position of the specified MemoryDataInput.void
decode(deltix.util.memory.MemoryDataInput in, java.lang.Object message)
Decodes an object, starting at current position of the specified MemoryDataInput.protected FixedExternalDecoder
getDecoder(int code)
void
reset()
void
setStaticFields(java.lang.Object message)
Sets static values into specified message.
-
-
-
Constructor Detail
-
CompoundDecoderImpl
public CompoundDecoderImpl(FixedExternalDecoder[] decoders, boolean polymorphic, ObjectManager manager)
-
-
Method Detail
-
getDecoder
protected final FixedExternalDecoder getDecoder(int code)
-
decode
public java.lang.Object decode(deltix.util.memory.MemoryDataInput in)
Description copied from interface:BoundDecoder
Decodes an object, starting at current position of the specified MemoryDataInput.- Specified by:
decode
in interfaceBoundDecoder
- Parameters:
in
- A MemoryDataInput to read.- Returns:
- A decoded message object.
-
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(deltix.util.memory.MemoryDataInput in, java.lang.Object message)
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.message
- A message object to decode into.
-
reset
public void reset()
-
-