OnixS C++ SGX Titan ITCH Market Data Handler  1.2.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 setLogger (HandlerCore::Common::HandlerLogger *handlerLogger)
 
void set (ErrorListener *listener)
 
void set (WarningListener *listener)
 
void set (HandlerStateListener *listener)
 
void set (MessageListener *listener)
 
void set (TimeListener *listener)
 
void set (ReferenceDataListener *listener)
 
void set (EventAndStateChangeListener *listener)
 
void set (MarketByOrderListener *listener)
 
void set (TradeListener *listener)
 
void set (AuctionListener *listener)
 
void set (OrderBookListener *listener)
 
bool hasOrderBookListener () const ONIXS_NOEXCEPT
 
bool hasErrorListener () const ONIXS_NOEXCEPT
 
bool hasWarningListener () const ONIXS_NOEXCEPT
 
bool hasHandlerStateListener () const ONIXS_NOEXCEPT
 
bool hasMessageListener () const ONIXS_NOEXCEPT
 
bool hasTimeListener () const ONIXS_NOEXCEPT
 
bool hasReferenceDataListener () const ONIXS_NOEXCEPT
 
bool hasSystemEventListener () const ONIXS_NOEXCEPT
 
bool hasMarketByOrderListener () const ONIXS_NOEXCEPT
 
bool hasTradeListener () const ONIXS_NOEXCEPT
 
bool hasAuctionListener () 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 invokeGap (SequenceNumber expectedSeqNum, SequenceNumber receivedSeqNum) ONIXS_NOEXCEPT
 
void invokeInactivity () ONIXS_NOEXCEPT
 
void invokeTime (const SecondsMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderBookDirectory (const OrderBookDirectoryMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeCombinationOrderBookLeg (const CombinationOrderBookLegMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeTickSizeTableEntry (const TickSizeTableEntryMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeSystemEvent (const SystemEventMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderBookState (const OrderBookStateMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeAddOrder (const AddOrderMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderExecuted (const OrderExecutedMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderExecutedWithPrice (const OrderExecutedWithPriceMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderDelete (const OrderDeleteMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderReplace (const OrderReplaceMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeTrade (const TradeMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeEquilibriumPriceUpdate (const EquilibriumPriceUpdateMsg *msg, const DataSource &dataSource) ONIXS_NOEXCEPT
 
void invokeOrderBookUpdated (const OrderBookInternal &book) ONIXS_NOEXCEPT
 
void invokeOrderBookOutOfDate (const OrderBookInternal &book) ONIXS_NOEXCEPT
 
void invokeEndOfSession () ONIXS_NOEXCEPT
 
void invokeSnapshotRecoveryStarted () ONIXS_NOEXCEPT
 
void invokeSnapshotRecoveryFinished () ONIXS_NOEXCEPT
 

Detailed Description

Definition at line 72 of file ListenerHolder.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file ListenerHolder.cpp.

Member Function Documentation

bool hasAuctionListener ( ) const
inline

Definition at line 105 of file ListenerHolder.h.

bool hasErrorListener ( ) const
inline

Definition at line 96 of file ListenerHolder.h.

bool hasHandlerStateListener ( ) const
inline

Definition at line 98 of file ListenerHolder.h.

bool hasMarketByOrderListener ( ) const
inline

Definition at line 103 of file ListenerHolder.h.

bool hasMessageListener ( ) const
inline

Definition at line 99 of file ListenerHolder.h.

bool hasOrderBookListener ( ) const
inline

Definition at line 95 of file ListenerHolder.h.

bool hasReferenceDataListener ( ) const
inline

Definition at line 101 of file ListenerHolder.h.

bool hasSystemEventListener ( ) const
inline

Definition at line 102 of file ListenerHolder.h.

bool hasTimeListener ( ) const
inline

Definition at line 100 of file ListenerHolder.h.

bool hasTradeListener ( ) const
inline

Definition at line 104 of file ListenerHolder.h.

bool hasWarningListener ( ) const
inline

Definition at line 97 of file ListenerHolder.h.

void invokeAddOrder ( const AddOrderMsg msg,
const DataSource dataSource 
)

Definition at line 186 of file ListenerHolder.cpp.

void invokeCombinationOrderBookLeg ( const CombinationOrderBookLegMsg msg,
const DataSource dataSource 
)

Definition at line 142 of file ListenerHolder.cpp.

void invokeEndOfSession ( )

Definition at line 280 of file ListenerHolder.cpp.

void invokeEquilibriumPriceUpdate ( const EquilibriumPriceUpdateMsg msg,
const DataSource dataSource 
)

Definition at line 252 of file ListenerHolder.cpp.

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

Definition at line 77 of file ListenerHolder.cpp.

void invokeGap ( SequenceNumber  expectedSeqNum,
SequenceNumber  receivedSeqNum 
)

Definition at line 103 of file ListenerHolder.cpp.

void invokeInactivity ( )

Definition at line 112 of file ListenerHolder.cpp.

void invokeOrderBookDirectory ( const OrderBookDirectoryMsg msg,
const DataSource dataSource 
)

Definition at line 131 of file ListenerHolder.cpp.

void invokeOrderBookOutOfDate ( const OrderBookInternal book)

Definition at line 272 of file ListenerHolder.cpp.

void invokeOrderBookState ( const OrderBookStateMsg msg,
const DataSource dataSource 
)

Definition at line 175 of file ListenerHolder.cpp.

void invokeOrderBookUpdated ( const OrderBookInternal book)

Definition at line 263 of file ListenerHolder.cpp.

void invokeOrderDelete ( const OrderDeleteMsg msg,
const DataSource dataSource 
)

Definition at line 230 of file ListenerHolder.cpp.

void invokeOrderExecuted ( const OrderExecutedMsg msg,
const DataSource dataSource 
)

Definition at line 197 of file ListenerHolder.cpp.

void invokeOrderExecutedWithPrice ( const OrderExecutedWithPriceMsg msg,
const DataSource dataSource 
)

Definition at line 208 of file ListenerHolder.cpp.

void invokeOrderReplace ( const OrderReplaceMsg msg,
const DataSource dataSource 
)

Definition at line 219 of file ListenerHolder.cpp.

void invokeSnapshotRecoveryFinished ( )

Definition at line 296 of file ListenerHolder.cpp.

void invokeSnapshotRecoveryStarted ( )

Definition at line 288 of file ListenerHolder.cpp.

void invokeStateChanged ( HandlerState::Enum  newState)

Definition at line 95 of file ListenerHolder.cpp.

void invokeSystemEvent ( const SystemEventMsg msg,
const DataSource dataSource 
)

Definition at line 164 of file ListenerHolder.cpp.

void invokeTickSizeTableEntry ( const TickSizeTableEntryMsg msg,
const DataSource dataSource 
)

Definition at line 153 of file ListenerHolder.cpp.

void invokeTime ( const SecondsMsg msg,
const DataSource dataSource 
)

Definition at line 120 of file ListenerHolder.cpp.

void invokeTrade ( const TradeMsg msg,
const DataSource dataSource 
)

Definition at line 241 of file ListenerHolder.cpp.

void invokeWarning ( const std::string &  description)

Definition at line 86 of file ListenerHolder.cpp.

void set ( ErrorListener listener)
inline

Definition at line 82 of file ListenerHolder.h.

void set ( WarningListener listener)
inline

Definition at line 83 of file ListenerHolder.h.

void set ( HandlerStateListener listener)
inline

Definition at line 84 of file ListenerHolder.h.

void set ( MessageListener listener)
inline

Definition at line 85 of file ListenerHolder.h.

void set ( TimeListener listener)
inline

Definition at line 86 of file ListenerHolder.h.

void set ( ReferenceDataListener listener)
inline

Definition at line 87 of file ListenerHolder.h.

void set ( EventAndStateChangeListener listener)
inline

Definition at line 88 of file ListenerHolder.h.

void set ( MarketByOrderListener listener)
inline

Definition at line 89 of file ListenerHolder.h.

void set ( TradeListener listener)
inline

Definition at line 90 of file ListenerHolder.h.

void set ( AuctionListener listener)
inline

Definition at line 91 of file ListenerHolder.h.

void set ( OrderBookListener listener)
inline

Definition at line 92 of file ListenerHolder.h.

void setLogger ( HandlerCore::Common::HandlerLogger *  handlerLogger)

Definition at line 67 of file ListenerHolder.cpp.


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