OpenMAMA
Wombat::MamdaCurrencyHandler Class Reference

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

#include <MamdaCurrencyHandler.h>

Public Member Functions

virtual void onCurrencyRecap (MamdaSubscription *subscription, MamdaCurrencyListener &listener, const MamaMsg &msg, const MamdaCurrencyRecap &recap)=0
 Method invoked when the current last-currecny information for the security is available.
virtual void onCurrencyUpdate (MamdaSubscription *subscription, MamdaCurrencyListener &listener, const MamaMsg &msg, const MamdaCurrencyRecap &recap, const MamdaCurrencyUpdate &update)=0
 Method invoked when one or more of the Currency fields have been updated by one of the following market data events:
virtual ~MamdaCurrencyHandler ()

Detailed Description

MamdaCurrencyHandler 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::MamdaCurrencyHandler::~MamdaCurrencyHandler ( )
virtual
{};

Member Function Documentation

virtual void Wombat::MamdaCurrencyHandler::onCurrencyRecap ( MamdaSubscription subscription,
MamdaCurrencyListener listener,
const MamaMsg &  msg,
const MamdaCurrencyRecap recap 
)
pure virtual

Method invoked when the current last-currecny 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 quote recap details.
virtual void Wombat::MamdaCurrencyHandler::onCurrencyUpdate ( MamdaSubscription subscription,
MamdaCurrencyListener listener,
const MamaMsg &  msg,
const MamdaCurrencyRecap recap,
const MamdaCurrencyUpdate update 
)
pure virtual

Method invoked when one or more of the Currency 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.
recapThe MamaMsg that triggered this invocation.
updateAccess to the currency update details.

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


© 2012 Linux Foundation