Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
IceMX::ConnectionMetrics Class Reference

Provides information on the data sent and received over Ice connections. More...

#include <Ice/Ice.h>

Inheritance diagram for IceMX::ConnectionMetrics:
Inheritance graph
[legend]
Collaboration diagram for IceMX::ConnectionMetrics:
Collaboration graph
[legend]

Public Member Functions

 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...
 
ConnectionMetricsoperator= (ConnectionMetrics &&)=default
 
ConnectionMetricsoperator= (const ConnectionMetrics &)=default
 
virtual ~ConnectionMetrics ()
 

Static Public Member Functions

static const ::std::string & ice_staticId ()
 Obtains the Slice type ID of this value. More...
 

Public Attributes

long long int receivedBytes = 0LL
 The number of bytes received by the connection. More...
 
long long int sentBytes = 0LL
 The number of bytes sent by the connection. More...
 

Detailed Description

Provides information on the data sent and received over Ice connections.

Constructor & Destructor Documentation

◆ ~ConnectionMetrics()

virtual IceMX::ConnectionMetrics::~ConnectionMetrics ( )
virtual

◆ ConnectionMetrics() [1/4]

IceMX::ConnectionMetrics::ConnectionMetrics ( )
default

◆ ConnectionMetrics() [2/4]

IceMX::ConnectionMetrics::ConnectionMetrics ( const ConnectionMetrics )
default

◆ ConnectionMetrics() [3/4]

IceMX::ConnectionMetrics::ConnectionMetrics ( ConnectionMetrics &&  )
default

◆ 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
idThe metrics identifier.
totalThe total number of objects observed by this metrics.
currentThe number of objects currently observed by this metrics.
totalLifetimeThe sum of the lifetime of each observed objects.
failuresThe number of failures observed.
receivedBytesThe number of bytes received by the connection.
sentBytesThe number of bytes sent by the connection.

Member Function Documentation

◆ 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]

ConnectionMetrics& IceMX::ConnectionMetrics::operator= ( ConnectionMetrics &&  )
default

◆ operator=() [2/2]

ConnectionMetrics& IceMX::ConnectionMetrics::operator= ( const ConnectionMetrics )
default

Member Data Documentation

◆ 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: