MamdaCheckerHandler is an interface for applications that want to handle the results of the MamdaQuoteChecker and MamdaTradeChecker. More...
#include <MamdaCheckerHandler.h>
Public Member Functions | |
virtual void | onSuccess (MamdaCheckerType checkType)=0 |
Method invoked when a successful check is completed. More... | |
virtual void | onInconclusive (MamdaCheckerType checkType, const char *reason)=0 |
Method invoked when check is completed inconclusively. More... | |
virtual void | onFailure (MamdaCheckerType checkType, const char *reason, const MamaMsg &msg)=0 |
Method invoked when a failed check is completed. More... | |
MamdaCheckerHandler is an interface for applications that want to handle the results of the MamdaQuoteChecker and MamdaTradeChecker.
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.