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

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

Classes

struct  Impl
 

Public Member Functions

 EobiHandler (const EobiHandlerSettings &settings)
 
virtual ~EobiHandler ()
 
void registerErrorListener (ErrorListener *listener)
 
void registerWarningListener (WarningListener *listener)
 
void registerHandlerStateListener (HandlerStateListener *listener)
 
void registerOrderDataListener (OrderDataListener *listener)
 
void registerTradeDataListener (TradeDataListener *listener)
 
void registerStateChangeListener (StateChangeListener *listener)
 
void registerReferenceDataListener (ReferenceDataListener *listener)
 
void registerSnapshotListener (SnapshotListener *listener)
 
void registerMessageListener (MessageListener *listener)
 
void registerOrderBookListener (OrderBookListener *listener)
 
void registerPacketListener (PacketListener *listener)
 
void setPartitionIdFilters (const PartitionIdFilters &filters)
 
void removeAllPartitionIdFilters ()
 
void setMarketSegmentIdFilters (const MarketSegmentIdFilters &filters)
 
void removeAllMarketSegmentIdFilters ()
 
void setSecurityIdFilters (const SecurityIdFilters &filters)
 
void removeAllSecurityIdFilters ()
 
void bindFeedEngine (FeedEngine &feedEngine)
 
void start ()
 
void start (const ReplayOptions &options)
 
void stop ()
 
HandlerState::Enum state () const
 
void log (LogLevel::Enum logLevel, const char *logMessage, size_t length)
 
void log (LogLevel::Enum logLevel, const char *logMessage)
 
void log (LogLevel::Enum logLevel, const std::string &str)
 
const char * licenseExpirationDate () const
 

Static Public Member Functions

static const char * version ()
 

Detailed Description

Definition at line 53 of file EobiHandler.h.

Constructor & Destructor Documentation

EobiHandler ( 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 35 of file EobiHandler.cpp.

~EobiHandler ( )
virtual

Finalizes the Handler.

Definition at line 54 of file EobiHandler.cpp.

Member Function Documentation

void bindFeedEngine ( FeedEngine feedEngine)

Binds Feed Engine to the Handler.

Handler must be in stopped state.

Exceptions
OperationExceptionin case when handler is not in configurable state.

Definition at line 127 of file EobiHandler.cpp.

const char * licenseExpirationDate ( ) const

Returns the license expiration date.

Definition at line 177 of file EobiHandler.cpp.

void log ( LogLevel::Enum  logLevel,
const char *  logMessage,
size_t  length 
)

Logs the given user-level message to the handler log.

Definition at line 158 of file EobiHandler.cpp.

void log ( LogLevel::Enum  logLevel,
const char *  logMessage 
)

Logs the given user-level message to the handler log.

Definition at line 163 of file EobiHandler.cpp.

void log ( LogLevel::Enum  logLevel,
const std::string &  str 
)

Logs the given user-level message to the handler log.

Definition at line 168 of file EobiHandler.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 61 of file EobiHandler.cpp.

void registerHandlerStateListener ( HandlerStateListener listener)

Assigns listener for state change events 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 73 of file EobiHandler.cpp.

void registerMessageListener ( MessageListener listener)

Definition at line 109 of file EobiHandler.cpp.

void registerOrderBookListener ( OrderBookListener listener)

Definition at line 115 of file EobiHandler.cpp.

void registerOrderDataListener ( OrderDataListener listener)

Definition at line 79 of file EobiHandler.cpp.

void registerPacketListener ( PacketListener listener)

Definition at line 121 of file EobiHandler.cpp.

void registerReferenceDataListener ( ReferenceDataListener listener)

Definition at line 97 of file EobiHandler.cpp.

void registerSnapshotListener ( SnapshotListener listener)

Definition at line 103 of file EobiHandler.cpp.

void registerStateChangeListener ( StateChangeListener listener)

Definition at line 91 of file EobiHandler.cpp.

void registerTradeDataListener ( TradeDataListener listener)

Definition at line 85 of file EobiHandler.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 67 of file EobiHandler.cpp.

void removeAllMarketSegmentIdFilters ( )

Remove all filters.

Definition at line 217 of file EobiHandler.cpp.

void removeAllPartitionIdFilters ( )

Remove all filters.

Definition at line 201 of file EobiHandler.cpp.

void removeAllSecurityIdFilters ( )

Remove all filters.

Definition at line 233 of file EobiHandler.cpp.

void setMarketSegmentIdFilters ( const MarketSegmentIdFilters filters)

Set the Market Segment Id filtering values.

Note
The filter is inclusive.

Definition at line 209 of file EobiHandler.cpp.

void setPartitionIdFilters ( const PartitionIdFilters filters)

Set the Partition Id filtering values.

Note
The filter is inclusive.

Definition at line 193 of file EobiHandler.cpp.

void setSecurityIdFilters ( const SecurityIdFilters filters)

Set the Security Id filtering values.

Note
The filter is inclusive.

Definition at line 225 of file EobiHandler.cpp.

void start ( )

Start handler.

Note
This action is asynchronous.
Exceptions
std::exceptionin case of unable to start.

Definition at line 133 of file EobiHandler.cpp.

void start ( const ReplayOptions options)

Starts replaying previously logged data.

Definition at line 141 of file EobiHandler.cpp.

HandlerState::Enum state ( ) const

Returns handler state.

Definition at line 187 of file EobiHandler.cpp.

void stop ( )

Stop handler.

Definition at line 149 of file EobiHandler.cpp.

const char * version ( )
static

Returns Handler's version.

Definition at line 182 of file EobiHandler.cpp.


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