Package deltix.qsrv.hf.pub.codec.intp
Class PolyBoundEncoderImpl
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.PolyBoundEncoderImpl
-
- All Implemented Interfaces:
PolyBoundEncoder
public class PolyBoundEncoderImpl extends java.lang.Object implements PolyBoundEncoder
-
-
Constructor Summary
Constructors Constructor Description PolyBoundEncoderImpl(FixedBoundEncoder[] encoders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(RecordClassDescriptor rcd, java.lang.Object message, deltix.util.memory.MemoryDataOutput out)
Encodes an object, starting at current position of the specified MemoryDataOutput.void
encode(java.lang.Object message, deltix.util.memory.MemoryDataOutput out)
Encodes an object, starting at current position of the specified MemoryDataOutput.
-
-
-
Constructor Detail
-
PolyBoundEncoderImpl
public PolyBoundEncoderImpl(FixedBoundEncoder[] encoders)
-
-
Method Detail
-
encode
public void encode(RecordClassDescriptor rcd, java.lang.Object message, deltix.util.memory.MemoryDataOutput out)
Description copied from interface:PolyBoundEncoder
Encodes an object, starting at current position of the specified MemoryDataOutput. The RecordClassDescriptor argument is necessary when there are multiple record class descriptors bound to the same Java class.- Specified by:
encode
in interfacePolyBoundEncoder
- Parameters:
rcd
- The descriptor to use.message
- A message object to encode.out
- A MemoryDataOutput to write to.
-
encode
public void encode(java.lang.Object message, deltix.util.memory.MemoryDataOutput out)
Description copied from interface:PolyBoundEncoder
Encodes an object, starting at current position of the specified MemoryDataOutput.- Specified by:
encode
in interfacePolyBoundEncoder
- Parameters:
message
- A message object to encode.out
- A MemoryDataOutput to write to.
-
-