OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
SolarflareFeedEngineSettings Class Reference

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

Public Member Functions

 SolarflareFeedEngineSettings ()
 
 ~SolarflareFeedEngineSettings ()
 
UInt32 receiveRingSize () const
 
void receiveRingSize (UInt32 ringSize)
 
UInt32 cacheSize () const
 
void cacheSize (UInt32 cacheSize)
 
WatchServicewatch () const
 
void watch (WatchService &watch)
 

Detailed Description

Represents a collection of settings affecting the behavior of the feed engine while working with virtual interfaces.

Definition at line 32 of file SolarflareFeedEngine.h.

Constructor & Destructor Documentation

Initializes the given instance of the network settings with the default values.

Definition at line 43 of file SolarflareFeedEngine.h.

Cleans everything up.

Definition at line 53 of file SolarflareFeedEngine.h.

Member Function Documentation

UInt32 cacheSize ( ) const
inline

Size of a pool of buffers used to receive and manipulate incoming data.

The feed engine puts incoming packets into buffers and keeps buffers busy until received data is processed by handlers. In case of rapid transmission, buffers may be allocated quicker than they are processed and released back to pool. Therefore, the pool must be capacious enough to avoid data losses.

Definition at line 96 of file SolarflareFeedEngine.h.

void cacheSize ( UInt32  cacheSize)
inline

Size of pool of buffers used to receive and manipulate incoming data.

Definition at line 104 of file SolarflareFeedEngine.h.

UInt32 receiveRingSize ( ) const
inline

Number of buffers in a virtual interface receive ring.

Single buffer is used for a single network packet. Thus the receive ring must be capacious enough to place incoming packets during market data bursts.

By default, the parameter is set to '-1' which means receive ring will be constructed of the default capacity.

Definition at line 66 of file SolarflareFeedEngine.h.

void receiveRingSize ( UInt32  ringSize)
inline

Number of buffers in a virtual interface receive ring.

Single buffer is used for a single network packet. Thus the receive ring must be capacious enough to place incoming packets during market data bursts.

By default, the parameter is set to '-1' which means receive ring will be constructed of the default capacity.

Definition at line 80 of file SolarflareFeedEngine.h.

WatchService& watch ( ) const
inline

Watch service to be used by Feed Engine.

Watch is used by Feed Engine to assign time points to packets received from the feeds.

Note
By default, UTC watch service is used.

Definition at line 116 of file SolarflareFeedEngine.h.

void watch ( WatchService watch)
inline

Watch service to be used by Feed Engine.

If no instance associated, UTC watch is used.

Definition at line 125 of file SolarflareFeedEngine.h.


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