OnixS C++ FIX Engine 4.14.0
Users' manual and API documentation
Loading...
Searching...
No Matches
SessionSchedulerOptions Class Reference

#include <OnixS/FIXEngine/FIX/Scheduling/SessionScheduler.h>

Public Member Functions

 SessionSchedulerOptions ()
 ~SessionSchedulerOptions ()
const std::string & configurationFile () const
void configurationFile (const std::string &file)
SessionSchedulerListener * eventListener () const
void eventListener (SessionSchedulerListener *listener)
SchedulerThreadingModel::Enum threadingModel () const
void threadingModel (SchedulerThreadingModel::Enum threadingModel)

Detailed Description

The collection of miscellaneous parameters which affect the session scheduler behavior.

Definition at line 120 of file SessionScheduler.h.

Constructor & Destructor Documentation

◆ SessionSchedulerOptions()

SessionSchedulerOptions ( )

Initializes parameters with default values.

◆ ~SessionSchedulerOptions()

Cleans everything up.

Member Function Documentation

◆ configurationFile() [1/2]

const std::string & configurationFile ( ) const

The path to the scheduler configuration file.

◆ configurationFile() [2/2]

void configurationFile ( const std::string & file)

Updates the path to the scheduler configuration file.

Besides predefined schedules and connection settings, the file can define the scheduler settings. A setting present in the file replaces the one given through this options object; see Defining Scheduler Settings.

◆ eventListener() [1/2]

SessionSchedulerListener * eventListener ( ) const

An instance of the event listener to notify about events.

◆ eventListener() [2/2]

void eventListener ( SessionSchedulerListener * listener)

Associates the given event listener with the scheduler.

◆ threadingModel() [1/2]

SchedulerThreadingModel::Enum threadingModel ( ) const

The threading model.

◆ threadingModel() [2/2]

void threadingModel ( SchedulerThreadingModel::Enum threadingModel)

Updates the threading model.