OnixS C++ CME MDP Premium Market Data Handler 5.10.2
Users' manual and API documentation
Loading...
Searching...
No Matches
Handler Class Reference

#include <OnixS/CME/MDH/Handler.h>

Public Member Functions

 Handler (const std::string &="")
 Handler (const MemoryPoolSettings &, const std::string &="")
 Handler (const HandlerSettings &, const std::string &="")
 ~Handler ()
HandlerSettingssettings ()
const HandlerSettingssettings () const
void selectInstruments (const InstrumentSelection &)
void clearInstrumentCache ()
void start ()
void stop ()
std::string licenseExpirationDate () const

Friends

class PcapReplayHelper

Detailed Description

Encapsulates all the machinery related with market data processing from CME Market Data Platform.

Definition at line 55 of file Handler.h.

Constructor & Destructor Documentation

◆ Handler() [1/3]

Handler ( const std::string & = "")

Initializes the instance with the default settings.

◆ Handler() [2/3]

Handler ( const MemoryPoolSettings & ,
const std::string & = "" )
explicit

Initializes instance with the memory pool configured according to the given settings.

◆ Handler() [3/3]

Handler ( const HandlerSettings & ,
const std::string & = "" )
explicit

Initializes the instance according to the given settings.

◆ ~Handler()

~Handler ( )

Finalizes the instance.

Member Function Documentation

◆ clearInstrumentCache()

void clearInstrumentCache ( )

Erases instrument definitions cache if used. Handler will produce a new cache at next start.

◆ licenseExpirationDate()

std::string licenseExpirationDate ( ) const

Returns the license expiration date.

◆ selectInstruments()

void selectInstruments ( const InstrumentSelection & )

Filters instruments whose market data is to be processed and events are to be fired by the Handler.

Warning
Instrument selection can be updated only when market data processing is not performed by the Handler or upon successful instrument recovery completion.

◆ settings() [1/2]

HandlerSettings & settings ( )

The configuration parameters of the given instance.

◆ settings() [2/2]

const HandlerSettings & settings ( ) const

Immutable configuration of the given instance.

◆ start()

void start ( )

Starts market data processing.

◆ stop()

void stop ( )

Stops market data processing.

◆ PcapReplayHelper

friend class PcapReplayHelper
friend

Definition at line 250 of file Handler.h.