#include <MamdaPubStatusListener.h>
Inherits from Wombat::MamdaMsgListener, Wombat::MamdaPubStatus
Public Functions inherited from Wombat::MamdaMsgListener
Name | |
---|---|
virtual | ~MamdaMsgListener() |
Public Functions inherited from Wombat::MamdaPubStatus
Name | |
---|---|
virtual | ~MamdaPubStatus() |
class Wombat::MamdaPubStatusListener;
MamdaPubStatusListener is a class that specializes in handling Publisher (Feed Handler) Status updates. There are 5 types of publisher status msg:
MamdaPubStatusListener should initialize the MamdaPubStatusFields class prior to receiving the first message by calling MamdaPubStatusFields::setDictionary() with a valid dictionary object which contains PubStatus related fields.
MamdaPubStatusListener()
virtual ~MamdaPubStatusListener()
void addHandler(
MamdaPubStatusHandler * handler
)
void updateFieldStates()
virtual const char * getSymbol() const
Reimplements: Wombat::MamdaPubStatus::getSymbol
Accessor function for generic fields applicable to all 5 publisher status message types.
virtual const char * getActivityTime() const
Reimplements: Wombat::MamdaPubStatus::getActivityTime
virtual const char * getActivityDate() const
Reimplements: Wombat::MamdaPubStatus::getActivityDate
virtual const char * getPubId() const
Reimplements: Wombat::MamdaPubStatus::getPubId
virtual const char * getPubClass() const
Reimplements: Wombat::MamdaPubStatus::getPubClass
virtual const char * getPubHostName() const
Reimplements: Wombat::MamdaPubStatus::getPubHostName
MamdaFieldState getSymbolFieldState() const
MamdaFieldState getActivityTimeFieldState() const
MamdaFieldState getActivityDateFieldState() const
MamdaFieldState getPubIdFieldState() const
MamdaFieldState getPubClassFieldState() const
MamdaFieldState getPubHostNameFieldState() const
virtual const char * getStatusMsgType() const
Reimplements: Wombat::MamdaPubStatus::getStatusMsgType
Accessor function to the publisher status message type:
MamdaFieldState getStatusMsgTypeFieldState() const
virtual const char * getPubFtMode() const
Reimplements: Wombat::MamdaPubStatus::getPubFtMode
Accessor functions for fields specific to a particular message type. The applicability of each accessor function to a given message type is defined in the comments below; e.g., “getPubFtMode” is only relevant and will only be populated for Heart Beat (HB) and Fault Tolerance (FT) publisher status messages
virtual const char * getPubMhMode() const
Reimplements: Wombat::MamdaPubStatus::getPubMhMode
virtual const char * getLineStatus() const
Reimplements: Wombat::MamdaPubStatus::getLineStatus
virtual long getStatusSeqNum() const
Reimplements: Wombat::MamdaPubStatus::getStatusSeqNum
virtual long getBeginGapSeqNum() const
Reimplements: Wombat::MamdaPubStatus::getBeginGapSeqNum
virtual long getEndGapSeqNum() const
Reimplements: Wombat::MamdaPubStatus::getEndGapSeqNum
virtual long getPubCacheSize() const
Reimplements: Wombat::MamdaPubStatus::getPubCacheSize
virtual const char * getFreeText() const
Reimplements: Wombat::MamdaPubStatus::getFreeText
MamdaFieldState getPubFtModeFieldState() const
MamdaFieldState getPubMhModeFieldState() const
MamdaFieldState getLineStatusFieldState() const
MamdaFieldState getStatusSeqNumFieldState() const
MamdaFieldState getBeginGapSeqNumFieldState() const
MamdaFieldState getEndGapSeqNumFieldState() const
MamdaFieldState getPubCacheSizeFieldState() const
MamdaFieldState getFreeTextFieldState() const
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