OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
NetFeedEngine Class Referenceabstract

#include <OnixS/CME/ConflatedUDP/FeedEngine.h>

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

Abstraction for the Feed Engine machinery.

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

Definition at line 120 of file FeedEngine.h.

Constructor & Destructor Documentation

NetFeedEngine ( )
inlineprotected

Construction through the descendants.

Definition at line 131 of file FeedEngine.h.

virtual ~NetFeedEngine ( )
inlinevirtual

Finalizes the instance.

Definition at line 137 of file FeedEngine.h.

Member Function Documentation

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.

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

Provides information about the actual implementation of the feed engine.

Implemented in SocketFeedEngine, and SolarflareFeedEngine.

virtual NetFeedEngineProcessResult process ( )
pure virtual

Carries out pending actions like data retrival 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.

virtual WatchService& watch ( )
pure virtual

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

Implemented in SocketFeedEngine, and SolarflareFeedEngine.


The documentation for this class was generated from the following file: