Qmi.ClientQos¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientQos(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientQosstructure contains private data and should only be accessed using the provided API.New in version 1.0.
- get_flow_status(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageQosGetFlowStatusInput) – aQmi.MessageQosGetFlowStatusInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Get Flow Status request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientQos.get_flow_status_finish() to get the result of the operation.New in version 1.22.
- get_flow_status_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientQos.get_flow_status().- Raises:
- Returns:
a
Qmi.MessageQosGetFlowStatusOutput, orNoneif error is set. The returned value should be freed withQmi.MessageQosGetFlowStatusOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientQos.get_flow_status().New in version 1.22.
- get_network_status(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Get Network Status request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientQos.get_network_status_finish() to get the result of the operation.New in version 1.22.
- get_network_status_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientQos.get_network_status().- Raises:
- Returns:
a
Qmi.MessageQosGetNetworkStatusOutput, orNoneif error is set. The returned value should be freed withQmi.MessageQosGetNetworkStatusOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientQos.get_network_status().New in version 1.22.
- reset(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Reset request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientQos.reset_finish() to get the result of the operation.New in version 1.22.
- reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientQos.reset().- Raises:
- Returns:
a
Qmi.MessageQosResetOutput, orNoneif error is set. The returned value should be freed withQmi.MessageQosResetOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientQos.reset().New in version 1.22.
- swi_read_data_stats(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageQosSwiReadDataStatsInput) – aQmi.MessageQosSwiReadDataStatsInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Swi Read Data Stats request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientQos.swi_read_data_stats_finish() to get the result of the operation.New in version 1.22.
- swi_read_data_stats_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientQos.swi_read_data_stats().- Raises:
- Returns:
a
Qmi.MessageQosSwiReadDataStatsOutput, orNoneif error is set. The returned value should be freed withQmi.MessageQosSwiReadDataStatsOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientQos.swi_read_data_stats().New in version 1.22.
Signal Details¶
- Qmi.ClientQos.signals.flow_status(client_qos, output)¶
- Signal Name:
flow-status- Flags:
- Parameters:
client_qos (
Qmi.ClientQos) – The object which received the signaloutput (
Qmi.IndicationQosFlowStatusOutput) – AQmi.IndicationQosFlowStatusOutput.
The
::flow-statussignal gets emitted when a ‘’Flow Status [libqmi-glib-QOS-Flow-Status-indication.top_of_page]’’ indication is received.New in version 1.22.
- Qmi.ClientQos.signals.network_status(client_qos, output)¶
- Signal Name:
network-status- Flags:
- Parameters:
client_qos (
Qmi.ClientQos) – The object which received the signaloutput (
Qmi.IndicationQosNetworkStatusOutput) – AQmi.IndicationQosNetworkStatusOutput.
The
::network-statussignal gets emitted when a ‘’Network Status [libqmi-glib-QOS-Network-Status-indication.top_of_page]’’ indication is received.New in version 1.22.