#include <MamdaSecStatusListener.h>
Inherits from Wombat::MamdaMsgListener, Wombat::MamdaSecStatus, Wombat::MamdaSecStatusRecap, Wombat::MamdaBasicEvent, Wombat::MamdaBasicRecap
Public Functions inherited from Wombat::MamdaMsgListener
Name | |
---|---|
virtual | ~MamdaMsgListener() |
Public Functions inherited from Wombat::MamdaSecStatus
Name | |
---|---|
virtual | ~MamdaSecStatus() |
Public Functions inherited from Wombat::MamdaSecStatusRecap
Name | |
---|---|
virtual | ~MamdaSecStatusRecap() |
Public Functions inherited from Wombat::MamdaBasicEvent
Name | |
---|---|
virtual | ~MamdaBasicEvent() |
Public Functions inherited from Wombat::MamdaBasicRecap
Name | |
---|---|
virtual | ~MamdaBasicRecap() |
class Wombat::MamdaSecStatusListener;
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.
MamdaSecStatusListener()
Create a specialized security status listener.
virtual ~MamdaSecStatusListener()
void addHandler(
MamdaSecStatusHandler * handler
)
Add a specialized security status handler.
virtual const char * getSymbol() const
Return: Symbol. This is the “well-known” symbol for the security, including any symbology mapping performed by the publisher.
Reimplements: Wombat::MamdaBasicEvent::getSymbol
Get the instruments string symbol.
virtual const char * getPartId() const
Return: Participant ID. This may be an exchange identifier, a market maker ID, etc., or NULL (if this is not related to any specific participant).
Reimplements: Wombat::MamdaBasicEvent::getPartId
Get the participant identifier.
virtual const MamaDateTime & getSrcTime() const
Return: Source time. Typically, the exchange generated feed time stamp. This is often the same as the “event time”, because many feeds do not distinguish between the actual event time and when the exchange sent the message.
Reimplements: Wombat::MamdaBasicEvent::getSrcTime
Get the source time.
virtual const MamaDateTime & getActivityTime() const
Return: Activity time. A feed handler generated time stamp representing when the data item was last updated.
Reimplements: Wombat::MamdaBasicEvent::getActivityTime
Get the activity time.
virtual const MamaDateTime & getLineTime() const
Return: Line time. A feed handler (or similar publisher) time stamp representing the time that such publisher received the update message pertaining to the event. If clocks are properly synchronized and the source time (see above) is accurate enough, then the difference between the source time and line time is the latency between the data source and the feed handler.
Reimplements: Wombat::MamdaBasicEvent::getLineTime
Get the line time.
virtual const MamaDateTime & getSendTime() const
Return: Send time. A feed handler (or similar publisher) time stamp representing the time that such publisher sent the current message. The difference between the line time and send time is the latency within the feed handler itself. Also, if clocks are properly synchronized then the difference between the send time and current time is the latency within the market data distribution framework (i.e. MAMA and the underlying middleware). See MAMA API: MamaDateTime::currentTime()).
Reimplements: Wombat::MamdaBasicEvent::getSendTime
Get the send time.
virtual const MamaMsgQual & getMsgQual() const
Return: Message Qualifier. The message qualifier provides information in relation to messages duplicate, delayed or out-of-sequence status.
Reimplements: Wombat::MamdaBasicEvent::getMsgQual
Get the message qualifier.
virtual const MamaDateTime & getEventTime() const
Return: Event time. Typically, when the event actually occurred. This is often the same as the “source time”, because many feeds do not distinguish between the actual event time and when the exchange sent the message.
Reimplements: Wombat::MamdaBasicEvent::getEventTime
Get the event time.
virtual mama_seqnum_t getEventSeqNum() const
Return: Source sequence number. The exchange generated sequence number.
Reimplements: Wombat::MamdaBasicEvent::getEventSeqNum
Get the event sequence number.
virtual const MamaDateTime & getLuldTime() const
Return: Limit Up Limit Down Time
Reimplements: Wombat::MamdaSecStatusRecap::getLuldTime
Limit Up Limit Down Time
virtual const char getLuldIndicator() const
Return: Limit Up Limit Down Indicator
Reimplements: Wombat::MamdaSecStatusRecap::getLuldIndicator
Limit Up Limit Down Indicator
virtual const MamaPrice & getLuldHighLimit() const
Return: Limit Up Limit Down High Limit
Reimplements: Wombat::MamdaSecStatusRecap::getLuldHighLimit
Limit Up Limit Down High Limit
virtual const MamaPrice & getLuldLowLimit() const
Return: Limit Up Limit Down Low Limit
Reimplements: Wombat::MamdaSecStatusRecap::getLuldLowLimit
Limit Up Limit Down Low Limit
virtual MamdaFieldState getSymbolFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getSymbolFieldState
Get the string symbol field state
virtual MamdaFieldState getPartIdFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getPartIdFieldState
Get the participant identifier field state.
virtual MamdaFieldState getSrcTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getSrcTimeFieldState
Get the source time field state
virtual MamdaFieldState getActivityTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getActivityTimeFieldState
Get the activity time field state
virtual MamdaFieldState getLineTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getLineTimeFieldState
Get the line time of the update.
virtual MamdaFieldState getSendTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getSendTimeFieldState
Get the send time field state
virtual MamdaFieldState getMsgQualFieldState() const
Return: Message Qualifier. The message qualifier provides information in relation to messages duplicate, delayed or out-of-sequence status.
Reimplements: Wombat::MamdaBasicEvent::getMsgQualFieldState
Get the message qualifier field state.
virtual MamdaFieldState getEventTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getEventTimeFieldState
Get the event time field state.
virtual MamdaFieldState getEventSeqNumFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicEvent::getEventSeqNumFieldState
Get the event sequence number field state.
virtual MamdaFieldState getLuldIndicatorFieldState() const
Return: LULD Indicator field state.
Reimplements: Wombat::MamdaSecStatusRecap::getLuldIndicatorFieldState
virtual MamdaFieldState getLuldTimeFieldState() const
Return: LULD Time field state.
Reimplements: Wombat::MamdaSecStatusRecap::getLuldTimeFieldState
virtual MamdaFieldState getLuldHighLimitFieldState() const
Return: LULD High Limit field state.
Reimplements: Wombat::MamdaSecStatusRecap::getLuldHighLimitFieldState
virtual MamdaFieldState getLuldLowLimitFieldState() const
Return: LULD Low Limit field state.
Reimplements: Wombat::MamdaSecStatusRecap::getLuldLowLimitFieldState
virtual const char * getIssueSymbol() const
Return: The symbol name.
Reimplements: Wombat::MamdaSecStatus::getIssueSymbol
The “name” of the instrument (e.g. IBM, CSCO, MSFT.INCA, etc.).
virtual const char * getReason() const
Return: The reason for the current status.
Reimplements: Wombat::MamdaSecStatus::getReason
Unnormalized (feed-specific) reason associated with the current status of the security (e.g. halted, delayed, etc.). For normalized field, see getSecurityStatusQual
.
virtual char getSecurityAction() const
Return: The security action.
Reimplements: Wombat::MamdaSecStatus::getSecurityAction
Action related to this security.
virtual char getShortSaleCircuitBreaker() const
See: MamdaSecStatusRecap::getShortSaleCircuitBreaker()
Reimplements: Wombat::MamdaSecStatus::getShortSaleCircuitBreaker
virtual const char * getSecurityType() const
Return: The security type.
Reimplements: Wombat::MamdaSecStatus::getSecurityType
The security type.
virtual const char * getSecurityStatus() const
Return: The normalized security status.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatus
NYSE Technologies normalised security status. See getSecurityStatusOrig for the original exchange value.
virtual const char * getSecurityStatusQual() const
Return: The normalized security status qualifier.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatusQual
Security status qualifier.
virtual const char * getSecurityStatusNative() const
See: getSecurityStatus()
Return: The exchange provided security status.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatusNative
Original “security status” field sent by the feed. NYSE Technologies feed handlers also send normalized security status.
virtual const char * getSecurityStatusStr() const
Return: The normalized security status.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusStr
NYSE Technologies normalised security status. See getSecurityStatusOrig for the original exchange value.
virtual const char * getSecurityStatusQualStr() const
Return: The normalized security status qualifier.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusQualStr
Security status qualifier.
virtual MamdaSecurityStatus getSecurityStatusEnum() const
Return: The normalized security status as an enumerated value.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusEnum
NYSE Technologies normalised security status. See getSecurityStatusOrig for the original exchange value.
virtual MamdaSecurityStatusQual getSecurityStatusQualifierEnum() const
Return: The normalized security status qualifier.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusQualifierEnum
Security status qualifier.
virtual const char * getFreeText() const
Return: Free text associated with the security status change.
Reimplements: Wombat::MamdaSecStatus::getFreeText
Arbitrary free text associated with the security status change.
virtual MamdaFieldState getIssueSymbolFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getIssueSymbolFieldState
Get the issue symbol field state
virtual MamdaFieldState getReasonFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getReasonFieldState
Get the reason field state
virtual MamdaFieldState getSecurityActionFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getSecurityActionFieldState
Get the security action field state
virtual MamdaFieldState getShortSaleCircuitBreakerFieldState() const
See: MamdaSecStatusRecap::getShortSaleCircuitBreakerFieldState()
Reimplements: Wombat::MamdaSecStatus::getShortSaleCircuitBreakerFieldState
virtual MamdaFieldState getSecurityTypeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getSecurityTypeFieldState
Get the security type field state
virtual MamdaFieldState getSecurityStatusFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatusFieldState
Get the security status field state
virtual MamdaFieldState getSecurityStatusQualFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatusQualFieldState
Get the security status qualifier field state
virtual MamdaFieldState getSecurityStatusNativeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getSecurityStatusNativeFieldState
Get the native security status field state
virtual MamdaFieldState getSecurityStatusStrFieldState() const
Return: The normalized security status field state.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusStrFieldState
virtual MamdaFieldState getSecurityStatusQualStrFieldState() const
Return: The normalized security status qualifier field state.
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusQualStrFieldState
virtual MamdaFieldState getSecurityStatusEnumFieldState() const
Return: The normalized security status (enumerated value) field State
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusEnumFieldState
virtual MamdaFieldState getSecurityStatusQualifierEnumFieldState() const
Return: The normalized security status qualifier field state
Reimplements: Wombat::MamdaSecStatusRecap::getSecurityStatusQualifierEnumFieldState
virtual MamdaFieldState getFreeTextFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaSecStatus::getFreeTextFieldState
Get the free text field field state
virtual void onMsg(
MamdaSubscription * subscription,
const MamaMsg & msg,
short msgType
)
Reimplements: Wombat::MamdaMsgListener::onMsg
Implementation of MamdaListener interface.
Updated on 2023-03-31 at 15:29:58 +0100