OpenMAMA
Wombat::MamdaAuctionHandler Class Referenceabstract

MamdaAuctionHandler is an interface for applications that want to have an easy way to access currency data. More...

#include <MamdaAuctionHandler.h>

Public Member Functions

virtual void onAuctionRecap (MamdaSubscription *subscription, MamdaAuctionListener &listener, const MamaMsg &msg, const MamdaAuctionRecap &recap)=0
 Method invoked when the current auction information for the security is available. More...
 
virtual void onAuctionUpdate (MamdaSubscription *subscription, MamdaAuctionListener &listener, const MamaMsg &msg, const MamdaAuctionRecap &recap, const MamdaAuctionUpdate &update)=0
 Method invoked when one or more of the Auction fields have been updated by one of the following market data events: More...
 
virtual ~MamdaAuctionHandler ()
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual Wombat::MamdaAuctionHandler::~MamdaAuctionHandler ( )
virtual
87 {};

Member Function Documentation

virtual void Wombat::MamdaAuctionHandler::onAuctionRecap ( MamdaSubscription subscription,
MamdaAuctionListener listener,
const MamaMsg &  msg,
const MamdaAuctionRecap recap 
)
pure virtual

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.
Parameters
subscriptionThe subscription which received the update.
listenerThe listener which invoked this callback.
msgThe MamaMsg that triggered this invocation.
recapAccess to the full auction recap details.
virtual void Wombat::MamdaAuctionHandler::onAuctionUpdate ( MamdaSubscription subscription,
MamdaAuctionListener listener,
const MamaMsg &  msg,
const MamdaAuctionRecap recap,
const MamdaAuctionUpdate update 
)
pure virtual

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..
Parameters
subscriptionThe subscription which received the update.
listenerThe listener which invoked this callback.
msgThe MamaMsg that triggered this invocation.
recapAccess to the full auction recap details.
updateAccess to the auction update details.

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


© 2012 Linux Foundation