EMA C++ Edition
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 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_ChannelStatistics_h
10#define __refinitiv_ema_access_ChannelStatistics_h
11
28
29namespace refinitiv {
30
31namespace ema {
32
33namespace access {
34
35class EmaString;
36
38{
39public:
40
42
43
47
48
50
51
54 ChannelStatistics( const UInt64 tcpRetransmitCount );
56
58
59
63
65
66
69 void clear();
70
74 bool hasTcpRetransmitCount() const { return _hasTcpRetransmitCount; }
75
81
83
85
89 ChannelStatistics& tcpRetransmitCount(const UInt64 tcpRetransmitCount);
91
92private:
93 bool _hasTcpRetransmitCount;
94 UInt64 _tcpRetransmitCount;
95};
96
97}
98
99}
100
101}
102
103#endif //__refinitiv_ema_access_ChannelStatistics_h
104
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
unsigned long long UInt64
represents 64-bit unsigned integer
Definition: Common.h:68
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
ChannelStats provides statistical information on application channel(s).
ChannelStatistics(const UInt64 tcpRetransmitCount)
ChannelStatistics & tcpRetransmitCount(const UInt64 tcpRetransmitCount)