ModemManager.BearerStats

g GObject.Object GObject.Object ModemManager.BearerStats ModemManager.BearerStats GObject.Object->ModemManager.BearerStats

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_attempts ()

get_downlink_speed ()

get_duration ()

get_failed_attempts ()

get_rx_bytes ()

get_start_date ()

get_total_duration ()

get_total_rx_bytes ()

get_total_tx_bytes ()

get_tx_bytes ()

get_uplink_speed ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.BearerStats(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.BearerStatsClass

The ModemManager.BearerStats structure contains private data and should only be accessed using the provided API.

get_attempts()
Returns:

a int.

Return type:

int

Gets the number of connection attempts done with this bearer.

New in version 1.14.

Returns:

a #guint64.

Return type:

int

Gets the speed of the downlink, in bits per second.

New in version 1.20.

get_duration()
Returns:

a int.

Return type:

int

Gets the duration of the current connection, in seconds.

New in version 1.6.

get_failed_attempts()
Returns:

a int.

Return type:

int

Gets the number of failed connection attempts done with this bearer.

New in version 1.14.

get_rx_bytes()
Returns:

a #guint64.

Return type:

int

Gets the number of bytes received without error in the connection.

New in version 1.6.

get_start_date()
Returns:

a #guint64.

Return type:

int

Gets the start date of the current connection as a timestamp in seconds since the epoch.

New in version 1.20.

get_total_duration()
Returns:

a int.

Return type:

int

Gets the total duration of all the connections of this bearer.

New in version 1.14.

get_total_rx_bytes()
Returns:

a #guint64.

Return type:

int

Gets the total number of bytes received without error during all the connections of this bearer.

New in version 1.14.

get_total_tx_bytes()
Returns:

a #guint64.

Return type:

int

Gets the total number of bytes transmitted without error during all the connections of this bearer.

New in version 1.14.

get_tx_bytes()
Returns:

a #guint64.

Return type:

int

Gets the number of bytes transmitted without error in the connection.

New in version 1.6.

Returns:

a #guint64.

Return type:

int

Gets the speed of the uplink, in bits per second.

New in version 1.20.