ModemManager.BearerIpConfig

g GObject.Object GObject.Object ModemManager.BearerIpConfig ModemManager.BearerIpConfig GObject.Object->ModemManager.BearerIpConfig

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_address ()

get_dns ()

get_gateway ()

get_method ()

get_mtu ()

get_prefix ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.BearerIpConfig(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.BearerIpConfigClass

The ModemManager.BearerIpConfig structure contains private data and should only be accessed using the provided API.

get_address()
Returns:

a string with the IP address, or None if unknown. Do not free the returned value, it is owned by self.

Return type:

str

Gets the IP address to be used with this bearer.

New in version 1.0.

get_dns()
Returns:

a None-terminated array of strings. Do not free the returned value, it is owned by self.

Return type:

[str]

Gets the list of IP addresses of DNS servers to be used with this bearer.

New in version 1.0.

get_gateway()
Returns:

a string with the IP address, or None if unknown. Do not free the returned value, it is owned by self.

Return type:

str

Gets the IP address of the gateway to be used with this bearer.

New in version 1.0.

get_method()
Returns:

a ModemManager.BearerIpMethod.

Return type:

ModemManager.BearerIpMethod

Gets the IP method to be used with this bearer.

New in version 1.0.

get_mtu()
Returns:

the MTU.

Return type:

int

Gets the MTU to be used with this bearer.

New in version 1.4.

get_prefix()
Returns:

the network prefix.

Return type:

int

Gets the network prefix to be used with this bearer.

New in version 1.0.