63 BothFeedsWithArbitrage
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);
FeedSettings()
Initializes instance with default values.
UInt32 outOfOrderPacketMaxInterval() const
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
Collection of parameters affecting real-time feeds behavior.
Defines feed layout alternates available for real-time feed like incremental one. ...
const std::string & connectivityConfigurationFile() const
Path to the connectivity configuration file.
void outOfOrderPacketMaxInterval(UInt32 value)
Defines value of threshold used by Handler to differ out-of-order packets from gaps.
void heartbeatInterval(UInt32 value)
Specifies maximal time interval between two network packets.
const std::string & feedBNetworkInterfaces() const
Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use ...
void layout(RealtimeFeedLayout::Enum value)
Defines feed layout for real-time feed group.
UInt32 heartbeatInterval() const
Specifies maximal time interval between two network packets.
Feed A is used as primary source of market data.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS
void lostPacketWaitTime(UInt32 value)
Indicates for how long Handler should wait for the packet before it's considered as totally lost...
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
RealtimeFeedSettings()
Initializes instance with default values.
void connectivityConfigurationFile(const std::string &configurationFile)
Sets path to the connectivity configuration file.
const RealtimeFeedSettings & incrementalFeeds() const
Reference to parameters affecting incremental feeds.
RealtimeFeedLayout::Enum layout() const
Defines feed layout for real-time feed group.
RealtimeFeedSettings & incrementalFeeds()
Reference to parameters affecting incremental feeds.
void feedANetworkInterfaces(const std::string &interfaces)
Specifies one or more network interfaces to use for "A" feeds while joining the multicast group; use ...
UInt32 lostPacketWaitTime() const
Indicates for how long Handler should wait for the packet before it's considered as totally lost...
Feed B is used as primary source of market data.
void maxPacketSize(UInt16 value)
Max size for network packet transmitted by MDP.
UInt32 Base
Integral type used as basement for constants.
Indicates only feed A is used as source for market data.
void feedBNetworkInterfaces(const std::string &interfaces)
Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use ...
Indicates only feed B is used as source for market data.
#define ONIXS_CMESTREAMLINEDMDH_LTWT_STRUCT
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 ...
std::string toStr(const FeedSettings &settings)
Serializes feed settings into string.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN