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

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

Public Member Functions

 EobiHandlerManager (const EobiHandlerSettings &settings, const std::string &=ONIXS_EUREX_EMDI_COMPILER_INFO)
 
virtual ~EobiHandlerManager ()
 
EobiHandlerManagerregisterErrorListener (ErrorListener *listener)
 
EobiHandlerManagerregisterWarningListener (WarningListener *listener)
 
EobiHandlerManagerregisterHandlerStateListener (HandlerStateListener *listener)
 
EobiHandlerManagerregisterOrderDataListener (EOBI::OrderDataListener *listener)
 
EobiHandlerManagerregisterTradeDataListener (EOBI::TradeDataListener *listener)
 
EobiHandlerManagerregisterStateChangeListener (EOBI::StateChangeListener *listener)
 
EobiHandlerManagerregisterReferenceDataListener (EOBI::ReferenceDataListener *listener)
 
EobiHandlerManagerregisterSnapshotListener (EOBI::SnapshotListener *listener)
 
EobiHandlerManagerregisterMessageListener (EOBI::MessageListener *listener)
 
EobiHandlerManagerregisterOrderBookListener (EOBI::OrderBookListener *listener)
 
EobiHandlerManagerregisterPacketListener (PacketListener *listener)
 
void start (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, FeedEngine &feedEngine)
 
void stop ()
 
void replayPcap (const IInterfaceDescriptorProvider *provider, const MarketSegments &productNames, const ReplayOptions &options)
 

Detailed Description

Definition at line 54 of file EobiHandlerManager.h.

Constructor & Destructor Documentation

EobiHandlerManager ( const EobiHandlerSettings 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 ~EobiHandlerManager ( )
virtual

Finalizes the Handler.

Member Function Documentation

EobiHandlerManager& 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
EobiHandlerManager& registerHandlerStateListener ( HandlerStateListener listener)
EobiHandlerManager& registerMessageListener ( EOBI::MessageListener listener)
EobiHandlerManager& registerOrderBookListener ( EOBI::OrderBookListener listener)
EobiHandlerManager& registerOrderDataListener ( EOBI::OrderDataListener listener)
EobiHandlerManager& registerPacketListener ( PacketListener listener)
EobiHandlerManager& registerReferenceDataListener ( EOBI::ReferenceDataListener listener)
EobiHandlerManager& registerSnapshotListener ( EOBI::SnapshotListener listener)
EobiHandlerManager& registerStateChangeListener ( EOBI::StateChangeListener listener)
EobiHandlerManager& registerTradeDataListener ( EOBI::TradeDataListener listener)
EobiHandlerManager& 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: