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

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

Public Member Functions

 SocketFeedEngine (const SocketFeedEngineSettings &)
 SocketFeedEngine ()
 ~SocketFeedEngine () override
void info (std::string &) override
NetFeedLinkallocate (const NetFeed &) override
WatchServicewatch () override
NetFeedEngineProcessResult process () override
Public Member Functions inherited from NetFeedEngine
virtual ~NetFeedEngine ()

Additional Inherited Members

Protected Member Functions inherited from NetFeedEngine
 NetFeedEngine ()

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() [1/2]

Initializes the engine according to the given configuration.

◆ SocketFeedEngine() [2/2]

Initializes the engine with the default settings.

◆ ~SocketFeedEngine()

~SocketFeedEngine ( )
override

Destructs the given instance.

Member Function Documentation

◆ 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.