B2BITS FIX Antenna C++  2.27.1
Public Member Functions | Public Attributes | List of all members
Engine::FixEngine::InitParameters Struct Reference

FixEngine::init parameters. More...

#include <B2BITS_FixEngine.h>

+ Collaboration diagram for Engine::FixEngine::InitParameters:

Public Member Functions

 InitParameters ()
 Default constructor. More...
 

Public Attributes

std::string additionalFields_
 Specifies additional messages fields. More...
 
SSLCustomContextProperties customSSLContextProperties_
 SSLCustomContextProperties structure describing custom SSL configuration if any. More...
 
std::string engineRoot_
 The top of the directory tree under which the engine's configuration, and log files are kept. More...
 
Engine::EventListenereventListener_
 Event listener. More...
 
bool initUtilsLogger_
 Flag to control logger subsystem life time. More...
 
std::string licenseKey_
 License key. More...
 
int listenPort_
 Engine's listen port. More...
 
EngineProperties properties_
 Engine properties. More...
 
std::string propertiesFileName_
 The FIX Engine configuration parameters file name. More...
 
System::SchedulerPtr pScheduler_
 System::Scheduler instance to run configured schedules on. More...
 
SessionsManagersessionsManager_
 Instance of SessionsManager. More...
 
bool startListeningIncomingConnections_
 Specifies whether listening to incoming connections should be started, default - true. More...
 

Detailed Description

FixEngine::init parameters.

Constructor & Destructor Documentation

◆ InitParameters()

Engine::FixEngine::InitParameters::InitParameters ( )
inline

Default constructor.

Member Data Documentation

◆ additionalFields_

std::string Engine::FixEngine::InitParameters::additionalFields_

Specifies additional messages fields.

◆ customSSLContextProperties_

SSLCustomContextProperties Engine::FixEngine::InitParameters::customSSLContextProperties_

SSLCustomContextProperties structure describing custom SSL configuration if any.

See also
SSLCustomContextProperties

◆ engineRoot_

std::string Engine::FixEngine::InitParameters::engineRoot_

The top of the directory tree under which the engine's configuration, and log files are kept.

Do NOT add a slash at the end of the directory path. Overrides the value from the properties file. If it is equal to "", then the value from the properties file is used.

◆ eventListener_

Engine::EventListener* Engine::FixEngine::InitParameters::eventListener_

Event listener.

◆ initUtilsLogger_

bool Engine::FixEngine::InitParameters::initUtilsLogger_

Flag to control logger subsystem life time.

If true, FixEngine will initialize logger subsystem in the FixEngine::init method and will destroy logger in the FixEngine::destroy method; otherwise if false, it is users's responsibility to initialize and destroy logger.

See also
Utils::Log::LogSystem

◆ licenseKey_

std::string Engine::FixEngine::InitParameters::licenseKey_

License key.

◆ listenPort_

int Engine::FixEngine::InitParameters::listenPort_

Engine's listen port.

Overrides the value from the properties file. If it is equal to -1 then the value from the proterties file is used.

◆ properties_

EngineProperties Engine::FixEngine::InitParameters::properties_

Engine properties.

Overrides values of the properties defined in the InitParameters::propertiesFileName_ file.

◆ propertiesFileName_

std::string Engine::FixEngine::InitParameters::propertiesFileName_

The FIX Engine configuration parameters file name.

If it is equal to "" and InitParameters::properties_ parameter is empty, then "./engine.properties" is used.

◆ pScheduler_

System::SchedulerPtr Engine::FixEngine::InitParameters::pScheduler_

System::Scheduler instance to run configured schedules on.

See also
System::Scheduler

◆ sessionsManager_

SessionsManager* Engine::FixEngine::InitParameters::sessionsManager_

Instance of SessionsManager.

◆ startListeningIncomingConnections_

bool Engine::FixEngine::InitParameters::startListeningIncomingConnections_

Specifies whether listening to incoming connections should be started, default - true.

See also
Engine::FixEngine::startListeningIncomingConnections()