OnixS C++ CME Market Data Handler  4.8.0.10
API documentation
FeedSettingsBase< Layout > Class Template Reference

#include <FeedSettings.h>

Public Member Functions

Layout layout () const
 
void layout (Layout value)
 
UInt32 heartbeatInterval () const
 
void heartbeatInterval (UInt32 value)
 
const std::string & feedANetworkInterfaces () const
 
void feedANetworkInterfaces (const std::string &interfaces)
 
const std::string & feedBNetworkInterfaces () const
 
void feedBNetworkInterfaces (const std::string &interfaces)
 

Protected Member Functions

 FeedSettingsBase (Layout layout, UInt32 heartbeat)
 

Detailed Description

template<typename Layout>
class OnixS::CME::MDH::FeedSettingsBase< Layout >

Definition at line 34 of file FeedSettings.h.

Constructor & Destructor Documentation

FeedSettingsBase ( Layout  layout,
UInt32  heartbeat 
)
inlineprotected

Initializes instance with default values.

Definition at line 44 of file FeedSettings.h.

Member Function Documentation

const std::string& feedANetworkInterfaces ( ) const
inline

Specifies one or more network interfaces to use for "A" feeds while joining the multicast group; use semi-colon delimited list if more than one.

Note
On Linux the network interface is specified by its name, on Windows - by IP address.
If the value is empty or absent then the Settings::networkInterface value is used.

Definition at line 93 of file FeedSettings.h.

void feedANetworkInterfaces ( const std::string &  interfaces)
inline

Specifies one or more network interfaces to use for "A" feeds while joining the multicast group; use semi-colon delimited list if more than one.

Definition at line 102 of file FeedSettings.h.

const std::string& feedBNetworkInterfaces ( ) const
inline

Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use semi-colon delimited list if more than one.

Note
On Linux the network interface is specified by its name, on Windows - by IP address.
If the value is empty or absent then the Settings::networkInterface value is used.

Definition at line 119 of file FeedSettings.h.

void feedBNetworkInterfaces ( const std::string &  interfaces)
inline

Specifies one or more network interfaces to use for "B" feeds while joining the multicast group; use semi-colon delimited list if more than one.

Definition at line 128 of file FeedSettings.h.

UInt32 heartbeatInterval ( ) const
inline

Specifies maximal time interval between two network packets. If no data is received during specified time frame, corresponding event is raised and further behavior is defined by feed layout.

Interval is measured in seconds.

Definition at line 71 of file FeedSettings.h.

void heartbeatInterval ( UInt32  value)
inline

Specifies maximal time interval between two packets.

Definition at line 77 of file FeedSettings.h.

Layout layout ( ) const
inline

Defines feed layout for a feed group.

Definition at line 54 of file FeedSettings.h.

void layout ( Layout  value)
inline

Defines feed layout for recovery feed group.

Definition at line 60 of file FeedSettings.h.


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