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

#include </work/src/ListenerHolder.h>

Collaboration diagram for ListenerHolder:

Public Member Functions

 ListenerHolder (const Logging::LogFacility *parent, HandlerCore::Common::HandlerLogger *logger=nullptr)
 
void set (ErrorListener *listener) ONIXS_NOEXCEPT
 
void set (WarningListener *listener) ONIXS_NOEXCEPT
 
void set (HandlerStateListener *listener) ONIXS_NOEXCEPT
 
void set (ReferenceDataListener *listener) ONIXS_NOEXCEPT
 
void set (DepthListener *listener) ONIXS_NOEXCEPT
 
void set (CachedDepthIncrementalListener *listener) ONIXS_NOEXCEPT
 
void set (TopOfBookImpliedListener *listener) ONIXS_NOEXCEPT
 
void set (ProductStateChangeListener *listener) ONIXS_NOEXCEPT
 
void set (MassInstrumentStateChangeListener *listener) ONIXS_NOEXCEPT
 
void set (InstrumentStateChangeListener *listener) ONIXS_NOEXCEPT
 
void set (QuoteRequestListener *listener) ONIXS_NOEXCEPT
 
void set (CrossRequestListener *listener) ONIXS_NOEXCEPT
 
void set (ComplexInstrumentUpdateListener *listener) ONIXS_NOEXCEPT
 
void set (FlexibleInstrumentUpdateListener *listener) ONIXS_NOEXCEPT
 
void set (OrderBookListener *listener) ONIXS_NOEXCEPT
 
void set (TradeListener *listener) ONIXS_NOEXCEPT
 
void set (SettlementListener *listener) ONIXS_NOEXCEPT
 
void set (OpenInterestListener *listener) ONIXS_NOEXCEPT
 
void set (ExchangeTradeListener *listener) ONIXS_NOEXCEPT
 
bool hasErrorListener () const ONIXS_NOEXCEPT
 
bool hasWarningListener () const ONIXS_NOEXCEPT
 
bool hasHandlerStateListener () const ONIXS_NOEXCEPT
 
bool hasReferenceDataListener () const ONIXS_NOEXCEPT
 
bool hasDepthListener () const ONIXS_NOEXCEPT
 
bool hasCachedDepthIncrementalListener () const ONIXS_NOEXCEPT
 
bool hasTopOfBookImplied () const ONIXS_NOEXCEPT
 
bool hasProductStateChangeListener () const ONIXS_NOEXCEPT
 
bool hasMassInstrumentStateChangeListener () const ONIXS_NOEXCEPT
 
bool hasInstrumentStateChangeListener () const ONIXS_NOEXCEPT
 
bool hasQuoteRequestListener () const ONIXS_NOEXCEPT
 
bool hasCrossRequestListener () const ONIXS_NOEXCEPT
 
bool hasComplexInstrumentUpdateListener () const ONIXS_NOEXCEPT
 
bool hasFlexibleInstrumentUpdateListener () const ONIXS_NOEXCEPT
 
bool hasOrderBookListener () const ONIXS_NOEXCEPT
 
bool hasTradeListener () const ONIXS_NOEXCEPT
 
bool hasSettlementListener () const ONIXS_NOEXCEPT
 
bool hasOpenInterestListener () const ONIXS_NOEXCEPT
 
bool hasExchangeTradeListener () const ONIXS_NOEXCEPT
 
void invokeError (ErrorCode::Enum code, const std::string &description) ONIXS_NOEXCEPT
 
void invokeWarning (const std::string &description) ONIXS_NOEXCEPT
 
void invokeStateChanged (HandlerState::Enum newState) ONIXS_NOEXCEPT
 
void invokeReferenceDataStart () ONIXS_NOEXCEPT
 
void invokeReferenceDataProduct (const ProductSnapshot *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataInstrument (const InstrumentSnapshot *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataInstrumentUpdate (const InstrumentIncremental *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataVarianceFuturesStatus (const VarianceFuturesStatus *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataTotalReturnFuturesStatus (const TotalReturnFuturesStatus *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataTradeAtReferencePriceStatus (const TradeAtReferencePriceStatus *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeReferenceDataEnd () ONIXS_NOEXCEPT
 
void invokeDepthSnapshot (const DepthSnapshot *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeDepthIncremental (const DepthIncremental *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeDepthReset (MarketSegmentId marketSegmentId) ONIXS_NOEXCEPT
 
void invokeDepthOutOfDate (MarketSegmentId marketSegmentId) ONIXS_NOEXCEPT
 
void invokeCachedDepthIncremental (const DepthIncremental *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeTopOfBookImplied (const TopOfBookImplied *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeProductStateChange (const ProductStateChange *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeMassInstrumentStateChange (const MassInstrumentStateChange *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeInstrumentStateChange (const InstrumentStateChange *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeQuoteRequest (const QuoteRequest *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeCrossRequest (const CrossRequest *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeComplexInstrumentUpdate (const ComplexInstrumentUpdate *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeFlexibleInstrumentUpdate (const FlexibleInstrumentUpdate *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderBookUpdated (const OrderBook &book) ONIXS_NOEXCEPT
 
void invokeOrderBookOutOfDate (const OrderBook &book) ONIXS_NOEXCEPT
 
void invokeSnapshotTrade (const SnapshotTrade &trade) ONIXS_NOEXCEPT
 
void invokeIncrementalTrade (const IncrementalTrade &trade) ONIXS_NOEXCEPT
 
void invokeOpenInterest (const OpenInterest *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeSettlement (const Settlement *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeExchangeTrade (const ExchangeTrade *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeExchangeTradeReplayCycleStart (UInt32 mdCount, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeExchangeTradeReplayCycleEnd (const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOpenInterestReplayCycleStart (UInt32 mdCount, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOpenInterestReplayCycleEnd (const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeSettlementReplayCycleStart (UInt32 mdCount, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeSettlementReplayCycleEnd (const DataSource &dataSource) ONIXS_NOEXCEPT
 

Detailed Description

Definition at line 84 of file ListenerHolder.h.

Constructor & Destructor Documentation

ListenerHolder ( const Logging::LogFacility *  parent,
HandlerCore::Common::HandlerLogger *  logger = nullptr 
)
explicit

Definition at line 48 of file ListenerHolder.cpp.

Member Function Documentation

bool hasCachedDepthIncrementalListener ( ) const

Definition at line 85 of file ListenerHolder.cpp.

bool hasComplexInstrumentUpdateListener ( ) const

Definition at line 120 of file ListenerHolder.cpp.

bool hasCrossRequestListener ( ) const

Definition at line 115 of file ListenerHolder.cpp.

bool hasDepthListener ( ) const

Definition at line 80 of file ListenerHolder.cpp.

bool hasErrorListener ( ) const

Definition at line 60 of file ListenerHolder.cpp.

bool hasExchangeTradeListener ( ) const

Definition at line 150 of file ListenerHolder.cpp.

bool hasFlexibleInstrumentUpdateListener ( ) const

Definition at line 125 of file ListenerHolder.cpp.

bool hasHandlerStateListener ( ) const

Definition at line 70 of file ListenerHolder.cpp.

bool hasInstrumentStateChangeListener ( ) const

Definition at line 105 of file ListenerHolder.cpp.

bool hasMassInstrumentStateChangeListener ( ) const

Definition at line 100 of file ListenerHolder.cpp.

bool hasOpenInterestListener ( ) const

Definition at line 145 of file ListenerHolder.cpp.

bool hasOrderBookListener ( ) const

Definition at line 130 of file ListenerHolder.cpp.

bool hasProductStateChangeListener ( ) const

Definition at line 95 of file ListenerHolder.cpp.

bool hasQuoteRequestListener ( ) const

Definition at line 110 of file ListenerHolder.cpp.

bool hasReferenceDataListener ( ) const

Definition at line 75 of file ListenerHolder.cpp.

bool hasSettlementListener ( ) const

Definition at line 140 of file ListenerHolder.cpp.

bool hasTopOfBookImplied ( ) const

Definition at line 90 of file ListenerHolder.cpp.

bool hasTradeListener ( ) const

Definition at line 135 of file ListenerHolder.cpp.

bool hasWarningListener ( ) const

Definition at line 65 of file ListenerHolder.cpp.

void invokeCachedDepthIncremental ( const DepthIncremental msg,
const DataSource dataSource 
)

Definition at line 384 of file ListenerHolder.cpp.

void invokeComplexInstrumentUpdate ( const ComplexInstrumentUpdate msg,
const DataSource dataSource 
)

Definition at line 444 of file ListenerHolder.cpp.

void invokeCrossRequest ( const CrossRequest msg,
const DataSource dataSource 
)

Definition at line 436 of file ListenerHolder.cpp.

void invokeDepthIncremental ( const DepthIncremental msg,
const DataSource dataSource 
)

Definition at line 360 of file ListenerHolder.cpp.

void invokeDepthOutOfDate ( MarketSegmentId  marketSegmentId)

Definition at line 376 of file ListenerHolder.cpp.

void invokeDepthReset ( MarketSegmentId  marketSegmentId)

Definition at line 368 of file ListenerHolder.cpp.

void invokeDepthSnapshot ( const DepthSnapshot msg,
const DataSource dataSource 
)

Definition at line 352 of file ListenerHolder.cpp.

void invokeError ( ErrorCode::Enum  code,
const std::string &  description 
)

Definition at line 256 of file ListenerHolder.cpp.

void invokeExchangeTrade ( const ExchangeTrade msg,
const DataSource dataSource 
)

Definition at line 548 of file ListenerHolder.cpp.

void invokeExchangeTradeReplayCycleEnd ( const DataSource dataSource)

Definition at line 565 of file ListenerHolder.cpp.

void invokeExchangeTradeReplayCycleStart ( UInt32  mdCount,
const DataSource dataSource 
)

Definition at line 556 of file ListenerHolder.cpp.

void invokeFlexibleInstrumentUpdate ( const FlexibleInstrumentUpdate msg,
const DataSource dataSource 
)

Definition at line 454 of file ListenerHolder.cpp.

void invokeIncrementalTrade ( const IncrementalTrade trade)

Definition at line 488 of file ListenerHolder.cpp.

void invokeInstrumentStateChange ( const InstrumentStateChange msg,
const DataSource dataSource 
)

Definition at line 419 of file ListenerHolder.cpp.

void invokeMassInstrumentStateChange ( const MassInstrumentStateChange msg,
const DataSource dataSource 
)

Definition at line 409 of file ListenerHolder.cpp.

void invokeOpenInterest ( const OpenInterest msg,
const DataSource dataSource 
)

Definition at line 496 of file ListenerHolder.cpp.

void invokeOpenInterestReplayCycleEnd ( const DataSource dataSource)

Definition at line 513 of file ListenerHolder.cpp.

void invokeOpenInterestReplayCycleStart ( UInt32  mdCount,
const DataSource dataSource 
)

Definition at line 504 of file ListenerHolder.cpp.

void invokeOrderBookOutOfDate ( const OrderBook book)

Definition at line 472 of file ListenerHolder.cpp.

void invokeOrderBookUpdated ( const OrderBook book)

Definition at line 464 of file ListenerHolder.cpp.

void invokeProductStateChange ( const ProductStateChange msg,
const DataSource dataSource 
)

Definition at line 401 of file ListenerHolder.cpp.

void invokeQuoteRequest ( const QuoteRequest msg,
const DataSource dataSource 
)

Definition at line 428 of file ListenerHolder.cpp.

void invokeReferenceDataEnd ( )

Definition at line 344 of file ListenerHolder.cpp.

void invokeReferenceDataInstrument ( const InstrumentSnapshot msg,
const DataSource dataSource 
)

Definition at line 296 of file ListenerHolder.cpp.

void invokeReferenceDataInstrumentUpdate ( const InstrumentIncremental msg,
const DataSource dataSource 
)

Definition at line 304 of file ListenerHolder.cpp.

void invokeReferenceDataProduct ( const ProductSnapshot msg,
const DataSource dataSource 
)

Definition at line 288 of file ListenerHolder.cpp.

void invokeReferenceDataStart ( )

Definition at line 280 of file ListenerHolder.cpp.

void invokeReferenceDataTotalReturnFuturesStatus ( const TotalReturnFuturesStatus msg,
const DataSource dataSource 
)

Definition at line 323 of file ListenerHolder.cpp.

void invokeReferenceDataTradeAtReferencePriceStatus ( const TradeAtReferencePriceStatus msg,
const DataSource dataSource 
)

Definition at line 334 of file ListenerHolder.cpp.

void invokeReferenceDataVarianceFuturesStatus ( const VarianceFuturesStatus msg,
const DataSource dataSource 
)

Definition at line 314 of file ListenerHolder.cpp.

void invokeSettlement ( const Settlement msg,
const DataSource dataSource 
)

Definition at line 523 of file ListenerHolder.cpp.

void invokeSettlementReplayCycleEnd ( const DataSource dataSource)

Definition at line 540 of file ListenerHolder.cpp.

void invokeSettlementReplayCycleStart ( UInt32  mdCount,
const DataSource dataSource 
)

Definition at line 531 of file ListenerHolder.cpp.

void invokeSnapshotTrade ( const SnapshotTrade trade)

Definition at line 480 of file ListenerHolder.cpp.

void invokeStateChanged ( HandlerState::Enum  newState)

Definition at line 272 of file ListenerHolder.cpp.

void invokeTopOfBookImplied ( const TopOfBookImplied msg,
const DataSource dataSource 
)

Definition at line 393 of file ListenerHolder.cpp.

void invokeWarning ( const std::string &  description)

Definition at line 264 of file ListenerHolder.cpp.

void set ( ErrorListener listener)

Definition at line 156 of file ListenerHolder.cpp.

void set ( WarningListener listener)

Definition at line 161 of file ListenerHolder.cpp.

void set ( HandlerStateListener listener)

Definition at line 166 of file ListenerHolder.cpp.

void set ( ReferenceDataListener listener)

Definition at line 171 of file ListenerHolder.cpp.

void set ( DepthListener listener)

Definition at line 176 of file ListenerHolder.cpp.

void set ( CachedDepthIncrementalListener listener)

Definition at line 181 of file ListenerHolder.cpp.

void set ( TopOfBookImpliedListener listener)

Definition at line 186 of file ListenerHolder.cpp.

void set ( ProductStateChangeListener listener)

Definition at line 191 of file ListenerHolder.cpp.

void set ( MassInstrumentStateChangeListener listener)

Definition at line 196 of file ListenerHolder.cpp.

void set ( InstrumentStateChangeListener listener)

Definition at line 201 of file ListenerHolder.cpp.

void set ( QuoteRequestListener listener)

Definition at line 206 of file ListenerHolder.cpp.

void set ( CrossRequestListener listener)

Definition at line 211 of file ListenerHolder.cpp.

void set ( ComplexInstrumentUpdateListener listener)

Definition at line 216 of file ListenerHolder.cpp.

void set ( FlexibleInstrumentUpdateListener listener)

Definition at line 221 of file ListenerHolder.cpp.

void set ( OrderBookListener listener)

Definition at line 226 of file ListenerHolder.cpp.

void set ( TradeListener listener)

Definition at line 231 of file ListenerHolder.cpp.

void set ( SettlementListener listener)

Definition at line 236 of file ListenerHolder.cpp.

void set ( OpenInterestListener listener)

Definition at line 241 of file ListenerHolder.cpp.

void set ( ExchangeTradeListener listener)

Definition at line 246 of file ListenerHolder.cpp.


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