#include <MamdaQuoteHandler.h>
Name | |
---|---|
virtual void | onQuoteRecap(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuoteRecap & recap) =0 |
virtual void | onQuoteUpdate(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuoteUpdate & quote, const MamdaQuoteRecap & recap) =0 |
virtual void | onQuoteGap(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuoteGap & event, const MamdaQuoteRecap & recap) =0 |
virtual void | onQuoteClosing(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuoteClosing & event, const MamdaQuoteRecap & recap) =0 |
virtual void | onQuoteOutOfSequence(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuoteOutOfSequence & event, const MamdaQuoteRecap & recap) =0 |
virtual void | onQuotePossiblyDuplicate(MamdaSubscription * subscription, MamdaQuoteListener & listener, const MamaMsg & msg, const MamdaQuotePossiblyDuplicate & event, const MamdaQuoteRecap & recap) =0 |
virtual | ~MamdaQuoteHandler() |
class Wombat::MamdaQuoteHandler;
MamdaQuoteHandler is an interface for applications that want to have an easy way to handle quote updates. The interface defines callback methods for different types of quote-related events: quotes and closing-quote updates.
virtual void onQuoteRecap(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked when the current last-quote information for the security is available. The reason for the invocation may be any of the following:
virtual void onQuoteUpdate(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuoteUpdate & quote,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked when a quote is reported.
virtual void onQuoteGap(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuoteGap & event,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked when a gap in quote reports is discovered.
virtual void onQuoteClosing(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuoteClosing & event,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked for a closing report.
virtual void onQuoteOutOfSequence(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuoteOutOfSequence & event,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked for a message marked as out of sequence. Listener must be configured to check the Msg Qualifier, i.e., call setControlProcessingByMsgQual()
on listener passing a value of true.
virtual void onQuotePossiblyDuplicate(
MamdaSubscription * subscription,
MamdaQuoteListener & listener,
const MamaMsg & msg,
const MamdaQuotePossiblyDuplicate & event,
const MamdaQuoteRecap & recap
) =0
Parameters:
Method invoked for a message which is marked as possibly duplicate Listener must be configured to check the Msg Qualifier, i.e., call setControlProcessingByMsgQual
on listener passing a value of true.
inline virtual ~MamdaQuoteHandler()
Updated on 2023-03-31 at 15:29:58 +0100