OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
NetFeedEngine Class Referenceabstract

Public Member Functions

virtual ~NetFeedEngine ()
virtual void info (std::string &)=0
virtual NetFeedLinkallocate (const NetFeed &)=0
virtual WatchServicewatch ()=0
virtual NetFeedEngineProcessResult process ()=0

Protected Member Functions

 NetFeedEngine ()

Detailed Description

The given abstract class exposes the interface through which instances of the Handler class manipulate feeds.

Definition at line 101 of file FeedEngine.h.

Constructor & Destructor Documentation

◆ ~NetFeedEngine()

virtual ~NetFeedEngine ( )
inlinevirtual

Finalizes the instance.

Definition at line 105 of file FeedEngine.h.

◆ NetFeedEngine()

NetFeedEngine ( )
inlineprotected

Construction through the descendants.

Definition at line 133 of file FeedEngine.h.

Member Function Documentation

◆ allocate()

virtual NetFeedLink & allocate ( const NetFeed & )
pure virtual

Constructs a link for the given feed.

Caller is responsible for releasing the returned instance using the NetFeedLink::release() member.

Implemented in SocketFeedEngine, and SolarflareFeedEngine.

◆ info()

virtual void info ( std::string & )
pure virtual

Provides information about the actual implementation of the feed engine.

Implemented in SocketFeedEngine, and SolarflareFeedEngine.

◆ process()

virtual NetFeedEngineProcessResult process ( )
pure virtual

Carries out pending actions like data retrieval and event dispatching.

The particular implementation of the feed engine concept may have own specific on returned value. Thus, see the documentation for the particular feed engine on the behavior and returned value.

Implemented in SocketFeedEngine, and SolarflareFeedEngine.

◆ watch()

virtual WatchService & watch ( )
pure virtual

A watch service used by the Feed Engine to assign timestamps for received packets and to track heartbeats.

Implemented in SocketFeedEngine, and SolarflareFeedEngine.