#include <MamdaCheckerHandler.h>
Name | |
---|---|
virtual void | onSuccess(MamdaCheckerType checkType) =0 |
virtual void | onInconclusive(MamdaCheckerType checkType, const char * reason) =0 |
virtual void | onFailure(MamdaCheckerType checkType, const char * reason, const MamaMsg & msg) =0 |
class Wombat::MamdaCheckerHandler;
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.
virtual void onSuccess(
MamdaCheckerType checkType
) =0
Method invoked when a successful check is completed.
virtual void onInconclusive(
MamdaCheckerType checkType,
const char * reason
) =0
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.
virtual void onFailure(
MamdaCheckerType checkType,
const char * reason,
const MamaMsg & msg
) =0
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.
Updated on 2023-03-31 at 15:29:57 +0100