OnixS C++ FIX Engine  4.10.1
API Documentation
SBE Customization

Inner Contents

 SBE custom coders ownership
 
 SBE custom decoders
 
 SBE custom encoders
 
 Control of SBE Coding Process
 

Detailed Description

The SBE coders (OnixS::FIX::SBE::Encoder, OnixS::FIX::SBE::Decoder and OnixS::FIX::SBE::EventBasedDecoder) provide two alternative ways to customize their functionality.

The customization is accomplished via user-provided object that implements OnixS::FIX::SBE::ISbeCustomCoderLibrary interface (see SBE Custom coders library).

SBE Custom coders library

The custom coders library is an object that implements OnixS::FIX::SBE::ISbeCustomCoderLibrary interface. Pointer to this object should be provided to the constructor of the SBE encoder (or decoder) which functionality must have to be customized.

The custom coders library solves following tasks:

Pointer to the library object that was passed to the SBE coder constructor must remain valid till destruction of the SBE coder itself. The SBE coder never deletes the library and it is responsibility of user code. Also, it is possible to attach the single library to a several SBE coders.

See also

SBE custom coders ownership

SBE custom decoders

SBE custom encoders

Control of SBE Coding Process