ModemManager.BearerStats

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

Subclasses:None

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.

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_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.