Classes Files

com::wombat::mamda::MamdaAuctionHandler

More…

Public Functions

  Name
void onAuctionRecap(MamdaSubscription subscription, MamdaAuctionListener listener, MamaMsg msg, MamdaAuctionRecap recap)
void onAuctionUpdate(MamdaSubscription subscription, MamdaAuctionListener listener, MamaMsg msg, MamdaAuctionRecap recap, MamdaAuctionUpdate update)

Detailed Description

class com::wombat::mamda::MamdaAuctionHandler;

MamdaAuctionHandler is an interface for applications that want to have an easy way to handle auction updates. The interface defines callback methods for different types of auction-related events

Public Functions Documentation

function onAuctionRecap

void onAuctionRecap(
    MamdaSubscription subscription,
    MamdaAuctionListener listener,
    MamaMsg msg,
    MamdaAuctionRecap recap
)

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

void onAuctionUpdate(
    MamdaSubscription subscription,
    MamdaAuctionListener listener,
    MamaMsg msg,
    MamdaAuctionRecap recap,
    MamdaAuctionUpdate update
)

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

Updated on 2023-03-31 at 15:30:32 +0100