Qmi.ClientDpm

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

close_port_finish (res)

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

open_port_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientDpm(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientDpmClass

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

New in version 1.30.

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

Asynchronously sends a Close 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.ClientDpm.close_port_finish() to get the result of the operation.

New in version 1.30.

close_port_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDpm.close_port().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDpmClosePortOutput

Finishes an async operation started with Qmi.ClientDpm.close_port().

New in version 1.30.

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

Asynchronously sends a Open 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.ClientDpm.open_port_finish() to get the result of the operation.

New in version 1.30.

open_port_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDpm.open_port().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDpmOpenPortOutput

Finishes an async operation started with Qmi.ClientDpm.open_port().

New in version 1.30.