Name | |
---|---|
void | onSuccess(MamdaOrderBookCheckType checkType, final MamdaOrderBook realTimeBook) |
void | onInconclusive(MamdaOrderBookCheckType checkType, final String reason) |
void | onFailure(MamdaOrderBookCheckType checkType, final String reason, final MamaMsg msg, final MamdaOrderBook realTimeBook, final MamdaOrderBook checkBook) |
class com::wombat::mamda::orderbook::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.
void onSuccess(
MamdaOrderBookCheckType checkType,
final MamdaOrderBook realTimeBook
)
Parameters:
Method invoked when a successful check is completed.
void onInconclusive(
MamdaOrderBookCheckType checkType,
final String reason
)
Parameters:
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.
void onFailure(
MamdaOrderBookCheckType checkType,
final String reason,
final MamaMsg msg,
final MamdaOrderBook realTimeBook,
final MamdaOrderBook checkBook
)
Parameters:
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:30:38 +0100