OpenMAMA
Wombat::MamdaOptionSeriesUpdate Class Reference

MamdaOptionSeriesUpdate is an interface that provides access to fields related to option series update events. More...

#include <MamdaOptionSeriesUpdate.h>

Inheritance diagram for Wombat::MamdaOptionSeriesUpdate:
Wombat::MamdaBasicEvent Wombat::MamdaOptionChainListener

Public Member Functions

const MamdaOptionContractgetOptionContract () const
char getOptionAction () const
 Return the action related to the last series update message.
- Public Member Functions inherited from Wombat::MamdaBasicEvent
virtual const char * getSymbol () const =0
 Get the instruments string symbol.
virtual MamdaFieldState getSymbolFieldState () const =0
 Get the string symbol field state.
virtual const char * getPartId () const =0
 Get the participant identifier.
virtual MamdaFieldState getPartIdFieldState () const =0
 Get the participant identifier field state.
virtual mama_seqnum_t getEventSeqNum () const =0
 Get the event sequence number.
virtual MamdaFieldState getEventSeqNumFieldState () const =0
 Get the event sequence number field state.
virtual const MamaDateTime & getEventTime () const =0
 Get the event time.
virtual MamdaFieldState getEventTimeFieldState () const =0
 Get the event time field state.
virtual const MamaDateTime & getSrcTime () const =0
 Get the source time.
virtual MamdaFieldState getSrcTimeFieldState () const =0
 Get the source time field state.
virtual const MamaDateTime & getActivityTime () const =0
 Get the activity time.
virtual MamdaFieldState getActivityTimeFieldState () const =0
 Get the activity time field state.
virtual const MamaDateTime & getLineTime () const =0
 Get the line time.
virtual MamdaFieldState getLineTimeFieldState () const =0
 Get the line time of the update.
virtual const MamaDateTime & getSendTime () const =0
 Get the send time.
virtual MamdaFieldState getSendTimeFieldState () const =0
 Get the send time field state.
virtual const MamaMsgQual & getMsgQual () const =0
 Get the message qualifier.
virtual MamdaFieldState getMsgQualFieldState () const =0
 Get the message qualifier field state.
virtual ~MamdaBasicEvent ()
 Destructor.

Static Public Attributes

static const char ACTION_UNKNOWN = ' '
static const char ACTION_ADD = 'A'
static const char ACTION_DELETE = 'D'

Detailed Description

MamdaOptionSeriesUpdate is an interface that provides access to fields related to option series update events.

Update events include adds/removes of contracts to the chain.

Member Function Documentation

const MamdaOptionContract* Wombat::MamdaOptionSeriesUpdate::getOptionContract ( ) const
Returns
The option contract to which the most recent event applies. If the contract is new, it will have already been added to the chain. If it is being removed, it will have already been removed from the chain.

Reimplemented in Wombat::MamdaOptionChainListener.

char Wombat::MamdaOptionSeriesUpdate::getOptionAction ( ) const

Return the action related to the last series update message.

Returns
The action related to the last series update message.

Reimplemented in Wombat::MamdaOptionChainListener.

Member Data Documentation

const char Wombat::MamdaOptionSeriesUpdate::ACTION_UNKNOWN = ' '
static
const char Wombat::MamdaOptionSeriesUpdate::ACTION_ADD = 'A'
static
const char Wombat::MamdaOptionSeriesUpdate::ACTION_DELETE = 'D'
static

The documentation for this class was generated from the following file:


© 2012 Linux Foundation