OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 18.2.0
API documentation
Loading...
Searching...
No Matches
RdiHandler.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 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#pragma once
20
25
26
27namespace OnixS
28{
29 namespace Eurex
30 {
31 namespace MarketData
32 {
34
35 struct ReplayOptions;
36
37 class ErrorListener;
38 class WarningListener;
40 class HanlerSettings;
41
43 class ONIXS_EUREX_EMDI_API RdiHandler : public IInterfaceDescriptorProvider
44 {
45 public:
50 explicit RdiHandler (const RdiHandlerSettings& settings,
51 const std::string& = ONIXS_EUREX_EMDI_COMPILER_INFO);
52
55
61
67
73
79
86
91 void start ();
92
94 void start (const ReplayOptions& options, bool* stopRequest = ONIXS_EUREX_EMDI_NULLPTR);
95
97 void replayPcap (const ReplayOptions& options, bool* stopRequest = ONIXS_EUREX_EMDI_NULLPTR);
98
100 void stop ();
101
103 HandlerState::Enum state () const;
104
108
112
116
120
124
128
130 RdiHandler& log (LogLevel::Enum logLevel, const char* logMessage, size_t length);
131
133 RdiHandler& log (LogLevel::Enum logLevel, const char* logMessage);
134
136 RdiHandler& log (LogLevel::Enum logLevel, const std::string& str);
137
139 std::string licenseExpirationDate () const;
140
142 static const char* version ();
143
144 private:
145 RdiHandler (const RdiHandler&); //no implementation
146 RdiHandler& operator = (const RdiHandler&); //no implementation
147
148 private:
149 struct Impl;
150 Impl* impl_;
151 };
152
153 }
154 }
155}
#define ONIXS_EUREX_EMDI_API_DECL(typeKind, typeName)
Definition ABI.h:27
#define ONIXS_EUREX_EMDI_OVERRIDE
Definition Compiler.h:134
#define ONIXS_EUREX_EMDI_COMPILER_INFO
Definition Compiler.h:35
#define ONIXS_EUREX_EMDI_NULLPTR
Definition Compiler.h:143
The Feed Engine machinery.
Definition FeedEngine.h:104
void replayPcap(const ReplayOptions &options, bool *stopRequest=ONIXS_EUREX_EMDI_NULLPTR)
Replay pcap files.
RdiHandler & registerHandlerStateListener(HandlerStateListener *listener)
EobiDescriptors findAllEobiDescriptors() const ONIXS_EUREX_EMDI_OVERRIDE
RdiHandler & bindFeedEngine(FeedEngine &feedEngine)
MdiDescriptors findMdiDescriptors(const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
RdiHandler & registerErrorListener(ErrorListener *listener)
EobiDescriptors findEobiDescriptors(const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
std::string licenseExpirationDate() const
Returns the license expiration date.
RdiHandler & registerReferenceDataListener(ReferenceDataListener *listener)
RdiHandler & registerWarningListener(WarningListener *listener)
static const char * version()
Returns Handler's version.
RdiHandler(const RdiHandlerSettings &settings, const std::string &=ONIXS_EUREX_EMDI_COMPILER_INFO)
~RdiHandler() ONIXS_EUREX_EMDI_OVERRIDE
Finalizes the Handler.
EmdiDescriptors findAllEmdiDescriptors() const ONIXS_EUREX_EMDI_OVERRIDE
RdiHandler & log(LogLevel::Enum logLevel, const char *logMessage, size_t length)
Logs the given user-level message to the handler log.
HandlerState::Enum state() const
Returns handler state.
EmdiDescriptors findEmdiDescriptors(const MarketSegments &productNames) const ONIXS_EUREX_EMDI_OVERRIDE
MdiDescriptors findAllMdiDescriptors() const ONIXS_EUREX_EMDI_OVERRIDE
EobiDescriptor::Collection EobiDescriptors
EmdiDescriptor::Collection EmdiDescriptors
MdiDescriptor::Collection MdiDescriptors
STL namespace.
Defines the state that the handler is in.
RDI handler configuration settings.
Defines params which affect replay.
Definition Replay.h:83