OpenMAMA
Wombat::MamdaMultiParticipantHandler Class Reference

The MamdaMultiParticipantHandler class is an interface that allows a developer to be notified dynamically when participants are added to the list. More...

#include <MamdaMultiParticipantHandler.h>

Public Member Functions

virtual void onConsolidatedCreate (MamdaSubscription *subscription, MamdaMultiParticipantManager &manager)=0
 Method invoked when the consolidated trade and BBO quote information for the security has become available.
virtual void onParticipantCreate (MamdaSubscription *subscription, MamdaMultiParticipantManager &manager, const char *particpantId, bool isPrimary)=0
 Method invoked when the trade and quote information for a participant has become available for the security.
virtual ~MamdaMultiParticipantHandler ()

Detailed Description

The MamdaMultiParticipantHandler class is an interface that allows a developer to be notified dynamically when participants are added to the list.

This is useful for handling information such as NYSE, AMEX and NASDAQ listed securities (including NQDS). Access to consolidated information (i.e., best bid and offer and consolidated trade info) is also available.

Note that any actions to register per-participant or consolidated listeners can be added up front (and this callback omitted or left empty) if the participant IDs are known beforehand.

Constructor & Destructor Documentation

virtual Wombat::MamdaMultiParticipantHandler::~MamdaMultiParticipantHandler ( )
virtual
{};

Member Function Documentation

virtual void Wombat::MamdaMultiParticipantHandler::onConsolidatedCreate ( MamdaSubscription subscription,
MamdaMultiParticipantManager manager 
)
pure virtual

Method invoked when the consolidated trade and BBO quote information for the security has become available.

This method is invoked only if there is BBO or consolidated trade information available.

virtual void Wombat::MamdaMultiParticipantHandler::onParticipantCreate ( MamdaSubscription subscription,
MamdaMultiParticipantManager manager,
const char *  particpantId,
bool  isPrimary 
)
pure virtual

Method invoked when the trade and quote information for a participant has become available for the security.

This method is invoked only if there is participant quote or trade information available. isPrimary is not yet supported!


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


© 2012 Linux Foundation