OnixS C++ Eurex T7 Market and Reference Data Interface (EMDI, RDI, EOBI) Handlers  7.4.3
API documentation
FeedEngineSettings Class Reference

#include <OnixS/Eurex/MarketData/FeedEngine.h>

Public Member Functions

 FeedEngineSettings ()
 
 ~FeedEngineSettings ()
 
FeedEngineMode::Enum mode () const
 
void mode (FeedEngineMode::Enum mode)
 
const ThreadAffinitythreadAffinity () const
 
ThreadAffinitythreadAffinity ()
 
UInt32 threadCount () const
 
void threadCount (UInt32 value)
 
UInt32 dataWaitTime () const
 
void dataWaitTime (UInt32 value)
 
UInt32 spinBeforeIdleTime () const
 
void spinBeforeIdleTime (UInt32 value)
 
UInt32 socketBufferSize () const
 
void socketBufferSize (UInt32 value)
 
std::string toString () const
 

Detailed Description

Definition at line 97 of file FeedEngine.h.

Constructor & Destructor Documentation

Initializes options with default values.

Definition at line 40 of file FeedEngineSettings.cpp.

Cleans everything up.

Definition at line 50 of file FeedEngineSettings.cpp.

Member Function Documentation

UInt32 dataWaitTime ( ) const
inline

Defines amount of time Feed Engine spends on waiting for I/O while running master processing loop.

Time is measured in milliseconds.

Note
Default value is '10'.
Warning
Given parameter significantly affects Handler's responsiveness and load onto CPU!

Definition at line 173 of file FeedEngine.h.

void dataWaitTime ( UInt32  value)
inline

Sets dataWaitTime.

See also
dataWaitTime.

Definition at line 179 of file FeedEngine.h.

FeedEngineMode::Enum mode ( ) const
inline

Defines API to use. Select mode is default

Definition at line 116 of file FeedEngine.h.

void mode ( FeedEngineMode::Enum  mode)
inline

Definition at line 121 of file FeedEngine.h.

UInt32 socketBufferSize ( ) const
inline

Defines size of receiving buffer in bytes for sockets.

Note
Default value is 8 MiB.
Ignored in ef_vi mode

Definition at line 208 of file FeedEngine.h.

void socketBufferSize ( UInt32  value)
inline

Sets udpSocketBufferSize.

See also
udpSocketBufferSize.

Definition at line 214 of file FeedEngine.h.

UInt32 spinBeforeIdleTime ( ) const
inline

Defines amount of time Feed Engine keeps cycling before going to sleep when no useful activity can be done.

Time is measured in milliseconds.

Note
Default value is '1'.
Warning
Given parameter has direct influence onto CPU load!

Definition at line 192 of file FeedEngine.h.

void spinBeforeIdleTime ( UInt32  value)
inline

Sets redundancySpinTime.

See also
redundancySpinTime.

Definition at line 198 of file FeedEngine.h.

const ThreadAffinity& threadAffinity ( ) const
inline

Defines set of CPUs allowed for each working thread to be executed on while processing market data by Handlers bound to Feed Engine instance which is configured by given settings.

Note
By default set is empty thus allowing threads to be executed on any CPU available in the system.

Definition at line 133 of file FeedEngine.h.

ThreadAffinity& threadAffinity ( )
inline

Defines set of CPUs allowed for each working thread to be executed on while processing market data by Handlers bound to Feed Engine instance which is configured by given settings.

Note
By default set is empty thus allowing threads to be executed on any CPU available in the system.

Definition at line 145 of file FeedEngine.h.

UInt32 threadCount ( ) const
inline

Number of working threads to be used by feed engine.

Note
Default value is '1'.

Definition at line 153 of file FeedEngine.h.

void threadCount ( UInt32  value)
inline

Sets threadsCount.

See also
threadsCount.

Definition at line 159 of file FeedEngine.h.

std::string toString ( ) const

Returns the string representation.

Definition at line 54 of file FeedEngineSettings.cpp.


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