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

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

Public Member Functions

 EmdiHandlerManager (const EmdiHandlerSettings &settings, const std::string &=ONIXS_EUREX_EMDI_COMPILER_INFO)
 
virtual ~EmdiHandlerManager ()
 
EmdiHandlerManagerregisterErrorListener (ErrorListener *listener)
 
EmdiHandlerManagerregisterWarningListener (WarningListener *listener)
 
EmdiHandlerManagerregisterDepthListener (DepthListener *listener)
 
EmdiHandlerManagerregisterTopOfBookImpliedListener (TopOfBookImpliedListener *listener)
 
EmdiHandlerManagerregisterProductStateChangeListener (ProductStateChangeListener *listener)
 
EmdiHandlerManagerregisterMassInstrumentStateChangeListener (MassInstrumentStateChangeListener *listener)
 
EmdiHandlerManagerregisterInstrumentStateChangeListener (InstrumentStateChangeListener *listener)
 
EmdiHandlerManagerregisterQuoteRequestListener (QuoteRequestListener *listener)
 
EmdiHandlerManagerregisterCrossRequestListener (CrossRequestListener *listener)
 
EmdiHandlerManagerregisterComplexInstrumentUpdateListener (ComplexInstrumentUpdateListener *listener)
 
EmdiHandlerManagerregisterFlexibleInstrumentUpdateListener (FlexibleInstrumentUpdateListener *listener)
 
EmdiHandlerManagerregisterOrderBookListener (OrderBookListener *listener)
 
EmdiHandlerManagerregisterTradeListener (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 EmdiHandlerManager.h.

Constructor & Destructor Documentation

EmdiHandlerManager ( const EmdiHandlerSettings 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 ~EmdiHandlerManager ( )
virtual

Finalizes the Handler.

Member Function Documentation

EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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.
EmdiHandlerManager& 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: