OpenMAMA
Wombat::MamdaBookAtomicLevelEntryHandler Class Referenceabstract

MamdaBookAtomicLevelEntryHandler is an interface for applications that want to have an easy way to handle order book Price Level & Entry updates. More...

#include <MamdaBookAtomicLevelEntryHandler.h>

Public Member Functions

virtual void onBookAtomicLevelEntryRecap (MamdaSubscription *subscription, MamdaBookAtomicListener &listener, const MamaMsg &msg, const MamdaBookAtomicLevelEntry &levelEntry)=0
 Method invoked when a full refresh of the order book for the security is available. More...
 
virtual void onBookAtomicLevelEntryDelta (MamdaSubscription *subscription, MamdaBookAtomicListener &listener, const MamaMsg &msg, const MamdaBookAtomicLevelEntry &levelEntry)=0
 Method invoked when an order book delta is reported. More...
 
virtual ~MamdaBookAtomicLevelEntryHandler ()
 

Detailed Description

MamdaBookAtomicLevelEntryHandler is an interface for applications that want to have an easy way to handle order book Price Level & Entry updates.

The interface defines callback methods for different types of orderBook-related events: order book recaps and updates.

Constructor & Destructor Documentation

virtual Wombat::MamdaBookAtomicLevelEntryHandler::~MamdaBookAtomicLevelEntryHandler ( )
virtual
79 {};

Member Function Documentation

virtual void Wombat::MamdaBookAtomicLevelEntryHandler::onBookAtomicLevelEntryRecap ( MamdaSubscription subscription,
MamdaBookAtomicListener listener,
const MamaMsg &  msg,
const MamdaBookAtomicLevelEntry levelEntry 
)
pure virtual

Method invoked when a full refresh of the order book 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 MamdaSubscription handle.
listenerThe listener handling the recap.
msgThe MamaMsg that triggered this invocation.
levelEntryThe Price Level Entry recap.
virtual void Wombat::MamdaBookAtomicLevelEntryHandler::onBookAtomicLevelEntryDelta ( MamdaSubscription subscription,
MamdaBookAtomicListener listener,
const MamaMsg &  msg,
const MamdaBookAtomicLevelEntry levelEntry 
)
pure virtual

Method invoked when an order book delta is reported.

Parameters
subscriptionThe MamdaSubscription handle.
listenerThe listener handling the update.
msgThe MamaMsg that triggered this invocation.
levelEntryThe Price Level Entry update.

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


© 2012 Linux Foundation