MamdaSecStatusSymbolSourceAdapter is a simple adapter class that can be added as a handler to the MamdaSecStatusListener turning it into a MamdaSymbolSource. More...
#include <MamdaSecStatusSymbolSourceAdapter.h>
Public Member Functions | |
| MamdaSecStatusSymbolSourceAdapter () | |
| virtual | ~MamdaSecStatusSymbolSourceAdapter () |
| void | addHandler (MamdaSymbolSourceHandler *handler) |
| Register a handler implementing the MamdaSymbolSourceHandler interface. More... | |
| virtual const char * | getSourcedSymbol () const |
| Return the sourced symbol. More... | |
| virtual void | onSecStatusRecap (MamdaSubscription *subscription, MamdaSecStatusListener &listener, const MamaMsg &msg, MamdaSecStatusRecap &recap) |
| Implementation of MamdaSecStatusHandler interface. More... | |
| virtual void | onSecStatusUpdate (MamdaSubscription *subscription, MamdaSecStatusListener &listener, const MamaMsg &msg) |
| Method invoked when a security status update is received. More... | |
Public Member Functions inherited from Wombat::MamdaSymbolSourceEvent | |
| virtual | ~MamdaSymbolSourceEvent () |
Public Member Functions inherited from Wombat::MamdaSecStatusHandler | |
| virtual | ~MamdaSecStatusHandler () |
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.
| Wombat::MamdaSecStatusSymbolSourceAdapter::MamdaSecStatusSymbolSourceAdapter | ( | ) |
|
virtual |
| void Wombat::MamdaSecStatusSymbolSourceAdapter::addHandler | ( | MamdaSymbolSourceHandler * | handler | ) |
Register a handler implementing the MamdaSymbolSourceHandler interface.
| handler | The symbol source handler |
|
virtual |
Return the sourced symbol.
Implementation of the MamdaSymbolSourceEvent interface
Implements Wombat::MamdaSymbolSourceEvent.
|
virtual |
Implementation of MamdaSecStatusHandler interface.
| subscription | The security status subscription. |
| listener | The security status listener. |
| msg | The security status update message. |
Implements Wombat::MamdaSecStatusHandler.
|
virtual |
Method invoked when a security status update is received.
| subscription | The subscription which received the update |
| listener | The listener which invoked this callback. |
| msg | The MamaMsg that triggered this invocation. |
Implements Wombat::MamdaSecStatusHandler.