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. More…
Inherits from Wombat.MamdaMsgListener, Wombat.MamdaSecurityStatusRecap, Wombat.MamdaSecurityStatusUpdate
Name | |
---|---|
class | MamdaSecurityStatusCache |
Name | |
---|---|
void | clearCache(MamdaSecurityStatusCache cache) |
Name | |
---|---|
readonly MamdaSecurityStatusCache | mSecurityStatusCache |
class Wombat::MamdaSecurityStatusListener;
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.
MamdaSecurityStatusListener()
Create a specialized trade listener. This listener handles trade reports, trade recaps, trade errors/cancels, trade corrections, and trade gap notifications.
void addHandler(
MamdaSecurityStatusHandler handler
)
Add a specialized trade handler. Currently, only one handler can (and must) be registered.
void populateRecap(
MamdaConcreteSecurityStatusRecap recap
)
DateTime getSrcTime()
DateTime getActivityTime()
long getEventSeqNum()
DateTime getEventTime()
long getSecurityStatus()
MamdaSecurityStatusUpdate.getSecurityStatus()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatus
long getSecurityStatusQualifier()
MamdaSecurityStatusUpdate.getSecurityStatus()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifier
MamdaSecurityStatus.mamdaSecurityStatus getSecurityStatusEnum()
MamdaSecurityStatusUpdate.getSecurityStatusEnum()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusEnum
MamdaSecurityStatusQual.mamdaSecurityStatusQual getSecurityStatusQualifierEnum()
MamdaSecurityStatusUpdate.getSecurityStatusQualifierEnum()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierEnum
string getSecurityStatusStr()
MamdaSecurityStatusUpdate.getSecurityStatusQualifier()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusStr
char getShortSaleCircuitBreaker()
MamdaSecurityStatusUpdate.getShortSaleCircuitBreaker()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getShortSaleCircuitBreaker
string getSecurityStatusQualifierStr()
MamdaSecurityStatusUpdate.getSecurityStatusQualifier()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierStr
string getSecurityStatusOrigStr()
Return the native security status qualifier
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusOrigStr
string getReason()
MamdaSecurityStatusUpdate.getReason()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getReason
DateTime getLuldTime()
MamdaSecurityStatusUpdate.getLuldTime()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldTime
char getLuldIndicator()
MamdaSecurityStatusUpdate.getLuldIndicator()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldIndicator
MamaPrice getLuldHighLimit()
MamdaSecurityStatusUpdate.getLuldHighLimit()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldHighLimit
MamaPrice getLuldLowLimit()
MamdaSecurityStatusUpdate.getLuldLowLimit()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldLowLimit
MamdaFieldState getSrcTimeFieldState()
MamdaFieldState getActivityTimeFieldState()
MamdaFieldState getEventSeqNumFieldState()
MamdaFieldState getEventTimeFieldState()
MamdaFieldState getSecurityStatusFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusFieldState
MamdaFieldState getSecurityStatusQualifierFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierFieldState
MamdaFieldState getShortSaleCircuitBreakerFieldState()
MamdaSecurityStatusUpdate.getShortSaleCircuitBreakerFieldState()
Return:
Reimplements: Wombat::MamdaSecurityStatusRecap::getShortSaleCircuitBreakerFieldState
MamdaFieldState getSecurityStatusEnumFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusEnumFieldState
MamdaFieldState getSecurityStatusQualifierEnumFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierEnumFieldState
MamdaFieldState getSecurityStatusStrFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusStrFieldState
MamdaFieldState getSecurityStatusQualifierStrFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierStrFieldState
MamdaFieldState getSecurityStatusOrigStrFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusOrigStrFieldState
MamdaFieldState getReasonFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getReasonFieldState
MamdaFieldState getLuldTimeFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldTimeFieldState
MamdaFieldState getLuldIndicatorFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldIndicatorFieldState
MamdaFieldState getLuldHighLimitFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldHighLimitFieldState
MamdaFieldState getLuldLowLimitFieldState()
Get the field state
Return: Field State
Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldLowLimitFieldState
void onMsg(
MamdaSubscription subscription,
MamaMsg msg,
mamaMsgType msgType
)
Implementation of MamdaListener interface.
Reimplements: Wombat::MamdaMsgListener::onMsg
string getFieldAsString(
MamaMsgField field
)
static void clearCache(
MamdaSecurityStatusCache cache
)
readonly MamdaSecurityStatusCache mSecurityStatusCache = new MamdaSecurityStatusCache();
Updated on 2023-03-31 at 15:30:14 +0100