OnixS ICE iMpact Multicast Feed Handler for C++  3.13.0.0
Public Member Functions | List of all members
OrderBookUpdateListener Class Referenceabstract

Defines the interface through which the Handler notifies subscribers that all the changes from current multicast message block are applied to the order book. More...

Public Member Functions

virtual void onOrderBookUpdated (const OrderBook &book, const MessageInfo &msgInfo)=0
 Is called when the order book is updated. More...
 

Detailed Description

Defines the interface through which the Handler notifies subscribers that all the changes from current multicast message block are applied to the order book.

Member Function Documentation

virtual void onOrderBookUpdated ( const OrderBook &  book,
const MessageInfo &  msgInfo 
)
pure virtual

Is called when the order book is updated.

In compare to the change reported through OnixS::ICE::iMpact::MarketData::OrderBookChangeListener interface, update represents a complex operation and usually consists of multiple changes. Also, books reported via OnixS::ICE::iMpact::MarketData::OrderBookUpdateListener interface are always in a valid state, whereas atomic change may invalidate book until subsequent change.

Parameters
bookis a 'up-to-date' book associated with given market.
msgInfoinformation about multicast message block.