#include <MamdaSecStatusSymbolSourceAdapter.h>
Inherits from Wombat::MamdaSymbolSourceEvent, Wombat::MamdaSecStatusHandler
Name | |
---|---|
MamdaSecStatusSymbolSourceAdapter() | |
virtual | ~MamdaSecStatusSymbolSourceAdapter() |
void | addHandler(MamdaSymbolSourceHandler * handler) |
virtual const char * | getSourcedSymbol() const |
virtual void | onSecStatusRecap(MamdaSubscription * subscription, MamdaSecStatusListener & listener, const MamaMsg & msg, MamdaSecStatusRecap & recap) |
virtual void | onSecStatusUpdate(MamdaSubscription * subscription, MamdaSecStatusListener & listener, const MamaMsg & msg) |
Public Functions inherited from Wombat::MamdaSymbolSourceEvent
Name | |
---|---|
virtual | ~MamdaSymbolSourceEvent() |
Public Functions inherited from Wombat::MamdaSecStatusHandler
Name | |
---|---|
virtual | ~MamdaSecStatusHandler() |
class Wombat::MamdaSecStatusSymbolSourceAdapter;
MamdaSecStatusSymbolSourceAdapter is a simple adapter class that can be added as a handler to the MamdaSecStatusListener turning it into a MamdaSymbolSource. Objects implementing the MamdaSymbolSource interface can register with this adapter and receive notification of newly announced symbols indirectly from the MamdaSecStatusListener via this adapter.
MamdaSecStatusSymbolSourceAdapter()
virtual ~MamdaSecStatusSymbolSourceAdapter()
void addHandler(
MamdaSymbolSourceHandler * handler
)
Parameters:
Register a handler implementing the MamdaSymbolSourceHandler interface.
virtual const char * getSourcedSymbol() const
Return: sourced symbol
Reimplements: Wombat::MamdaSymbolSourceEvent::getSourcedSymbol
Return the sourced symbol. Implementation of the MamdaSymbolSourceEvent interface
virtual void onSecStatusRecap(
MamdaSubscription * subscription,
MamdaSecStatusListener & listener,
const MamaMsg & msg,
MamdaSecStatusRecap & recap
)
Parameters:
Reimplements: Wombat::MamdaSecStatusHandler::onSecStatusRecap
Implementation of MamdaSecStatusHandler interface.
virtual void onSecStatusUpdate(
MamdaSubscription * subscription,
MamdaSecStatusListener & listener,
const MamaMsg & msg
)
Parameters:
Reimplements: Wombat::MamdaSecStatusHandler::onSecStatusUpdate
Method invoked when a security status update is received.
Updated on 2023-03-31 at 15:29:58 +0100