The OnixS::FIX::SBE::ISbeCustomCoderLibrary has two methods that allows to track using of the library by SBE coders. These methods are: OnixS::FIX::SBE::ISbeCustomCoderLibrary::attach and OnixS::FIX::SBE::ISbeCustomCoderLibrary::detach.
Both of these methods use the similar ownerId
parameter that denotes owner for custom coders and source of other requests.
It is guaranteed that following contract supported by the SBE coders:
owner
value to identify its calls;owner
value always unique among all SBE coder objects: particular owner
always belonged to the single SBE coder;owner
. The call is performed during destruction of the SBE coder or after failed construction. In simpler words, the attach
callback is always paired by the detach
callback.owner
value that has been used by the detach
method.