forwardDecoder Constructor (ProtocolVersion, String, String, Boolean, InputDataTraits)   Table of ContentDataTraits Property forward
Decoder Properties

The Decoder type exposes the following members.

Properties
  NameDescription
Public propertyDataTraits
Input data traits provided during construction of the decoder.
Public propertyDecodeEachMessageIndependently
Option to reset the previous values dictionaries before decoding a new FAST stream chunk.
Public propertyDialect
Returns FIX Dialect, generated from templates file.
Public propertyIsDisposed
Returns true if Decoder object is disposed, false otherwise.
Public propertyMaximumNumberOfRepeatingGroupEntries
Maximum number of entries in the repeating group, which generated by FAST decoder.

This parameter is used during decoding and is useful to detect broken data, which, in particular cases, can need to allocate unexpectedly huge number of entries (for instance - billions of entries, while normally there are just a few ones). This situation results in memory exhausting and (often) significantly decrease overall system performance.

To prevent memory exhausting and negative consequences of that, this property should be configured to the value, which is greater then maximum possible number of entries in valid input data, but less then int.MaxValue (default one).

In a lot of real cases value of 10000 is good enough to detect broken data without memory overloading.

Top
See Also