OpenMAMA
Wombat::MamdaCheckerHandler Class Referenceabstract

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...
 

Detailed Description

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.

Member Function Documentation

virtual void Wombat::MamdaCheckerHandler::onSuccess ( MamdaCheckerType  checkType)
pure virtual

Method invoked when a successful check is completed.

virtual void Wombat::MamdaCheckerHandler::onInconclusive ( MamdaCheckerType  checkType,
const char *  reason 
)
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.

virtual void Wombat::MamdaCheckerHandler::onFailure ( MamdaCheckerType  checkType,
const char *  reason,
const MamaMsg &  msg 
)
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.


The documentation for this class was generated from the following file:


© 2012 Linux Foundation