52 std::string feedANetworkInterfaces_;
53 std::string feedBNetworkInterfaces_;
72 Layout layout,
UInt32 heartbeat)
78 , heartbeatInterval_(heartbeat)
96 other.heartbeatInterval_)
97 , feedANetworkInterfaces_(
98 other.feedANetworkInterfaces_)
99 , feedBNetworkInterfaces_(
100 other.feedBNetworkInterfaces_)
129 other.heartbeatInterval_;
131 feedANetworkInterfaces_ =
132 other.feedANetworkInterfaces_;
134 feedBNetworkInterfaces_ =
135 other.feedBNetworkInterfaces_;
140 Layout layout()
const 166 heartbeatInterval()
const 168 return heartbeatInterval_;
179 "Heartbeat Interval",
196 feedANetworkInterfaces()
const 198 return feedANetworkInterfaces_;
205 feedANetworkInterfaces(
206 const std::string& interfaces)
211 "Feed A Network Interfaces",
212 feedANetworkInterfaces_,
228 feedBNetworkInterfaces()
const 230 return feedBNetworkInterfaces_;
237 feedBNetworkInterfaces(
238 const std::string& interfaces)
243 "Feed B Network Interfaces",
244 feedBNetworkInterfaces_,
281 FeedBWithFailoverToFeedA
286 ONIXS_CONFLATEDUDP_EXPORTED
331 Base::assignNoControl(other);
345 FeedAWithFailoverToFeedB,
353 : Base(static_cast<const Base&>(other))
371 "Multicast Recovery Feed Settings",
372 &MulticastRecoveryFeedSettings::assignNoControl,
382 ONIXS_CONFLATEDUDP_EXPORTED
397 toStr(str, settings);
424 UInt32 connectionAttempts_;
425 UInt32 connectionTimeout_;
432 Base::assignNoControl(other);
434 connectionAttempts_ =
435 other.connectionAttempts_;
438 other.connectionTimeout_;
457 , connectionAttempts_(3)
458 , connectionTimeout_(500)
472 , connectionAttempts_(
473 other.connectionAttempts_)
474 , connectionTimeout_(
475 other.connectionTimeout_)
492 connectionAttempts()
const 494 return connectionAttempts_;
507 "Connection Attempts",
521 connectionTimeout()
const 523 return connectionTimeout_;
538 "Connection Timeout",
581 "TCP Recovery Feed Settings",
582 &TcpRecoveryFeedSettings::assignNoControl,
592 ONIXS_CONFLATEDUDP_EXPORTED
606 toStr(str, settings);
645 BothFeedsWithArbitrage
650 ONIXS_CONFLATEDUDP_EXPORTED
690 UInt32 outOfOrderPacketMaxInterval_;
691 UInt32 lostPacketWaitTime_;
697 Base::assignNoControl(other);
699 outOfOrderPacketMaxInterval_ =
700 other.outOfOrderPacketMaxInterval_;
702 lostPacketWaitTime_ =
703 other.lostPacketWaitTime_;
716 BothFeedsWithArbitrage,
718 , outOfOrderPacketMaxInterval_(3)
719 , lostPacketWaitTime_(100000)
732 , outOfOrderPacketMaxInterval_(
733 other.outOfOrderPacketMaxInterval_)
734 , lostPacketWaitTime_(
735 other.lostPacketWaitTime_)
773 outOfOrderPacketMaxInterval()
const 775 return outOfOrderPacketMaxInterval_;
781 outOfOrderPacketMaxInterval(
787 "Out Of Order Packet Max Interval",
788 outOfOrderPacketMaxInterval_,
815 lostPacketWaitTime()
const 817 return lostPacketWaitTime_;
829 "Lost Packet Wait Time",
845 "Realtime Feed Settings",
846 &RealtimeFeedSettings::assignNoControl,
856 ONIXS_CONFLATEDUDP_EXPORTED
870 toStr(str, settings);
888 std::string connectivityConfigurationFile_;
918 connectivityConfigurationFile_ =
919 other.connectivityConfigurationFile_;
922 other.packetMaxSize_;
926 other.incrementalFeeds_);
930 other.instrumentFeeds_);
934 other.snapshotFeeds_);
938 other.mboSnapshotFeeds_);
942 other.historicalFeeds_);
944 engine_ = other.engine_;
950 assignFeedAInterfaces(
951 const std::string& interfaces)
954 feedANetworkInterfaces_ =
957 feedANetworkInterfaces_ =
960 feedANetworkInterfaces_ =
963 feedANetworkInterfaces_ =
966 feedANetworkInterfaces_ =
974 assignFeedBInterfaces(
975 const std::string& interfaces)
978 feedBNetworkInterfaces_ =
981 feedBNetworkInterfaces_ =
984 feedBNetworkInterfaces_ =
987 feedBNetworkInterfaces_ =
990 feedBNetworkInterfaces_ =
1001 , packetMaxSize_(1420)
1002 , incrementalFeeds_(&group())
1003 , instrumentFeeds_(&group())
1004 , snapshotFeeds_(&group())
1005 , mboSnapshotFeeds_(&group())
1006 , historicalFeeds_(&group())
1016 , connectivityConfigurationFile_(
1017 other.connectivityConfigurationFile_)
1019 other.packetMaxSize_)
1020 , incrementalFeeds_(
1021 other.incrementalFeeds_)
1023 other.instrumentFeeds_)
1025 other.snapshotFeeds_)
1026 , mboSnapshotFeeds_(
1027 other.mboSnapshotFeeds_)
1029 other.historicalFeeds_)
1038 connectivityConfigurationFile()
const 1040 return connectivityConfigurationFile_;
1045 connectivityConfigurationFile(
1046 const std::string& configurationFile)
1051 "Connectivity Configuration File",
1052 connectivityConfigurationFile_,
1061 feedANetworkInterfaces(
1062 const std::string& interfaces)
1067 "Feed A Network Interfaces for All Feeds",
1068 &FeedSettings::assignFeedAInterfaces,
1078 feedBNetworkInterfaces(
1079 const std::string& interfaces)
1084 "Feed B Network Interfaces for All Feeds",
1085 &FeedSettings::assignFeedBInterfaces,
1096 return packetMaxSize_;
1116 incrementalFeeds()
const 1118 return incrementalFeeds_;
1125 return incrementalFeeds_;
1131 instrumentFeeds()
const 1133 return instrumentFeeds_;
1140 return instrumentFeeds_;
1146 snapshotFeeds()
const 1148 return snapshotFeeds_;
1155 return snapshotFeeds_;
1161 mboSnapshotFeeds()
const 1163 return mboSnapshotFeeds_;
1170 return mboSnapshotFeeds_;
1176 historicalFeeds()
const 1178 return historicalFeeds_;
1185 return historicalFeeds_;
1219 &FeedSettings::assignNoControl,
1229 ONIXS_CONFLATEDUDP_EXPORTED
1243 toStr(str, settings);
Collection of parameters affecting recovery feeds behavior.
Handler's configuration settings.
Indicates only feed B is used as source for market data.
std::string toStr(const FeedSettings &settings)
Serializes feed settings into string.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS_DECL(name)
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS_DECL(typeName)
Indicates only feed A is used as source for market data.
#define ONIXS_CONFLATEDUDP_LTWT_STRUCT
Indicates only feed B is used as source for market data.
Indicates only feed A is used as source for market data.
Base services for settings grouped by a certain criteria.
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
bool value(Number &number, const MultiContainer &container, Tag tag)
UInt32 Base
Integral type used as basement for constants.
UInt16 PacketSize
Integral type for measuring packets.
UInt32 Base
Integral type used as basement for constants.
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Collection of parameters affecting recovery feeds behavior.
Collection of parameters affecting real-time feeds behavior.