IceMX.ConnectionMetrics

class IceMX.ConnectionMetrics(id: str = '', total: int = 0, current: int = 0, totalLifetime: int = 0, failures: int = 0, receivedBytes: int = 0, sentBytes: int = 0)

Bases: Metrics

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

Parameters:
  • id (str)

  • total (int)

  • current (int)

  • totalLifetime (int)

  • failures (int)

  • receivedBytes (int)

  • sentBytes (int)

receivedBytes

The number of bytes received by the connection.

Type:

int

sentBytes

The number of bytes sent by the connection.

Type:

int

Notes

The Slice compiler generated this dataclass from Slice class ::IceMX::ConnectionMetrics.

static ice_staticId() str

Returns the Slice type ID of this type.

Returns:

The return value is always ::Ice::Object.

Return type:

str