OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
ThreadingModel Struct Reference

Public Types

enum  Enum

Static Public Member Functions

static ONIXS_FIXENGINE_API const char * toString (ThreadingModel::Enum value)
static ONIXS_FIXENGINE_API Enum parse (const std::string &fromText)

Detailed Description

Definition at line 29 of file ThreadingModel.h.

Member Enumeration Documentation

◆ Enum

enum Enum
Enumerator
Default  

By default, the session will use the mode that was configured for the whole Engine.

DedicatedThreads 3 

The session will use its own sending and receiving threads.

ThreadPool 4 

The session will share the thread pool.

ExternalThread 5 

Session events are handled by rolling an event loop in a user thread.

Definition at line 30 of file ThreadingModel.h.

Member Function Documentation

◆ parse()

ONIXS_FIXENGINE_API Enum parse ( const std::string & fromText)
static

Parses the ThreadingModel::Enum value from the textual representation.

◆ toString()

ONIXS_FIXENGINE_API const char * toString ( ThreadingModel::Enum value)
static

Returns a textual representation of the ThreadingModel::Enum value.