Provides information on the data sent and received over Ice connections.
More...
#include <Ice/Ice.h>
|
| ConnectionMetrics ()=default |
|
| ConnectionMetrics (ConnectionMetrics &&)=default |
|
| ConnectionMetrics (const ::std::string &id, long long int total, int current, long long int totalLifetime, int failures, long long int receivedBytes, long long int sentBytes) |
| One-shot constructor to initialize all data members. More...
|
|
| ConnectionMetrics (const ConnectionMetrics &)=default |
|
std::tuple< const ::std::string &, const long long int &, const int &, const long long int &, const int &, const long long int &, const long long int & > | ice_tuple () const |
| Obtains a tuple containing all of the value's data members. More...
|
|
ConnectionMetrics & | operator= (ConnectionMetrics &&)=default |
|
ConnectionMetrics & | operator= (const ConnectionMetrics &)=default |
|
virtual | ~ConnectionMetrics () |
|
Provides information on the data sent and received over Ice connections.
◆ ~ConnectionMetrics()
virtual IceMX::ConnectionMetrics::~ConnectionMetrics |
( |
| ) |
|
|
virtual |
◆ ConnectionMetrics() [1/4]
IceMX::ConnectionMetrics::ConnectionMetrics |
( |
| ) |
|
|
default |
◆ ConnectionMetrics() [2/4]
◆ ConnectionMetrics() [3/4]
◆ ConnectionMetrics() [4/4]
IceMX::ConnectionMetrics::ConnectionMetrics |
( |
const ::std::string & |
id, |
|
|
long long int |
total, |
|
|
int |
current, |
|
|
long long int |
totalLifetime, |
|
|
int |
failures, |
|
|
long long int |
receivedBytes, |
|
|
long long int |
sentBytes |
|
) |
| |
|
inline |
One-shot constructor to initialize all data members.
- Parameters
-
id | The metrics identifier. |
total | The total number of objects observed by this metrics. |
current | The number of objects currently observed by this metrics. |
totalLifetime | The sum of the lifetime of each observed objects. |
failures | The number of failures observed. |
receivedBytes | The number of bytes received by the connection. |
sentBytes | The number of bytes sent by the connection. |
◆ ice_staticId()
static const ::std::string& IceMX::ConnectionMetrics::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID of this value.
- Returns
- The fully-scoped type ID.
◆ ice_tuple()
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> IceMX::ConnectionMetrics::ice_tuple |
( |
| ) |
const |
|
inline |
Obtains a tuple containing all of the value's data members.
- Returns
- The data members in a tuple.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ receivedBytes
long long int IceMX::ConnectionMetrics::receivedBytes = 0LL |
The number of bytes received by the connection.
◆ sentBytes
long long int IceMX::ConnectionMetrics::sentBytes = 0LL |
The number of bytes sent by the connection.
The documentation for this class was generated from the following file: