Qmi.ClientPdc

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

activate_config_finish (res)

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

config_change_finish (res)

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

deactivate_config_finish (res)

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

delete_config_finish (res)

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

get_config_info_finish (res)

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

get_config_limits_finish (res)

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

get_default_config_info_finish (res)

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

get_selected_config_finish (res)

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

list_configs_finish (res)

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

load_config_finish (res)

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

register_finish (res)

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

reset_finish (res)

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

set_selected_config_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

activate-config

The ::activate-config signal gets emitted when a ‘’Activate Config [libqmi-glib-PDC-Activate-Config-indication.top_of_page]’’ indication is received.

deactivate-config

The ::deactivate-config signal gets emitted when a ‘’Deactivate Config [libqmi-glib-PDC-Deactivate-Config-indication.top_of_page]’’ indication is received.

get-config-info

The ::get-config-info signal gets emitted when a ‘’Get Config Info [libqmi-glib-PDC-Get-Config-Info-indication.top_of_page]’’ indication is received.

get-selected-config

The ::get-selected-config signal gets emitted when a ‘’Get Selected Config [libqmi-glib-PDC-Get-Selected-Config-indication.top_of_page]’’ indication is received.

list-configs

The ::list-configs signal gets emitted when a ‘’List Configs [libqmi-glib-PDC-List-Configs-indication.top_of_page]’’ indication is received.

load-config

The ::load-config signal gets emitted when a ‘’Load Config [libqmi-glib-PDC-Load-Config-indication.top_of_page]’’ indication is received.

refresh

The ::refresh signal gets emitted when a ‘’Refresh [libqmi-glib-PDC-Refresh-indication.top_of_page]’’ indication is received.

set-selected-config

The ::set-selected-config signal gets emitted when a ‘’Set Selected Config [libqmi-glib-PDC-Set-Selected-Config-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.ClientPdc(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientPdcClass

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

New in version 1.18.

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

Asynchronously sends a Activate Config 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.ClientPdc.activate_config_finish() to get the result of the operation.

New in version 1.18.

activate_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.activate_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcActivateConfigOutput

Finishes an async operation started with Qmi.ClientPdc.activate_config().

New in version 1.18.

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

Asynchronously sends a Config Change 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.ClientPdc.config_change_finish() to get the result of the operation.

New in version 1.18.

config_change_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.config_change().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcConfigChangeOutput

Finishes an async operation started with Qmi.ClientPdc.config_change().

New in version 1.18.

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

Asynchronously sends a Deactivate Config 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.ClientPdc.deactivate_config_finish() to get the result of the operation.

New in version 1.18.

deactivate_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.deactivate_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcDeactivateConfigOutput

Finishes an async operation started with Qmi.ClientPdc.deactivate_config().

New in version 1.18.

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

Asynchronously sends a Delete Config 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.ClientPdc.delete_config_finish() to get the result of the operation.

New in version 1.18.

delete_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.delete_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcDeleteConfigOutput

Finishes an async operation started with Qmi.ClientPdc.delete_config().

New in version 1.18.

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

Asynchronously sends a Get Config Info 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.ClientPdc.get_config_info_finish() to get the result of the operation.

New in version 1.18.

get_config_info_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.get_config_info().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcGetConfigInfoOutput

Finishes an async operation started with Qmi.ClientPdc.get_config_info().

New in version 1.18.

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

Asynchronously sends a Get Config Limits 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.ClientPdc.get_config_limits_finish() to get the result of the operation.

New in version 1.18.

get_config_limits_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.get_config_limits().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcGetConfigLimitsOutput

Finishes an async operation started with Qmi.ClientPdc.get_config_limits().

New in version 1.18.

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

Asynchronously sends a Get Default Config Info 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.ClientPdc.get_default_config_info_finish() to get the result of the operation.

New in version 1.18.

get_default_config_info_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.get_default_config_info().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcGetDefaultConfigInfoOutput

Finishes an async operation started with Qmi.ClientPdc.get_default_config_info().

New in version 1.18.

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

Asynchronously sends a Get Selected Config 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.ClientPdc.get_selected_config_finish() to get the result of the operation.

New in version 1.18.

get_selected_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.get_selected_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcGetSelectedConfigOutput

Finishes an async operation started with Qmi.ClientPdc.get_selected_config().

New in version 1.18.

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

Asynchronously sends a List Configs 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.ClientPdc.list_configs_finish() to get the result of the operation.

New in version 1.18.

list_configs_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.list_configs().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcListConfigsOutput

Finishes an async operation started with Qmi.ClientPdc.list_configs().

New in version 1.18.

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

Asynchronously sends a Load Config 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.ClientPdc.load_config_finish() to get the result of the operation.

New in version 1.18.

load_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.load_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcLoadConfigOutput

Finishes an async operation started with Qmi.ClientPdc.load_config().

New in version 1.18.

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

Asynchronously sends a Register 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.ClientPdc.register_finish() to get the result of the operation.

New in version 1.18.

register_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.register().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcRegisterOutput

Finishes an async operation started with Qmi.ClientPdc.register().

New in version 1.18.

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.ClientPdc.reset_finish() to get the result of the operation.

New in version 1.18.

reset_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.reset().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcResetOutput

Finishes an async operation started with Qmi.ClientPdc.reset().

New in version 1.18.

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

Asynchronously sends a Set Selected Config 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.ClientPdc.set_selected_config_finish() to get the result of the operation.

New in version 1.18.

set_selected_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPdc.set_selected_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdcSetSelectedConfigOutput

Finishes an async operation started with Qmi.ClientPdc.set_selected_config().

New in version 1.18.

Signal Details

Qmi.ClientPdc.signals.activate_config(client_pdc, output)
Signal Name:

activate-config

Flags:

RUN_LAST

Parameters:

The ::activate-config signal gets emitted when a ‘’Activate Config [libqmi-glib-PDC-Activate-Config-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.deactivate_config(client_pdc, output)
Signal Name:

deactivate-config

Flags:

RUN_LAST

Parameters:

The ::deactivate-config signal gets emitted when a ‘’Deactivate Config [libqmi-glib-PDC-Deactivate-Config-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.get_config_info(client_pdc, output)
Signal Name:

get-config-info

Flags:

RUN_LAST

Parameters:

The ::get-config-info signal gets emitted when a ‘’Get Config Info [libqmi-glib-PDC-Get-Config-Info-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.get_selected_config(client_pdc, output)
Signal Name:

get-selected-config

Flags:

RUN_LAST

Parameters:

The ::get-selected-config signal gets emitted when a ‘’Get Selected Config [libqmi-glib-PDC-Get-Selected-Config-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.list_configs(client_pdc, output)
Signal Name:

list-configs

Flags:

RUN_LAST

Parameters:

The ::list-configs signal gets emitted when a ‘’List Configs [libqmi-glib-PDC-List-Configs-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.load_config(client_pdc, output)
Signal Name:

load-config

Flags:

RUN_LAST

Parameters:

The ::load-config signal gets emitted when a ‘’Load Config [libqmi-glib-PDC-Load-Config-indication.top_of_page]’’ indication is received.

New in version 1.18.

Qmi.ClientPdc.signals.refresh(client_pdc, output)
Signal Name:

refresh

Flags:

RUN_LAST

Parameters:

The ::refresh signal gets emitted when a ‘’Refresh [libqmi-glib-PDC-Refresh-indication.top_of_page]’’ indication is received.

New in version 1.32.

Qmi.ClientPdc.signals.set_selected_config(client_pdc, output)
Signal Name:

set-selected-config

Flags:

RUN_LAST

Parameters:

The ::set-selected-config signal gets emitted when a ‘’Set Selected Config [libqmi-glib-PDC-Set-Selected-Config-indication.top_of_page]’’ indication is received.

New in version 1.18.