39 std::string feedANetworkInterfaces_;
40 std::string feedBNetworkInterfaces_;
48 , heartbeatInterval_(heartbeat)
73 return heartbeatInterval_;
79 heartbeatInterval_ = value;
95 return feedANetworkInterfaces_;
103 const std::string& interfaces)
105 feedANetworkInterfaces_ = interfaces;
121 return feedBNetworkInterfaces_;
129 const std::string& interfaces)
131 feedBNetworkInterfaces_ = interfaces;
166 FeedBWithFailoverToFeedA
171 ONIXS_CMEMDH_EXPORTED
207 FeedAWithFailoverToFeedB,
214 ONIXS_CMEMDH_EXPORTED
228 toStr(str, settings);
267 BothFeedsWithArbitrage
272 ONIXS_CMEMDH_EXPORTED
299 UInt32 outOfOrderPacketMaxInterval_;
300 UInt32 lostPacketWaitTime_;
310 BothFeedsWithArbitrage,
312 , outOfOrderPacketMaxInterval_(3)
313 , lostPacketWaitTime_(100000)
343 return outOfOrderPacketMaxInterval_;
350 outOfOrderPacketMaxInterval_ = value;
378 return lostPacketWaitTime_;
385 lostPacketWaitTime_ = value;
390 ONIXS_CMEMDH_EXPORTED
404 toStr(str, settings);
412 std::string connectivityConfigurationFile_;
414 UInt16 maxPacketSize_;
425 : maxPacketSize_(1420)
434 return connectivityConfigurationFile_;
440 const std::string& configurationFile)
442 connectivityConfigurationFile_ = configurationFile;
450 const std::string& interfaces)
453 feedANetworkInterfaces
457 feedANetworkInterfaces
461 feedANetworkInterfaces
465 feedANetworkInterfaces
474 const std::string& interfaces)
477 feedBNetworkInterfaces
481 feedBNetworkInterfaces
485 feedBNetworkInterfaces
489 feedBNetworkInterfaces
498 return maxPacketSize_;
504 maxPacketSize_ = value;
510 return instrumentFeeds_;
516 return instrumentFeeds_;
522 return incrementalFeeds_;
528 return incrementalFeeds_;
534 return snapshotFeeds_;
540 return snapshotFeeds_;
546 return mboSnapshotFeeds_;
552 return mboSnapshotFeeds_;
557 ONIXS_CMEMDH_EXPORTED
571 toStr(str, settings);
#define ONIXS_CMEMDH_LTWT_CLASS
const std::string & feedBNetworkInterfaces() const
void layout(Layout value)
Defines feed layout for recovery feed group.
UInt32 Base
Integral type used as basement for constants.
const std::string & connectivityConfigurationFile() const
Path to the connectivity configuration file.
FeedSettings()
Initializes instance with default values.
Layout layout() const
Defines feed layout for a feed group.
FeedSettingsBase(Layout layout, UInt32 heartbeat)
Initializes instance with default values.
const RealtimeFeedSettings & incrementalFeeds() const
Reference to parameters affecting incremental feeds.
void heartbeatInterval(UInt32 value)
Specifies maximal time interval between two packets.
Collection of parameters common for all types of feeds.
Indicates only feed B is used as source for market data.
const RecoveryFeedSettings & mboSnapshotFeeds() const
Reference to parameters affecting snapshot feeds.
const std::string & feedANetworkInterfaces() const
void maxPacketSize(UInt16 value)
Max size for network packet transmitted by MDP.
void feedANetworkInterfaces(const std::string &interfaces)
void lostPacketWaitTime(UInt32 value)
UInt32 outOfOrderPacketMaxInterval() const
Indicates only feed A is used as source for market data.
void connectivityConfigurationFile(const std::string &configurationFile)
Sets path to the connectivity configuration file.
RecoveryFeedSettings & mboSnapshotFeeds()
Reference to parameters affecting snapshot feeds.
Collection of parameters affecting real-time feeds behavior.
UInt32 lostPacketWaitTime() const
UInt16 maxPacketSize() const
std::string toStr(const FeedSettings &settings)
Serializes feed settings into string.
Indicates only feed A is used as source for market data.
#define ONIXS_CMEMDH_LTWT_STRUCT
const RecoveryFeedSettings & snapshotFeeds() const
Reference to parameters affecting snapshot feeds.
Collection of parameters affecting recovery feeds behavior.
const RecoveryFeedSettings & instrumentFeeds() const
Reference to parameters affecting instrument feeds.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
void feedBNetworkInterfaces(const std::string &interfaces)
Indicates only feed B is used as source for market data.
RecoveryFeedSettings & snapshotFeeds()
Reference to parameters affecting snapshot feeds.
void feedANetworkInterfaces(const std::string &interfaces)
UInt32 Base
Integral type used as basement for constants.
void outOfOrderPacketMaxInterval(UInt32 value)
void feedBNetworkInterfaces(const std::string &interfaces)
RealtimeFeedSettings & incrementalFeeds()
Reference to parameters affecting incremental feeds.
UInt32 heartbeatInterval() const
RecoveryFeedSettings & instrumentFeeds()
Reference to parameters affecting instrument feeds.
#define ONIXS_CMEMDH_NAMESPACE_END