MamdaSecurityStatusListener is a class that specializes in handling security status updates. More...
#include <MamdaSecStatusListener.h>
Public Member Functions | |
MamdaSecStatusListener () | |
Create a specialized security status listener. | |
virtual | ~MamdaSecStatusListener () |
void | addHandler (MamdaSecStatusHandler *handler) |
Add a specialized security status handler. | |
const char * | getSymbol () const |
Get the instruments string symbol. | |
const char * | getPartId () const |
Get the participant identifier. | |
const MamaDateTime & | getSrcTime () const |
Get the source time. | |
const MamaDateTime & | getActivityTime () const |
Get the activity time. | |
const MamaDateTime & | getLineTime () const |
Get the line time. | |
const MamaDateTime & | getSendTime () const |
Get the send time. | |
const MamaMsgQual & | getMsgQual () const |
Get the message qualifier. | |
const MamaDateTime & | getEventTime () const |
Get the event time. | |
mama_seqnum_t | getEventSeqNum () const |
Get the event sequence number. | |
const MamaDateTime & | getLuldTime () const |
const char | getLuldIndicator () const |
MamdaFieldState | getSymbolFieldState () const |
Get the string symbol field state. | |
MamdaFieldState | getPartIdFieldState () const |
Get the participant identifier field state. | |
MamdaFieldState | getSrcTimeFieldState () const |
Get the source time field state. | |
MamdaFieldState | getActivityTimeFieldState () const |
Get the activity time field state. | |
MamdaFieldState | getLineTimeFieldState () const |
Get the line time of the update. | |
MamdaFieldState | getSendTimeFieldState () const |
Get the send time field state. | |
MamdaFieldState | getMsgQualFieldState () const |
Get the message qualifier field state. | |
MamdaFieldState | getEventTimeFieldState () const |
Get the event time field state. | |
MamdaFieldState | getEventSeqNumFieldState () const |
Get the event sequence number field state. | |
MamdaFieldState | getLuldIndicatorFieldState () const |
MamdaFieldState | getLuldTimeFieldState () const |
const char * | getIssueSymbol () const |
The "name" of the instrument (e.g. | |
const char * | getReason () const |
Unnormalized (feed-specific) reason associated with the current status of the security (e.g. | |
char | getSecurityAction () const |
Action related to this security. | |
char | getShortSaleCircuitBreaker () const |
const char * | getSecurityType () const |
The security type. | |
const char * | getSecurityStatus () const |
NYSE Technologies normalised security status. | |
const char * | getSecurityStatusQual () const |
Security status qualifier. | |
const char * | getSecurityStatusNative () const |
Original "security status" field sent by the feed. | |
const char * | getSecurityStatusStr () const |
NYSE Technologies normalised security status. | |
const char * | getSecurityStatusQualStr () const |
Security status qualifier. | |
MamdaSecurityStatus | getSecurityStatusEnum () const |
NYSE Technologies normalised security status. | |
MamdaSecurityStatusQual | getSecurityStatusQualifierEnum () const |
Security status qualifier. | |
const char * | getFreeText () const |
Arbitrary free text associated with the security status change. | |
MamdaFieldState | getIssueSymbolFieldState () const |
Get the issue symbol field state. | |
MamdaFieldState | getReasonFieldState () const |
Get the reason field state. | |
MamdaFieldState | getSecurityActionFieldState () const |
Get the security action field state. | |
MamdaFieldState | getShortSaleCircuitBreakerFieldState () const |
MamdaFieldState | getSecurityTypeFieldState () const |
Get the security type field state. | |
MamdaFieldState | getSecurityStatusFieldState () const |
Get the security status field state. | |
MamdaFieldState | getSecurityStatusQualFieldState () const |
Get the security status qualifier field state. | |
MamdaFieldState | getSecurityStatusNativeFieldState () const |
Get the native security status field state. | |
MamdaFieldState | getSecurityStatusStrFieldState () const |
MamdaFieldState | getSecurityStatusQualStrFieldState () const |
MamdaFieldState | getSecurityStatusEnumFieldState () const |
MamdaFieldState | getSecurityStatusQualifierEnumFieldState () const |
MamdaFieldState | getFreeTextFieldState () const |
Get the free text field field state. | |
virtual void | onMsg (MamdaSubscription *subscription, const MamaMsg &msg, short msgType) |
Implementation of MamdaListener interface. | |
![]() | |
virtual | ~MamdaMsgListener () |
![]() | |
virtual | ~MamdaSecStatus () |
![]() | |
virtual | ~MamdaBasicEvent () |
Destructor. | |
![]() | |
virtual | ~MamdaSecStatusRecap () |
![]() | |
virtual | ~MamdaBasicRecap () |
Destructor. |
MamdaSecurityStatusListener is a class that specializes in handling security status updates.
Developers provide their own implementation of the MamdaSecurityStatusHandler interface and will be delivered notifications for security status updates.
Note: The MamdaSecurityStatusListener class caches some field values. Among other reasons, caching of these fields makes it possible to provide complete certain callbacks, even when the publisher (e.g., feed handler) is only publishing deltas containing modified fields.
MamdaSecStatusListener should initialize the MamdaSecStatusFields class prior to receiving the first message by calling MamdaSecStatusFields::setDictionary() with a valid dictionary object which contains SecStatus related fields.
Wombat::MamdaSecStatusListener::MamdaSecStatusListener | ( | ) |
Create a specialized security status listener.
|
virtual |
void Wombat::MamdaSecStatusListener::addHandler | ( | MamdaSecStatusHandler * | handler | ) |
Add a specialized security status handler.
|
virtual |
Get the instruments string symbol.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number.
Implements Wombat::MamdaBasicEvent.
const MamaDateTime& Wombat::MamdaSecStatusListener::getLuldTime | ( | ) | const |
const char Wombat::MamdaSecStatusListener::getLuldIndicator | ( | ) | const |
|
virtual |
Get the string symbol field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time of the update.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number field state.
Implements Wombat::MamdaBasicEvent.
MamdaFieldState Wombat::MamdaSecStatusListener::getLuldIndicatorFieldState | ( | ) | const |
MamdaFieldState Wombat::MamdaSecStatusListener::getLuldTimeFieldState | ( | ) | const |
|
virtual |
The "name" of the instrument (e.g.
IBM, CSCO, MSFT.INCA, etc.).
Implements Wombat::MamdaSecStatus.
|
virtual |
Unnormalized (feed-specific) reason associated with the current status of the security (e.g.
halted, delayed, etc.). For normalized field, see getSecurityStatusQual
.
Implements Wombat::MamdaSecStatus.
|
virtual |
Action related to this security.
Implements Wombat::MamdaSecStatus.
|
virtual |
Implements Wombat::MamdaSecStatus.
|
virtual |
The security type.
Implements Wombat::MamdaSecStatus.
|
virtual |
NYSE Technologies normalised security status.
See getSecurityStatusOrig for the original exchange value.
Implements Wombat::MamdaSecStatus.
|
virtual |
Security status qualifier.
Implements Wombat::MamdaSecStatus.
|
virtual |
Original "security status" field sent by the feed.
NYSE Technologies feed handlers also send normalized security status.
Implements Wombat::MamdaSecStatus.
|
virtual |
NYSE Technologies normalised security status.
See getSecurityStatusOrig for the original exchange value.
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Security status qualifier.
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
NYSE Technologies normalised security status.
See getSecurityStatusOrig for the original exchange value.
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Security status qualifier.
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Arbitrary free text associated with the security status change.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the issue symbol field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the reason field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the security action field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the security type field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the security status field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the security status qualifier field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Get the native security status field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Implements Wombat::MamdaSecStatusRecap.
|
virtual |
Get the free text field field state.
Implements Wombat::MamdaSecStatus.
|
virtual |
Implementation of MamdaListener interface.
Implements Wombat::MamdaMsgListener.