ModemManager.BearerStats¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.BearerStats(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.BearerStats
structure contains private data and should only be accessed using the provided API.- get_attempts()¶
-
Gets the number of connection attempts done with this bearer.
New in version 1.14.
- get_downlink_speed()¶
- Returns:
a #guint64.
- Return type:
Gets the speed of the downlink, in bits per second.
New in version 1.20.
- get_duration()¶
-
Gets the duration of the current connection, in seconds.
New in version 1.6.
- get_failed_attempts()¶
-
Gets the number of failed connection attempts done with this bearer.
New in version 1.14.
- get_rx_bytes()¶
- Returns:
a #guint64.
- Return type:
Gets the number of bytes received without error in the connection.
New in version 1.6.
- get_start_date()¶
- Returns:
a #guint64.
- Return type:
Gets the start date of the current connection as a timestamp in seconds since the epoch.
New in version 1.20.
- get_total_duration()¶
-
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:
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:
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:
Gets the number of bytes transmitted without error in the connection.
New in version 1.6.