OnixS C++ Eurex T7 Market and Reference Data Interface (EMDI, RDI, EOBI) Handlers  7.4.3
API documentation
BaseHandlerImp.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 #include <licensing/LicenseChecker.h>
22 
23 #include <OnixS/HandlerCore/MulticastFeedHandler.h>
24 #include <OnixS/HandlerCore/FeedEngine/MulticastFeedCluster.h>
25 #include <OnixS/HandlerCore/FeedEngine/NetFeed.h>
26 #include <OnixS/HandlerCore/FeedEngine/NifsByFeedRole.h>
27 #include <OnixS/HandlerCore/FeedEngine/SharedReceiver.h>
28 
31 
32 namespace OnixS {
33 namespace Eurex {
34 namespace MarketData {
35 namespace Implementation {
36 
37 class BaseHandlerImp : public Licensing::LicenseChecker, public HandlerCore::MarketData::MulticastFeedHandler
38 {
39 public:
41  const std::string& name,
42  Logging::LogFacility* parent,
43  unsigned short maxPacketSize,
44  const std::string& licenseDir);
45 
46  ~BaseHandlerImp() override;
47 
48  void start();
49  void stop() override;
50 
51  void start(const ReplayOptions& options, const LogPlayerLinks& links, const std::string& feedName);
52 
53  /// User's common log
54  void commonLog (int logLevel, const char * msg, size_t length);
55 };
56 
57 std::string os();
58 
59 }
60 }
61 }
62 }
BaseHandlerImp(const std::string &name, Logging::LogFacility *parent, unsigned short maxPacketSize, const std::string &licenseDir)
void commonLog(int logLevel, const char *msg, size_t length)
User&#39;s common log.
Definition: Defines.h:30
Defines params which affect logs replay.
Definition: Replay.h:77