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