87 , receiveRingSize_(static_cast<
UInt32>(-1))
89 , socketBufferSize_(8 * 1024 * 1024)
119 return receiveRingSize_;
132 receiveRingSize_ = ringSize;
153 cacheSize_ = cacheSize;
165 return socketBufferSize_;
177 socketBufferSize_ = bufferSize;
219 toStr(str, settings);
258 Workhorse* workhorse_;
Enum
Defines modes in with the Solarflare Feed Engine can operate.
Designed to reflect various aspects of feed engine processing flow.
The given class implements the Feed Engine concept using the Solarlfare ef_vi SDK.
#define ONIXS_CMEMDH_OVERRIDE
UInt32 receiveRingSize() const
Number of buffers in a virtual interface receive ring.
Represents a collection of settings affecting the behavior of the Feed Engine while working with virt...
SolarflareFeedEngineSettings()
Initializes the given instance of the network settings with the default values.
UInt32 socketBufferSize() const
Socket buffer size.
#define ONIXS_CMEMDH_LTWT
Defines modes in with the Solarflare Feed Engine can operate.
Abstraction for the Feed Engine machinery.
bool process(NetFeedEngine &engine)
Carries out pending actions like data retrieval and event dispatching.
SolarflareFeedEngineOperatingMode::Enum mode() const
The operational mode for the Feed Engine.
Base attributes of market data feed.
WatchService & watch() const
Watch service to be used by the Solarlfare Feed Engine.
~SolarflareFeedEngineSettings()
Cleans everything up.
void receiveRingSize(UInt32 ringSize)
Number of buffers in a virtual interface receive ring.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
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.
std::string toStr(const SolarflareFeedEngineSettings &settings)
Serializes the Solarflare Feed Engine settings into a string.
#define ONIXS_CMEMDH_EXPORTED
void cacheSize(UInt32 cacheSize)
Size of pool of buffers used to receive and manipulate incoming data.
UInt32 cacheSize() const
Size of a pool of buffers used to receive and manipulate incoming data.
Abstraction of a link used by the NetFeed instances to cover transportation layer.
UInt32 Base
Underlying integral type for the enum.
The conventional mode supposes use of the ef_vi services only while working with multicast feeds...
void socketBufferSize(UInt32 bufferSize)
Specifies socket buffer size.
#define ONIXS_CMEMDH_NAMESPACE_END