OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
TcpRecoveryFeedSettings Class Reference

#include <OnixS/CME/MDH/FeedSettings.h>

Public Member Functions

 TcpRecoveryFeedSettings (const SettingGroup *group=nullptr)
 
 TcpRecoveryFeedSettings (const TcpRecoveryFeedSettings &other)
 
 ~TcpRecoveryFeedSettings ()
 
UInt32 connectionAttempts () const
 
TcpRecoveryFeedSettingsconnectionAttempts (UInt32 attemptQty)
 
UInt32 connectionTimeout () const
 
TcpRecoveryFeedSettingsconnectionTimeout (UInt32 connectionTimeout)
 
UInt32 sendTimeout () const
 
TcpRecoveryFeedSettingssendTimeout (UInt32 sendTimeout)
 
TcpRecoveryFeedSettingsoperator= (const TcpRecoveryFeedSettings &other)
 
- Public Member Functions inherited from FeedSettingsBase< RecoveryFeedLayout::Enum >
RecoveryFeedLayout::Enum layout () const
 
FeedSettingsBaselayout (RecoveryFeedLayout::Enumvalue)
 
UInt32 heartbeatInterval () const
 
FeedSettingsBaseheartbeatInterval (UInt32 interval)
 
FeedConnectionSettingsA ()
 
const FeedConnectionSettingsA () const
 
FeedConnectionSettingsB ()
 
const FeedConnectionSettingsB () const
 
FeedSettingsBasefeedANetworkInterfaces (const std::string &interfaces)
 
FeedSettingsBasefeedBNetworkInterfaces (const std::string &interfaces)
 

Friends

class FeedSettings
 

Additional Inherited Members

- Protected Member Functions inherited from FeedSettingsBase< RecoveryFeedLayout::Enum >
 FeedSettingsBase (const SettingGroup *group, RecoveryFeedLayout::Enumlayout, UInt32 heartbeat)
 
 FeedSettingsBase (const FeedSettingsBase &other)
 
 ~FeedSettingsBase ()
 
const SettingGroupgroup () const
 
void assignNoControl (const FeedSettingsBase &other)
 

Detailed Description

Definition at line 519 of file FeedSettings.h.

Constructor & Destructor Documentation

TcpRecoveryFeedSettings ( const SettingGroup group = nullptr)
inline

Initializes instance with default values.

By default, feed A is used as the primary source of market recovery data with fail-over to the feed B. Heartbeats are expected within 2 seconds periodicity.

Definition at line 527 of file FeedSettings.h.

Initializes the instance as a copy of the other one.

Definition at line 537 of file FeedSettings.h.

Finalizes the instance.

Definition at line 546 of file FeedSettings.h.

Member Function Documentation

UInt32 connectionAttempts ( ) const
inline

Number of times the Handler must try recovering from the other feed if it fails to recover from the primary one.

Note
Default value is '3'.

Definition at line 553 of file FeedSettings.h.

TcpRecoveryFeedSettings& connectionAttempts ( UInt32  attemptQty)
inline

Number of times the Handler must try recovering from the other feed if it fails to recover from the primary one.

Definition at line 561 of file FeedSettings.h.

UInt32 connectionTimeout ( ) const
inline

Interval between the attempts to receive missed packets via the TCP recovery feed if previous attempt either failed or was rejected.

Interval is measured in milliseconds.

Note
Default value is '500'.

Definition at line 575 of file FeedSettings.h.

TcpRecoveryFeedSettings& connectionTimeout ( UInt32  connectionTimeout)
inline

Interval between the attempts to receive missed packets via the TCP recovery feed if previous attempt either failed or was rejected.

Interval is measured in milliseconds.

Definition at line 585 of file FeedSettings.h.

TcpRecoveryFeedSettings& operator= ( const TcpRecoveryFeedSettings other)
inline

Re-initializes the instance as a copy of the other one.

Definition at line 614 of file FeedSettings.h.

UInt32 sendTimeout ( ) const
inline

Time limit for the send operation.

Value is measured in milliseconds.

Note
Default value is '5000'.

Definition at line 597 of file FeedSettings.h.

TcpRecoveryFeedSettings& sendTimeout ( UInt32  sendTimeout)
inline

Time limit for the send operation.

Value is measured in milliseconds.

Definition at line 605 of file FeedSettings.h.

Friends And Related Function Documentation

friend class FeedSettings
friend

Definition at line 623 of file FeedSettings.h.


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