Classes Files

Wombat::MamdaAuctionHandler

More…

#include <MamdaAuctionHandler.h>

Public Functions

  Name
virtual void onAuctionRecap(MamdaSubscription * subscription, MamdaAuctionListener & listener, const MamaMsg & msg, const MamdaAuctionRecap & recap) =0
virtual void onAuctionUpdate(MamdaSubscription * subscription, MamdaAuctionListener & listener, const MamaMsg & msg, const MamdaAuctionRecap & recap, const MamdaAuctionUpdate & update) =0
virtual ~MamdaAuctionHandler()

Detailed Description

class Wombat::MamdaAuctionHandler;

MamdaAuctionHandler is an interface for applications that want to have an easy way to access currency data. The interface defines callback methods for for receiving updates on currency data.

Public Functions Documentation

function onAuctionRecap

virtual void onAuctionRecap(
    MamdaSubscription * subscription,
    MamdaAuctionListener & listener,
    const MamaMsg & msg,
    const MamdaAuctionRecap & recap
) =0

Parameters:

  • subscription The subscription which received the update.
  • listener The listener which invoked this callback.
  • msg The MamaMsg that triggered this invocation.
  • recap Access to the full auction recap details.

Method invoked when the current auction information for the security is available. The reason for the invocation may be any of the following:

  • Initial image.
  • Recap update (e.g., after server fault tolerant event or data quality event.)
  • After stale status removed.

function onAuctionUpdate

virtual void onAuctionUpdate(
    MamdaSubscription * subscription,
    MamdaAuctionListener & listener,
    const MamaMsg & msg,
    const MamdaAuctionRecap & recap,
    const MamdaAuctionUpdate & update
) =0

Parameters:

  • subscription The subscription which received the update.
  • listener The listener which invoked this callback.
  • msg The MamaMsg that triggered this invocation.
  • recap Access to the full auction recap details.
  • update Access to the auction update details.

Method invoked when one or more of the Auction fields have been updated by one of the following market data events:

  • Initial image.
  • Recap update (e.g., after server fault tolerant event or data quality event.)
  • Generic update..

function ~MamdaAuctionHandler

inline virtual ~MamdaAuctionHandler()

Updated on 2023-03-31 at 15:29:57 +0100