MamdaNewsHandler is an interface for applications that want to have an easy way to handle news headlines. More...
#include <MamdaNewsHeadlineHandler.h>
Public Member Functions | |
| virtual void | onNewsHeadline (MamdaNewsManager &manager, const MamaMsg &msg, const MamdaNewsHeadline &headline, void *closure)=0 |
| Method invoked when a news headline is received. More... | |
| virtual | ~MamdaNewsHeadlineHandler () |
MamdaNewsHandler is an interface for applications that want to have an easy way to handle news headlines.
The interface defines callback methods for different types of trade-related events: trades, errors/cancels, corrections, recaps and closing reports.
|
pure virtual |
Method invoked when a news headline is received.
| manager | The news manager invoking the callback. |
| msg | The MamaMsg that triggered this invocation. |
| headline | Access to the headline details. |
| closure | Access to the user supplied closure data. |