OnixS CME Drop Copy Handler C++ library 5.7.1
API documentation
Loading...
Searching...
No Matches
HandlerSettings.h
Go to the documentation of this file.
1/*
2 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5 * and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable OnixS Software
8 * Services Agreement (the Agreement) and Customer end user license agreements granting
9 * a non-assignable, non-transferable and non-exclusive license to use the software
10 * for it's own data processing purposes under the terms defined in the Agreement.
11 *
12 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any
13 * part of this source code or associated reference material to any other location for further
14 * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15 * prohibited.
16 *
17 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18 * the terms of the Agreement is a violation of copyright law.
19 */
20
21#pragma once
22
23#include "OnixS/CME/DropCopy/Export.h"
26
27namespace OnixS { namespace CME { namespace DropCopy {
28
30struct ONIXS_CME_DROP_COPY_EXPORT LogModes
31{
33 enum Enum
34 {
37
41
48
54 };
55
57 static std::string toString(Enum mode);
58};
59
62
64typedef unsigned AdvancedLogOptionSet;
65
67struct ONIXS_CME_DROP_COPY_EXPORT AdvancedLogOptions
68{
82
84 static std::string toString(AdvancedLogOptionSet options);
85};
86
88struct ONIXS_CME_DROP_COPY_EXPORT HandlerSettings : InitializationSettings
89{
96
103 std::string logDirectory;
104
111 std::string logFileNamePrefix;
112
119 std::string logExt;
120
127
132
140 std::string senderCompId;
141
149 std::string targetCompId;
150
160 std::string customKey;
161
167 std::string senderSubId;
168
176 std::string targetSubId;
177
184 std::string senderLocationId;
185
190
192 std::string networkInterface;
193
200
203
205 std::string toString() const;
206};
207
208}}}
unsigned AdvancedLogOptionSet
Additional options to control log information.
LogModes::Enum LogMode
Log mode.
Additional options to control log information.
@ LogEverything
Logs all additional data/events.
static std::string toString(AdvancedLogOptionSet options)
Returns string representation of an option.
std::string toString() const
Returns string representation.
std::string networkInterface
Local network interface for CME Session.
HandlerSettings()
Initializes parameters with default values.
Defines log alternates.
@ Disabled
No data will be logged.
static std::string toString(Enum mode)
Returns string presentation of given mode.