93 UInt32 outOfOrderPacketMaxInterval_;
94 UInt32 lostPacketWaitTime_;
101 BothFeedsWithArbitrage)
102 , heartbeatInterval_(30)
103 , outOfOrderPacketMaxInterval_(3)
104 , lostPacketWaitTime_(100000)
132 return heartbeatInterval_;
138 heartbeatInterval_ = value;
167 return outOfOrderPacketMaxInterval_;
174 outOfOrderPacketMaxInterval_ = value;
202 return lostPacketWaitTime_;
209 lostPacketWaitTime_ = value;
228 toStr(str, settings);
236 std::string connectivityConfigurationFile_;
238 std::string feedANetworkInterfaces_;
239 std::string feedBNetworkInterfaces_;
248 : maxPacketSize_(1420)
257 return connectivityConfigurationFile_;
263 const std::string& configurationFile)
265 connectivityConfigurationFile_ = configurationFile;
281 return feedANetworkInterfaces_;
289 const std::string& interfaces)
291 feedANetworkInterfaces_ = interfaces;
307 return feedBNetworkInterfaces_;
315 const std::string& interfaces)
317 feedBNetworkInterfaces_ = interfaces;
325 return maxPacketSize_;
331 maxPacketSize_ = value;
337 return incrementalFeeds_;
343 return incrementalFeeds_;
362 toStr(str, settings);
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN
#define ONIXS_CMESTREAMLINEDMDH_LTWT_STRUCT
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
void feedANetworkInterfaces(const std::string &interfaces)
Specifies one or more network interfaces to use for "A" feeds while joining the multicast group; use ...
RealtimeFeedSettings & incrementalFeeds()
Reference to parameters affecting incremental feeds.
UInt16 maxPacketSize() const
Max size for network packet transmitted by MDP.
const std::string & feedANetworkInterfaces() const
Specifies one or more network interfaces to use for "A" feeds while joining the multicast group; use ...
void connectivityConfigurationFile(const std::string &configurationFile)
Sets path to the connectivity configuration file.
const std::string & feedBNetworkInterfaces() const
Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use ...
void maxPacketSize(UInt16 value)
Max size for network packet transmitted by MDP.
const std::string & connectivityConfigurationFile() const
Path to the connectivity configuration file.
FeedSettings()
Initializes instance with default values.
const RealtimeFeedSettings & incrementalFeeds() const
Reference to parameters affecting incremental feeds.
void feedBNetworkInterfaces(const std::string &interfaces)
Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use ...
Collection of parameters affecting real-time feeds behavior.
void layout(RealtimeFeedLayout::Enum value)
Defines feed layout for real-time feed group.
RealtimeFeedLayout::Enum layout() const
Defines feed layout for real-time feed group.
RealtimeFeedSettings()
Initializes instance with default values.
void outOfOrderPacketMaxInterval(UInt32 value)
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
UInt32 heartbeatInterval() const
Specifies maximal time interval between two network packets.
void lostPacketWaitTime(UInt32 value)
Indicates for how long Handler should wait for the packet before it's considered as totally lost.
void heartbeatInterval(UInt32 value)
Specifies maximal time interval between two network packets.
UInt32 lostPacketWaitTime() const
Indicates for how long Handler should wait for the packet before it's considered as totally lost.
UInt32 outOfOrderPacketMaxInterval() const
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
void toStr(std::string &str, const Decimal &number)
Defines feed layout alternates available for real-time feed like incremental one.
@ FeedBOnly
Indicates only feed B is used as source for market data.
@ FeedBWithFailoverToFeedA
Feed B is used as primary source of market data.
@ BothFeedsWithArbitrage
Handler arbitrates between both feeds A and B.
@ FeedAWithFailoverToFeedB
Feed A is used as primary source of market data.
@ FeedAOnly
Indicates only feed A is used as source for market data.
UInt32 Base
Integral type used as basement for constants.