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) |
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 |
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.
inline MamaMsgQualifier()
inline MamaMsgQualifier(
MamaMsgQualifier qualifierFilter
)
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.
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.
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.
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.
inline boolean getIsOutOfSequence()
Return: true when the FH sends the message out of sequence.
inline boolean isValid()
Return: true if this instance is valid
inline void setIsDefinitelyDuplicate(
boolean value
)
Parameters:
Set the definitely duplicate bit.
inline void setIsPossiblyDuplicate(
boolean value
)
Parameters:
Set the possibly duplicate bit.
inline void setIsPossiblyDelayed(
boolean value
)
Parameters:
Set the possibly delayed bit.
inline void setIsDefinitelyDelayed(
boolean value
)
Parameters:
Set the possibly delayed bit.
inline void setOutOfSequence(
boolean value
)
Parameters:
Set the possibly out of sequence bit.
inline void setInvalid(
boolean value
)
Parameters:
set the invalid bid
inline boolean filter(
short value
)
Parameters:
Return: true if there is a match
Return true if any bits in value match the bits set in this qualifier.
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.
static final MamaMsgQualifier DEFINITELY_DUPLICATE = new MamaMsgQualifier ((short) 0x0002);
The message is definitely a duplicate. Current feed handlers do not use this flag.
static final MamaMsgQualifier POSSIBLY_DELAYED = new MamaMsgQualifier ((short) 0x0004);
The current message may be 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.
static final MamaMsgQualifier OUT_OF_SEQUENCE = new MamaMsgQualifier ((short) 0x0010);
The message is out of sequence.
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