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

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

Classes

struct  Impl
 

Public Member Functions

 EmdiHandlerManager (const EmdiHandlerSettings &settings)
 
virtual ~EmdiHandlerManager ()
 
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 EmdiHandlerManager.h.

Constructor & Destructor Documentation

EmdiHandlerManager ( const EmdiHandlerSettings settings)

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 EmdiHandlerManager.cpp.

~EmdiHandlerManager ( )
virtual

Finalizes the Handler.

Definition at line 79 of file EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 140 of file EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 EmdiHandlerManager.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 145 of file EmdiHandlerManager.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 EmdiHandlerManager.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 150 of file EmdiHandlerManager.cpp.

void stop ( )

Stop manager.

Definition at line 206 of file EmdiHandlerManager.cpp.


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