OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
TcpRecoverySessionSettings Class Reference

Public Member Functions

 TcpRecoverySessionSettings (const SettingGroup *group=NULL)
 TcpRecoverySessionSettings (const TcpRecoverySessionSettings &other)
 ~TcpRecoverySessionSettings ()
TcpRecoveryServiceservice () const
void service (TcpRecoveryService *service)
UInt32 attempts () const
void attempts (UInt32 qty)
UInt32 servingTimeLimit () const
void servingTimeLimit (UInt32 servingTimeLimit)
TcpRecoverySessionSettingsoperator= (const TcpRecoverySessionSettings &other)

Friends

class AdvancedSessionSettings

Detailed Description

Definition at line 186 of file SessionSettings.h.

Constructor & Destructor Documentation

◆ TcpRecoverySessionSettings() [1/2]

TcpRecoverySessionSettings ( const SettingGroup * group = NULL)
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 227 of file SessionSettings.h.

◆ TcpRecoverySessionSettings() [2/2]

Initializes the instance as a copy of the other one. Grouping and value assignment control services are not copied.

Definition at line 243 of file SessionSettings.h.

◆ ~TcpRecoverySessionSettings()

Finalizes the instance.

Definition at line 254 of file SessionSettings.h.

Member Function Documentation

◆ attempts() [1/2]

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 292 of file SessionSettings.h.

◆ attempts() [2/2]

void 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 303 of file SessionSettings.h.

◆ operator=()

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 351 of file SessionSettings.h.

◆ service() [1/2]

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 265 of file SessionSettings.h.

◆ service() [2/2]

void 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 274 of file SessionSettings.h.

◆ servingTimeLimit() [1/2]

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 324 of file SessionSettings.h.

◆ servingTimeLimit() [2/2]

void 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 336 of file SessionSettings.h.

◆ AdvancedSessionSettings

friend class AdvancedSessionSettings
friend

Lets grouping and value assignment control functioning.

Definition at line 194 of file SessionSettings.h.