OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.15.1
API documentation
PcapDataProviderSettings.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Onix Solutions Limited. All rights reserved.
3  *
4  * This software owned by Onix Solutions Limited 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 part
13  * of this source code or associated reference material to any other location for further reproduction
14  * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15  *
16  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17  * the terms of the Agreement is a violation of copyright law.
18  */
19 
20 #pragma once
21 
22 #include "Export.h"
23 #include "LogSettings.h"
24 #include "PcapDataProviderId.h"
25 #include "Types.h"
26 
27 #include <string>
28 
29 namespace OnixS { namespace ICE { namespace iMpact { namespace MarketData {
30 
31 /// PCAP data provider settings.
32 struct ONIXS_ICEMDH_EXPORT PcapDataProviderSettings
33 {
34  /// Path to a directory where PCAP-data is stored.
35  std::string pcapDirectory;
36 
37  /// Path to a connectivity configuration file.
39 
40  /// Max snapshot duration (in milliseconds).
41  ///
42  /// By default, the value is 120000 ms (2 minutes).
44 
45  /// Log files are stored in this directory.
46  ///
47  /// \note Default value is \e "./" (the current directory).
48  std::string logDirectory;
49 
50  /// Template of log file name without extension.
51  ///
52  /// \note Default value is \e "PcapDataProvider".
53  std::string logFileNamePrefix;
54 
55  /// Log verbosity.
56  ///
57  /// \note Default value is LogLevels::Info.
59 
60  /// Initializes instance with default values for control parameters.
62 
63  /// Returns string representation.
64  std::string toString() const;
65 };
66 
67 }}}} // namespace MarketData, iMpact, ICE, OnixS
std::string pcapDirectory
Path to a directory where PCAP-data is stored.
std::string connectivityConfiguration
Path to a connectivity configuration file.
long long DateTime
Represents the number of nanoseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition: Types.h:57