Qmi.MessageLocSetServerInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageLocSetServerInput¶
The
Qmi.MessageLocSetServerInput
structure contains private data and should only be accessed using the provided API.New in version 1.22.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageLocSetServerInput
. The returned value should be freed withQmi.MessageLocSetServerInput.unref
().- Return type:
Allocates a new
Qmi.MessageLocSetServerInput
.New in version 1.22.
- get_ipv4()¶
-
Get the ‘IPv4’ field from self.
New in version 1.22.
- get_ipv6()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_ipv6_ipv6_address:
a placeholder for the output
GLib.Array
of #guint16 elements, orNone
if not required. Do not free it, it is owned by self.- value_ipv6_ipv6_port:
a placeholder for the output #guint32, or
None
if not required.
- Return type:
(
bool
, value_ipv6_ipv6_address: [int
], value_ipv6_ipv6_port:int
)
Get the ‘IPv6’ field from self.
New in version 1.22.
- get_server_type()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_server_type:
a placeholder for the output
Qmi.LocServerType
, orNone
if not required.
- Return type:
(
bool
, value_server_type:Qmi.LocServerType
)
Get the ‘Server Type’ field from self.
New in version 1.22.
- get_url()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_url:
a placeholder for the output constant string, or
None
if not required.
- Return type:
Get the ‘URL’ 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_ipv4(value_ipv4_ipv4_address, value_ipv4_ipv4_port)¶
- Parameters:
- Raises:
- Returns:
- Return type:
Set the ‘IPv4’ field in the message.
New in version 1.22.
- set_ipv6(value_ipv6_ipv6_address, value_ipv6_ipv6_port)¶
- Parameters:
value_ipv6_ipv6_address ([
int
]) – aGLib.Array
of #guint16 elements. A new reference to value_ipv6_ipv6_address will be taken, so the caller must make sure the array was created with the correctGLib.DestroyNotify
as clear function for each element in the array.value_ipv6_ipv6_port (
int
) – a #guint32.
- Raises:
- Returns:
- Return type:
Set the ‘IPv6’ 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.
- set_url(value_url)¶
- Parameters:
value_url (
str
) – a constant string with a maximum length of 256 characters.- Raises:
- Returns:
- Return type:
Set the ‘URL’ 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.