OnixS C++ CME MDP Premium Market Data Handler 5.11.1
Users' manual and API documentation
Loading...
Searching...
No Matches
SolarflareFeedEngine Class Reference

#include <OnixS/CME/MDH/SolarflareFeedEngine.h>

Public Member Functions

 SolarflareFeedEngine (const SolarflareFeedEngineSettings &)
 ~SolarflareFeedEngine () override
void info (std::string &) override
NetFeedLink & allocate (const NetFeed &) override
WatchService & watch () override
NetFeedEngineProcessResult process () override
std::string about ()
Public Member Functions inherited from NetFeedEngine
virtual ~NetFeedEngine ()=default
const std::string & engineId () const noexcept
std::string about ()

Additional Inherited Members

Protected Member Functions inherited from NetFeedEngine
 NetFeedEngine (const NetFeedEngineSettings &settings=NetFeedEngineSettings{})
Logger & logger () const noexcept

Detailed Description

The given class implements the Feed Engine concept using the Solarlfare ef_vi SDK.

The ef_vi SDK is for high performance raw Ethernet networking. It bypasses kernel and uses zero-copying techniques while manipulating data.

Note
VLAN-tagged network traffic is not supported. The ef_vi receive path discards frames tagged with the IEEE 802.1Q or IEEE 802.1ad TPID.

Definition at line 308 of file SolarflareFeedEngine.h.

Constructor & Destructor Documentation

◆ SolarflareFeedEngine()

SolarflareFeedEngine ( const SolarflareFeedEngineSettings & )

Initializes the engine according to the given configuration.

◆ ~SolarflareFeedEngine()

~SolarflareFeedEngine ( )
override

Destructs the given instance.

Member Function Documentation

◆ about()

std::string about ( )

Returns information about the actual feed-engine implementation.

Returns
Feed-engine implementation details.

◆ allocate()

NetFeedLink & allocate ( const NetFeed & )
overridevirtual

Allocates a link for the given feed.

Implements NetFeedEngine.

◆ info()

void info ( std::string & )
overridevirtual

Appends information on the given implementation to the given string.

Implements NetFeedEngine.

◆ process()

NetFeedEngineProcessResult process ( )
overridevirtual

Carries out pending actions like data retrieval and event dispatching.

Implements NetFeedEngine.

◆ watch()

WatchService & watch ( )
overridevirtual

Exposes an instance of the watch service used while manipulating the feed links.

Implements NetFeedEngine.