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

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

Classes

struct  Impl
 

Public Member Functions

 EobiHandlerManager (const EobiHandlerSettings &settings)
 
virtual ~EobiHandlerManager ()
 
void registerErrorListener (ErrorListener *listener)
 
void registerWarningListener (WarningListener *listener)
 
void registerHandlerStateListener (HandlerStateListener *listener)
 
void registerOrderDataListener (EOBI::OrderDataListener *listener)
 
void registerTradeDataListener (EOBI::TradeDataListener *listener)
 
void registerStateChangeListener (EOBI::StateChangeListener *listener)
 
void registerReferenceDataListener (EOBI::ReferenceDataListener *listener)
 
void registerSnapshotListener (EOBI::SnapshotListener *listener)
 
void registerMessageListener (EOBI::MessageListener *listener)
 
void registerOrderBookListener (EOBI::OrderBookListener *listener)
 
void registerPacketListener (PacketListener *listener)
 
void start (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, FeedEngine &feedEngine)
 
void stop ()
 

Detailed Description

Definition at line 53 of file EobiHandlerManager.h.

Constructor & Destructor Documentation

EobiHandlerManager ( const EobiHandlerSettings 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 60 of file EobiHandlerManager.cpp.

~EobiHandlerManager ( )
virtual

Finalizes the Handler.

Definition at line 76 of file EobiHandlerManager.cpp.

Member Function Documentation

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 81 of file EobiHandlerManager.cpp.

void registerHandlerStateListener ( HandlerStateListener listener)

Definition at line 91 of file EobiHandlerManager.cpp.

void registerMessageListener ( EOBI::MessageListener listener)

Definition at line 121 of file EobiHandlerManager.cpp.

void registerOrderBookListener ( EOBI::OrderBookListener listener)

Definition at line 126 of file EobiHandlerManager.cpp.

void registerOrderDataListener ( EOBI::OrderDataListener listener)

Definition at line 96 of file EobiHandlerManager.cpp.

void registerPacketListener ( PacketListener listener)

Definition at line 131 of file EobiHandlerManager.cpp.

void registerReferenceDataListener ( EOBI::ReferenceDataListener listener)

Definition at line 111 of file EobiHandlerManager.cpp.

void registerSnapshotListener ( EOBI::SnapshotListener listener)

Definition at line 116 of file EobiHandlerManager.cpp.

void registerStateChangeListener ( EOBI::StateChangeListener listener)

Definition at line 106 of file EobiHandlerManager.cpp.

void registerTradeDataListener ( EOBI::TradeDataListener listener)

Definition at line 101 of file EobiHandlerManager.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 86 of file EobiHandlerManager.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 136 of file EobiHandlerManager.cpp.

void stop ( )

Stop manager.

Definition at line 188 of file EobiHandlerManager.cpp.


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