ChannelStats provides statistical information on application channel(s). More...
Public Member Functions | |
Constructor | |
ChannelStatistics () | |
ChannelStatistics (const UInt64 tcpRetransmitCount) | |
Destructor | |
virtual | ~ChannelStatistics () |
Accessors | |
void | clear () |
bool | hasTcpRetransmitCount () const |
UInt64 | getTcpRetransmitCount () const |
Operations | |
ChannelStatistics & | tcpRetransmitCount (const UInt64 tcpRetransmitCount) |
For IProvider applications, this channel information is about channels used by clients to connect to the IProvider application.
For Consumer and NiProvider applications, this channel information is about the outbound channel (e.g., the channel used by a Consumer application to connect to an ADS) used to connect for receiving data (Consumer) or sending data (NiProvider).
Examples of ChannelStatistics usage are found in the example: (IProvider) IProvider/400_Series/460__MarketPrice__RTT
Definition at line 37 of file ChannelStatistics.h.
thomsonreuters::ema::access::ChannelStatistics::ChannelStatistics | ( | ) |
Constructs ChannelStatistics.
thomsonreuters::ema::access::ChannelStatistics::ChannelStatistics | ( | const UInt64 | tcpRetransmitCount | ) |
Constructs ChannelStatistics.
[in] | tcpRetransmitCount |
|
virtual |
Destructor.
void thomsonreuters::ema::access::ChannelStatistics::clear | ( | ) |
Clears the ChannelStatistics
UInt64 thomsonreuters::ema::access::ChannelStatistics::getTcpRetransmitCount | ( | ) | const |
Gets the TCP Retransmition Count.
OmmInvalidUsageException | if hasTcpRetransmitCount() returns false |
|
inline |
Indicates presence of TCP Retransmition Count.
Definition at line 74 of file ChannelStatistics.h.
ChannelStatistics& thomsonreuters::ema::access::ChannelStatistics::tcpRetransmitCount | ( | const UInt64 | tcpRetransmitCount | ) |
Specifies port number that was used to connect to the server (Consumer, NiProvider)
[in] | port | specifies port number |
![]() |
![]() |
|