Qmi.MessageLocGetServerInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageLocGetServerInput¶
The
Qmi.MessageLocGetServerInputstructure contains private data and should only be accessed using the provided API.New in version 1.22.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageLocGetServerInput. The returned value should be freed withQmi.MessageLocGetServerInput.unref().- Return type:
Allocates a new
Qmi.MessageLocGetServerInput.New in version 1.22.
- get_server_address_type()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_server_address_type:
a placeholder for the output
Qmi.LocServerAddressType, orNoneif not required.
- Return type:
(
bool, value_server_address_type:Qmi.LocServerAddressType)
Get the ‘Server Address Type’ field from self.
New in version 1.22.
- get_server_type()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_server_type:
a placeholder for the output
Qmi.LocServerType, orNoneif not required.
- Return type:
(
bool, value_server_type:Qmi.LocServerType)
Get the ‘Server Type’ field from self.
New in version 1.22.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.22.
- set_server_address_type(value_server_address_type)¶
- Parameters:
value_server_address_type (
Qmi.LocServerAddressType) – aQmi.LocServerAddressType.- Raises:
- Returns:
- Return type:
Set the ‘Server Address Type’ field in the message.
New in version 1.22.
- set_server_type(value_server_type)¶
- Parameters:
value_server_type (
Qmi.LocServerType) – aQmi.LocServerType.- Raises:
- Returns:
- Return type:
Set the ‘Server Type’ field in the message.
New 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.
New in version 1.22.