#include <MamdaMultiSecurityManager.h>
Inherits from Wombat::MamdaMsgListener
Name | |
---|---|
MamdaMultiSecurityManager(const char * symbol) | |
virtual | ~MamdaMultiSecurityManager() |
void | addHandler(MamdaMultiSecurityHandler * handler) |
void | addSecurityListener(MamdaMsgListener * listener, const char * securitySymbol) |
virtual void | onMsg(MamdaSubscription * subscription, const MamaMsg & msg, short msgType) |
Public Functions inherited from Wombat::MamdaMsgListener
Name | |
---|---|
virtual | ~MamdaMsgListener() |
class Wombat::MamdaMultiSecurityManager;
MamdaMultiSecurityManager is a class that manages updates on an arbitrary number of securities that may be traded on multiple exchanges. Developers are notified of each security available, including the national best bid and offer, and each regional exchange, if applicable. Developers can pick and choose which elements they wish to provide handling for (e.g., BBO-only, certain regional exchanges, etc.).
MamdaMultiSecurityManager(
const char * symbol
)
Create a manager for consolidated securities.
virtual ~MamdaMultiSecurityManager()
Destructor.
void addHandler(
MamdaMultiSecurityHandler * handler
)
Add a specialized handler for notifications about each security in the group. The handler is responsible for initializing any data structures and listeners for each security. Currently, only one handler can be registered.
void addSecurityListener(
MamdaMsgListener * listener,
const char * securitySymbol
)
Add a specialized message listener (e.g., a MamdaQuoteListener, MamdaTradeListener, etc.) for a security.
virtual void onMsg(
MamdaSubscription * subscription,
const MamaMsg & msg,
short msgType
)
Reimplements: Wombat::MamdaMsgListener::onMsg
Implementation of MamdaMsgListener interface.
Updated on 2023-03-31 at 15:29:57 +0100