Decoder

struct Decoder

Public Functions

virtual ~Decoder() = default
virtual size_t operator()(Handler&, std::span<std::byte const> const &data) = 0

Public Static Functions

static std::unique_ptr<Decoder> create()
struct Handler

Public Functions

virtual void operator()(Event<ReferenceData> const&) = 0
virtual void operator()(Event<MarketStatus> const&) = 0
virtual void operator()(Event<TopOfBook> const&) = 0
virtual void operator()(Event<MarketByPriceUpdate> const&) = 0
virtual void operator()(Event<MarketByOrderUpdate> const&) = 0
virtual void operator()(Event<TradeSummary> const&) = 0
virtual void operator()(Event<StatisticsUpdate> const&) = 0