Classes Files

com::wombat::mama::MamaMsgQualifier

More…

Public Functions

  Name
  MamaMsgQualifier()
  MamaMsgQualifier(MamaMsgQualifier qualifierFilter)
boolean getIsDefinitelyDuplicate()
boolean getIsPossiblyDuplicate()
boolean getIsPossiblyDelayed()
boolean getIsDefinitelyDelayed()
boolean getIsOutOfSequence()
boolean isValid()
void setIsDefinitelyDuplicate(boolean value)
void setIsPossiblyDuplicate(boolean value)
void setIsPossiblyDelayed(boolean value)
void setIsDefinitelyDelayed(boolean value)
void setOutOfSequence(boolean value)
void setInvalid(boolean value)
boolean filter(short value)

Public Attributes

  Name
final MamaMsgQualifier POSSIBLY_DUPLICATE
final MamaMsgQualifier DEFINITELY_DUPLICATE
final MamaMsgQualifier POSSIBLY_DELAYED
final MamaMsgQualifier DEFINITELY_DELAYED
final MamaMsgQualifier OUT_OF_SEQUENCE
final MamaMsgQualifier INVALID

Detailed Description

class com::wombat::mama::MamaMsgQualifier;

This class defines bit flags for the MamaMsgQualifier field values. Instances may also be used as a filter. Bits are queried and set using the set and get methods. Static fields exist for each possible bit.

Public Functions Documentation

function MamaMsgQualifier

inline MamaMsgQualifier()

function MamaMsgQualifier

inline MamaMsgQualifier(
    MamaMsgQualifier qualifierFilter
)

function getIsDefinitelyDuplicate

inline boolean getIsDefinitelyDuplicate()

Return: true is a duplicate.

Return true if this message is definitely a duplicate message. This condition will not occur with the current feed handlers.

function getIsPossiblyDuplicate

inline boolean getIsPossiblyDuplicate()

Return: true if the message may be a duplicate.

Return true if this message is possibly a duplicate message. This may occur in the event of a fault tolerant feed handler take over where the feed handler replays messages to prevent gaps.

function getIsPossiblyDelayed

inline boolean getIsPossiblyDelayed()

Return: true if the message may be delayed.

Return true if the message is possibly delayed. This condition may be true during a fault-tolerant take over.

function getIsDefinitelyDelayed

inline boolean getIsDefinitelyDelayed()

Return: true if the message is delayed

Return true if the message is delayed. This condition may be true during a fault-tolerant take over.

function getIsOutOfSequence

inline boolean getIsOutOfSequence()

Return: true when the FH sends the message out of sequence.

function isValid

inline boolean isValid()

Return: true if this instance is valid

function setIsDefinitelyDuplicate

inline void setIsDefinitelyDuplicate(
    boolean value
)

Parameters:

  • value for the bit .

Set the definitely duplicate bit.

function setIsPossiblyDuplicate

inline void setIsPossiblyDuplicate(
    boolean value
)

Parameters:

  • value for the bit .

Set the possibly duplicate bit.

function setIsPossiblyDelayed

inline void setIsPossiblyDelayed(
    boolean value
)

Parameters:

  • value for the bit .

Set the possibly delayed bit.

function setIsDefinitelyDelayed

inline void setIsDefinitelyDelayed(
    boolean value
)

Parameters:

  • value for the bit .

Set the possibly delayed bit.

function setOutOfSequence

inline void setOutOfSequence(
    boolean value
)

Parameters:

  • value for the bit .

Set the possibly out of sequence bit.

function setInvalid

inline void setInvalid(
    boolean value
)

Parameters:

  • value value to set

set the invalid bid

function filter

inline boolean filter(
    short value
)

Parameters:

  • value The value to filter.

Return: true if there is a match

Return true if any bits in value match the bits set in this qualifier.

Public Attributes Documentation

variable POSSIBLY_DUPLICATE

static final MamaMsgQualifier POSSIBLY_DUPLICATE = new MamaMsgQualifier ((short) 0x0001);

The message is possibly a duplicate. It may be possible to make an absolute determination by comparing wSeqNum and wSrcTime with the values in the previous message.

variable DEFINITELY_DUPLICATE

static final MamaMsgQualifier DEFINITELY_DUPLICATE = new MamaMsgQualifier ((short) 0x0002);

The message is definitely a duplicate. Current feed handlers do not use this flag.

variable POSSIBLY_DELAYED

static final MamaMsgQualifier POSSIBLY_DELAYED = new MamaMsgQualifier ((short) 0x0004);

The current message may be delayed.

variable DEFINITELY_DELAYED

static final MamaMsgQualifier DEFINITELY_DELAYED = new MamaMsgQualifier ((short) 0x0008);

The current message is definitely delayed. This will be true during a fault tolerant takeover.

variable OUT_OF_SEQUENCE

static final MamaMsgQualifier OUT_OF_SEQUENCE = new MamaMsgQualifier ((short) 0x0010);

The message is out of sequence.

variable INVALID

static final MamaMsgQualifier INVALID = new MamaMsgQualifier ((short) 0x1000);

This bit is never set by the FH. It is a place holder to make this class more useful.


Updated on 2023-03-31 at 15:29:43 +0100