Public Member Functions | |
virtual void | onOrderBookReset (const OrderBook &book)=0 |
virtual void | onOrderBookChanged (MarketId marketId, const OrderBookChange &change)=0 |
Protected Member Functions | |
virtual | ~OrderBookChangeListener () |
Defines the interface through which the Handler notifies subscribers about detected changes in books.
Definition at line 56 of file OrderBookChangeListener.h.
|
inlineprotectedvirtual |
Definition at line 83 of file OrderBookChangeListener.h.
|
pure virtual |
Is called when a change for a particular order book is reported.
The following messages affect the event:
marketId | is a market ID for the order book |
change | is a change in the order book |
|
pure virtual |
Is called when book is reset for a given instrument.
book | is a 'up-to-date' book associated with given market. |