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

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

Classes

struct  Impl
 

Public Member Functions

 MdiHandlerManager (const MdiHandlerSettings &settings)
 
virtual ~MdiHandlerManager ()
 
void registerErrorListener (ErrorListener *listener)
 
void registerWarningListener (WarningListener *listener)
 
void registerDepthListener (DepthListener *listener)
 
void registerTopOfBookImpliedListener (TopOfBookImpliedListener *listener)
 
void registerProductStateChangeListener (ProductStateChangeListener *listener)
 
void registerMassInstrumentStateChangeListener (MassInstrumentStateChangeListener *listener)
 
void registerInstrumentStateChangeListener (InstrumentStateChangeListener *listener)
 
void registerQuoteRequestListener (QuoteRequestListener *listener)
 
void registerCrossRequestListener (CrossRequestListener *listener)
 
void registerComplexInstrumentUpdateListener (ComplexInstrumentUpdateListener *listener)
 
void registerFlexibleInstrumentUpdateListener (FlexibleInstrumentUpdateListener *listener)
 
void registerOrderBookListener (OrderBookListener *listener)
 
void registerTradeListener (TradeListener *listener)
 
void start (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, FeedEngine &feedEngine)
 
void stop ()
 

Detailed Description

Definition at line 50 of file MdiHandlerManager.h.

Constructor & Destructor Documentation

MdiHandlerManager ( const MdiHandlerSettings settings)
explicit

Performs instance initialization.

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

Definition at line 61 of file MdiHandlerManager.cpp.

~MdiHandlerManager ( )
virtual

Finalizes the Handler.

Definition at line 79 of file MdiHandlerManager.cpp.

Member Function Documentation

void 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.

Definition at line 129 of file MdiHandlerManager.cpp.

void 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.

Definition at line 124 of file MdiHandlerManager.cpp.

void 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.

Definition at line 94 of file MdiHandlerManager.cpp.

void 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

Definition at line 84 of file MdiHandlerManager.cpp.

void 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.

Definition at line 134 of file MdiHandlerManager.cpp.

void 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.

Definition at line 114 of file MdiHandlerManager.cpp.

void 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.

Definition at line 109 of file MdiHandlerManager.cpp.

void 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.

Definition at line 139 of file MdiHandlerManager.cpp.

void 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.

Definition at line 104 of file MdiHandlerManager.cpp.

void 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.

Definition at line 119 of file MdiHandlerManager.cpp.

void 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.

Definition at line 99 of file MdiHandlerManager.cpp.

void 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.

Definition at line 144 of file MdiHandlerManager.cpp.

void 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

Definition at line 89 of file MdiHandlerManager.cpp.

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.

Definition at line 149 of file MdiHandlerManager.cpp.

void stop ( )

Stop manager.

Definition at line 204 of file MdiHandlerManager.cpp.


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