OnixS C++ CME iLink 3 Binary Order Entry Handler
1.19.4
Users' manual and API documentation
Loading...
Searching...
No Matches
ThreadingModel.h
Go to the documentation of this file.
1
#pragma once
2
3
/*
4
* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
5
*
6
* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
7
* and international copyright treaties.
8
*
9
* Access to and use of the software is governed by the terms of the applicable OnixS Software
10
* Services Agreement (the Agreement) and Customer end user license agreements granting
11
* a non-assignable, non-transferable and non-exclusive license to use the software
12
* for it's own data processing purposes under the terms defined in the Agreement.
13
*
14
* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
15
* of this source code or associated reference material to any other location for further reproduction
16
* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
17
*
18
* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
19
* the terms of the Agreement is a violation of copyright law.
20
*/
21
22
#include <string>
23
24
#include <
OnixS/CME/iLink3/ABI.h
>
25
26
namespace
OnixS
{
27
namespace
CME
{
28
namespace
iLink3
{
29
31
struct
ThreadingModel
32
{
33
enum
Enum
34
{
36
Dedicated
,
37
39
Pool
,
40
42
External
,
43
45
Default
=
Dedicated
,
46
};
47
49
ONIXS_ILINK3_EXPORTED
static
std::string
toString
(
Enum
type);
50
51
ONIXS_ILINK3_EXPORTED
static
Enum
parse
(
const
std::string& value);
52
};
53
}
54
}
55
}
ABI.h
ONIXS_ILINK3_EXPORTED
#define ONIXS_ILINK3_EXPORTED
Definition
Compiler.h:145
OnixS::CME::iLink3
Definition
Defines.h:42
OnixS::CME
Definition
Defines.h:41
OnixS
Definition
Defines.h:40
OnixS::CME::iLink3::ThreadingModel
Threading model.
Definition
ThreadingModel.h:32
OnixS::CME::iLink3::ThreadingModel::parse
static Enum parse(const std::string &value)
OnixS::CME::iLink3::ThreadingModel::toString
static std::string toString(Enum type)
OnixS::CME::iLink3::ThreadingModel::Enum
Enum
Definition
ThreadingModel.h:34
OnixS::CME::iLink3::ThreadingModel::Dedicated
@ Dedicated
Each session has a sender thread and a receiving thread.
Definition
ThreadingModel.h:36
OnixS::CME::iLink3::ThreadingModel::Default
@ Default
The default mode.
Definition
ThreadingModel.h:45
OnixS::CME::iLink3::ThreadingModel::External
@ External
Session events are handled by rolling an event loop in a user thread.
Definition
ThreadingModel.h:42
OnixS::CME::iLink3::ThreadingModel::Pool
@ Pool
Sessions share a thread pool.
Definition
ThreadingModel.h:39
OnixS
CME
iLink3
ThreadingModel.h
Technical Support:
support@onixs.biz
Copyright © 2025 OnixS. All Rights Reserved.