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

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

Public Member Functions

 SocketFeedEngine (const SocketFeedEngineSettings &=SocketFeedEngineSettings())
 ~SocketFeedEngine () 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 feed engine concept using pool of working threads and standard socket API.

Definition at line 140 of file SocketFeedEngine.h.

Constructor & Destructor Documentation

◆ SocketFeedEngine()

SocketFeedEngine ( const SocketFeedEngineSettings & = SocketFeedEngineSettings())

Initializes the engine according to the given configuration.

◆ ~SocketFeedEngine()

~SocketFeedEngine ( )
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.

The returned value indicates whether any events have been handled by the engine.

Implements NetFeedEngine.

◆ watch()

WatchService & watch ( )
overridevirtual

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

Implements NetFeedEngine.