OnixS Thomson Reuters Matching API (MAPI) Market Data Handler for C++  1.6.0.0
Public Member Functions | Protected Member Functions | List of all members
OrderBookUpdateListener Class Referenceabstract

Defines an interface through which the Handler notifies subscribers about detected updates in order books. More...

Public Member Functions

virtual void onOrderBookUpdated (const std::string &symbolName, const OrderBook &book, const MessageInfo &msgInfo)=0
 Implement this member to get notified about changes in particular book after all update events processed. More...
 

Protected Member Functions

virtual ~OrderBookUpdateListener ()
 Class provides an interface for handling order book updates. More...
 

Detailed Description

Defines an interface through which the Handler notifies subscribers about detected updates in order books.

Constructor & Destructor Documentation

virtual ~OrderBookUpdateListener ( )
inlineprotectedvirtual

Class provides an interface for handling order book updates.

It doesn't provide an interface for instance deletion. However, since C++ doesn't have pure interface concept, destructor will be generated anyway. We can only control proper use of it. For this reason we hide from public use and make it available for descendants.

Member Function Documentation

virtual void onOrderBookUpdated ( const std::string &  symbolName,
const OrderBook book,
const MessageInfo msgInfo 
)
pure virtual

Implement this member to get notified about changes in particular book after all update events processed.

Parameters
symbolNameidentifiers market for which given book is being maintained.
bookis a 'up-to-date' book associated with given market.
msgInfois a fields related to incoming message.