EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ChannelStatistics.h
Go to the documentation of this file.
1 /*|-----------------------------------------------------------------------------
2  *| This source code is provided under the Apache 2.0 license --
3  *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
4  *| See the project's LICENSE.md for details. --
5  *| Copyright (C) 2020 Refinitiv. All rights reserved. --
6  *|-----------------------------------------------------------------------------
7  */
8 
9 #ifndef __thomsonreuters_ema_access_ChannelStatistics_h
10 #define __thomsonreuters_ema_access_ChannelStatistics_h
11 
28 
29 namespace thomsonreuters {
30 
31 namespace ema {
32 
33 namespace access {
34 
35 class EmaString;
36 
38 {
39 public:
40 
42 
43 
47 
48 
50 
51 
54  ChannelStatistics( const UInt64 tcpRetransmitCount );
56 
58 
59 
61  virtual ~ChannelStatistics();
63 
65 
66 
69  void clear();
70 
74  bool hasTcpRetransmitCount() const { return _hasTcpRetransmitCount; }
75 
80  UInt64 getTcpRetransmitCount() const;
81 
83 
85 
89  ChannelStatistics& tcpRetransmitCount(const UInt64 tcpRetransmitCount);
91 
92 private:
93  bool _hasTcpRetransmitCount;
94  UInt64 _tcpRetransmitCount;
95 };
96 
97 }
98 
99 }
100 
101 }
102 
103 #endif //__thomsonreuters_ema_access_ChannelStatistics_h
104 
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
#define EMA_ACCESS_API
Definition: Common.h:95
ChannelStats provides statistical information on application channel(s).