Classes Files

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. More…

Inherits from Wombat.MamdaMsgListener, Wombat.MamdaSecurityStatusRecap, Wombat.MamdaSecurityStatusUpdate

Protected Classes

  Name
class MamdaSecurityStatusCache

Public Functions

  Name
  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()
long getSecurityStatusQualifier()
MamdaSecurityStatusUpdate.getSecurityStatus()
MamdaSecurityStatus.mamdaSecurityStatus getSecurityStatusEnum()
MamdaSecurityStatusUpdate.getSecurityStatusEnum()
MamdaSecurityStatusQual.mamdaSecurityStatusQual getSecurityStatusQualifierEnum()
MamdaSecurityStatusUpdate.getSecurityStatusQualifierEnum()
string getSecurityStatusStr()
MamdaSecurityStatusUpdate.getSecurityStatusQualifier()
char getShortSaleCircuitBreaker()
MamdaSecurityStatusUpdate.getShortSaleCircuitBreaker()
string getSecurityStatusQualifierStr()
MamdaSecurityStatusUpdate.getSecurityStatusQualifier()
string getSecurityStatusOrigStr()
Return the native security status qualifier
string getReason()
MamdaSecurityStatusUpdate.getReason()
DateTime getLuldTime()
MamdaSecurityStatusUpdate.getLuldTime()
char getLuldIndicator()
MamdaSecurityStatusUpdate.getLuldIndicator()
MamaPrice getLuldHighLimit()
MamdaSecurityStatusUpdate.getLuldHighLimit()
MamaPrice getLuldLowLimit()
MamdaSecurityStatusUpdate.getLuldLowLimit()
MamdaFieldState getSrcTimeFieldState()
MamdaFieldState getActivityTimeFieldState()
MamdaFieldState getEventSeqNumFieldState()
MamdaFieldState getEventTimeFieldState()
MamdaFieldState getSecurityStatusFieldState()
Get the field state
MamdaFieldState getSecurityStatusQualifierFieldState()
Get the field state
MamdaFieldState getShortSaleCircuitBreakerFieldState()
MamdaSecurityStatusUpdate.getShortSaleCircuitBreakerFieldState()
MamdaFieldState getSecurityStatusEnumFieldState()
Get the field state
MamdaFieldState getSecurityStatusQualifierEnumFieldState()
Get the field state
MamdaFieldState getSecurityStatusStrFieldState()
Get the field state
MamdaFieldState getSecurityStatusQualifierStrFieldState()
Get the field state
MamdaFieldState getSecurityStatusOrigStrFieldState()
Get the field state
MamdaFieldState getReasonFieldState()
Get the field state
MamdaFieldState getLuldTimeFieldState()
Get the field state
MamdaFieldState getLuldIndicatorFieldState()
Get the field state
MamdaFieldState getLuldHighLimitFieldState()
Get the field state
MamdaFieldState getLuldLowLimitFieldState()
Get the field state
void onMsg(MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType)
Implementation of MamdaListener interface.
string getFieldAsString(MamaMsgField field)

Protected Functions

  Name
void clearCache(MamdaSecurityStatusCache cache)

Protected Attributes

  Name
readonly MamdaSecurityStatusCache mSecurityStatusCache

Detailed Description

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.

Public Functions Documentation

function MamdaSecurityStatusListener

MamdaSecurityStatusListener()

Create a specialized trade listener. This listener handles trade reports, trade recaps, trade errors/cancels, trade corrections, and trade gap notifications.

function addHandler

void addHandler(
    MamdaSecurityStatusHandler handler
)

Add a specialized trade handler. Currently, only one handler can (and must) be registered.

function populateRecap

void populateRecap(
    MamdaConcreteSecurityStatusRecap recap
)

function getSrcTime

DateTime getSrcTime()

function getActivityTime

DateTime getActivityTime()

function getEventSeqNum

long getEventSeqNum()

function getEventTime

DateTime getEventTime()

function getSecurityStatus

long getSecurityStatus()

MamdaSecurityStatusUpdate.getSecurityStatus()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatus

function getSecurityStatusQualifier

long getSecurityStatusQualifier()

MamdaSecurityStatusUpdate.getSecurityStatus()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifier

function getSecurityStatusEnum

MamdaSecurityStatus.mamdaSecurityStatus getSecurityStatusEnum()

MamdaSecurityStatusUpdate.getSecurityStatusEnum()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusEnum

function getSecurityStatusQualifierEnum

MamdaSecurityStatusQual.mamdaSecurityStatusQual getSecurityStatusQualifierEnum()

MamdaSecurityStatusUpdate.getSecurityStatusQualifierEnum()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierEnum

function getSecurityStatusStr

string getSecurityStatusStr()

MamdaSecurityStatusUpdate.getSecurityStatusQualifier()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusStr

function getShortSaleCircuitBreaker

char getShortSaleCircuitBreaker()

MamdaSecurityStatusUpdate.getShortSaleCircuitBreaker()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getShortSaleCircuitBreaker

function getSecurityStatusQualifierStr

string getSecurityStatusQualifierStr()

MamdaSecurityStatusUpdate.getSecurityStatusQualifier()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierStr

function getSecurityStatusOrigStr

string getSecurityStatusOrigStr()

Return the native security status qualifier

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusOrigStr

function getReason

string getReason()

MamdaSecurityStatusUpdate.getReason()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getReason

function getLuldTime

DateTime getLuldTime()

MamdaSecurityStatusUpdate.getLuldTime()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldTime

function getLuldIndicator

char getLuldIndicator()

MamdaSecurityStatusUpdate.getLuldIndicator()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldIndicator

function getLuldHighLimit

MamaPrice getLuldHighLimit()

MamdaSecurityStatusUpdate.getLuldHighLimit()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldHighLimit

function getLuldLowLimit

MamaPrice getLuldLowLimit()

MamdaSecurityStatusUpdate.getLuldLowLimit()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldLowLimit

function getSrcTimeFieldState

MamdaFieldState getSrcTimeFieldState()

function getActivityTimeFieldState

MamdaFieldState getActivityTimeFieldState()

function getEventSeqNumFieldState

MamdaFieldState getEventSeqNumFieldState()

function getEventTimeFieldState

MamdaFieldState getEventTimeFieldState()

function getSecurityStatusFieldState

MamdaFieldState getSecurityStatusFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusFieldState

function getSecurityStatusQualifierFieldState

MamdaFieldState getSecurityStatusQualifierFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierFieldState

function getShortSaleCircuitBreakerFieldState

MamdaFieldState getShortSaleCircuitBreakerFieldState()

MamdaSecurityStatusUpdate.getShortSaleCircuitBreakerFieldState()

Return:

Reimplements: Wombat::MamdaSecurityStatusRecap::getShortSaleCircuitBreakerFieldState

function getSecurityStatusEnumFieldState

MamdaFieldState getSecurityStatusEnumFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusEnumFieldState

function getSecurityStatusQualifierEnumFieldState

MamdaFieldState getSecurityStatusQualifierEnumFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierEnumFieldState

function getSecurityStatusStrFieldState

MamdaFieldState getSecurityStatusStrFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusStrFieldState

function getSecurityStatusQualifierStrFieldState

MamdaFieldState getSecurityStatusQualifierStrFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusQualifierStrFieldState

function getSecurityStatusOrigStrFieldState

MamdaFieldState getSecurityStatusOrigStrFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getSecurityStatusOrigStrFieldState

function getReasonFieldState

MamdaFieldState getReasonFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getReasonFieldState

function getLuldTimeFieldState

MamdaFieldState getLuldTimeFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldTimeFieldState

function getLuldIndicatorFieldState

MamdaFieldState getLuldIndicatorFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldIndicatorFieldState

function getLuldHighLimitFieldState

MamdaFieldState getLuldHighLimitFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldHighLimitFieldState

function getLuldLowLimitFieldState

MamdaFieldState getLuldLowLimitFieldState()

Get the field state

Return: Field State

Reimplements: Wombat::MamdaSecurityStatusRecap::getLuldLowLimitFieldState

function onMsg

void onMsg(
    MamdaSubscription subscription,
    MamaMsg msg,
    mamaMsgType msgType
)

Implementation of MamdaListener interface.

Reimplements: Wombat::MamdaMsgListener::onMsg

function getFieldAsString

string getFieldAsString(
    MamaMsgField field
)

Protected Functions Documentation

function clearCache

static void clearCache(
    MamdaSecurityStatusCache cache
)

Protected Attributes Documentation

variable mSecurityStatusCache

readonly MamdaSecurityStatusCache mSecurityStatusCache = new MamdaSecurityStatusCache();

Updated on 2023-03-31 at 15:30:14 +0100