Namespace OnixS.Fix.Fast
Classes
Coder
DecodeResult
Result of message decoding.
DecodedValue<T>
Decoded value.
Decoder
FAST-to-FIX Decoder.
DecoderExtension
Extensions to the Decoder class.
DictionaryBuilder
Builder of FIX dictionaries on the base of FAST template.
DynamicErrorException
Dynamic error.
Instance of the class reflects a dynamic error during encoding or decoding. Such errors mostly appear when there is a wrong or damaged input data, or when the message being encoded contains inacceptable values in its fields.
DynamicErrorException.ErrorCode
Valid error codes.
D2100-D2499 This range is split by the following rules:
Subrange | Description |
---|---|
D2100-D2199 | Recoverable or conditionally recoverable errors. See the specific error description for details. |
D2200-D2299 | Unrecoverable decoding errors. Such errors require at least to call the Reset() method to continue operations. |
D2300-D2399 | Errors in the message being encoded. Such errors can require to call the Reset() method to continue operation and definitely needs to change content of the encoded message. |
Encoder
FIX-to-FAST Encoder.
FastErrorCode
Represents error code of the given exception.
FastException
Base FAST exception.
NotEnoughInputDataException
Not enough input data.
This class replaces instance of the DynamicErrorException with Code == DynamicErrorException.ErrorCode.D2100
. It is introduced to
support the idiomatic approach of exception analyze due to recoverable nature of this error.
In particular it allows to make dedicated catch
clause for the data shortage error:
try {
decoder.Decode( ... );
} catch(NotEnoughInputDataException) {
// Go to obtain more data and repeat the decoding.
} catch(FastException e) {
// Other errors, basically - unrecoverable ones.
}
See also: D2100
StaticErrorException
Static errors.
Such errors appear during FAST template parsing and expose the fact that the FAST template composed with particular errors.
StaticErrorException.ErrorCode
Valid error codes.
Interfaces
FixMessageFactory
FIX message factory interface.