#include <OnixS/CME/MDH/FeedSettings.h>
Friends | |
class | FeedSettings |
Additional Inherited Members | |
Protected Member Functions inherited from FeedSettingsBase< RealtimeFeedLayout::Enum > | |
FeedSettingsBase (const SettingGroup *group, RealtimeFeedLayout::Enumlayout, UInt32 heartbeat) | |
FeedSettingsBase (const FeedSettingsBase &other) | |
~FeedSettingsBase () | |
const SettingGroup & | group () const |
void | assignNoControl (const FeedSettingsBase &other) |
Definition at line 710 of file FeedSettings.h.
|
inline |
Initializes instance with default values.
By default, arbitrage between feeds A and B is done. Heartbeats are expected within 30 seconds periodicity.
Definition at line 717 of file FeedSettings.h.
|
inline |
Initializes the instance as a copy of the other one.
Definition at line 726 of file FeedSettings.h.
|
inline |
Finalizes the instance.
Definition at line 734 of file FeedSettings.h.
|
inline |
Indicates the time limit for the Handler while waiting for expected packets before they are considered lost.
When the Handler receives a packet with the sequence number greater than expected, it considers the received data as out-of-order. The Handler resumes normal data processing if it receives missing data during the given time interval.
However, if expected packets aren't received for a predefined time frame, the Handler considers expected data as lost and raises the gap event. The given parameter defines a time interval the Handler waits for expected packets.
The time interval is measured in microseconds (usec).
Definition at line 799 of file FeedSettings.h.
|
inline |
Defines the time limit for the Handler while waiting for expected packets before they considered as lost.
Definition at line 806 of file FeedSettings.h.
|
inline |
Re-initializes the instance as a copy of the other one.
Definition at line 815 of file FeedSettings.h.
|
inline |
Defines a threshold used by the Handler while handling out-of-order incoming packets.
Due to the unreliable nature of multicast, packets may be missed or received in an order different from the expected. The Handler uses the given parameter to establish a threshold for incoming packets whose sequence numbers are greater than expected unless the expected packets are received or recognized as lost.
When the Handler receives a packet with the sequence number higher than expected, it considers the incoming packet as out-of-order. It puts the packet into an internal queue if its sequence number does not exceed the established threshold. The threshold represents the sum of the last accepted packet's sequence number and the value of the given parameter.
Packets are queued unless the expected ones are received, or their sequence numbers exceed the threshold, or the time limit is reached. If the incoming packet's sequence number exceeds the established threshold, the Handler raises the gap event.
If arbitrage between primary and secondary feeds is enabled, the Handler does not trigger the gap event until incoming packets from both feeds exceed the established threshold.
Definition at line 764 of file FeedSettings.h.
|
inline |
Defines value of threshold used by the Handler while handling out-of-order incoming packets.
Definition at line 771 of file FeedSettings.h.
|
friend |
Definition at line 823 of file FeedSettings.h.