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

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

Public Member Functions

 TcpRecoverySessionSettings (const SettingGroup *group=nullptr)
 
 TcpRecoverySessionSettings (const TcpRecoverySessionSettings &other)
 
 ~TcpRecoverySessionSettings ()
 
TcpRecoveryServiceservice () const
 
TcpRecoverySessionSettingsservice (TcpRecoveryService *service)
 
UInt32 attempts () const
 
TcpRecoverySessionSettingsattempts (UInt32 qty)
 
UInt32 servingTimeLimit () const
 
TcpRecoverySessionSettingsservingTimeLimit (UInt32 servingTimeLimit)
 
TcpRecoverySessionSettingsoperator= (const TcpRecoverySessionSettings &other)
 

Friends

class SessionSettings
 

Detailed Description

Definition at line 200 of file SessionSettings.h.

Constructor & Destructor Documentation

TcpRecoverySessionSettings ( const SettingGroup group = nullptr)
inline

Initializes the instance with the default values.

Optional group parameter lets to make the instance belonging to a given group of settings.

Definition at line 207 of file SessionSettings.h.

Initializes the instance as a copy of the other one.

Grouping and value assignment control services are not copied.

Definition at line 219 of file SessionSettings.h.

Finalizes the instance.

Definition at line 228 of file SessionSettings.h.

Member Function Documentation

UInt32 attempts ( ) const
inline

Number of times a Handler must try to recover missing data using the TCP recovery before it switches to recover market state from snapshots or resumes incremental data processing by natural refresh.

Definition at line 256 of file SessionSettings.h.

TcpRecoverySessionSettings& attempts ( UInt32  qty)
inline

Updates number of times a Handler must try to recover missing data using the TCP recovery before it switches to recover market state from snapshots or resumes incremental data processing by natural refresh.

Definition at line 266 of file SessionSettings.h.

TcpRecoverySessionSettings& operator= ( const TcpRecoverySessionSettings other)
inline

Re-initializes as a copy of the other one.

Grouping and value assignment control services aren't copied.

Definition at line 301 of file SessionSettings.h.

TcpRecoveryService* service ( ) const
inline

An instance of the TCP recovery service if there's any associated.

Null instance indicates no service is associated and thus TCP recovery is disabled during market data processing session.

Definition at line 236 of file SessionSettings.h.

TcpRecoverySessionSettings& service ( TcpRecoveryService service)
inline

Associates the instance of the TCP Recovery service to be used by a Handler during market data processing session.

Definition at line 244 of file SessionSettings.h.

UInt32 servingTimeLimit ( ) const
inline

Amount of time allocated to process a recovery request.

TCP recovery service interrupts request processing if it can't be accomplished within given time frame.

Interval is measured in seconds.

Note
Default value is '10'.

Definition at line 281 of file SessionSettings.h.

TcpRecoverySessionSettings& servingTimeLimit ( UInt32  servingTimeLimit)
inline

Amount of time allocated to process a recovery request.

TCP recovery service interrupts request processing if it can't be accomplished within given time frame.

Interval is measured in seconds.

Definition at line 292 of file SessionSettings.h.

Friends And Related Function Documentation

friend class SessionSettings
friend

Lets grouping and value assignment control functioning.

Definition at line 312 of file SessionSettings.h.


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