OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers  16.1.0
API documentation
RdiHandler Class Reference

#include <OnixS/Eurex/MarketData/RdiHandler.h>

Public Member Functions

 RdiHandler (const RdiHandlerSettings &settings, const std::string &=ONIXS_EUREX_EMDI_COMPILER_INFO)
 
 ~RdiHandler () ONIXS_EUREX_EMDI_OVERRIDE
 
RdiHandlerregisterErrorListener (ErrorListener *listener)
 
RdiHandlerregisterWarningListener (WarningListener *listener)
 
RdiHandlerregisterHandlerStateListener (HandlerStateListener *listener)
 
RdiHandlerregisterReferenceDataListener (ReferenceDataListener *listener)
 
RdiHandlerbindFeedEngine (FeedEngine &feedEngine)
 
void start ()
 
void start (const ReplayOptions &options)
 
void replayPcap (const ReplayOptions &options)
 
void stop ()
 
HandlerState::Enum state () const
 
EmdiDescriptors findEmdiDescriptors (const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
 
EmdiDescriptors findAllEmdiDescriptors () const ONIXS_EUREX_EMDI_OVERRIDE
 
MdiDescriptors findMdiDescriptors (const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
 
MdiDescriptors findAllMdiDescriptors () const ONIXS_EUREX_EMDI_OVERRIDE
 
EobiDescriptors findEobiDescriptors (const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
 
EobiDescriptors findAllEobiDescriptors () const ONIXS_EUREX_EMDI_OVERRIDE
 
RdiHandlerlog (LogLevel::Enum logLevel, const char *logMessage, size_t length)
 
RdiHandlerlog (LogLevel::Enum logLevel, const char *logMessage)
 
RdiHandlerlog (LogLevel::Enum logLevel, const std::string &str)
 
const char * licenseExpirationDate () const
 

Static Public Member Functions

static const char * version ()
 

Additional Inherited Members

- Public Types inherited from IInterfaceDescriptorProvider
typedef std::set< MarketSegmentMarketSegments
 
- Protected Member Functions inherited from IInterfaceDescriptorProvider
virtual ~IInterfaceDescriptorProvider ()
 

Detailed Description

Definition at line 43 of file RdiHandler.h.

Constructor & Destructor Documentation

RdiHandler ( const RdiHandlerSettings settings,
const std::string &  = ONIXS_EUREX_EMDI_COMPILER_INFO 
)
explicit

Performs instance initialization.

Parameters
settingsdefines values for various options which affect handler behavior like enabling logging during execution of the handler.
~RdiHandler ( )

Finalizes the Handler.

Member Function Documentation

RdiHandler& bindFeedEngine ( FeedEngine feedEngine)

Binds Feed Engine to the Handler.

Handler must be in stopped state.

Exceptions
OperationExceptionin case when handler is not in configurable state.
EmdiDescriptors findAllEmdiDescriptors ( ) const
virtual

Returns list of EMDI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for all products.

Implements IInterfaceDescriptorProvider.

EobiDescriptors findAllEobiDescriptors ( ) const
virtual

Returns list of EOBI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for all products.

Implements IInterfaceDescriptorProvider.

MdiDescriptors findAllMdiDescriptors ( ) const
virtual

Returns list of MDI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for all products.

Implements IInterfaceDescriptorProvider.

EmdiDescriptors findEmdiDescriptors ( const MarketSegments productNames) const
virtual

Returns list of EMDI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for products specified by productNames.

Implements IInterfaceDescriptorProvider.

EobiDescriptors findEobiDescriptors ( const MarketSegments productNames) const
virtual

Returns list of EOBI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for products specified by productNames.

Implements IInterfaceDescriptorProvider.

MdiDescriptors findMdiDescriptors ( const MarketSegments productNames) const
virtual

Returns list of MDI descriptors with filled partitionIdFilters and marketSegmentIdFilters to allow user to receive market data for products specified by productNames.

Implements IInterfaceDescriptorProvider.

const char* licenseExpirationDate ( ) const

Returns the license expiration date.

RdiHandler& log ( LogLevel::Enum  logLevel,
const char *  logMessage,
size_t  length 
)

Logs the given user-level message to the handler log.

RdiHandler& log ( LogLevel::Enum  logLevel,
const char *  logMessage 
)

Logs the given user-level message to the handler log.

RdiHandler& log ( LogLevel::Enum  logLevel,
const std::string &  str 
)

Logs the given user-level message to the handler log.

RdiHandler& registerErrorListener ( ErrorListener listener)

Assigns listener for errors occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.

Exceptions
OperationExceptionif handler not disconnected
RdiHandler& registerHandlerStateListener ( HandlerStateListener listener)

Assigns listener for state change events occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.

Exceptions
OperationExceptionif handler not disconnected.
RdiHandler& registerReferenceDataListener ( ReferenceDataListener listener)

Assigns listener for messages received while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.

Exceptions
OperationExceptionif handler not disconnected.
RdiHandler& registerWarningListener ( WarningListener listener)

Assigns listener for warnings occurred while executing handler. It's permissible to change the listener multiple times during handler's life-time, but only when handler is in disconnected state.

Exceptions
OperationExceptionif handler not disconnected
void replayPcap ( const ReplayOptions options)

Replay pcap files.

void start ( )

Start handler.

Note
This action is asynchronous.
Exceptions
std::exceptionin case of unable to start.
void start ( const ReplayOptions options)

Starts replaying previously logged data.

HandlerState::Enum state ( ) const

Returns handler state.

void stop ( )

Stop handler.

static const char* version ( )
static

Returns Handler's version.


The documentation for this class was generated from the following file: