Qmi.ClientQos

g GObject.Object GObject.Object Qmi.Client Qmi.Client GObject.Object->Qmi.Client Qmi.ClientQos Qmi.ClientQos Qmi.Client->Qmi.ClientQos

Subclasses:

None

Methods

Inherited:

Qmi.Client (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

bind_mux_data_port (input, timeout, cancellable, callback, *user_data)

bind_mux_data_port_finish (res)

bind_subscription (input, timeout, cancellable, callback, *user_data)

bind_subscription_finish (res)

get_bind_subscription (unused, timeout, cancellable, callback, *user_data)

get_bind_subscription_finish (res)

get_flow_status (input, timeout, cancellable, callback, *user_data)

get_flow_status_finish (res)

get_network_status (unused, timeout, cancellable, callback, *user_data)

get_network_status_finish (res)

reset (unused, timeout, cancellable, callback, *user_data)

reset_finish (res)

swi_read_data_stats (input, timeout, cancellable, callback, *user_data)

swi_read_data_stats_finish (res)

Virtual Methods

Inherited:

Qmi.Client (1), GObject.Object (7)

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

flow-status

The ::flow-status signal gets emitted when a ‘’Flow Status [libqmi-glib-QOS-Flow-Status-indication.top_of_page]’’ indication is received.

network-status

The ::network-status signal gets emitted when a ‘’Network Status [libqmi-glib-QOS-Network-Status-indication.top_of_page]’’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientQos(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientQosClass

Qmi.Client which handles operations in the QOS service.

The Qmi.ClientQos structure contains private data and should only be accessed using the provided API.

New in version 1.0.

bind_mux_data_port(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Bind Mux Data Port 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.bind_mux_data_port_finish() to get the result of the operation.

New in version 1.37.

bind_mux_data_port_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.bind_mux_data_port().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosBindMuxDataPortOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosBindMuxDataPortOutput.unref().

Return type:

Qmi.MessageQosBindMuxDataPortOutput

Finishes an async operation started with Qmi.ClientQos.bind_mux_data_port().

New in version 1.37.

bind_subscription(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Bind Subscription 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.bind_subscription_finish() to get the result of the operation.

New in version 1.37.

bind_subscription_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.bind_subscription().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosBindSubscriptionOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosBindSubscriptionOutput.unref().

Return type:

Qmi.MessageQosBindSubscriptionOutput

Finishes an async operation started with Qmi.ClientQos.bind_subscription().

New in version 1.37.

get_bind_subscription(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Bind Subscription 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_bind_subscription_finish() to get the result of the operation.

New in version 1.37.

get_bind_subscription_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.get_bind_subscription().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosGetBindSubscriptionOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosGetBindSubscriptionOutput.unref().

Return type:

Qmi.MessageQosGetBindSubscriptionOutput

Finishes an async operation started with Qmi.ClientQos.get_bind_subscription().

New in version 1.37.

get_flow_status(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.get_flow_status().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosGetFlowStatusOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosGetFlowStatusOutput.unref().

Return type:

Qmi.MessageQosGetFlowStatusOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.get_network_status().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosGetNetworkStatusOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosGetNetworkStatusOutput.unref().

Return type:

Qmi.MessageQosGetNetworkStatusOutput

Finishes an async operation started with Qmi.ClientQos.get_network_status().

New in version 1.22.

reset(unused, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.reset().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosResetOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosResetOutput.unref().

Return type:

Qmi.MessageQosResetOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientQos.swi_read_data_stats().

Raises:

GLib.Error

Returns:

a Qmi.MessageQosSwiReadDataStatsOutput, or None if error is set. The returned value should be freed with Qmi.MessageQosSwiReadDataStatsOutput.unref().

Return type:

Qmi.MessageQosSwiReadDataStatsOutput

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:

RUN_LAST

Parameters:

The ::flow-status signal 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:

RUN_LAST

Parameters:

The ::network-status signal gets emitted when a ‘’Network Status [libqmi-glib-QOS-Network-Status-indication.top_of_page]’’ indication is received.

New in version 1.22.