MamdaOrderBookCheckerHandler is an interface for applications that want to handle the results of the MamdaOrderBookChecker. More...
#include <MamdaOrderBookCheckerHandler.h>
Public Member Functions | |
virtual void | onSuccess (MamdaOrderBookCheckType checkType)=0 |
Method invoked when a successful check is completed. More... | |
virtual void | onInconclusive (MamdaOrderBookCheckType checkType, const char *reason)=0 |
Method invoked when check is completed inconclusively. More... | |
virtual void | onFailure (MamdaOrderBookCheckType checkType, const char *reason, const MamaMsg *msg, const MamdaOrderBook &realTimeBook, const MamdaOrderBook &checkBook)=0 |
Method invoked when a failed check is completed. More... | |
virtual | ~MamdaOrderBookCheckerHandler () |
MamdaOrderBookCheckerHandler is an interface for applications that want to handle the results of the MamdaOrderBookChecker.
Callback interfaces are provided for correct and erroneous checks.
|
pure virtual |
Method invoked when a successful check is completed.
|
pure virtual |
Method invoked when check is completed inconclusively.
An attempt to check the order book may be inconclusive if the order book sequence numbers do not match up.
|
pure virtual |
Method invoked when a failed check is completed.
The message provided, if non-NULL, is the one received for the snapshot or delta, depending upon the value of checkType.