OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
FeedConsumer.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
24
26
27// A bit of forward declarations.
28
31
36{
37 NetFeedConsumer(
38 const NetFeedConsumer&);
39
40 NetFeedConsumer&
41 operator =(
42 const NetFeedConsumer&);
43
44protected:
47 {
48 }
49
53 {
54 }
55
56public:
63 virtual
64 bool
66
68 virtual
69 void
70 release() = 0;
71
78 virtual
79 void
81 const NetPacket&) = 0;
82
90 virtual
91 void
93 const NetFeed&) = 0;
94
103 virtual
104 void
106 const NetFeed&) = 0;
107
114 virtual
115 void
117 const NetFeed&,
118 const Char*) = 0;
119};
120
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS
Definition Bootstrap.h:55
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
Definition Bootstrap.h:157
#define ONIXS_CONFLATEDUDP_LTWT_CLASS_DECL(name)
Definition Bootstrap.h:107
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Definition Bootstrap.h:153
NetFeedConsumer()
Protected construction for descendants.
virtual void onExpiration(const NetFeed &)=0
virtual void onPacket(const NetPacket &)=0
virtual void release()=0
Releases previously acquired consumer.
virtual void onTimeout(const NetFeed &)=0
virtual void onFailure(const NetFeed &, const Char *)=0
Base attributes of market data feed.
Definition Feed.h:61
char Char
Character type alias.
Definition String.h:36