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

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

Public Member Functions

 MdiHandlerManager (const MdiHandlerSettings &settings, const std::string &=ONIXS_EUREX_EMDI_COMPILER_INFO)
 
virtual ~MdiHandlerManager ()
 
MdiHandlerManagerregisterErrorListener (ErrorListener *listener)
 
MdiHandlerManagerregisterWarningListener (WarningListener *listener)
 
MdiHandlerManagerregisterDepthListener (DepthListener *listener)
 
MdiHandlerManagerregisterTopOfBookImpliedListener (TopOfBookImpliedListener *listener)
 
MdiHandlerManagerregisterProductStateChangeListener (ProductStateChangeListener *listener)
 
MdiHandlerManagerregisterMassInstrumentStateChangeListener (MassInstrumentStateChangeListener *listener)
 
MdiHandlerManagerregisterInstrumentStateChangeListener (InstrumentStateChangeListener *listener)
 
MdiHandlerManagerregisterQuoteRequestListener (QuoteRequestListener *listener)
 
MdiHandlerManagerregisterCrossRequestListener (CrossRequestListener *listener)
 
MdiHandlerManagerregisterComplexInstrumentUpdateListener (ComplexInstrumentUpdateListener *listener)
 
MdiHandlerManagerregisterFlexibleInstrumentUpdateListener (FlexibleInstrumentUpdateListener *listener)
 
MdiHandlerManagerregisterOrderBookListener (OrderBookListener *listener)
 
MdiHandlerManagerregisterTradeListener (TradeListener *listener)
 
void start (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, FeedEngine &feedEngine)
 
void replayPcap (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, const ReplayOptions &options)
 
void stop ()
 

Detailed Description

Definition at line 51 of file MdiHandlerManager.h.

Constructor & Destructor Documentation

MdiHandlerManager ( const MdiHandlerSettings 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.
virtual ~MdiHandlerManager ( )
virtual

Finalizes the Handler.

Member Function Documentation

MdiHandlerManager& registerComplexInstrumentUpdateListener ( ComplexInstrumentUpdateListener listener)

Assigns listener for Complex Instrument Update message 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.
MdiHandlerManager& registerCrossRequestListener ( CrossRequestListener listener)

Assigns listener for Cross Request message 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.
MdiHandlerManager& registerDepthListener ( DepthListener listener)

Assigns listener for depth 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.
MdiHandlerManager& 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
MdiHandlerManager& registerFlexibleInstrumentUpdateListener ( FlexibleInstrumentUpdateListener listener)

Assigns listener for Flexible Instrument Update message 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.
MdiHandlerManager& registerInstrumentStateChangeListener ( InstrumentStateChangeListener listener)

Assigns listener for Instrument State Change message 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.
MdiHandlerManager& registerMassInstrumentStateChangeListener ( MassInstrumentStateChangeListener listener)

Assigns listener for Mass Instrument State Change message 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.
MdiHandlerManager& registerOrderBookListener ( OrderBookListener listener)

Assigns listener for Order Book updates 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.
MdiHandlerManager& registerProductStateChangeListener ( ProductStateChangeListener listener)

Assigns listener for Product State Change message 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.
MdiHandlerManager& registerQuoteRequestListener ( QuoteRequestListener listener)

Assigns listener for Quote Request message 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.
MdiHandlerManager& registerTopOfBookImpliedListener ( TopOfBookImpliedListener listener)

Assigns listener for Top Of Book Implied message 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.
MdiHandlerManager& registerTradeListener ( TradeListener listener)

Assigns listener for trades 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.
MdiHandlerManager& 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 IInterfaceDescriptorProvider provider,
const MarketSegments productNames,
const ReplayOptions options 
)

Replay pcap files.

void start ( const IInterfaceDescriptorProvider provider,
const MarketSegments productNames,
FeedEngine feedEngine 
)

Start manager.

Note
This action is asynchronous.
Exceptions
std::exceptionin case of unable to start all necessary EMDI handlers.
void stop ( )

Stop manager.


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