#include <FeedSettings.h>

Public Member Functions | |
| RealtimeFeedSettings () | |
| UInt32 | outOfOrderPacketMaxInterval () const |
| void | outOfOrderPacketMaxInterval (UInt32 value) |
| UInt32 | lostPacketWaitTime () const |
| void | lostPacketWaitTime (UInt32 value) |
Public Member Functions inherited from FeedSettingsBase< RealtimeFeedLayout::Enum > | |
| RealtimeFeedLayout::Enum | layout () const |
| void | layout (RealtimeFeedLayout::Enumvalue) |
| UInt32 | heartbeatInterval () const |
| void | heartbeatInterval (UInt32 value) |
| const std::string & | feedANetworkInterfaces () const |
| void | feedANetworkInterfaces (const std::string &interfaces) |
| const std::string & | feedBNetworkInterfaces () const |
| void | feedBNetworkInterfaces (const std::string &interfaces) |
Additional Inherited Members | |
Protected Member Functions inherited from FeedSettingsBase< RealtimeFeedLayout::Enum > | |
| FeedSettingsBase (RealtimeFeedLayout::Enumlayout, UInt32 heartbeat) | |
Definition at line 292 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 periodicy.
Definition at line 307 of file FeedSettings.h.
|
inline |
Indicates for how long Handler should wait for the packet before it's considered as totally lost.
Due to unreliable nature of multicast, data transmitted by MDP may come in order other than original or be completely lost. When Handler receives packet with sequence number greater than expected, it considers received data as out-of-order. If for a certain time interval Handler receives missing data, Handler resumes normal data processing. However, if no data is received for predefined time frame, Handler considers missing data as lost and raises packet gap event. Given parameter defines size of time interval Handler waits for missing data.
Time interval is measured in microseconds (usec).
Definition at line 376 of file FeedSettings.h.
|
inline |
Indicates for how long Handler should wait for the packet before it's considered as totally lost.
Definition at line 383 of file FeedSettings.h.
|
inline |
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
Due to unreliable nature of multicast, packets transmitted by MDP may be received in the order different to original. To differ the case when Handler received out-of-order packets from the case when some of packets were completely lost, Handler uses given parameter. It defines size of interval for incoming packets starting from the last received. Packet is considered as out-of-order if its sequence number fits into interval [seqNumberOfLastReceivedPacket, seqNumberOfLastReceivedPacket + outOfOrderPacketsMaxInterval]. In that case Handler waits for other packets to fulfill the incoming sequence. If received packet has greater sequence number than 'seqNumberOfLastReceivedPacket + outOfOrderPacketsMaxInterval', then Handler makes a decision on packets lost and gap is reported.
Definition at line 341 of file FeedSettings.h.
|
inline |
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
Definition at line 348 of file FeedSettings.h.