114 , hosts_(other.hosts_)
166 const std::string& address)
222 const std::string& hosts)
236 networkInterfaces()
const 260 const std::string& interfaces)
301 "Feed Connection Settings",
302 &FeedConnectionSettings::assignNoControl,
312 ONIXS_CMEMDH_EXPORTED
327 toStr(str, settings);
343 UInt32 heartbeatInterval_;
365 Layout layout,
UInt32 heartbeat)
371 , heartbeatInterval_(heartbeat)
387 , layout_(other.layout_)
388 , heartbeatInterval_(
389 other.heartbeatInterval_)
420 other.heartbeatInterval_;
422 A_.assignNoControl(other.A_);
423 B_.assignNoControl(other.B_);
428 Layout layout()
const 456 heartbeatInterval()
const 458 return heartbeatInterval_;
469 "Heartbeat Interval",
507 #if !defined (ONIXS_CMEMDH_NO_DEPRECATED) 519 feedANetworkInterfaces(
520 const std::string& interfaces)
537 feedBNetworkInterfaces(
538 const std::string& interfaces)
545 #endif // !ONIXS_CMEMDH_NO_DEPRECATED 579 FeedBWithFailoverToFeedA
584 ONIXS_CMEMDH_EXPORTED
629 Base::assignNoControl(other);
643 FeedAWithFailoverToFeedB,
651 : Base(static_cast<const Base&>(other))
669 "Multicast Recovery Feed Settings",
670 &MulticastRecoveryFeedSettings::assignNoControl,
680 ONIXS_CMEMDH_EXPORTED
695 toStr(str, settings);
722 UInt32 connectionAttempts_;
723 UInt32 connectionTimeout_;
730 Base::assignNoControl(other);
732 connectionAttempts_ =
733 other.connectionAttempts_;
736 other.connectionTimeout_;
755 , connectionAttempts_(3)
756 , connectionTimeout_(500)
770 , connectionAttempts_(
771 other.connectionAttempts_)
772 , connectionTimeout_(
773 other.connectionTimeout_)
790 connectionAttempts()
const 792 return connectionAttempts_;
805 "Connection Attempts",
821 connectionTimeout()
const 823 return connectionTimeout_;
838 "Connection Timeout",
885 "TCP Recovery Feed Settings",
886 &TcpRecoveryFeedSettings::assignNoControl,
896 ONIXS_CMEMDH_EXPORTED
910 toStr(str, settings);
949 BothFeedsWithArbitrage
954 ONIXS_CMEMDH_EXPORTED
994 UInt32 outOfOrderPacketMaxInterval_;
995 UInt32 lostPacketWaitTime_;
1001 Base::assignNoControl(other);
1003 outOfOrderPacketMaxInterval_ =
1004 other.outOfOrderPacketMaxInterval_;
1006 lostPacketWaitTime_ =
1007 other.lostPacketWaitTime_;
1020 BothFeedsWithArbitrage,
1022 , outOfOrderPacketMaxInterval_(3)
1023 , lostPacketWaitTime_(100000)
1036 , outOfOrderPacketMaxInterval_(
1037 other.outOfOrderPacketMaxInterval_)
1038 , lostPacketWaitTime_(
1039 other.lostPacketWaitTime_)
1077 outOfOrderPacketMaxInterval()
const 1079 return outOfOrderPacketMaxInterval_;
1085 outOfOrderPacketMaxInterval(
1091 "Out Of Order Packet Max Interval",
1092 outOfOrderPacketMaxInterval_,
1121 lostPacketWaitTime()
const 1123 return lostPacketWaitTime_;
1135 "Lost Packet Wait Time",
1136 lostPacketWaitTime_,
1153 "Realtime Feed Settings",
1154 &RealtimeFeedSettings::assignNoControl,
1164 ONIXS_CMEMDH_EXPORTED
1178 toStr(str, settings);
1210 ONIXS_CMEMDH_EXPORTED
1242 std::string configurationFile_;
1273 configurationFile_ =
1274 other.configurationFile_;
1276 dataCenter_ = other.dataCenter_;
1279 other.packetMaxSize_;
1283 other.incrementalFeeds_);
1287 other.instrumentFeeds_);
1291 other.snapshotFeeds_);
1295 other.mboSnapshotFeeds_);
1299 other.historicalFeeds_);
1301 engine_ = other.engine_;
1307 assignFeedAInterfaces(
1308 const std::string& interfaces)
1316 networkInterfaces().
1317 assignNoControl(nifs);
1321 networkInterfaces().
1322 assignNoControl(nifs);
1326 networkInterfaces().
1327 assignNoControl(nifs);
1331 networkInterfaces().
1332 assignNoControl(nifs);
1336 networkInterfaces().
1337 assignNoControl(nifs);
1343 assignFeedBInterfaces(
1344 const std::string& interfaces)
1352 networkInterfaces().
1353 assignNoControl(nifs);
1357 networkInterfaces().
1358 assignNoControl(nifs);
1362 networkInterfaces().
1363 assignNoControl(nifs);
1367 networkInterfaces().
1368 assignNoControl(nifs);
1372 networkInterfaces().
1373 assignNoControl(nifs);
1378 assignConnectivityConfiguration(
1379 const std::string& configurationFile,
1382 configurationFile_ =
1396 , packetMaxSize_(1420)
1397 , incrementalFeeds_(&group())
1398 , instrumentFeeds_(&group())
1399 , snapshotFeeds_(&group())
1400 , mboSnapshotFeeds_(&group())
1401 , historicalFeeds_(&group())
1411 , configurationFile_(
1412 other.configurationFile_)
1416 other.packetMaxSize_)
1417 , incrementalFeeds_(
1418 other.incrementalFeeds_)
1420 other.instrumentFeeds_)
1422 other.snapshotFeeds_)
1423 , mboSnapshotFeeds_(
1424 other.mboSnapshotFeeds_)
1426 other.historicalFeeds_)
1435 connectivityConfigurationFile()
const 1437 return configurationFile_;
1472 connectivityConfigurationFile(
1473 const std::string& configurationFile,
1479 "Connectivity Configuration File",
1480 &FeedSettings::assignConnectivityConfiguration,
1500 feedANetworkInterfaces(
1501 const std::string& interfaces)
1506 "Feed A Network Interfaces for All Feeds",
1507 &FeedSettings::assignFeedAInterfaces,
1526 feedBNetworkInterfaces(
1527 const std::string& interfaces)
1532 "Feed B Network Interfaces for All Feeds",
1533 &FeedSettings::assignFeedBInterfaces,
1546 return packetMaxSize_;
1568 incrementalFeeds()
const 1570 return incrementalFeeds_;
1577 return incrementalFeeds_;
1583 instrumentFeeds()
const 1585 return instrumentFeeds_;
1592 return instrumentFeeds_;
1598 snapshotFeeds()
const 1600 return snapshotFeeds_;
1607 return snapshotFeeds_;
1613 mboSnapshotFeeds()
const 1615 return mboSnapshotFeeds_;
1622 return mboSnapshotFeeds_;
1628 historicalFeeds()
const 1630 return historicalFeeds_;
1637 return historicalFeeds_;
1673 &FeedSettings::assignNoControl,
1683 ONIXS_CMEMDH_EXPORTED
1697 toStr(str, settings);
1709 ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_LTWT_CLASS
Handler's configuration settings.
UInt32 Base
Integral type used as basement for constants.
const NifListSetting & networkInterfaces() const
ListSetting< std::string > HostListSetting
List of hosts as a setting.
UInt32 ChannelId
Identifies CME channel.
UInt32 Base
Integral type used as basement for constants.
Collection of parameters which are common for all types of feeds.
Indicates only feed B is used as source for market data.
ONIXS_CMEMDH_EXPORTED void fromStr(HostListSetting &, const std::string &)
Deserializes host list setting from a string.
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
Indicates only feed A is used as source for market data.
Collection of parameters affecting real-time feeds behavior.
ONIXS_CMEMDH_EXPORTED void connectivityFromConfiguration(FeedSettings &, const std::string &, ChannelId, DataCenter::Enum=DataCenter::Primary)
bool value(Number &number, const MultiContainer &container, Tag tag)
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
HostListSetting NifListSetting
List of network interfaces as a setting.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Base services for settings grouped by a certain criteria.
Indicates only feed B is used as source for market data.
Collection of parameters affecting recovery feeds behavior.
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
ListSetting & assignNoControl(const ListSetting &other)
UInt32 Base
Integral type used as basement for constants.
UInt16 PacketSize
Integral type for measuring packets.
Collection of parameters affecting recovery feeds behavior.
The collection of parameters defining feed connection.
#define ONIXS_CMEMDH_NAMESPACE_END