87 , receiveRingSize_(static_cast<
UInt32>(-1))
89 , socketBufferSize_(8 * 1024 * 1024)
119 return receiveRingSize_;
132 receiveRingSize_ = ringSize;
165 return socketBufferSize_;
177 socketBufferSize_ = bufferSize;
219 toStr(str, settings);
258 Workhorse* workhorse_;
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_OVERRIDE
Designed to reflect various aspects of feed engine processing flow.
NetFeedEngine()
Construction through the descendants.
Abstraction of a link used by the NetFeed instances to cover transportation layer.
Base attributes of market data feed.
Represents a collection of settings affecting the behavior of the Feed Engine while working with virt...
void receiveRingSize(UInt32 ringSize)
Number of buffers in a virtual interface receive ring.
SolarflareFeedEngineOperatingMode::Enum mode() const
The operational mode for the Feed Engine.
void socketBufferSize(UInt32 bufferSize)
Specifies socket buffer size.
UInt32 receiveRingSize() const
Number of buffers in a virtual interface receive ring.
void mode(SolarflareFeedEngineOperatingMode::Enum mode)
Defines the operational mode for the Feed Engine.
void watch(WatchService &watch)
Watch service to be used by Feed Engine.
void cacheSize(UInt32 cacheSize)
Size of pool of buffers used to receive and manipulate incoming data.
~SolarflareFeedEngineSettings()
Cleans everything up.
UInt32 socketBufferSize() const
Socket buffer size.
WatchService & watch() const
Watch service to be used by the Solarlfare Feed Engine.
SolarflareFeedEngineSettings()
Initializes the given instance of the network settings with the default values.
UInt32 cacheSize() const
Size of a pool of buffers used to receive and manipulate incoming data.
void info(std::string &) override
Appends information on the given implementation to the given string.
NetFeedLink & allocate(const NetFeed &) override
Allocates a link for the given feed.
NetFeedEngineProcessResult process() override
Carries out pending actions like data retrieval and event dispatching.
WatchService & watch() override
Exposes an instance of the watch service used while manipulating the feed links.
~SolarflareFeedEngine() override
Destructs the given instance.
SolarflareFeedEngine(const SolarflareFeedEngineSettings &)
Initializes the engine according to the given configuration.
void toStr(std::string &, BookState::Enum)
Serializes book state value into a string.
Defines modes in with the Solarflare Feed Engine can operate.
Enum
Defines modes in with the Solarflare Feed Engine can operate.
@ Mixed
In the given mode the Solarflare Feed Engine mixes ef_vi services with the traditional network socket...
@ Conventional
The conventional mode supposes use of the ef_vi services only while working with multicast feeds.