How blu-corner/codec works
This is a C++ encode/decode library for exchange order-entry protocols. The principal workflow is: an application obtains a venue codec, supplies a CDR for validated encoding to a wire buffer, then decodes a wire buffer back into a CDR. Fixed-binary packet types offer a lower-level alternative, and Java, C#, and Python bindings expose buffer-based access. The graph preserves documented venue families and substantial protocol branches visible in the tree; relationships for unsampled implementations are omitted unless the README documents them.
Main entry points: millennium Millennium Packets · codecBuffer.h Binding Buffers · codec.h Codec Interface · codecFactory.cpp Codec Factory
Components 25
Codec API
- Codec Factory
src/codecFactory.cpp - Codec Interface
src/codec.h
Venue Codecs
- FIX Codec
src/fix/fixCodec.cpp - LSE Codec
src/millennium/lse/lseCodec.cpp - Oslo Codec
src/millennium/oslo/osloCodec.cpp - JSE Codec
src/millennium/jse/jseCodec.cpp - Borsa Codec
src/millennium/borsa/borsaitalianaCodec.cpp - Other Millennium
src/millennium - SWX Codec
src/swx/swxCodec.cpp - Xetra Codec
src/eti/xetra/xetraCodec.cpp - Eurex Codec
src/eti/eurex/eurexCodec.cpp - Optiq Codec
src/optiq/optiqCodec.cpp
Protocol Packets
- Millennium Packets
src/millennium - ETI Packets
src/eti - SWX Packets
src/swx/packets - Optiq Packets
src/optiq/packets
Shared Data Support
- CDR Fields
src/fields/fields.h - Field Utilities
src/fields/fields.cc - Codec Helpers
src/helpers/codecHelpers.cpp
Language Bindings
- Binding Buffers
src/bindings/codecBuffer.h - Java Binding
src/bindings/java - Python Binding
src/bindings/python - C# Binding
src/bindings/csharp
Other components
- Trading Application
- Exchange
Connections 18
- Trading Application → Codec Factory: requests codec
- Codec Factory → Codec Interface: returns codec
- Trading Application → Codec Interface: encodes and decodes
- Codec Interface → CDR Fields: maps fields
src/codec.h - LSE Codec → Millennium Packets: uses packet types
src/millennium/lse/lseCodec.cpp - Oslo Codec → Millennium Packets: uses packet types
src/millennium/oslo/osloCodec.cpp - JSE Codec → Millennium Packets: uses packet types
src/millennium/jse/jseCodec.cpp - Borsa Codec → Millennium Packets: uses packet types
src/millennium/borsa/borsaitalianaCodec.cpp - Other Millennium → Millennium Packets: provides packets
- Xetra Codec → ETI Packets: uses packet types
- Eurex Codec → ETI Packets: uses packet types
- SWX Codec → SWX Packets: uses packet types
src/swx/swxCodec.cpp - Optiq Codec → Optiq Packets: uses packet types
src/optiq/optiqCodec.cpp - Trading Application → Binding Buffers: marshals data
- Binding Buffers → Java Binding: exposes interface
- Binding Buffers → Python Binding: exposes interface
- Binding Buffers → C# Binding: exposes interface
- Codec Interface → Exchange: formats messages