Qmi.MessageLocGetServerInput

Fields

None

Methods

class

new ()

get_server_address_type ()

get_server_type ()

ref ()

set_server_address_type (value_server_address_type)

set_server_type (value_server_type)

unref ()

Details

class Qmi.MessageLocGetServerInput

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

Added in version 1.22.

classmethod new()
Returns:

the newly created Qmi.MessageLocGetServerInput. The returned value should be freed with Qmi.MessageLocGetServerInput.unref().

Return type:

Qmi.MessageLocGetServerInput

Allocates a new Qmi.MessageLocGetServerInput.

Added in version 1.22.

get_server_address_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_server_address_type:

a placeholder for the output Qmi.LocServerAddressType, or None if not required.

Return type:

(bool, value_server_address_type: Qmi.LocServerAddressType)

Get the ‘Server Address Type’ field from self.

Added in version 1.22.

get_server_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_server_type:

a placeholder for the output Qmi.LocServerType, or None if not required.

Return type:

(bool, value_server_type: Qmi.LocServerType)

Get the ‘Server Type’ field from self.

Added in version 1.22.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageLocGetServerInput

Atomically increments the reference count of self by one.

Added in version 1.22.

set_server_address_type(value_server_address_type)
Parameters:

value_server_address_type (Qmi.LocServerAddressType) – a Qmi.LocServerAddressType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Server Address Type’ field in the message.

Added in version 1.22.

set_server_type(value_server_type)
Parameters:

value_server_type (Qmi.LocServerType) – a Qmi.LocServerType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Server Type’ field in the message.

Added in version 1.22.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Added in version 1.22.